@dcl/schemas 5.4.4 → 5.4.5-20220729180319.commit-9b1f8f2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dapps/chain-id.d.ts
CHANGED
|
@@ -26,8 +26,8 @@ export declare function getChainName(chainId: ChainId): ChainName | null;
|
|
|
26
26
|
export declare function getURNProtocol(chainId: ChainId): string;
|
|
27
27
|
/**
|
|
28
28
|
* Using a base chain id, it'll map the corresponding chain id for the ethereum and matic networks.
|
|
29
|
-
* For example, if trying to determine which chain id is used to map
|
|
30
|
-
* getNetworkMapping(ChainId.
|
|
29
|
+
* For example, if trying to determine which chain id is used to map Goerli in Matic you'd do:
|
|
30
|
+
* getNetworkMapping(ChainId.ETHEREUM_GOERLI)[Network.MATIC]
|
|
31
31
|
* @alpha
|
|
32
32
|
*/
|
|
33
33
|
export declare function getNetworkMapping(chainId: ChainId): {
|
package/dist/dapps/chain-id.js
CHANGED
|
@@ -68,8 +68,8 @@ function getURNProtocol(chainId) {
|
|
|
68
68
|
exports.getURNProtocol = getURNProtocol;
|
|
69
69
|
/**
|
|
70
70
|
* Using a base chain id, it'll map the corresponding chain id for the ethereum and matic networks.
|
|
71
|
-
* For example, if trying to determine which chain id is used to map
|
|
72
|
-
* getNetworkMapping(ChainId.
|
|
71
|
+
* For example, if trying to determine which chain id is used to map Goerli in Matic you'd do:
|
|
72
|
+
* getNetworkMapping(ChainId.ETHEREUM_GOERLI)[Network.MATIC]
|
|
73
73
|
* @alpha
|
|
74
74
|
*/
|
|
75
75
|
function getNetworkMapping(chainId) {
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.4.
|
|
2
|
+
"version": "5.4.5-20220729180319.commit-9b1f8f2",
|
|
3
3
|
"name": "@dcl/schemas",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"typings": "./dist/index.d.ts",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"files": [
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
|
-
"commit": "
|
|
35
|
+
"commit": "9b1f8f2a30ad97872def970ae6f691647a349acd"
|
|
36
36
|
}
|