viem 0.0.0-main.20240509T181338 → 0.0.0-main.20240510T044048

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # viem
2
2
 
3
+ ## 2.10.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2231](https://github.com/wevm/viem/pull/2231) [`e097b26027393d46e1a00d3ace0b911ca6a47341`](https://github.com/wevm/viem/commit/e097b26027393d46e1a00d3ace0b911ca6a47341) Thanks [@pro-wh](https://github.com/pro-wh)! - Updated Sapphire and Sapphire Testnet chains.
8
+
3
9
  ## 2.10.3
4
10
 
5
11
  ### Patch Changes
@@ -15,9 +15,13 @@ exports.sapphire = (0, defineChain_js_1.defineChain)({
15
15
  },
16
16
  blockExplorers: {
17
17
  default: {
18
+ name: 'Oasis Explorer',
19
+ url: 'https://explorer.oasis.io/mainnet/sapphire',
20
+ },
21
+ blockscout: {
18
22
  name: 'Oasis Sapphire Explorer',
19
- url: 'https://explorer.sapphire.oasis.io',
20
- apiUrl: 'https://explorer.sapphire.oasis.io/api',
23
+ url: 'https://old-explorer.sapphire.oasis.io',
24
+ apiUrl: 'https://old-explorer.sapphire.oasis.io/api',
21
25
  },
22
26
  },
23
27
  contracts: {
@@ -1 +1 @@
1
- {"version":3,"file":"sapphire.js","sourceRoot":"","sources":["../../../chains/definitions/sapphire.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,QAAQ,GAAiB,IAAA,4BAAW,EAAC;IAChD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,UAAU;IACnB,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,2BAA2B,CAAC;YACnC,SAAS,EAAE,CAAC,4BAA4B,CAAC;SAC1C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,yBAAyB;YAC/B,GAAG,EAAE,oCAAoC;YACzC,MAAM,EAAE,wCAAwC;SACjD;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,MAAM;SACrB;KACF;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"sapphire.js","sourceRoot":"","sources":["../../../chains/definitions/sapphire.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,QAAQ,GAAiB,IAAA,4BAAW,EAAC;IAChD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,UAAU;IACnB,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,2BAA2B,CAAC;YACnC,SAAS,EAAE,CAAC,4BAA4B,CAAC;SAC1C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,gBAAgB;YACtB,GAAG,EAAE,4CAA4C;SAClD;QACD,UAAU,EAAE;YACV,IAAI,EAAE,yBAAyB;YAC/B,GAAG,EAAE,wCAAwC;YAC7C,MAAM,EAAE,4CAA4C;SACrD;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,MAAM;SACrB;KACF;CACF,CAAC,CAAA"}
@@ -15,9 +15,13 @@ exports.sapphireTestnet = (0, defineChain_js_1.defineChain)({
15
15
  },
16
16
  blockExplorers: {
17
17
  default: {
18
+ name: 'Oasis Explorer',
19
+ url: 'https://explorer.oasis.io/testnet/sapphire',
20
+ },
21
+ blockscout: {
18
22
  name: 'Oasis Sapphire Testnet Explorer',
19
- url: 'https://testnet.explorer.sapphire.oasis.dev',
20
- apiUrl: 'https://testnet.explorer.sapphire.oasis.dev/api',
23
+ url: 'https://testnet.old-explorer.sapphire.oasis.dev',
24
+ apiUrl: 'https://testnet.old-explorer.sapphire.oasis.dev/api',
21
25
  },
22
26
  },
23
27
  testnet: true,
@@ -1 +1 @@
1
- {"version":3,"file":"sapphireTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/sapphireTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,eAAe,GAAiB,IAAA,4BAAW,EAAC;IACvD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,kBAAkB;IAC3B,cAAc,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5E,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,oCAAoC,CAAC;YAC5C,SAAS,EAAE,CAAC,qCAAqC,CAAC;SACnD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iCAAiC;YACvC,GAAG,EAAE,6CAA6C;YAClD,MAAM,EAAE,iDAAiD;SAC1D;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
1
+ {"version":3,"file":"sapphireTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/sapphireTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,eAAe,GAAiB,IAAA,4BAAW,EAAC;IACvD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,kBAAkB;IAC3B,cAAc,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5E,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,oCAAoC,CAAC;YAC5C,SAAS,EAAE,CAAC,qCAAqC,CAAC;SACnD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,gBAAgB;YACtB,GAAG,EAAE,4CAA4C;SAClD;QACD,UAAU,EAAE;YACV,IAAI,EAAE,iCAAiC;YACvC,GAAG,EAAE,iDAAiD;YACtD,MAAM,EAAE,qDAAqD;SAC9D;KACF;IACD,OAAO,EAAE,IAAI;CACd,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.20240509T181338';
4
+ exports.version = '0.0.0-main.20240510T044048';
5
5
  //# sourceMappingURL=version.js.map
@@ -12,9 +12,13 @@ export const sapphire = /*#__PURE__*/ defineChain({
12
12
  },
13
13
  blockExplorers: {
14
14
  default: {
15
+ name: 'Oasis Explorer',
16
+ url: 'https://explorer.oasis.io/mainnet/sapphire',
17
+ },
18
+ blockscout: {
15
19
  name: 'Oasis Sapphire Explorer',
16
- url: 'https://explorer.sapphire.oasis.io',
17
- apiUrl: 'https://explorer.sapphire.oasis.io/api',
20
+ url: 'https://old-explorer.sapphire.oasis.io',
21
+ apiUrl: 'https://old-explorer.sapphire.oasis.io/api',
18
22
  },
19
23
  },
20
24
  contracts: {
@@ -1 +1 @@
1
- {"version":3,"file":"sapphire.js","sourceRoot":"","sources":["../../../chains/definitions/sapphire.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,WAAW,CAAC;IAChD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,UAAU;IACnB,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,2BAA2B,CAAC;YACnC,SAAS,EAAE,CAAC,4BAA4B,CAAC;SAC1C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,yBAAyB;YAC/B,GAAG,EAAE,oCAAoC;YACzC,MAAM,EAAE,wCAAwC;SACjD;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,MAAM;SACrB;KACF;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"sapphire.js","sourceRoot":"","sources":["../../../chains/definitions/sapphire.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,WAAW,CAAC;IAChD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,UAAU;IACnB,cAAc,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,2BAA2B,CAAC;YACnC,SAAS,EAAE,CAAC,4BAA4B,CAAC;SAC1C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,gBAAgB;YACtB,GAAG,EAAE,4CAA4C;SAClD;QACD,UAAU,EAAE;YACV,IAAI,EAAE,yBAAyB;YAC/B,GAAG,EAAE,wCAAwC;YAC7C,MAAM,EAAE,4CAA4C;SACrD;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,MAAM;SACrB;KACF;CACF,CAAC,CAAA"}
@@ -12,9 +12,13 @@ export const sapphireTestnet = /*#__PURE__*/ defineChain({
12
12
  },
13
13
  blockExplorers: {
14
14
  default: {
15
+ name: 'Oasis Explorer',
16
+ url: 'https://explorer.oasis.io/testnet/sapphire',
17
+ },
18
+ blockscout: {
15
19
  name: 'Oasis Sapphire Testnet Explorer',
16
- url: 'https://testnet.explorer.sapphire.oasis.dev',
17
- apiUrl: 'https://testnet.explorer.sapphire.oasis.dev/api',
20
+ url: 'https://testnet.old-explorer.sapphire.oasis.dev',
21
+ apiUrl: 'https://testnet.old-explorer.sapphire.oasis.dev/api',
18
22
  },
19
23
  },
20
24
  testnet: true,
@@ -1 +1 @@
1
- {"version":3,"file":"sapphireTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/sapphireTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;IACvD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,kBAAkB;IAC3B,cAAc,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5E,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,oCAAoC,CAAC;YAC5C,SAAS,EAAE,CAAC,qCAAqC,CAAC;SACnD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iCAAiC;YACvC,GAAG,EAAE,6CAA6C;YAClD,MAAM,EAAE,iDAAiD;SAC1D;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
1
+ {"version":3,"file":"sapphireTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/sapphireTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;IACvD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,kBAAkB;IAC3B,cAAc,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5E,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,oCAAoC,CAAC;YAC5C,SAAS,EAAE,CAAC,qCAAqC,CAAC;SACnD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,gBAAgB;YACtB,GAAG,EAAE,4CAA4C;SAClD;QACD,UAAU,EAAE;YACV,IAAI,EAAE,iCAAiC;YACvC,GAAG,EAAE,iDAAiD;YACtD,MAAM,EAAE,qDAAqD;SAC9D;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
@@ -1,2 +1,2 @@
1
- export const version = '0.0.0-main.20240509T181338';
1
+ export const version = '0.0.0-main.20240510T044048';
2
2
  //# sourceMappingURL=version.js.map
@@ -1,9 +1,13 @@
1
1
  export declare const sapphire: {
2
2
  blockExplorers: {
3
3
  readonly default: {
4
+ readonly name: "Oasis Explorer";
5
+ readonly url: "https://explorer.oasis.io/mainnet/sapphire";
6
+ };
7
+ readonly blockscout: {
4
8
  readonly name: "Oasis Sapphire Explorer";
5
- readonly url: "https://explorer.sapphire.oasis.io";
6
- readonly apiUrl: "https://explorer.sapphire.oasis.io/api";
9
+ readonly url: "https://old-explorer.sapphire.oasis.io";
10
+ readonly apiUrl: "https://old-explorer.sapphire.oasis.io/api";
7
11
  };
8
12
  };
9
13
  contracts: {
@@ -1 +1 @@
1
- {"version":3,"file":"sapphire.d.ts","sourceRoot":"","sources":["../../../chains/definitions/sapphire.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBnB,CAAA"}
1
+ {"version":3,"file":"sapphire.d.ts","sourceRoot":"","sources":["../../../chains/definitions/sapphire.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BnB,CAAA"}
@@ -1,9 +1,13 @@
1
1
  export declare const sapphireTestnet: {
2
2
  blockExplorers: {
3
3
  readonly default: {
4
+ readonly name: "Oasis Explorer";
5
+ readonly url: "https://explorer.oasis.io/testnet/sapphire";
6
+ };
7
+ readonly blockscout: {
4
8
  readonly name: "Oasis Sapphire Testnet Explorer";
5
- readonly url: "https://testnet.explorer.sapphire.oasis.dev";
6
- readonly apiUrl: "https://testnet.explorer.sapphire.oasis.dev/api";
9
+ readonly url: "https://testnet.old-explorer.sapphire.oasis.dev";
10
+ readonly apiUrl: "https://testnet.old-explorer.sapphire.oasis.dev/api";
7
11
  };
8
12
  };
9
13
  contracts?: {
@@ -1 +1 @@
1
- {"version":3,"file":"sapphireTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/sapphireTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmB1B,CAAA"}
1
+ {"version":3,"file":"sapphireTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/sapphireTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuB1B,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const version = "0.0.0-main.20240509T181338";
1
+ export declare const version = "0.0.0-main.20240510T044048";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -13,9 +13,13 @@ export const sapphire = /*#__PURE__*/ defineChain({
13
13
  },
14
14
  blockExplorers: {
15
15
  default: {
16
+ name: 'Oasis Explorer',
17
+ url: 'https://explorer.oasis.io/mainnet/sapphire',
18
+ },
19
+ blockscout: {
16
20
  name: 'Oasis Sapphire Explorer',
17
- url: 'https://explorer.sapphire.oasis.io',
18
- apiUrl: 'https://explorer.sapphire.oasis.io/api',
21
+ url: 'https://old-explorer.sapphire.oasis.io',
22
+ apiUrl: 'https://old-explorer.sapphire.oasis.io/api',
19
23
  },
20
24
  },
21
25
  contracts: {
@@ -13,9 +13,13 @@ export const sapphireTestnet = /*#__PURE__*/ defineChain({
13
13
  },
14
14
  blockExplorers: {
15
15
  default: {
16
+ name: 'Oasis Explorer',
17
+ url: 'https://explorer.oasis.io/testnet/sapphire',
18
+ },
19
+ blockscout: {
16
20
  name: 'Oasis Sapphire Testnet Explorer',
17
- url: 'https://testnet.explorer.sapphire.oasis.dev',
18
- apiUrl: 'https://testnet.explorer.sapphire.oasis.dev/api',
21
+ url: 'https://testnet.old-explorer.sapphire.oasis.dev',
22
+ apiUrl: 'https://testnet.old-explorer.sapphire.oasis.dev/api',
19
23
  },
20
24
  },
21
25
  testnet: true,
package/errors/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '0.0.0-main.20240509T181338'
1
+ export const version = '0.0.0-main.20240510T044048'
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.20240509T181338",
4
+ "version": "0.0.0-main.20240510T044048",
5
5
  "type": "module",
6
6
  "main": "./_cjs/index.js",
7
7
  "module": "./_esm/index.js",