@towns-protocol/web3 0.0.430 → 0.0.432
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/dist/chain.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const towns: {
|
|
|
5
5
|
readonly url: "https://explorer.towns.com/";
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
+
blockTime?: number | undefined | undefined;
|
|
8
9
|
contracts: {
|
|
9
10
|
readonly multicall3: {
|
|
10
11
|
readonly address: "0x4920EF7722b73Fdc9f6391829cfB3844f39393B3";
|
|
@@ -19,6 +20,7 @@ export declare const towns: {
|
|
|
19
20
|
readonly name: "Ether";
|
|
20
21
|
readonly symbol: "ETH";
|
|
21
22
|
};
|
|
23
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
22
24
|
rpcUrls: {
|
|
23
25
|
readonly default: {
|
|
24
26
|
readonly http: readonly ["https://mainnet.rpc.towns.com/"];
|
|
@@ -38,6 +40,7 @@ export declare const townsTestnet: {
|
|
|
38
40
|
readonly url: "https://testnet.explorer.towns.com/";
|
|
39
41
|
};
|
|
40
42
|
};
|
|
43
|
+
blockTime?: number | undefined | undefined;
|
|
41
44
|
contracts: {
|
|
42
45
|
readonly multicall3: {
|
|
43
46
|
readonly address: "0xcaBdE26Efcf78d31040Dc57F85484e786E0a1E13";
|
|
@@ -52,6 +55,7 @@ export declare const townsTestnet: {
|
|
|
52
55
|
readonly name: "Ether";
|
|
53
56
|
readonly symbol: "ETH";
|
|
54
57
|
};
|
|
58
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
55
59
|
rpcUrls: {
|
|
56
60
|
readonly default: {
|
|
57
61
|
readonly http: readonly ["https://testnet.rpc.towns.com/http"];
|
package/dist/chain.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain.d.ts","sourceRoot":"","sources":["../src/chain.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"chain.d.ts","sourceRoot":"","sources":["../src/chain.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBhB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBvB,CAAA"}
|
|
@@ -12,6 +12,7 @@ export declare const foundryRiver: {
|
|
|
12
12
|
apiUrl?: string | undefined;
|
|
13
13
|
};
|
|
14
14
|
} | undefined | undefined;
|
|
15
|
+
blockTime?: number | undefined | undefined;
|
|
15
16
|
contracts?: {
|
|
16
17
|
[x: string]: import("viem").ChainContract | {
|
|
17
18
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -19,7 +20,7 @@ export declare const foundryRiver: {
|
|
|
19
20
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
20
21
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
21
22
|
multicall3?: import("viem").ChainContract | undefined;
|
|
22
|
-
|
|
23
|
+
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
23
24
|
} | undefined;
|
|
24
25
|
ensTlds?: readonly string[] | undefined;
|
|
25
26
|
id: 31338;
|
|
@@ -29,6 +30,7 @@ export declare const foundryRiver: {
|
|
|
29
30
|
readonly name: "Ether";
|
|
30
31
|
readonly symbol: "ETH";
|
|
31
32
|
};
|
|
33
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
32
34
|
rpcUrls: {
|
|
33
35
|
readonly default: {
|
|
34
36
|
readonly http: readonly ["http://127.0.0.1:8546"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestEthBalance.d.ts","sourceRoot":"","sources":["../../src/test-helpers/TestEthBalance.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAEhD,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"TestEthBalance.d.ts","sourceRoot":"","sources":["../../src/test-helpers/TestEthBalance.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAEhD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBvB,CAAA;AAEF,iBAAe,cAAc,CAAC,aAAa,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAgBpF;AAED,iBAAe,cAAc,CAAC,aAAa,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAgBrE;AAED,iBAAe,eAAe,CAAC,aAAa,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAgBrF;AAED,iBAAe,eAAe,CAAC,aAAa,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAgBtE;AAED,eAAO,MAAM,cAAc;;;;;CAK1B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@towns-protocol/web3",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.432",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "tsc",
|
|
9
|
-
"cb": "
|
|
9
|
+
"cb": "bun run clean && bun run build",
|
|
10
10
|
"clean": "rm -rf dist",
|
|
11
|
-
"lint": "
|
|
11
|
+
"lint": "eslint --format unix ./src",
|
|
12
12
|
"load-env": "dotenv -e ../generated/deployments/local_dev/.env --",
|
|
13
|
-
"lint:fix": "
|
|
14
|
-
"test": "
|
|
15
|
-
"test:ci": "
|
|
16
|
-
"test:debug": "DEBUG=test
|
|
13
|
+
"lint:fix": "bun run lint --fix",
|
|
14
|
+
"test": "bun run load-env vitest run",
|
|
15
|
+
"test:ci": "bun run test",
|
|
16
|
+
"test:debug": "DEBUG=test bun run test",
|
|
17
17
|
"test:watch": "vitest --watch",
|
|
18
18
|
"watch": "tsc --watch"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@isaacs/ttlcache": "^1.4.1",
|
|
22
|
-
"@towns-protocol/generated": "^0.0.
|
|
23
|
-
"@towns-protocol/utils": "^0.0.
|
|
22
|
+
"@towns-protocol/generated": "^0.0.432",
|
|
23
|
+
"@towns-protocol/utils": "^0.0.432",
|
|
24
24
|
"abitype": "^0.9.10",
|
|
25
25
|
"debug": "^4.3.4",
|
|
26
26
|
"ethers": "^5.8.0",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "aed1393cc61f669c852b2d244630e27ae27a5922"
|
|
52
52
|
}
|