viem 0.0.0-main.20240202T005145 → 0.0.0-main.20240202T020959

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.
@@ -19,7 +19,7 @@ exports.hedera = (0, defineChain_js_1.defineChain)({
19
19
  blockExplorers: {
20
20
  default: {
21
21
  name: 'Hashscan',
22
- url: 'https://hashscan.io/mainnet'
22
+ url: 'https://hashscan.io/mainnet',
23
23
  },
24
24
  },
25
25
  testnet: false,
@@ -1 +1 @@
1
- {"version":3,"file":"hedera.js","sourceRoot":"","sources":["../../../chains/definitions/hedera.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,MAAM,GAAiB,IAAA,4BAAW,EAAC;IAC5C,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,gBAAgB;IACzB,cAAc,EAAE;QACZ,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAG,EAAE;KAChB;IACD,OAAO,EAAE;QACL,OAAO,EAAE;YACL,IAAI,EAAE,CAAC,+BAA+B,CAAC;SAC1C;KACJ;IACD,cAAc,EAAE;QACZ,OAAO,EAAE;YACL,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,6BAA6B;SACrC;KACJ;IACD,OAAO,EAAE,KAAK;CACjB,CAAC,CAAA"}
1
+ {"version":3,"file":"hedera.js","sourceRoot":"","sources":["../../../chains/definitions/hedera.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,MAAM,GAAiB,IAAA,4BAAW,EAAC;IAC9C,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,gBAAgB;IACzB,cAAc,EAAE;QACd,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,+BAA+B,CAAC;SACxC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,6BAA6B;SACnC;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
@@ -19,7 +19,7 @@ exports.hederaPreviewnet = (0, defineChain_js_1.defineChain)({
19
19
  blockExplorers: {
20
20
  default: {
21
21
  name: 'Hashscan',
22
- url: 'https://hashscan.io/previewnet'
22
+ url: 'https://hashscan.io/previewnet',
23
23
  },
24
24
  },
25
25
  testnet: true,
@@ -1 +1 @@
1
- {"version":3,"file":"hederaPreviewnet.js","sourceRoot":"","sources":["../../../chains/definitions/hederaPreviewnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,gBAAgB,GAAiB,IAAA,4BAAW,EAAC;IACtD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,mBAAmB;IAC5B,cAAc,EAAE;QACZ,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAG,EAAE;KAChB;IACD,OAAO,EAAE;QACL,OAAO,EAAE;YACL,IAAI,EAAE,CAAC,kCAAkC,CAAC;SAC7C;KACJ;IACD,cAAc,EAAE;QACZ,OAAO,EAAE;YACL,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,gCAAgC;SACxC;KACJ;IACD,OAAO,EAAE,IAAI;CAChB,CAAC,CAAA"}
1
+ {"version":3,"file":"hederaPreviewnet.js","sourceRoot":"","sources":["../../../chains/definitions/hederaPreviewnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,gBAAgB,GAAiB,IAAA,4BAAW,EAAC;IACxD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,mBAAmB;IAC5B,cAAc,EAAE;QACd,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,kCAAkC,CAAC;SAC3C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,gCAAgC;SACtC;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
@@ -19,7 +19,7 @@ exports.hederaTestnet = (0, defineChain_js_1.defineChain)({
19
19
  blockExplorers: {
20
20
  default: {
21
21
  name: 'Hashscan',
22
- url: 'https://hashscan.io/testnet'
22
+ url: 'https://hashscan.io/testnet',
23
23
  },
24
24
  },
25
25
  testnet: true,
@@ -1 +1 @@
1
- {"version":3,"file":"hederaTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/hederaTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,aAAa,GAAiB,IAAA,4BAAW,EAAC;IACnD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,gBAAgB;IACzB,cAAc,EAAE;QACZ,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAG,EAAE;KAChB;IACD,OAAO,EAAE;QACL,OAAO,EAAE;YACL,IAAI,EAAE,CAAC,+BAA+B,CAAC;SAC1C;KACJ;IACD,cAAc,EAAE;QACZ,OAAO,EAAE;YACL,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,6BAA6B;SACrC;KACJ;IACD,OAAO,EAAE,IAAI;CAChB,CAAC,CAAA"}
1
+ {"version":3,"file":"hederaTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/hederaTestnet.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,aAAa,GAAiB,IAAA,4BAAW,EAAC;IACrD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,gBAAgB;IACzB,cAAc,EAAE;QACd,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,+BAA+B,CAAC;SACxC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,6BAA6B;SACnC;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.20240202T005145';
4
+ exports.version = '0.0.0-main.20240202T020959';
5
5
  //# sourceMappingURL=version.js.map
@@ -16,7 +16,7 @@ export const hedera = /*#__PURE__*/ defineChain({
16
16
  blockExplorers: {
17
17
  default: {
18
18
  name: 'Hashscan',
19
- url: 'https://hashscan.io/mainnet'
19
+ url: 'https://hashscan.io/mainnet',
20
20
  },
21
21
  },
22
22
  testnet: false,
@@ -1 +1 @@
1
- {"version":3,"file":"hedera.js","sourceRoot":"","sources":["../../../chains/definitions/hedera.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,WAAW,CAAC;IAC5C,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,gBAAgB;IACzB,cAAc,EAAE;QACZ,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAG,EAAE;KAChB;IACD,OAAO,EAAE;QACL,OAAO,EAAE;YACL,IAAI,EAAE,CAAC,+BAA+B,CAAC;SAC1C;KACJ;IACD,cAAc,EAAE;QACZ,OAAO,EAAE;YACL,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,6BAA6B;SACrC;KACJ;IACD,OAAO,EAAE,KAAK;CACjB,CAAC,CAAA"}
1
+ {"version":3,"file":"hedera.js","sourceRoot":"","sources":["../../../chains/definitions/hedera.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,WAAW,CAAC;IAC9C,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,gBAAgB;IACzB,cAAc,EAAE;QACd,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,+BAA+B,CAAC;SACxC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,6BAA6B;SACnC;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
@@ -16,7 +16,7 @@ export const hederaPreviewnet = /*#__PURE__*/ defineChain({
16
16
  blockExplorers: {
17
17
  default: {
18
18
  name: 'Hashscan',
19
- url: 'https://hashscan.io/previewnet'
19
+ url: 'https://hashscan.io/previewnet',
20
20
  },
21
21
  },
22
22
  testnet: true,
@@ -1 +1 @@
1
- {"version":3,"file":"hederaPreviewnet.js","sourceRoot":"","sources":["../../../chains/definitions/hederaPreviewnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,WAAW,CAAC;IACtD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,mBAAmB;IAC5B,cAAc,EAAE;QACZ,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAG,EAAE;KAChB;IACD,OAAO,EAAE;QACL,OAAO,EAAE;YACL,IAAI,EAAE,CAAC,kCAAkC,CAAC;SAC7C;KACJ;IACD,cAAc,EAAE;QACZ,OAAO,EAAE;YACL,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,gCAAgC;SACxC;KACJ;IACD,OAAO,EAAE,IAAI;CAChB,CAAC,CAAA"}
1
+ {"version":3,"file":"hederaPreviewnet.js","sourceRoot":"","sources":["../../../chains/definitions/hederaPreviewnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,WAAW,CAAC;IACxD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,mBAAmB;IAC5B,cAAc,EAAE;QACd,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,kCAAkC,CAAC;SAC3C;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,gCAAgC;SACtC;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
@@ -16,7 +16,7 @@ export const hederaTestnet = /*#__PURE__*/ defineChain({
16
16
  blockExplorers: {
17
17
  default: {
18
18
  name: 'Hashscan',
19
- url: 'https://hashscan.io/testnet'
19
+ url: 'https://hashscan.io/testnet',
20
20
  },
21
21
  },
22
22
  testnet: true,
@@ -1 +1 @@
1
- {"version":3,"file":"hederaTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/hederaTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,WAAW,CAAC;IACnD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,gBAAgB;IACzB,cAAc,EAAE;QACZ,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAG,EAAE;KAChB;IACD,OAAO,EAAE;QACL,OAAO,EAAE;YACL,IAAI,EAAE,CAAC,+BAA+B,CAAC;SAC1C;KACJ;IACD,cAAc,EAAE;QACZ,OAAO,EAAE;YACL,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,6BAA6B;SACrC;KACJ;IACD,OAAO,EAAE,IAAI;CAChB,CAAC,CAAA"}
1
+ {"version":3,"file":"hederaTestnet.js","sourceRoot":"","sources":["../../../chains/definitions/hederaTestnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,WAAW,CAAC;IACrD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,gBAAgB;IACzB,cAAc,EAAE;QACd,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,EAAE;KACb;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,+BAA+B,CAAC;SACxC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,6BAA6B;SACnC;KACF;IACD,OAAO,EAAE,IAAI;CACd,CAAC,CAAA"}
@@ -1,2 +1,2 @@
1
- export const version = '0.0.0-main.20240202T005145';
1
+ export const version = '0.0.0-main.20240202T020959';
2
2
  //# sourceMappingURL=version.js.map
@@ -16,10 +16,10 @@ import { type FormattedTransactionRequest } from '../../utils/formatters/transac
16
16
  import { type AssertRequestErrorType } from '../../utils/transaction/assertRequest.js';
17
17
  import { type GetChainIdErrorType } from '../public/getChainId.js';
18
18
  import { type PrepareTransactionRequestErrorType } from './prepareTransactionRequest.js';
19
- import { type SendRawTransactionReturnType } from './sendRawTransaction.js';
19
+ import { type SendRawTransactionErrorType } from './sendRawTransaction.js';
20
20
  export type SendTransactionParameters<TChain extends Chain | undefined = Chain | undefined, TAccount extends Account | undefined = Account | undefined, TChainOverride extends Chain | undefined = Chain | undefined, derivedChain extends Chain | undefined = DeriveChain<TChain, TChainOverride>> = UnionOmit<FormattedTransactionRequest<derivedChain>, 'from'> & GetAccountParameter<TAccount> & GetChainParameter<TChain, TChainOverride>;
21
21
  export type SendTransactionReturnType = Hash;
22
- export type SendTransactionErrorType = ParseAccountErrorType | GetTransactionErrorReturnType<AssertCurrentChainErrorType | AssertRequestErrorType | GetChainIdErrorType | PrepareTransactionRequestErrorType | SendRawTransactionReturnType | SignTransactionErrorType | RequestErrorType> | ErrorType;
22
+ export type SendTransactionErrorType = ParseAccountErrorType | GetTransactionErrorReturnType<AssertCurrentChainErrorType | AssertRequestErrorType | GetChainIdErrorType | PrepareTransactionRequestErrorType | SendRawTransactionErrorType | SignTransactionErrorType | RequestErrorType> | ErrorType;
23
23
  /**
24
24
  * Creates, signs, and sends a new transaction to the network.
25
25
  *
@@ -1 +1 @@
1
- {"version":3,"file":"sendTransaction.d.ts","sourceRoot":"","sources":["../../../actions/wallet/sendTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,sCAAsC,CAAA;AAC7C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAA;AACvF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAG5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,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C,cAAc,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EAEpD,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAC3C,IAAI,EAAE,yBAAyB,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,CAAC,GAChE,OAAO,CAAC,yBAAyB,CAAC,CA0GpC"}
@@ -1,2 +1,2 @@
1
- export declare const version = "0.0.0-main.20240202T005145";
1
+ export declare const version = "0.0.0-main.20240202T020959";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -44,7 +44,7 @@ import {
44
44
  prepareTransactionRequest,
45
45
  } from './prepareTransactionRequest.js'
46
46
  import {
47
- type SendRawTransactionReturnType,
47
+ type SendRawTransactionErrorType,
48
48
  sendRawTransaction,
49
49
  } from './sendRawTransaction.js'
50
50
 
@@ -67,7 +67,7 @@ export type SendTransactionErrorType =
67
67
  | AssertRequestErrorType
68
68
  | GetChainIdErrorType
69
69
  | PrepareTransactionRequestErrorType
70
- | SendRawTransactionReturnType
70
+ | SendRawTransactionErrorType
71
71
  | SignTransactionErrorType
72
72
  | RequestErrorType
73
73
  >
@@ -1,24 +1,24 @@
1
1
  import { defineChain } from '../../utils/chain/defineChain.js'
2
2
 
3
3
  export const hedera = /*#__PURE__*/ defineChain({
4
- id: 295,
5
- name: 'Hedera Mainnet',
6
- network: 'hedera-mainnet',
7
- nativeCurrency: {
8
- symbol: 'HBAR',
9
- name: 'HBAR',
10
- decimals: 18,
4
+ id: 295,
5
+ name: 'Hedera Mainnet',
6
+ network: 'hedera-mainnet',
7
+ nativeCurrency: {
8
+ symbol: 'HBAR',
9
+ name: 'HBAR',
10
+ decimals: 18,
11
+ },
12
+ rpcUrls: {
13
+ default: {
14
+ http: ['https://mainnet.hashio.io/api'],
11
15
  },
12
- rpcUrls: {
13
- default: {
14
- http: ['https://mainnet.hashio.io/api'],
15
- },
16
+ },
17
+ blockExplorers: {
18
+ default: {
19
+ name: 'Hashscan',
20
+ url: 'https://hashscan.io/mainnet',
16
21
  },
17
- blockExplorers: {
18
- default: {
19
- name: 'Hashscan',
20
- url: 'https://hashscan.io/mainnet'
21
- },
22
- },
23
- testnet: false,
22
+ },
23
+ testnet: false,
24
24
  })
@@ -1,24 +1,24 @@
1
1
  import { defineChain } from '../../utils/chain/defineChain.js'
2
2
 
3
3
  export const hederaPreviewnet = /*#__PURE__*/ defineChain({
4
- id: 297,
5
- name: 'Hedera Previewnet',
6
- network: 'hedera-previewnet',
7
- nativeCurrency: {
8
- symbol: 'HBAR',
9
- name: 'HBAR',
10
- decimals: 18,
4
+ id: 297,
5
+ name: 'Hedera Previewnet',
6
+ network: 'hedera-previewnet',
7
+ nativeCurrency: {
8
+ symbol: 'HBAR',
9
+ name: 'HBAR',
10
+ decimals: 18,
11
+ },
12
+ rpcUrls: {
13
+ default: {
14
+ http: ['https://previewnet.hashio.io/api'],
11
15
  },
12
- rpcUrls: {
13
- default: {
14
- http: ['https://previewnet.hashio.io/api'],
15
- },
16
+ },
17
+ blockExplorers: {
18
+ default: {
19
+ name: 'Hashscan',
20
+ url: 'https://hashscan.io/previewnet',
16
21
  },
17
- blockExplorers: {
18
- default: {
19
- name: 'Hashscan',
20
- url: 'https://hashscan.io/previewnet'
21
- },
22
- },
23
- testnet: true,
22
+ },
23
+ testnet: true,
24
24
  })
@@ -1,24 +1,24 @@
1
1
  import { defineChain } from '../../utils/chain/defineChain.js'
2
2
 
3
3
  export const hederaTestnet = /*#__PURE__*/ defineChain({
4
- id: 296,
5
- name: 'Hedera Testnet',
6
- network: 'hedera-testnet',
7
- nativeCurrency: {
8
- symbol: 'HBAR',
9
- name: 'HBAR',
10
- decimals: 18,
4
+ id: 296,
5
+ name: 'Hedera Testnet',
6
+ network: 'hedera-testnet',
7
+ nativeCurrency: {
8
+ symbol: 'HBAR',
9
+ name: 'HBAR',
10
+ decimals: 18,
11
+ },
12
+ rpcUrls: {
13
+ default: {
14
+ http: ['https://testnet.hashio.io/api'],
11
15
  },
12
- rpcUrls: {
13
- default: {
14
- http: ['https://testnet.hashio.io/api'],
15
- },
16
+ },
17
+ blockExplorers: {
18
+ default: {
19
+ name: 'Hashscan',
20
+ url: 'https://hashscan.io/testnet',
16
21
  },
17
- blockExplorers: {
18
- default: {
19
- name: 'Hashscan',
20
- url: 'https://hashscan.io/testnet'
21
- },
22
- },
23
- testnet: true,
22
+ },
23
+ testnet: true,
24
24
  })
package/errors/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '0.0.0-main.20240202T005145'
1
+ export const version = '0.0.0-main.20240202T020959'
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.20240202T005145",
4
+ "version": "0.0.0-main.20240202T020959",
5
5
  "type": "module",
6
6
  "main": "./_cjs/index.js",
7
7
  "module": "./_esm/index.js",