viem 0.0.0-main.20231113T152842 → 0.0.0-main.20231113T184305
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/CHANGELOG.md +6 -0
- package/_cjs/chains/definitions/chiliz.js +2 -8
- package/_cjs/chains/definitions/chiliz.js.map +1 -1
- package/_cjs/chains/definitions/spicy.js +6 -6
- package/_cjs/chains/definitions/spicy.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_esm/chains/definitions/chiliz.js +2 -8
- package/_esm/chains/definitions/chiliz.js.map +1 -1
- package/_esm/chains/definitions/spicy.js +6 -6
- package/_esm/chains/definitions/spicy.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/chains/definitions/chiliz.d.ts.map +1 -1
- package/_types/chains/definitions/spicy.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/chains/definitions/chiliz.ts +20 -28
- package/chains/definitions/spicy.ts +35 -37
- package/errors/version.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# viem
|
2
2
|
|
3
|
+
## 1.19.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#1488](https://github.com/wagmi-dev/viem/pull/1488) [`f82bc658`](https://github.com/wagmi-dev/viem/commit/f82bc658f68baa51fe50ffafa32ea4d6e0af14b9) Thanks [@glitch-txs](https://github.com/glitch-txs)! - Added Chiliz and Spicy chains
|
8
|
+
|
3
9
|
## 1.19.0
|
4
10
|
|
5
11
|
### Minor Changes
|
@@ -13,16 +13,10 @@ exports.chiliz = (0, defineChain_js_1.defineChain)({
|
|
13
13
|
},
|
14
14
|
rpcUrls: {
|
15
15
|
default: {
|
16
|
-
http: [
|
17
|
-
'https://rpc.ankr.com/chiliz',
|
18
|
-
'https://chiliz.publicnode.com'
|
19
|
-
],
|
16
|
+
http: ['https://rpc.ankr.com/chiliz', 'https://chiliz.publicnode.com'],
|
20
17
|
},
|
21
18
|
public: {
|
22
|
-
http: [
|
23
|
-
'https://rpc.ankr.com/chiliz',
|
24
|
-
'https://chiliz.publicnode.com'
|
25
|
-
],
|
19
|
+
http: ['https://rpc.ankr.com/chiliz', 'https://chiliz.publicnode.com'],
|
26
20
|
},
|
27
21
|
},
|
28
22
|
blockExplorers: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"chiliz.js","sourceRoot":"","sources":["../../../chains/definitions/chiliz.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,MAAM,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"chiliz.js","sourceRoot":"","sources":["../../../chains/definitions/chiliz.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,MAAM,GAAiB,IAAA,4BAAW,EAAC;IAC9C,EAAE,EAAE,KAAM;IACV,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,cAAc;IACvB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,6BAA6B,EAAE,+BAA+B,CAAC;SACvE;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,6BAA6B,EAAE,+BAA+B,CAAC;SACvE;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,yBAAyB;SAC/B;KACF;CACF,CAAC,CAAA"}
|
@@ -15,22 +15,22 @@ exports.spicy = (0, defineChain_js_1.defineChain)({
|
|
15
15
|
default: {
|
16
16
|
http: [
|
17
17
|
'https://spicy-rpc.chiliz.com',
|
18
|
-
'https://chiliz-spicy.publicnode.com'
|
18
|
+
'https://chiliz-spicy.publicnode.com',
|
19
19
|
],
|
20
20
|
webSocket: [
|
21
21
|
'wss://spicy-rpc-ws.chiliz.com',
|
22
|
-
'wss://chiliz-spicy.publicnode.com'
|
23
|
-
]
|
22
|
+
'wss://chiliz-spicy.publicnode.com',
|
23
|
+
],
|
24
24
|
},
|
25
25
|
public: {
|
26
26
|
http: [
|
27
27
|
'https://spicy-rpc.chiliz.com',
|
28
|
-
'https://chiliz-spicy.publicnode.com'
|
28
|
+
'https://chiliz-spicy.publicnode.com',
|
29
29
|
],
|
30
30
|
webSocket: [
|
31
31
|
'wss://spicy-rpc-ws.chiliz.com',
|
32
|
-
'wss://chiliz-spicy.publicnode.com'
|
33
|
-
]
|
32
|
+
'wss://chiliz-spicy.publicnode.com',
|
33
|
+
],
|
34
34
|
},
|
35
35
|
},
|
36
36
|
blockExplorers: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"spicy.js","sourceRoot":"","sources":["../../../chains/definitions/spicy.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,KAAK,GAAiB,IAAA,4BAAW,
|
1
|
+
{"version":3,"file":"spicy.js","sourceRoot":"","sources":["../../../chains/definitions/spicy.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,KAAK,GAAiB,IAAA,4BAAW,EAAC;IAC7C,EAAE,EAAE,KAAM;IACV,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,sBAAsB;IAC/B,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE;gBACJ,8BAA8B;gBAC9B,qCAAqC;aACtC;YACD,SAAS,EAAE;gBACT,+BAA+B;gBAC/B,mCAAmC;aACpC;SACF;QACD,MAAM,EAAE;YACN,IAAI,EAAE;gBACJ,8BAA8B;gBAC9B,qCAAqC;aACtC;YACD,SAAS,EAAE;gBACT,+BAA+B;gBAC/B,mCAAmC;aACpC;SACF;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,kCAAkC;SACxC;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
package/_cjs/errors/version.js
CHANGED
@@ -10,16 +10,10 @@ export const chiliz = /*#__PURE__*/ defineChain({
|
|
10
10
|
},
|
11
11
|
rpcUrls: {
|
12
12
|
default: {
|
13
|
-
http: [
|
14
|
-
'https://rpc.ankr.com/chiliz',
|
15
|
-
'https://chiliz.publicnode.com'
|
16
|
-
],
|
13
|
+
http: ['https://rpc.ankr.com/chiliz', 'https://chiliz.publicnode.com'],
|
17
14
|
},
|
18
15
|
public: {
|
19
|
-
http: [
|
20
|
-
'https://rpc.ankr.com/chiliz',
|
21
|
-
'https://chiliz.publicnode.com'
|
22
|
-
],
|
16
|
+
http: ['https://rpc.ankr.com/chiliz', 'https://chiliz.publicnode.com'],
|
23
17
|
},
|
24
18
|
},
|
25
19
|
blockExplorers: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"chiliz.js","sourceRoot":"","sources":["../../../chains/definitions/chiliz.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,WAAW,
|
1
|
+
{"version":3,"file":"chiliz.js","sourceRoot":"","sources":["../../../chains/definitions/chiliz.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,WAAW,CAAC;IAC9C,EAAE,EAAE,KAAM;IACV,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,cAAc;IACvB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,6BAA6B,EAAE,+BAA+B,CAAC;SACvE;QACD,MAAM,EAAE;YACN,IAAI,EAAE,CAAC,6BAA6B,EAAE,+BAA+B,CAAC;SACvE;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,yBAAyB;SAC/B;KACF;CACF,CAAC,CAAA"}
|
@@ -12,22 +12,22 @@ export const spicy = /*#__PURE__*/ defineChain({
|
|
12
12
|
default: {
|
13
13
|
http: [
|
14
14
|
'https://spicy-rpc.chiliz.com',
|
15
|
-
'https://chiliz-spicy.publicnode.com'
|
15
|
+
'https://chiliz-spicy.publicnode.com',
|
16
16
|
],
|
17
17
|
webSocket: [
|
18
18
|
'wss://spicy-rpc-ws.chiliz.com',
|
19
|
-
'wss://chiliz-spicy.publicnode.com'
|
20
|
-
]
|
19
|
+
'wss://chiliz-spicy.publicnode.com',
|
20
|
+
],
|
21
21
|
},
|
22
22
|
public: {
|
23
23
|
http: [
|
24
24
|
'https://spicy-rpc.chiliz.com',
|
25
|
-
'https://chiliz-spicy.publicnode.com'
|
25
|
+
'https://chiliz-spicy.publicnode.com',
|
26
26
|
],
|
27
27
|
webSocket: [
|
28
28
|
'wss://spicy-rpc-ws.chiliz.com',
|
29
|
-
'wss://chiliz-spicy.publicnode.com'
|
30
|
-
]
|
29
|
+
'wss://chiliz-spicy.publicnode.com',
|
30
|
+
],
|
31
31
|
},
|
32
32
|
},
|
33
33
|
blockExplorers: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"spicy.js","sourceRoot":"","sources":["../../../chains/definitions/spicy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,CAAC,WAAW,
|
1
|
+
{"version":3,"file":"spicy.js","sourceRoot":"","sources":["../../../chains/definitions/spicy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,CAAC,WAAW,CAAC;IAC7C,EAAE,EAAE,KAAM;IACV,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,sBAAsB;IAC/B,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE;QACZ,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,KAAK;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE;gBACJ,8BAA8B;gBAC9B,qCAAqC;aACtC;YACD,SAAS,EAAE;gBACT,+BAA+B;gBAC/B,mCAAmC;aACpC;SACF;QACD,MAAM,EAAE;YACN,IAAI,EAAE;gBACJ,8BAA8B;gBAC9B,qCAAqC;aACtC;YACD,SAAS,EAAE;gBACT,+BAA+B;gBAC/B,mCAAmC;aACpC;SACF;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,kCAAkC;SACxC;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
|
package/_esm/errors/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export const version = '0.0.0-main.
|
1
|
+
export const version = '0.0.0-main.20231113T184305';
|
2
2
|
//# sourceMappingURL=version.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"chiliz.d.ts","sourceRoot":"","sources":["../../../chains/definitions/chiliz.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"chiliz.d.ts","sourceRoot":"","sources":["../../../chains/definitions/chiliz.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;yDAuBjB,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"spicy.d.ts","sourceRoot":"","sources":["../../../chains/definitions/spicy.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"spicy.d.ts","sourceRoot":"","sources":["../../../chains/definitions/spicy.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;yDAsChB,CAAA"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "0.0.0-main.
|
1
|
+
export declare const version = "0.0.0-main.20231113T184305";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
@@ -1,34 +1,26 @@
|
|
1
1
|
import { defineChain } from '../../utils/chain/defineChain.js'
|
2
2
|
|
3
|
-
export const chiliz = /*#__PURE__*/ defineChain(
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
export const chiliz = /*#__PURE__*/ defineChain({
|
4
|
+
id: 88_888,
|
5
|
+
name: 'Chiliz Chain',
|
6
|
+
network: 'chiliz-chain',
|
7
|
+
nativeCurrency: {
|
8
|
+
decimals: 18,
|
9
|
+
name: 'CHZ',
|
10
|
+
symbol: 'CHZ',
|
11
|
+
},
|
12
|
+
rpcUrls: {
|
13
|
+
default: {
|
14
|
+
http: ['https://rpc.ankr.com/chiliz', 'https://chiliz.publicnode.com'],
|
12
15
|
},
|
13
|
-
|
14
|
-
|
15
|
-
http: [
|
16
|
-
'https://rpc.ankr.com/chiliz',
|
17
|
-
'https://chiliz.publicnode.com'
|
18
|
-
],
|
19
|
-
},
|
20
|
-
public: {
|
21
|
-
http: [
|
22
|
-
'https://rpc.ankr.com/chiliz',
|
23
|
-
'https://chiliz.publicnode.com'
|
24
|
-
],
|
25
|
-
},
|
16
|
+
public: {
|
17
|
+
http: ['https://rpc.ankr.com/chiliz', 'https://chiliz.publicnode.com'],
|
26
18
|
},
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
19
|
+
},
|
20
|
+
blockExplorers: {
|
21
|
+
default: {
|
22
|
+
name: 'Chiliz Explorer',
|
23
|
+
url: 'https://scan.chiliz.com',
|
32
24
|
},
|
33
25
|
},
|
34
|
-
)
|
26
|
+
})
|
@@ -1,43 +1,41 @@
|
|
1
1
|
import { defineChain } from '../../utils/chain/defineChain.js'
|
2
2
|
|
3
|
-
export const spicy = /*#__PURE__*/ defineChain(
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
export const spicy = /*#__PURE__*/ defineChain({
|
4
|
+
id: 88_882,
|
5
|
+
name: 'Chiliz Spicy Testnet',
|
6
|
+
network: 'chiliz-spicy-Testnet',
|
7
|
+
nativeCurrency: {
|
8
|
+
decimals: 18,
|
9
|
+
name: 'CHZ',
|
10
|
+
symbol: 'CHZ',
|
11
|
+
},
|
12
|
+
rpcUrls: {
|
13
|
+
default: {
|
14
|
+
http: [
|
15
|
+
'https://spicy-rpc.chiliz.com',
|
16
|
+
'https://chiliz-spicy.publicnode.com',
|
17
|
+
],
|
18
|
+
webSocket: [
|
19
|
+
'wss://spicy-rpc-ws.chiliz.com',
|
20
|
+
'wss://chiliz-spicy.publicnode.com',
|
21
|
+
],
|
12
22
|
},
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
]
|
23
|
-
},
|
24
|
-
public: {
|
25
|
-
http: [
|
26
|
-
'https://spicy-rpc.chiliz.com',
|
27
|
-
'https://chiliz-spicy.publicnode.com'
|
28
|
-
],
|
29
|
-
webSocket:[
|
30
|
-
'wss://spicy-rpc-ws.chiliz.com',
|
31
|
-
'wss://chiliz-spicy.publicnode.com'
|
32
|
-
]
|
33
|
-
},
|
23
|
+
public: {
|
24
|
+
http: [
|
25
|
+
'https://spicy-rpc.chiliz.com',
|
26
|
+
'https://chiliz-spicy.publicnode.com',
|
27
|
+
],
|
28
|
+
webSocket: [
|
29
|
+
'wss://spicy-rpc-ws.chiliz.com',
|
30
|
+
'wss://chiliz-spicy.publicnode.com',
|
31
|
+
],
|
34
32
|
},
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
33
|
+
},
|
34
|
+
blockExplorers: {
|
35
|
+
default: {
|
36
|
+
name: 'Chiliz Explorer',
|
37
|
+
url: 'http://spicy-explorer.chiliz.com',
|
40
38
|
},
|
41
|
-
testnet: true,
|
42
39
|
},
|
43
|
-
|
40
|
+
testnet: true,
|
41
|
+
})
|
package/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '0.0.0-main.
|
1
|
+
export const version = '0.0.0-main.20231113T184305'
|
package/package.json
CHANGED