@autonomys/auto-utils 1.0.10 → 1.0.11
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain.d.ts","sourceRoot":"","sources":["../../src/constants/domain.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAEzC,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,
|
|
1
|
+
{"version":3,"file":"domain.d.ts","sourceRoot":"","sources":["../../src/constants/domain.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAEzC,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,OAAO,EAAE,OASrB,CAAA"}
|
package/dist/constants/domain.js
CHANGED
|
@@ -5,14 +5,14 @@ exports.domains = exports.DomainRuntime = void 0;
|
|
|
5
5
|
var DomainRuntime;
|
|
6
6
|
(function (DomainRuntime) {
|
|
7
7
|
DomainRuntime["AUTO_ID"] = "auto-id";
|
|
8
|
-
DomainRuntime["
|
|
8
|
+
DomainRuntime["AUTO_EVM"] = "auto-evm";
|
|
9
9
|
})(DomainRuntime || (exports.DomainRuntime = DomainRuntime = {}));
|
|
10
10
|
exports.domains = {
|
|
11
|
-
[DomainRuntime.
|
|
12
|
-
runtime: DomainRuntime.
|
|
13
|
-
name: '
|
|
11
|
+
[DomainRuntime.AUTO_EVM]: {
|
|
12
|
+
runtime: DomainRuntime.AUTO_EVM,
|
|
13
|
+
name: 'Auto-EVM',
|
|
14
14
|
},
|
|
15
|
-
[DomainRuntime.
|
|
15
|
+
[DomainRuntime.AUTO_ID]: {
|
|
16
16
|
runtime: DomainRuntime.AUTO_ID,
|
|
17
17
|
name: 'Auto-ID',
|
|
18
18
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../../src/constants/network.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAI/C,oBAAY,SAAS;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,SAAS,cAAc;CACxB;AAED,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,MAAM,qBAAqB;IAC3B,SAAS,wBAAwB;IACjC,MAAM,WAAW;IACjB,SAAS,cAAc;CACxB;AAED,oBAAY,mBAAmB;IAC7B,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,eAAe,oCAAoC,CAAA;AAChE,eAAO,MAAM,gBAAgB,kCAAkC,CAAA;AAE/D,eAAO,MAAM,QAAQ,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../../src/constants/network.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAI/C,oBAAY,SAAS;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,SAAS,cAAc;CACxB;AAED,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,MAAM,qBAAqB;IAC3B,SAAS,wBAAwB;IACjC,MAAM,WAAW;IACjB,SAAS,cAAc;CACxB;AAED,oBAAY,mBAAmB;IAC7B,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,eAAe,oCAAoC,CAAA;AAChE,eAAO,MAAM,gBAAgB,kCAAkC,CAAA;AAE/D,eAAO,MAAM,QAAQ,EAAE,OAAO,EAqI7B,CAAA;AAED,eAAO,MAAM,cAAc,SAAc,CAAA"}
|
|
@@ -55,7 +55,8 @@ exports.networks = [
|
|
|
55
55
|
id: NetworkId.TAURUS,
|
|
56
56
|
name: NetworkName.TAURUS,
|
|
57
57
|
rpcUrls: [
|
|
58
|
-
'wss://rpc.taurus.
|
|
58
|
+
'wss://rpc-0.taurus.autonomys.xyz/ws',
|
|
59
|
+
'wss://rpc-1.taurus.autonomys.xyz/ws',
|
|
59
60
|
'wss://rpc-0.taurus.subspace.network/ws',
|
|
60
61
|
'wss://rpc-1.taurus.subspace.network/ws',
|
|
61
62
|
],
|
|
@@ -65,7 +66,16 @@ exports.networks = [
|
|
|
65
66
|
url: exports.ASTRAL_EXPLORER + 'taurus/consensus/',
|
|
66
67
|
},
|
|
67
68
|
],
|
|
68
|
-
domains: [
|
|
69
|
+
domains: [
|
|
70
|
+
Object.assign(Object.assign({ domainId: '0' }, domain_1.domains[domain_1.DomainRuntime.AUTO_EVM]), { rpcUrls: [
|
|
71
|
+
'wss://auto-evm.taurus.autonomys.xyz/ws',
|
|
72
|
+
'wss://auto-evm-0.taurus.autonomys.xyz/ws',
|
|
73
|
+
'wss://auto-evm-1.taurus.autonomys.xyz/ws',
|
|
74
|
+
'wss://auto-evm.taurus.subspace.network/ws',
|
|
75
|
+
'wss://auto-evm-0.taurus.subspace.network/ws',
|
|
76
|
+
'wss://auto-evm-1.taurus.subspace.network/ws',
|
|
77
|
+
] }),
|
|
78
|
+
],
|
|
69
79
|
token: token_1.TESTNET_TOKEN,
|
|
70
80
|
isTestnet: true,
|
|
71
81
|
},
|
|
@@ -80,7 +90,7 @@ exports.networks = [
|
|
|
80
90
|
},
|
|
81
91
|
],
|
|
82
92
|
domains: [
|
|
83
|
-
Object.assign(Object.assign({ domainId: '0' }, domain_1.domains[domain_1.DomainRuntime.
|
|
93
|
+
Object.assign(Object.assign({ domainId: '0' }, domain_1.domains[domain_1.DomainRuntime.AUTO_EVM]), { rpcUrls: ['wss://nova-0.gemini-3h.subspace.network/ws'] }),
|
|
84
94
|
Object.assign(Object.assign({ domainId: '1' }, domain_1.domains[domain_1.DomainRuntime.AUTO_ID]), { rpcUrls: ['wss://autoid-0.gemini-3h.subspace.network/ws'] }),
|
|
85
95
|
],
|
|
86
96
|
token: token_1.TESTNET_TOKEN,
|
|
@@ -97,7 +107,7 @@ exports.networks = [
|
|
|
97
107
|
},
|
|
98
108
|
],
|
|
99
109
|
domains: [
|
|
100
|
-
Object.assign(Object.assign({ domainId: '0' }, domain_1.domains[domain_1.DomainRuntime.
|
|
110
|
+
Object.assign(Object.assign({ domainId: '0' }, domain_1.domains[domain_1.DomainRuntime.AUTO_EVM]), { rpcUrls: ['wss:///nova.devnet.subspace.network/ws'] }),
|
|
101
111
|
Object.assign(Object.assign({ domainId: '1' }, domain_1.domains[domain_1.DomainRuntime.AUTO_ID]), { rpcUrls: ['wss://autoid.devnet.subspace.network/ws'] }),
|
|
102
112
|
],
|
|
103
113
|
token: token_1.TESTNET_TOKEN,
|
|
@@ -115,8 +125,8 @@ exports.networks = [
|
|
|
115
125
|
},
|
|
116
126
|
],
|
|
117
127
|
domains: [
|
|
118
|
-
Object.assign(Object.assign({ domainId: '0' }, domain_1.domains[domain_1.DomainRuntime.
|
|
119
|
-
Object.assign(Object.assign({ domainId: '1' }, domain_1.domains[domain_1.DomainRuntime.AUTO_ID]), { rpcUrls: ['ws://127.0.0.1:
|
|
128
|
+
Object.assign(Object.assign({ domainId: '0' }, domain_1.domains[domain_1.DomainRuntime.AUTO_EVM]), { rpcUrls: ['ws://127.0.0.1:9945/ws'] }),
|
|
129
|
+
Object.assign(Object.assign({ domainId: '1' }, domain_1.domains[domain_1.DomainRuntime.AUTO_ID]), { rpcUrls: ['ws://127.0.0.1:9946/ws'] }),
|
|
120
130
|
],
|
|
121
131
|
token: token_1.TESTNET_TOKEN,
|
|
122
132
|
isTestnet: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autonomys/auto-utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"browser": {
|
|
39
39
|
"fs": false
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "da525e758bc0dadd3e79bd369f18b10a39d2cf84"
|
|
42
42
|
}
|