viem 0.0.0-main.20240514T232408 → 0.0.0-main.20240515T040627

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.
@@ -6,13 +6,17 @@ exports.btr = (0, defineChain_js_1.defineChain)({
6
6
  id: 200901,
7
7
  name: 'Bitlayer',
8
8
  nativeCurrency: {
9
- name: "Ether",
10
- symbol: "ETH",
11
- decimals: 18
9
+ name: 'Ether',
10
+ symbol: 'ETH',
11
+ decimals: 18,
12
12
  },
13
13
  rpcUrls: {
14
14
  default: {
15
- http: ['https://rpc.bitlayer.org', 'https://rpc.bitlayer-rpc.com', 'https://rpc.ankr.com/bitlayer'],
15
+ http: [
16
+ 'https://rpc.bitlayer.org',
17
+ 'https://rpc.bitlayer-rpc.com',
18
+ 'https://rpc.ankr.com/bitlayer',
19
+ ],
16
20
  webSocket: ['wss://ws.bitlayer.org', 'wss://ws.bitlayer-rpc.com'],
17
21
  },
18
22
  },
@@ -1 +1 @@
1
- {"version":3,"file":"btr.js","sourceRoot":"","sources":["../../../chains/definitions/btr.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,GAAG,GAAiB,IAAA,4BAAW,EAAC;IAC3C,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,UAAU;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACA,OAAO,EAAE;QACR,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,0BAA0B,EAAE,8BAA8B,EAAE,+BAA+B,CAAC;YACnG,SAAS,EAAE,CAAC,uBAAuB,EAAC,2BAA2B,CAAC;SAChE;KACH;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,GAAG,EAAE,yBAAyB;YAC9B,MAAM,EAAE,8BAA8B;SACvC;KACF;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"btr.js","sourceRoot":"","sources":["../../../chains/definitions/btr.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,GAAG,GAAiB,IAAA,4BAAW,EAAC;IAC3C,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,UAAU;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE;gBACJ,0BAA0B;gBAC1B,8BAA8B;gBAC9B,+BAA+B;aAChC;YACD,SAAS,EAAE,CAAC,uBAAuB,EAAE,2BAA2B,CAAC;SAClE;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,GAAG,EAAE,yBAAyB;YAC9B,MAAM,EAAE,8BAA8B;SACvC;KACF;CACF,CAAC,CAAA"}
@@ -6,14 +6,17 @@ exports.btrTestnet = (0, defineChain_js_1.defineChain)({
6
6
  id: 200810,
7
7
  name: 'Bitlayer Testnet',
8
8
  nativeCurrency: {
9
- name: "Ether",
10
- symbol: "ETH",
11
- decimals: 18
9
+ name: 'Ether',
10
+ symbol: 'ETH',
11
+ decimals: 18,
12
12
  },
13
13
  rpcUrls: {
14
14
  default: {
15
15
  http: ['https://testnet-rpc.bitlayer.org'],
16
- webSocket: ['wss://testnet-ws.bitlayer.org', 'wss://testnet-ws.bitlayer-rpc.com'],
16
+ webSocket: [
17
+ 'wss://testnet-ws.bitlayer.org',
18
+ 'wss://testnet-ws.bitlayer-rpc.com',
19
+ ],
17
20
  },
18
21
  },
19
22
  blockExplorers: {
@@ -1 +1 @@
1
- {"version":3,"file":"btrTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/btrTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,UAAU,GAAiB,IAAA,4BAAW,EAAC;IAClD,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACA,OAAO,EAAE;QACR,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,kCAAkC,CAAC;YAC1C,SAAS,EAAE,CAAC,+BAA+B,EAAC,mCAAmC,CAAC;SACjF;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,GAAG,EAAE,mCAAmC;YACxC,MAAM,EAAE,wCAAwC;SACjD;KACF;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"btrTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/btrTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,UAAU,GAAiB,IAAA,4BAAW,EAAC;IAClD,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,kCAAkC,CAAC;YAC1C,SAAS,EAAE;gBACT,+BAA+B;gBAC/B,mCAAmC;aACpC;SACF;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,GAAG,EAAE,mCAAmC;YACxC,MAAM,EAAE,wCAAwC;SACjD;KACF;CACF,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '0.0.0-main.20240514T232408';
4
+ exports.version = '0.0.0-main.20240515T040627';
5
5
  //# sourceMappingURL=version.js.map
@@ -3,13 +3,17 @@ export const btr = /*#__PURE__*/ defineChain({
3
3
  id: 200901,
4
4
  name: 'Bitlayer',
5
5
  nativeCurrency: {
6
- name: "Ether",
7
- symbol: "ETH",
8
- decimals: 18
6
+ name: 'Ether',
7
+ symbol: 'ETH',
8
+ decimals: 18,
9
9
  },
10
10
  rpcUrls: {
11
11
  default: {
12
- http: ['https://rpc.bitlayer.org', 'https://rpc.bitlayer-rpc.com', 'https://rpc.ankr.com/bitlayer'],
12
+ http: [
13
+ 'https://rpc.bitlayer.org',
14
+ 'https://rpc.bitlayer-rpc.com',
15
+ 'https://rpc.ankr.com/bitlayer',
16
+ ],
13
17
  webSocket: ['wss://ws.bitlayer.org', 'wss://ws.bitlayer-rpc.com'],
14
18
  },
15
19
  },
@@ -1 +1 @@
1
- {"version":3,"file":"btr.js","sourceRoot":"","sources":["../../../chains/definitions/btr.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,GAAG,GAAG,aAAa,CAAC,WAAW,CAAC;IAC3C,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,UAAU;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACA,OAAO,EAAE;QACR,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,0BAA0B,EAAE,8BAA8B,EAAE,+BAA+B,CAAC;YACnG,SAAS,EAAE,CAAC,uBAAuB,EAAC,2BAA2B,CAAC;SAChE;KACH;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,GAAG,EAAE,yBAAyB;YAC9B,MAAM,EAAE,8BAA8B;SACvC;KACF;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"btr.js","sourceRoot":"","sources":["../../../chains/definitions/btr.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,GAAG,GAAG,aAAa,CAAC,WAAW,CAAC;IAC3C,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,UAAU;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE;gBACJ,0BAA0B;gBAC1B,8BAA8B;gBAC9B,+BAA+B;aAChC;YACD,SAAS,EAAE,CAAC,uBAAuB,EAAE,2BAA2B,CAAC;SAClE;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,GAAG,EAAE,yBAAyB;YAC9B,MAAM,EAAE,8BAA8B;SACvC;KACF;CACF,CAAC,CAAA"}
@@ -3,14 +3,17 @@ export const btrTestnet = /*#__PURE__*/ defineChain({
3
3
  id: 200810,
4
4
  name: 'Bitlayer Testnet',
5
5
  nativeCurrency: {
6
- name: "Ether",
7
- symbol: "ETH",
8
- decimals: 18
6
+ name: 'Ether',
7
+ symbol: 'ETH',
8
+ decimals: 18,
9
9
  },
10
10
  rpcUrls: {
11
11
  default: {
12
12
  http: ['https://testnet-rpc.bitlayer.org'],
13
- webSocket: ['wss://testnet-ws.bitlayer.org', 'wss://testnet-ws.bitlayer-rpc.com'],
13
+ webSocket: [
14
+ 'wss://testnet-ws.bitlayer.org',
15
+ 'wss://testnet-ws.bitlayer-rpc.com',
16
+ ],
14
17
  },
15
18
  },
16
19
  blockExplorers: {
@@ -1 +1 @@
1
- {"version":3,"file":"btrTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/btrTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,WAAW,CAAC;IAClD,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACA,OAAO,EAAE;QACR,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,kCAAkC,CAAC;YAC1C,SAAS,EAAE,CAAC,+BAA+B,EAAC,mCAAmC,CAAC;SACjF;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,GAAG,EAAE,mCAAmC;YACxC,MAAM,EAAE,wCAAwC;SACjD;KACF;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"btrTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/btrTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,WAAW,CAAC;IAClD,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,kCAAkC,CAAC;YAC1C,SAAS,EAAE;gBACT,+BAA+B;gBAC/B,mCAAmC;aACpC;SACF;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,GAAG,EAAE,mCAAmC;YACxC,MAAM,EAAE,wCAAwC;SACjD;KACF;CACF,CAAC,CAAA"}
@@ -1,2 +1,2 @@
1
- export const version = '0.0.0-main.20240514T232408';
1
+ export const version = '0.0.0-main.20240515T040627';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"btr.d.ts","sourceRoot":"","sources":["../../../chains/definitions/btr.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBd,CAAA"}
1
+ {"version":3,"file":"btr.d.ts","sourceRoot":"","sources":["../../../chains/definitions/btr.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBd,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"btrTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/btrTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBrB,CAAA"}
1
+ {"version":3,"file":"btrTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/btrTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBrB,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const version = "0.0.0-main.20240514T232408";
1
+ export declare const version = "0.0.0-main.20240515T040627";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -4,15 +4,19 @@ export const btr = /*#__PURE__*/ defineChain({
4
4
  id: 200901,
5
5
  name: 'Bitlayer',
6
6
  nativeCurrency: {
7
- name: "Ether",
8
- symbol: "ETH",
9
- decimals: 18
7
+ name: 'Ether',
8
+ symbol: 'ETH',
9
+ decimals: 18,
10
10
  },
11
- rpcUrls: {
11
+ rpcUrls: {
12
12
  default: {
13
- http: ['https://rpc.bitlayer.org', 'https://rpc.bitlayer-rpc.com', 'https://rpc.ankr.com/bitlayer'],
14
- webSocket: ['wss://ws.bitlayer.org','wss://ws.bitlayer-rpc.com'],
15
- },
13
+ http: [
14
+ 'https://rpc.bitlayer.org',
15
+ 'https://rpc.bitlayer-rpc.com',
16
+ 'https://rpc.ankr.com/bitlayer',
17
+ ],
18
+ webSocket: ['wss://ws.bitlayer.org', 'wss://ws.bitlayer-rpc.com'],
19
+ },
16
20
  },
17
21
  blockExplorers: {
18
22
  default: {
@@ -4,14 +4,17 @@ export const btrTestnet = /*#__PURE__*/ defineChain({
4
4
  id: 200810,
5
5
  name: 'Bitlayer Testnet',
6
6
  nativeCurrency: {
7
- name: "Ether",
8
- symbol: "ETH",
9
- decimals: 18
7
+ name: 'Ether',
8
+ symbol: 'ETH',
9
+ decimals: 18,
10
10
  },
11
- rpcUrls: {
11
+ rpcUrls: {
12
12
  default: {
13
13
  http: ['https://testnet-rpc.bitlayer.org'],
14
- webSocket: ['wss://testnet-ws.bitlayer.org','wss://testnet-ws.bitlayer-rpc.com'],
14
+ webSocket: [
15
+ 'wss://testnet-ws.bitlayer.org',
16
+ 'wss://testnet-ws.bitlayer-rpc.com',
17
+ ],
15
18
  },
16
19
  },
17
20
  blockExplorers: {
package/errors/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '0.0.0-main.20240514T232408'
1
+ export const version = '0.0.0-main.20240515T040627'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "viem",
3
3
  "description": "TypeScript Interface for Ethereum",
4
- "version": "0.0.0-main.20240514T232408",
4
+ "version": "0.0.0-main.20240515T040627",
5
5
  "type": "module",
6
6
  "main": "./_cjs/index.js",
7
7
  "module": "./_esm/index.js",
@@ -15,7 +15,8 @@
15
15
  "!**/*.test.ts.snap",
16
16
  "!**/*.test-d.ts",
17
17
  "!**/*.bench.ts",
18
- "!tsconfig.build.json"
18
+ "!tsconfig.build.json",
19
+ "!jsr.json"
19
20
  ],
20
21
  "exports": {
21
22
  ".": {