@zoralabs/protocol-deployments 0.3.6 → 0.3.8-COMMENTS.0
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/.turbo/turbo-build.log +19 -19
- package/CHANGELOG.md +21 -0
- package/dist/{ccip-E7SRWW2U.js → ccip-MZCNL5YG.js} +2 -2
- package/dist/{chunk-BKKE6NTH.js → chunk-MCOK75CU.js} +4 -2
- package/dist/generated/sparks.d.ts +54 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +6468 -5
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +2333 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2310 -28
- package/dist/index.js.map +1 -1
- package/dist/typedData.d.ts +234 -1
- package/dist/typedData.d.ts.map +1 -1
- package/dist/types.d.ts +35 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/1155.ts +24 -24
- package/src/generated/sparks.ts +59 -0
- package/src/generated/wagmi.ts +2118 -4
- package/src/typedData.ts +262 -0
- package/src/types.ts +68 -0
- /package/dist/{ccip-E7SRWW2U.js.map → ccip-MZCNL5YG.js.map} +0 -0
- /package/dist/{chunk-BKKE6NTH.js.map → chunk-MCOK75CU.js.map} +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
> @zoralabs/protocol-deployments@0.3.
|
|
2
|
+
> @zoralabs/protocol-deployments@0.3.8-COMMENTS.0 build /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
|
|
3
3
|
> pnpm bundle-configs && pnpm copy-generated && tsup
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @zoralabs/protocol-deployments@0.3.
|
|
6
|
+
> @zoralabs/protocol-deployments@0.3.8-COMMENTS.0 bundle-configs /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
|
|
7
7
|
> tsx scripts/bundle-configs.ts && pnpm prettier:write
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
> @zoralabs/protocol-deployments@0.3.
|
|
10
|
+
> @zoralabs/protocol-deployments@0.3.8-COMMENTS.0 prettier:write /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
|
|
11
11
|
> prettier --write 'src/**/*.ts' 'scripts/*'
|
|
12
12
|
|
|
13
|
-
src/encoding.ts
|
|
13
|
+
src/encoding.ts 65ms (unchanged)
|
|
14
14
|
src/index.ts 5ms (unchanged)
|
|
15
|
-
src/typedData.ts
|
|
16
|
-
src/types.ts
|
|
17
|
-
scripts/bundle-chainConfigs.ts
|
|
18
|
-
scripts/bundle-configs.ts
|
|
15
|
+
src/typedData.ts 179ms (unchanged)
|
|
16
|
+
src/types.ts 50ms (unchanged)
|
|
17
|
+
scripts/bundle-chainConfigs.ts 17ms (unchanged)
|
|
18
|
+
scripts/bundle-configs.ts 30ms (unchanged)
|
|
19
19
|
|
|
20
|
-
> @zoralabs/protocol-deployments@0.3.
|
|
20
|
+
> @zoralabs/protocol-deployments@0.3.8-COMMENTS.0 copy-generated /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
|
|
21
21
|
> cp ../protocol-deployments-gen/generated/wagmi.ts src/generated/wagmi.ts
|
|
22
22
|
|
|
23
23
|
CLI Building entry: src/index.ts
|
|
@@ -28,21 +28,21 @@ CLI Target: es2021
|
|
|
28
28
|
CLI Cleaning output folder
|
|
29
29
|
CJS Build start
|
|
30
30
|
ESM Build start
|
|
31
|
-
CJS dist/index.cjs
|
|
32
|
-
CJS dist/index.cjs.map
|
|
33
|
-
CJS ⚡️ Build success in
|
|
31
|
+
CJS dist/index.cjs 458.88 KB
|
|
32
|
+
CJS dist/index.cjs.map 975.60 KB
|
|
33
|
+
CJS ⚡️ Build success in 762ms
|
|
34
|
+
ESM dist/index.js 398.33 KB
|
|
34
35
|
ESM dist/secp256k1-NJATWSDZ.js 74.87 KB
|
|
35
|
-
ESM dist/
|
|
36
|
-
ESM dist/index.js 325.73 KB
|
|
36
|
+
ESM dist/chunk-MCOK75CU.js 132.46 KB
|
|
37
37
|
ESM dist/chunk-FJ2PMLO3.js 4.08 KB
|
|
38
|
-
ESM dist/chunk-BKKE6NTH.js 132.42 KB
|
|
39
38
|
ESM dist/_esm-JXHAY2EM.js 134.17 KB
|
|
40
39
|
ESM dist/chunk-3EJPJMEH.js 1.88 KB
|
|
40
|
+
ESM dist/ccip-MZCNL5YG.js 320.00 B
|
|
41
41
|
ESM dist/secp256k1-NJATWSDZ.js.map 181.70 KB
|
|
42
|
-
ESM dist/ccip-E7SRWW2U.js.map 71.00 B
|
|
43
42
|
ESM dist/chunk-FJ2PMLO3.js.map 14.64 KB
|
|
44
|
-
ESM dist/chunk-BKKE6NTH.js.map 376.71 KB
|
|
45
43
|
ESM dist/_esm-JXHAY2EM.js.map 212.47 KB
|
|
46
44
|
ESM dist/chunk-3EJPJMEH.js.map 71.00 B
|
|
47
|
-
ESM dist/
|
|
48
|
-
ESM
|
|
45
|
+
ESM dist/chunk-MCOK75CU.js.map 376.71 KB
|
|
46
|
+
ESM dist/index.js.map 774.10 KB
|
|
47
|
+
ESM dist/ccip-MZCNL5YG.js.map 71.00 B
|
|
48
|
+
ESM ⚡️ Build success in 764ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @zoralabs/protocol-deployments
|
|
2
2
|
|
|
3
|
+
## 0.3.8-COMMENTS.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4928687d: Added new exports for Comments contract cross-chain functionality:
|
|
8
|
+
|
|
9
|
+
- Introduced `permitCommentTypedDataDefinition` function to generate typed data for cross-chain permit commenting
|
|
10
|
+
- Introduced `permitSparkCommentTypedDataDefinition` function to generate typed data for cross-chain permit sparking
|
|
11
|
+
- Added `sparkValue` helper function to get the value of a Spark
|
|
12
|
+
|
|
13
|
+
- c6e1c1bc: Added new deployments for comments
|
|
14
|
+
- 7e285fb1: Include `Comments` contracts
|
|
15
|
+
- 17cc9821: Publishing `SponsoredSparksSpender` addresses and abi
|
|
16
|
+
- a141e322: Deployed newer to zora mainnet and zora sepolia
|
|
17
|
+
|
|
18
|
+
## 0.3.7
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- c08ec3b3: Deployed SponsoredSparksSpender to more chains
|
|
23
|
+
|
|
3
24
|
## 0.3.6
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
offchainLookup,
|
|
4
4
|
offchainLookupAbiItem,
|
|
5
5
|
offchainLookupSignature
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MCOK75CU.js";
|
|
7
7
|
import "./chunk-FJ2PMLO3.js";
|
|
8
8
|
import "./chunk-3EJPJMEH.js";
|
|
9
9
|
export {
|
|
@@ -12,4 +12,4 @@ export {
|
|
|
12
12
|
offchainLookupAbiItem,
|
|
13
13
|
offchainLookupSignature
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=ccip-
|
|
15
|
+
//# sourceMappingURL=ccip-MZCNL5YG.js.map
|
|
@@ -3556,7 +3556,7 @@ async function call(client, args) {
|
|
|
3556
3556
|
return { data: response };
|
|
3557
3557
|
} catch (err) {
|
|
3558
3558
|
const data2 = getRevertErrorData(err);
|
|
3559
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
3559
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-MZCNL5YG.js");
|
|
3560
3560
|
if (client.ccipRead !== false && data2?.slice(0, 10) === offchainLookupSignature2 && to)
|
|
3561
3561
|
return { data: await offchainLookup2(client, { data: data2, to }) };
|
|
3562
3562
|
if (deploylessCall && data2?.slice(0, 10) === "0x101bb98d")
|
|
@@ -3823,13 +3823,15 @@ async function ccipRequest({ data, sender, urls }) {
|
|
|
3823
3823
|
}
|
|
3824
3824
|
|
|
3825
3825
|
export {
|
|
3826
|
+
BaseError2 as BaseError,
|
|
3826
3827
|
toHex,
|
|
3827
3828
|
keccak256,
|
|
3828
3829
|
encodeAbiParameters,
|
|
3829
3830
|
getAbiItem,
|
|
3831
|
+
etherUnits,
|
|
3830
3832
|
offchainLookupSignature,
|
|
3831
3833
|
offchainLookupAbiItem,
|
|
3832
3834
|
offchainLookup,
|
|
3833
3835
|
ccipRequest
|
|
3834
3836
|
};
|
|
3835
|
-
//# sourceMappingURL=chunk-
|
|
3837
|
+
//# sourceMappingURL=chunk-MCOK75CU.js.map
|
|
@@ -62,6 +62,13 @@ export declare const chainConfigs: {
|
|
|
62
62
|
ZORA_RECIPIENT: string;
|
|
63
63
|
WETH: string;
|
|
64
64
|
};
|
|
65
|
+
11155420: {
|
|
66
|
+
NONFUNGIBLE_POSITION_MANAGER: string;
|
|
67
|
+
UNISWAP_SWAP_ROUTER: string;
|
|
68
|
+
PROXY_ADMIN: string;
|
|
69
|
+
ZORA_RECIPIENT: string;
|
|
70
|
+
WETH: string;
|
|
71
|
+
};
|
|
65
72
|
999999999: {
|
|
66
73
|
NONFUNGIBLE_POSITION_MANAGER: string;
|
|
67
74
|
UNISWAP_SWAP_ROUTER: string;
|
|
@@ -71,15 +78,62 @@ export declare const chainConfigs: {
|
|
|
71
78
|
};
|
|
72
79
|
};
|
|
73
80
|
export declare const addresses: {
|
|
81
|
+
10: {
|
|
82
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER: string;
|
|
83
|
+
SPARKS_MANAGER_IMPL: string;
|
|
84
|
+
SPARKS_MANAGER_IMPL_VERSION: string;
|
|
85
|
+
SPONSORED_SPARKS_SPENDER: string;
|
|
86
|
+
SPONSORED_SPARKS_SPENDER_VERSION: string;
|
|
87
|
+
};
|
|
88
|
+
8453: {
|
|
89
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER: string;
|
|
90
|
+
SPARKS_MANAGER_IMPL: string;
|
|
91
|
+
SPARKS_MANAGER_IMPL_VERSION: string;
|
|
92
|
+
SPONSORED_SPARKS_SPENDER: string;
|
|
93
|
+
SPONSORED_SPARKS_SPENDER_VERSION: string;
|
|
94
|
+
};
|
|
95
|
+
42161: {
|
|
96
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER: string;
|
|
97
|
+
SPARKS_MANAGER_IMPL: string;
|
|
98
|
+
SPARKS_MANAGER_IMPL_VERSION: string;
|
|
99
|
+
SPONSORED_SPARKS_SPENDER: string;
|
|
100
|
+
SPONSORED_SPARKS_SPENDER_VERSION: string;
|
|
101
|
+
};
|
|
102
|
+
81457: {
|
|
103
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER: string;
|
|
104
|
+
SPARKS_MANAGER_IMPL: string;
|
|
105
|
+
SPARKS_MANAGER_IMPL_VERSION: string;
|
|
106
|
+
SPONSORED_SPARKS_SPENDER: string;
|
|
107
|
+
SPONSORED_SPARKS_SPENDER_VERSION: string;
|
|
108
|
+
};
|
|
109
|
+
84532: {
|
|
110
|
+
MINTS_ETH_UNWRAPPER_AND_CALLER: string;
|
|
111
|
+
SPARKS_MANAGER_IMPL: string;
|
|
112
|
+
SPARKS_MANAGER_IMPL_VERSION: string;
|
|
113
|
+
SPONSORED_SPARKS_SPENDER: string;
|
|
114
|
+
SPONSORED_SPARKS_SPENDER_VERSION: string;
|
|
115
|
+
};
|
|
74
116
|
7777777: {
|
|
75
117
|
MINTS_ETH_UNWRAPPER_AND_CALLER: string;
|
|
76
118
|
SPARKS_MANAGER_IMPL: string;
|
|
77
119
|
SPARKS_MANAGER_IMPL_VERSION: string;
|
|
120
|
+
SPARKS_MANAGER: string;
|
|
121
|
+
SPARKS_1155: string;
|
|
122
|
+
MINTS_MANAGER: string;
|
|
123
|
+
MINTS_1155: string;
|
|
124
|
+
SPONSORED_SPARKS_SPENDER: string;
|
|
125
|
+
SPONSORED_SPARKS_SPENDER_VERSION: string;
|
|
78
126
|
};
|
|
79
127
|
999999999: {
|
|
80
128
|
MINTS_ETH_UNWRAPPER_AND_CALLER: string;
|
|
81
129
|
SPARKS_MANAGER_IMPL: string;
|
|
82
130
|
SPARKS_MANAGER_IMPL_VERSION: string;
|
|
131
|
+
SPARKS_MANAGER: string;
|
|
132
|
+
SPARKS_1155: string;
|
|
133
|
+
MINTS_MANAGER: string;
|
|
134
|
+
MINTS_1155: string;
|
|
135
|
+
SPONSORED_SPARKS_SPENDER: string;
|
|
136
|
+
SPONSORED_SPARKS_SPENDER_VERSION: string;
|
|
83
137
|
};
|
|
84
138
|
};
|
|
85
139
|
//# sourceMappingURL=sparks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sparks.d.ts","sourceRoot":"","sources":["../../src/generated/sparks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"sparks.d.ts","sourceRoot":"","sources":["../../src/generated/sparks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8ExB,CAAC;AACF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiErB,CAAC"}
|