viem 2.0.0-rc.4 → 2.0.1
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 +20 -0
- package/_cjs/actions/getContract.js +6 -6
- package/_cjs/actions/getContract.js.map +1 -1
- package/_cjs/chains/definitions/defichainEvm.js +39 -0
- package/_cjs/chains/definitions/defichainEvm.js.map +1 -0
- package/_cjs/chains/definitions/defichainEvmTestnet.js +40 -0
- package/_cjs/chains/definitions/defichainEvmTestnet.js.map +1 -0
- package/_cjs/chains/index.js +8 -4
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/chains/zksync/formatters.js +3 -1
- package/_cjs/chains/zksync/formatters.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/errors/version.js.map +1 -1
- package/_esm/actions/getContract.js +6 -6
- package/_esm/actions/getContract.js.map +1 -1
- package/_esm/chains/definitions/defichainEvm.js +36 -0
- package/_esm/chains/definitions/defichainEvm.js.map +1 -0
- package/_esm/chains/definitions/defichainEvmTestnet.js +37 -0
- package/_esm/chains/definitions/defichainEvmTestnet.js.map +1 -0
- package/_esm/chains/index.js +2 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/chains/zksync/formatters.js +3 -1
- package/_esm/chains/zksync/formatters.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/errors/version.js.map +1 -1
- package/_types/actions/getContract.d.ts +12 -9
- package/_types/actions/getContract.d.ts.map +1 -1
- package/_types/chains/definitions/defichainEvm.d.ts +40 -0
- package/_types/chains/definitions/defichainEvm.d.ts.map +1 -0
- package/_types/chains/definitions/defichainEvmTestnet.d.ts +40 -0
- package/_types/chains/definitions/defichainEvmTestnet.d.ts.map +1 -0
- package/_types/chains/index.d.ts +2 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/zksync/formatters.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/errors/version.d.ts.map +1 -1
- package/actions/getContract.ts +24 -24
- package/celo/package.json +6 -0
- package/chains/definitions/defichainEvm.ts +36 -0
- package/chains/definitions/defichainEvmTestnet.ts +37 -0
- package/chains/index.ts +2 -0
- package/chains/zksync/formatters.ts +3 -1
- package/errors/version.ts +1 -1
- package/op-stack/package.json +6 -0
- package/package.json +34 -12
- package/zksync/package.json +6 -0
- package/_cjs/_test/generated.js +0 -313
- package/_cjs/_test/generated.js.map +0 -1
- package/_esm/_test/generated.js +0 -335
- package/_esm/_test/generated.js.map +0 -1
- package/_test/generated.ts +0 -350
- package/_types/_test/generated.d.ts +0 -428
- package/_types/_test/generated.d.ts.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getContract.d.ts","sourceRoot":"","sources":["../../actions/getContract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,GAAG,EACH,QAAQ,EACR,WAAW,EACX,6BAA6B,EAC7B,OAAO,EACP,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,SAAS,CAAA;AAEhB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAA;AACzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,KAAK,EACV,kCAAkC,EAClC,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EACV,YAAY,EACZ,OAAO,EACP,WAAW,EACX,EAAE,EACF,QAAQ,EACR,SAAS,EACV,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAEnD,OAAO,EACL,KAAK,mCAAmC,EACxC,KAAK,mCAAmC,EAEzC,MAAM,uCAAu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AAI,CAAA;CAAE,CAAC,IACrE,UAAU,SAAS,IAAI,GACvB,CACE,GAAG,UAAU,EAAE,OAAO,CAAC,aAAa,CAAC,SAAS,IAAI,GAC9C,CAAC,OAAO,EAAE,OAAO,CAAC,GAClB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,KAC/B,4BAA4B,GACjC,CACE,GAAG,UAAU,EACT,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,GACnB;IACE,IAAI,EAAE,SAAS,OAAO,EAAE,GAAG,yBAAyB;IACpD,OAAO,CAAC,EAAE,OAAO;CAClB,KACF,4BAA4B,CAAA;AAErC,KAAK,2BAA2B,GAC9B,gBAAgB,CAAC,mCAAmC,CAAC,CAAA;AACvD,KAAK,yBAAyB,GAAG,gBAAgB,CAAC,4BAA4B,CAAC,CAAA;AAE/E,KAAK,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI,QAAQ,CAChD;IACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB,GAAG;KACD,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK;CACvB,CACF,CAAA"}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
export declare const defichainEvm: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "DeFiScan";
|
5
|
+
readonly url: "https://meta.defiscan.live";
|
6
|
+
};
|
7
|
+
readonly blockscout: {
|
8
|
+
readonly name: "Blockscout";
|
9
|
+
readonly url: "https://blockscout.mainnet.ocean.jellyfishsdk.com";
|
10
|
+
};
|
11
|
+
};
|
12
|
+
contracts: {
|
13
|
+
readonly multicall3: {
|
14
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
15
|
+
readonly blockCreated: 137852;
|
16
|
+
};
|
17
|
+
};
|
18
|
+
id: 1130;
|
19
|
+
name: "DeFiChain EVM Mainnet";
|
20
|
+
nativeCurrency: {
|
21
|
+
readonly name: "DeFiChain";
|
22
|
+
readonly symbol: "DFI";
|
23
|
+
readonly decimals: 8;
|
24
|
+
};
|
25
|
+
rpcUrls: {
|
26
|
+
readonly default: {
|
27
|
+
readonly http: readonly ["https://eth.mainnet.ocean.jellyfishsdk.com"];
|
28
|
+
};
|
29
|
+
readonly public: {
|
30
|
+
readonly http: readonly ["https://eth.mainnet.ocean.jellyfishsdk.com"];
|
31
|
+
};
|
32
|
+
};
|
33
|
+
sourceId?: number | undefined;
|
34
|
+
testnet?: boolean | undefined;
|
35
|
+
formatters?: undefined;
|
36
|
+
serializers?: import("../../index.js").ChainSerializers<undefined> | undefined;
|
37
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
38
|
+
readonly network: "defichain-evm";
|
39
|
+
};
|
40
|
+
//# sourceMappingURL=defichainEvm.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"defichainEvm.d.ts","sourceRoot":"","sources":["../../../chains/definitions/defichainEvm.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCvB,CAAA"}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
export declare const defichainEvmTestnet: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "DeFiScan";
|
5
|
+
readonly url: "https://meta.defiscan.live/?network=TestNet";
|
6
|
+
};
|
7
|
+
readonly blockscout: {
|
8
|
+
readonly name: "Blockscout";
|
9
|
+
readonly url: "https://blockscout.testnet.ocean.jellyfishsdk.com";
|
10
|
+
};
|
11
|
+
};
|
12
|
+
contracts: {
|
13
|
+
readonly multicall3: {
|
14
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
15
|
+
readonly blockCreated: 156462;
|
16
|
+
};
|
17
|
+
};
|
18
|
+
id: 1131;
|
19
|
+
name: "DeFiChain EVM Testnet";
|
20
|
+
nativeCurrency: {
|
21
|
+
readonly name: "DeFiChain";
|
22
|
+
readonly symbol: "DFI";
|
23
|
+
readonly decimals: 8;
|
24
|
+
};
|
25
|
+
rpcUrls: {
|
26
|
+
readonly default: {
|
27
|
+
readonly http: readonly ["https://eth.testnet.ocean.jellyfishsdk.com"];
|
28
|
+
};
|
29
|
+
readonly public: {
|
30
|
+
readonly http: readonly ["https://eth.testnet.ocean.jellyfishsdk.com"];
|
31
|
+
};
|
32
|
+
};
|
33
|
+
sourceId?: number | undefined;
|
34
|
+
testnet: true;
|
35
|
+
formatters?: undefined;
|
36
|
+
serializers?: import("../../index.js").ChainSerializers<undefined> | undefined;
|
37
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
38
|
+
readonly network: "defichain-evm-testnet";
|
39
|
+
};
|
40
|
+
//# sourceMappingURL=defichainEvmTestnet.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"defichainEvmTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/defichainEvmTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC9B,CAAA"}
|
package/_types/chains/index.d.ts
CHANGED
@@ -37,6 +37,8 @@ export { coreDao } from './definitions/coreDao.js';
|
|
37
37
|
export { cronos } from './definitions/cronos.js';
|
38
38
|
export { cronosTestnet } from './definitions/cronosTestnet.js';
|
39
39
|
export { crossbell } from './definitions/crossbell.js';
|
40
|
+
export { defichainEvm } from './definitions/defichainEvm.js';
|
41
|
+
export { defichainEvmTestnet } from './definitions/defichainEvmTestnet.js';
|
40
42
|
export { dfk } from './definitions/dfk.js';
|
41
43
|
export { dogechain } from './definitions/dogechain.js';
|
42
44
|
export { edgeware } from './definitions/edgeware.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../chains/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../chains/zksync/formatters.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAS/C,OAAO,KAAK,EAEV,eAAe,EACf,SAAS,EACT,uBAAuB,EACvB,oBAAoB,EACpB,oCAAoC,EAEpC,iBAAiB,EAEjB,wBAAwB,EACzB,MAAM,YAAY,CAAA;AAEnB,eAAO,MAAM,UAAU;;;;0BAID,IAAI,EAAE,GAAG,oBAAoB,EAAE;;;;;;;;;;;;;;;;;;;;;0BAGjC,IAAI,EAAE,GAAG,iBAAiB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqHZ,CAAA"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "2.0.
|
1
|
+
export declare const version = "2.0.1";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../errors/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../errors/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAA"}
|
package/actions/getContract.ts
CHANGED
@@ -72,10 +72,15 @@ type KeyedClient<
|
|
72
72
|
TTransport extends Transport = Transport,
|
73
73
|
TChain extends Chain | undefined = Chain | undefined,
|
74
74
|
TAccount extends Account | undefined = Account | undefined,
|
75
|
-
> =
|
76
|
-
|
77
|
-
|
78
|
-
|
75
|
+
> =
|
76
|
+
| {
|
77
|
+
public?: Client<TTransport, TChain>
|
78
|
+
wallet: Client<TTransport, TChain, TAccount>
|
79
|
+
}
|
80
|
+
| {
|
81
|
+
public: Client<TTransport, TChain>
|
82
|
+
wallet?: Client<TTransport, TChain, TAccount>
|
83
|
+
}
|
79
84
|
|
80
85
|
export type GetContractParameters<
|
81
86
|
TTransport extends Transport = Transport,
|
@@ -84,8 +89,9 @@ export type GetContractParameters<
|
|
84
89
|
TAbi extends Abi | readonly unknown[] = Abi,
|
85
90
|
TClient extends
|
86
91
|
| Client<TTransport, TChain, TAccount>
|
87
|
-
| KeyedClient<TTransport, TChain, TAccount>
|
88
|
-
|
|
92
|
+
| KeyedClient<TTransport, TChain, TAccount> =
|
93
|
+
| Client<TTransport, TChain, TAccount>
|
94
|
+
| KeyedClient<TTransport, TChain, TAccount>,
|
89
95
|
TAddress extends Address = Address,
|
90
96
|
> = {
|
91
97
|
/** Contract ABI */
|
@@ -113,7 +119,7 @@ export type GetContractParameters<
|
|
113
119
|
|
114
120
|
export type GetContractReturnType<
|
115
121
|
TAbi extends Abi | readonly unknown[] = Abi,
|
116
|
-
TClient extends Client | KeyedClient
|
122
|
+
TClient extends Client | KeyedClient = Client | KeyedClient,
|
117
123
|
TAddress extends Address = Address,
|
118
124
|
_EventNames extends string = TAbi extends Abi
|
119
125
|
? Abi extends TAbi
|
@@ -132,14 +138,14 @@ export type GetContractReturnType<
|
|
132
138
|
: string,
|
133
139
|
_Narrowable extends boolean = IsNarrowable<TAbi, Abi>,
|
134
140
|
_PublicClient extends Client | unknown = TClient extends {
|
135
|
-
|
141
|
+
public: Client
|
136
142
|
}
|
137
|
-
? TClient['
|
143
|
+
? TClient['public']
|
138
144
|
: TClient,
|
139
145
|
_WalletClient extends Client | unknown = TClient extends {
|
140
|
-
|
146
|
+
wallet: Client
|
141
147
|
}
|
142
|
-
? TClient['
|
148
|
+
? TClient['wallet']
|
143
149
|
: TClient,
|
144
150
|
> = Prettify<
|
145
151
|
Prettify<
|
@@ -471,15 +477,11 @@ export function getContract<
|
|
471
477
|
TTransport extends Transport,
|
472
478
|
TAddress extends Address,
|
473
479
|
const TAbi extends Abi | readonly unknown[],
|
474
|
-
TChain extends Chain | undefined = Chain | undefined,
|
475
|
-
TAccount extends Account | undefined = Account | undefined,
|
476
480
|
const TClient extends
|
477
481
|
| Client<TTransport, TChain, TAccount>
|
478
|
-
| KeyedClient<TTransport, TChain, TAccount
|
479
|
-
|
480
|
-
|
481
|
-
| KeyedClient<TTransport, TChain, TAccount>
|
482
|
-
| unknown,
|
482
|
+
| KeyedClient<TTransport, TChain, TAccount>,
|
483
|
+
TChain extends Chain | undefined = Chain | undefined,
|
484
|
+
TAccount extends Account | undefined = Account | undefined,
|
483
485
|
>({
|
484
486
|
abi,
|
485
487
|
address,
|
@@ -498,12 +500,10 @@ export function getContract<
|
|
498
500
|
|
499
501
|
const [publicClient, walletClient] = (() => {
|
500
502
|
if (!client) return [undefined, undefined]
|
501
|
-
if ('
|
502
|
-
return [client.
|
503
|
-
if ('
|
504
|
-
|
505
|
-
if ('walletClient' in client)
|
506
|
-
return [undefined, client.walletClient as Client]
|
503
|
+
if ('public' in client && 'wallet' in client)
|
504
|
+
return [client.public as Client, client.wallet as Client]
|
505
|
+
if ('public' in client) return [client.public as Client, undefined]
|
506
|
+
if ('wallet' in client) return [undefined, client.wallet as Client]
|
507
507
|
return [client, client]
|
508
508
|
})()
|
509
509
|
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { defineChain } from '../../utils/chain/defineChain.js'
|
2
|
+
|
3
|
+
export const defichainEvm = /*#__PURE__*/ defineChain({
|
4
|
+
id: 1130,
|
5
|
+
network: 'defichain-evm',
|
6
|
+
name: 'DeFiChain EVM Mainnet',
|
7
|
+
nativeCurrency: {
|
8
|
+
name: 'DeFiChain',
|
9
|
+
symbol: 'DFI',
|
10
|
+
decimals: 8,
|
11
|
+
},
|
12
|
+
rpcUrls: {
|
13
|
+
default: {
|
14
|
+
http: ['https://eth.mainnet.ocean.jellyfishsdk.com'],
|
15
|
+
},
|
16
|
+
public: {
|
17
|
+
http: ['https://eth.mainnet.ocean.jellyfishsdk.com'],
|
18
|
+
},
|
19
|
+
},
|
20
|
+
blockExplorers: {
|
21
|
+
default: {
|
22
|
+
name: 'DeFiScan',
|
23
|
+
url: 'https://meta.defiscan.live',
|
24
|
+
},
|
25
|
+
blockscout: {
|
26
|
+
name: 'Blockscout',
|
27
|
+
url: 'https://blockscout.mainnet.ocean.jellyfishsdk.com',
|
28
|
+
},
|
29
|
+
},
|
30
|
+
contracts: {
|
31
|
+
multicall3: {
|
32
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
33
|
+
blockCreated: 137852,
|
34
|
+
},
|
35
|
+
},
|
36
|
+
})
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { defineChain } from '../../utils/chain/defineChain.js'
|
2
|
+
|
3
|
+
export const defichainEvmTestnet = /*#__PURE__*/ defineChain({
|
4
|
+
id: 1131,
|
5
|
+
network: 'defichain-evm-testnet',
|
6
|
+
name: 'DeFiChain EVM Testnet',
|
7
|
+
nativeCurrency: {
|
8
|
+
name: 'DeFiChain',
|
9
|
+
symbol: 'DFI',
|
10
|
+
decimals: 8,
|
11
|
+
},
|
12
|
+
rpcUrls: {
|
13
|
+
default: {
|
14
|
+
http: ['https://eth.testnet.ocean.jellyfishsdk.com'],
|
15
|
+
},
|
16
|
+
public: {
|
17
|
+
http: ['https://eth.testnet.ocean.jellyfishsdk.com'],
|
18
|
+
},
|
19
|
+
},
|
20
|
+
blockExplorers: {
|
21
|
+
default: {
|
22
|
+
name: 'DeFiScan',
|
23
|
+
url: 'https://meta.defiscan.live/?network=TestNet',
|
24
|
+
},
|
25
|
+
blockscout: {
|
26
|
+
name: 'Blockscout',
|
27
|
+
url: 'https://blockscout.testnet.ocean.jellyfishsdk.com',
|
28
|
+
},
|
29
|
+
},
|
30
|
+
contracts: {
|
31
|
+
multicall3: {
|
32
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
33
|
+
blockCreated: 156462,
|
34
|
+
},
|
35
|
+
},
|
36
|
+
testnet: true,
|
37
|
+
})
|
package/chains/index.ts
CHANGED
@@ -38,6 +38,8 @@ export { coreDao } from './definitions/coreDao.js'
|
|
38
38
|
export { cronos } from './definitions/cronos.js'
|
39
39
|
export { cronosTestnet } from './definitions/cronosTestnet.js'
|
40
40
|
export { crossbell } from './definitions/crossbell.js'
|
41
|
+
export { defichainEvm } from './definitions/defichainEvm.js'
|
42
|
+
export { defichainEvmTestnet } from './definitions/defichainEvmTestnet.js'
|
41
43
|
export { dfk } from './definitions/dfk.js'
|
42
44
|
export { dogechain } from './definitions/dogechain.js'
|
43
45
|
export { edgeware } from './definitions/edgeware.js'
|
@@ -135,7 +135,9 @@ export const formatters = {
|
|
135
135
|
: {}),
|
136
136
|
...(args.factoryDeps ? { factoryDeps: args.factoryDeps } : {}),
|
137
137
|
...(args.customSignature
|
138
|
-
? {
|
138
|
+
? {
|
139
|
+
customSignature: Array.from(hexToBytes(args.customSignature)),
|
140
|
+
}
|
139
141
|
: {}),
|
140
142
|
},
|
141
143
|
type: args.type === 'eip712' ? '0x71' : '0xff',
|
package/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '2.0.
|
1
|
+
export const version = '2.0.1'
|
package/package.json
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "viem",
|
3
3
|
"description": "TypeScript Interface for Ethereum",
|
4
|
-
"version": "2.0.
|
5
|
-
"type": "module",
|
4
|
+
"version": "2.0.1",
|
6
5
|
"main": "./_cjs/index.js",
|
7
6
|
"module": "./_esm/index.js",
|
8
7
|
"types": "./_types/index.d.ts",
|
@@ -77,13 +76,27 @@
|
|
77
76
|
},
|
78
77
|
"typesVersions": {
|
79
78
|
"*": {
|
80
|
-
"accounts": [
|
81
|
-
|
82
|
-
|
83
|
-
"
|
84
|
-
|
85
|
-
|
86
|
-
"
|
79
|
+
"accounts": [
|
80
|
+
"./_types/accounts/index.d.ts"
|
81
|
+
],
|
82
|
+
"actions": [
|
83
|
+
"./_types/actions/index.d.ts"
|
84
|
+
],
|
85
|
+
"chains": [
|
86
|
+
"./_types/chains/index.d.ts"
|
87
|
+
],
|
88
|
+
"chains/utils": [
|
89
|
+
"./_types/chains/utils.d.ts"
|
90
|
+
],
|
91
|
+
"ens": [
|
92
|
+
"./_types/ens/index.d.ts"
|
93
|
+
],
|
94
|
+
"utils": [
|
95
|
+
"./_types/utils/index.d.ts"
|
96
|
+
],
|
97
|
+
"window": [
|
98
|
+
"./_types/window/index.d.ts"
|
99
|
+
]
|
87
100
|
}
|
88
101
|
},
|
89
102
|
"peerDependencies": {
|
@@ -107,12 +120,21 @@
|
|
107
120
|
"license": "MIT",
|
108
121
|
"homepage": "https://viem.sh",
|
109
122
|
"repository": "wevm/viem",
|
110
|
-
"authors": [
|
123
|
+
"authors": [
|
124
|
+
"awkweb.eth",
|
125
|
+
"jxom.eth"
|
126
|
+
],
|
111
127
|
"funding": [
|
112
128
|
{
|
113
129
|
"type": "github",
|
114
130
|
"url": "https://github.com/sponsors/wevm"
|
115
131
|
}
|
116
132
|
],
|
117
|
-
"keywords": [
|
118
|
-
|
133
|
+
"keywords": [
|
134
|
+
"eth",
|
135
|
+
"ethereum",
|
136
|
+
"dapps",
|
137
|
+
"wallet",
|
138
|
+
"web3"
|
139
|
+
]
|
140
|
+
}
|