@zoralabs/protocol-deployments 0.5.9 → 0.5.11-PRE.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.
@@ -1,24 +1,24 @@
1
1
 
2
2
  
3
- > @zoralabs/protocol-deployments@0.5.5 build /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
3
+ > @zoralabs/protocol-deployments@0.5.10 build /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
4
4
  > pnpm bundle-configs && pnpm copy-generated && tsup
5
5
 
6
6
 
7
- > @zoralabs/protocol-deployments@0.5.5 bundle-configs /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
7
+ > @zoralabs/protocol-deployments@0.5.10 bundle-configs /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
8
8
  > tsx scripts/bundle-configs.ts && pnpm prettier:write
9
9
 
10
10
 
11
- > @zoralabs/protocol-deployments@0.5.5 prettier:write /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
11
+ > @zoralabs/protocol-deployments@0.5.10 prettier:write /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
12
12
  > prettier --write 'src/**/*.ts' 'scripts/*'
13
13
 
14
- src/encoding.tssrc/encoding.ts 55ms (unchanged)
14
+ src/encoding.tssrc/encoding.ts 53ms (unchanged)
15
15
  src/index.tssrc/index.ts 2ms (unchanged)
16
- src/typedData.tssrc/typedData.ts 47ms (unchanged)
17
- src/types.tssrc/types.ts 12ms (unchanged)
16
+ src/typedData.tssrc/typedData.ts 38ms (unchanged)
17
+ src/types.tssrc/types.ts 9ms (unchanged)
18
18
  scripts/bundle-chainConfigs.tsscripts/bundle-chainConfigs.ts 5ms (unchanged)
19
- scripts/bundle-configs.tsscripts/bundle-configs.ts 9ms (unchanged)
19
+ scripts/bundle-configs.tsscripts/bundle-configs.ts 8ms (unchanged)
20
20
 
21
- > @zoralabs/protocol-deployments@0.5.5 copy-generated /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
21
+ > @zoralabs/protocol-deployments@0.5.10 copy-generated /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
22
22
  > cp ../protocol-deployments-gen/generated/wagmi.ts src/generated/wagmi.ts
23
23
 
24
24
  CLI Building entry: src/index.ts
@@ -29,19 +29,19 @@ scripts/bundle-configs.tsscripts/bundle-configs.ts 9ms (unchan
29
29
  CLI Cleaning output folder
30
30
  CJS Build start
31
31
  ESM Build start
32
- ESM dist/ccip-C5WONSSK.js 290.00 B
32
+ CJS dist/index.cjs 630.10 KB
33
+ CJS dist/index.cjs.map 1.28 MB
34
+ CJS ⚡️ Build success in 166ms
35
+ ESM dist/chunk-NPNNGXR4.js 136.42 KB
33
36
  ESM dist/chunk-PR4QN5HX.js 1.87 KB
34
- ESM dist/secp256k1-QZA5SALG.js 80.13 KB
35
37
  ESM dist/_esm-AN6HMJZC.js 132.93 KB
36
- ESM dist/index.js 509.70 KB
37
- ESM dist/chunk-NPNNGXR4.js 136.42 KB
38
+ ESM dist/index.js 544.80 KB
39
+ ESM dist/ccip-C5WONSSK.js 290.00 B
40
+ ESM dist/secp256k1-QZA5SALG.js 80.13 KB
38
41
  ESM dist/chunk-PR4QN5HX.js.map 71.00 B
42
+ ESM dist/chunk-NPNNGXR4.js.map 393.76 KB
43
+ ESM dist/_esm-AN6HMJZC.js.map 212.33 KB
39
44
  ESM dist/ccip-C5WONSSK.js.map 71.00 B
45
+ ESM dist/index.js.map 1.03 MB
40
46
  ESM dist/secp256k1-QZA5SALG.js.map 203.10 KB
41
- ESM dist/_esm-AN6HMJZC.js.map 212.33 KB
42
- ESM dist/chunk-NPNNGXR4.js.map 393.76 KB
43
- ESM dist/index.js.map 991.48 KB
44
- ESM ⚡️ Build success in 184ms
45
- CJS dist/index.cjs 594.54 KB
46
- CJS dist/index.cjs.map 1.21 MB
47
- CJS ⚡️ Build success in 184ms
47
+ ESM ⚡️ Build success in 166ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @zoralabs/protocol-deployments
2
2
 
3
+ ## 0.5.11-PRE.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 1fc57cf0: Added AutoSwapper
8
+ - b8b2473f: Added uniswap QuoterV2 to protocol-deployments
9
+
10
+ ## 0.5.10
11
+
12
+ ### Patch Changes
13
+
14
+ - 8cd56863: BuySupplyWithSwapRouterHook supports v4 coins
15
+
3
16
  ## 0.5.6
4
17
 
5
18
  ### Patch Changes
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Zora Labs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -62,7 +62,7 @@ export declare const encodeBuySupplyWithSingleHopSwapRouterHookCall: ({ buyRecip
62
62
  chainId: keyof typeof buySupplyWithSwapRouterHookAddress;
63
63
  ethValue?: bigint;
64
64
  }) => {
65
- hook: "0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed" | "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
65
+ hook: "0xd77038a7f400E8242d2916f7EB5741e689d4aE25" | "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
66
66
  hookData: `0x${string}`;
67
67
  value: bigint | undefined;
68
68
  };
@@ -82,7 +82,7 @@ export declare const encodeBuySupplyWithMultiHopSwapRouterHookCall: ({ buyRecipi
82
82
  chainId: keyof typeof buySupplyWithSwapRouterHookAddress;
83
83
  ethValue?: bigint;
84
84
  }) => {
85
- hook: "0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed" | "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
85
+ hook: "0xd77038a7f400E8242d2916f7EB5741e689d4aE25" | "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
86
86
  hookData: `0x${string}`;
87
87
  value: bigint | undefined;
88
88
  };
@@ -17,6 +17,7 @@ export declare const chainConfigs: {
17
17
  NONFUNGIBLE_POSITION_MANAGER: string;
18
18
  UNISWAP_SWAP_ROUTER: string;
19
19
  UNISWAP_V3_FACTORY: string;
20
+ UNISWAP_QUOTER_V2: string;
20
21
  DOPPLER_AIRLOCK: string;
21
22
  PROXY_ADMIN: string;
22
23
  ZORA_RECIPIENT: string;
@@ -44,6 +45,7 @@ export declare const chainConfigs: {
44
45
  NONFUNGIBLE_POSITION_MANAGER: string;
45
46
  UNISWAP_SWAP_ROUTER: string;
46
47
  UNISWAP_V3_FACTORY: string;
48
+ UNISWAP_QUOTER_V2: string;
47
49
  DOPPLER_AIRLOCK: string;
48
50
  PROXY_ADMIN: string;
49
51
  ZORA_RECIPIENT: string;
@@ -1 +1 @@
1
- {"version":3,"file":"sparks.d.ts","sourceRoot":"","sources":["../../src/generated/sparks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0FxB,CAAC;AACF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyErB,CAAC"}
1
+ {"version":3,"file":"sparks.d.ts","sourceRoot":"","sources":["../../src/generated/sparks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4FxB,CAAC;AACF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyErB,CAAC"}