|
1 | 1 | /* eslint-disable */ |
2 | 2 | import { IWrapPackage } from "@polywrap/core-js"; |
3 | | -import { Bundle } from "@polywrap/config-bundle-types-js"; |
| 3 | +import { Bundle, BundlePackage } from "@polywrap/config-bundle-types-js"; |
4 | 4 | import { ExtendableUriResolver } from "@polywrap/uri-resolver-extensions-js"; |
5 | 5 |
|
6 | 6 | // $start: bundle |
7 | 7 | import * as Sys from "@polywrap/sys-config-bundle-js"; |
8 | 8 | import * as EthWallet from "@polywrap/ethereum-wallet-js"; |
9 | 9 |
|
10 | | -export const bundle: Bundle = { |
| 10 | +export interface Web3Bundle extends Bundle { |
| 11 | + concurrent: BundlePackage; |
| 12 | + http: BundlePackage; |
| 13 | + ipfsHttpClient: BundlePackage; |
| 14 | + ipfsResolver: BundlePackage; |
| 15 | + ethereumWallet: BundlePackage; |
| 16 | + ensTextRecordResolver: BundlePackage; |
| 17 | + ensContenthashResolver: BundlePackage; |
| 18 | + ensIpfsContenthashResolver: BundlePackage; |
| 19 | +} |
| 20 | + |
| 21 | +export const bundle: Web3Bundle = { |
11 | 22 | concurrent: Sys.bundle.concurrent, |
12 | 23 | http: Sys.bundle.http, |
13 | 24 | ipfsHttpClient: Sys.bundle.ipfsHttpClient, |
@@ -39,8 +50,8 @@ export const bundle: Bundle = { |
39 | 50 | ], |
40 | 51 | redirectFrom: ["wrapscan.io/polywrap/ens-text-record-uri-resolver@1.0"], |
41 | 52 | }, |
42 | | - ensResolver: { |
43 | | - uri: "wrapscan.io/polywrap/ens-uri-resolver@1.0", |
| 53 | + ensContenthashResolver: { |
| 54 | + uri: "wrapscan.io/polywrap/ens-contenthash-uri-resolver@1.0", |
44 | 55 | implements: [ExtendableUriResolver.defaultExtInterfaceUris[0].uri], |
45 | 56 | }, |
46 | 57 | ensIpfsContenthashResolver: { |
|
0 commit comments