@cowprotocol/sdk-flash-loans 1.4.0 → 1.5.2

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/index.d.mts CHANGED
@@ -119,6 +119,12 @@ declare const AAVE_DAPP_ID_PER_TYPE: Record<AaveFlashLoanType, string>;
119
119
  * @param {Record<AaveFlashLoanType, Record<SupportedChainId, string>>} hookAdapterPerType -
120
120
  * Mapping of flash loan types to chain-specific hook adapter addresses.
121
121
  * Defaults to the predefined addresses from the constants.
122
+ * @param {Record<SupportedChainId, string>} aaveAdapterFactory -
123
+ * Mapping of chain IDs to Aave adapter factory addresses.
124
+ * Defaults to the predefined addresses from the constants.
125
+ * @param {Record<SupportedChainId, string>} aavePoolAddress -
126
+ * Mapping of chain IDs to Aave pool addresses.
127
+ * Defaults to the predefined addresses from the constants.
122
128
  * @example
123
129
  * ```typescript
124
130
  * const config: AaveCollateralSwapSdkConfig = {
@@ -127,13 +133,22 @@ declare const AAVE_DAPP_ID_PER_TYPE: Record<AaveFlashLoanType, string>;
127
133
  * [SupportedChainId.GNOSIS_CHAIN]: '0x...',
128
134
  * },
129
135
  * },
136
+ * aaveAdapterFactory: {
137
+ * [SupportedChainId.MAINNET]: '0x...',
138
+ * },
139
+ * aavePoolAddress: {
140
+ * [SupportedChainId.MAINNET]: '0x...',
141
+ * },
130
142
  * }
131
143
  * ```
132
144
  */
133
145
  type AaveCollateralSwapSdkConfig = {
134
146
  hookAdapterPerType?: Record<AaveFlashLoanType, Record<SupportedChainId, string>>;
147
+ aaveAdapterFactory?: Record<SupportedChainId, string>;
148
+ aavePoolAddress?: Record<SupportedChainId, string>;
135
149
  };
136
150
  /**
151
+ >>>>>>> Stashed changes
137
152
  * SDK for executing Aave flash loan operations, particularly collateral swaps.
138
153
  *
139
154
  * @remarks This SDK facilitates flash loan-based collateral swaps using Aave Protocol V3,
@@ -145,6 +160,8 @@ type AaveCollateralSwapSdkConfig = {
145
160
  */
146
161
  declare class AaveCollateralSwapSdk {
147
162
  private readonly hookAdapterPerType;
163
+ private readonly aaveAdapterFactory;
164
+ private readonly aavePoolAddress;
148
165
  /**
149
166
  * Creates an instance of AaveCollateralSwapSdk.
150
167
  *
@@ -152,6 +169,12 @@ declare class AaveCollateralSwapSdk {
152
169
  * @param {Record<AaveFlashLoanType, Record<SupportedChainId, string>>} config.hookAdapterPerType -
153
170
  * Mapping of flash loan types to chain-specific hook adapter addresses.
154
171
  * Defaults to the predefined addresses from the constants.
172
+ * @param {Record<SupportedChainId, string>} config.aaveAdapterFactory -
173
+ * Mapping of chain IDs to Aave adapter factory addresses.
174
+ * Defaults to the predefined addresses from the constants.
175
+ * @param {Record<SupportedChainId, string>} config.aavePoolAddress -
176
+ * Mapping of chain IDs to Aave pool addresses.
177
+ * Defaults to the predefined addresses from the constants.
155
178
  */
156
179
  constructor(config?: AaveCollateralSwapSdkConfig);
157
180
  /**
package/dist/index.d.ts CHANGED
@@ -119,6 +119,12 @@ declare const AAVE_DAPP_ID_PER_TYPE: Record<AaveFlashLoanType, string>;
119
119
  * @param {Record<AaveFlashLoanType, Record<SupportedChainId, string>>} hookAdapterPerType -
120
120
  * Mapping of flash loan types to chain-specific hook adapter addresses.
121
121
  * Defaults to the predefined addresses from the constants.
122
+ * @param {Record<SupportedChainId, string>} aaveAdapterFactory -
123
+ * Mapping of chain IDs to Aave adapter factory addresses.
124
+ * Defaults to the predefined addresses from the constants.
125
+ * @param {Record<SupportedChainId, string>} aavePoolAddress -
126
+ * Mapping of chain IDs to Aave pool addresses.
127
+ * Defaults to the predefined addresses from the constants.
122
128
  * @example
123
129
  * ```typescript
124
130
  * const config: AaveCollateralSwapSdkConfig = {
@@ -127,13 +133,22 @@ declare const AAVE_DAPP_ID_PER_TYPE: Record<AaveFlashLoanType, string>;
127
133
  * [SupportedChainId.GNOSIS_CHAIN]: '0x...',
128
134
  * },
129
135
  * },
136
+ * aaveAdapterFactory: {
137
+ * [SupportedChainId.MAINNET]: '0x...',
138
+ * },
139
+ * aavePoolAddress: {
140
+ * [SupportedChainId.MAINNET]: '0x...',
141
+ * },
130
142
  * }
131
143
  * ```
132
144
  */
133
145
  type AaveCollateralSwapSdkConfig = {
134
146
  hookAdapterPerType?: Record<AaveFlashLoanType, Record<SupportedChainId, string>>;
147
+ aaveAdapterFactory?: Record<SupportedChainId, string>;
148
+ aavePoolAddress?: Record<SupportedChainId, string>;
135
149
  };
136
150
  /**
151
+ >>>>>>> Stashed changes
137
152
  * SDK for executing Aave flash loan operations, particularly collateral swaps.
138
153
  *
139
154
  * @remarks This SDK facilitates flash loan-based collateral swaps using Aave Protocol V3,
@@ -145,6 +160,8 @@ type AaveCollateralSwapSdkConfig = {
145
160
  */
146
161
  declare class AaveCollateralSwapSdk {
147
162
  private readonly hookAdapterPerType;
163
+ private readonly aaveAdapterFactory;
164
+ private readonly aavePoolAddress;
148
165
  /**
149
166
  * Creates an instance of AaveCollateralSwapSdk.
150
167
  *
@@ -152,6 +169,12 @@ declare class AaveCollateralSwapSdk {
152
169
  * @param {Record<AaveFlashLoanType, Record<SupportedChainId, string>>} config.hookAdapterPerType -
153
170
  * Mapping of flash loan types to chain-specific hook adapter addresses.
154
171
  * Defaults to the predefined addresses from the constants.
172
+ * @param {Record<SupportedChainId, string>} config.aaveAdapterFactory -
173
+ * Mapping of chain IDs to Aave adapter factory addresses.
174
+ * Defaults to the predefined addresses from the constants.
175
+ * @param {Record<SupportedChainId, string>} config.aavePoolAddress -
176
+ * Mapping of chain IDs to Aave pool addresses.
177
+ * Defaults to the predefined addresses from the constants.
155
178
  */
156
179
  constructor(config?: AaveCollateralSwapSdkConfig);
157
180
  /**
package/dist/index.js CHANGED
@@ -67,30 +67,18 @@ var AAVE_POOL_ADDRESS = {
67
67
  [import_sdk_config.SupportedChainId.LINEA]: "0xc47b8C00b0f69a36fa203Ffeac0334874574a8Ac",
68
68
  [import_sdk_config.SupportedChainId.PLASMA]: "0x925a2A7214Ed92428B5b1B090F80b25700095e12"
69
69
  };
70
- var AAVE_ADAPTER_FACTORY = {
71
- ...(0, import_sdk_config.mapAddressToSupportedNetworks)(""),
72
- [import_sdk_config.SupportedChainId.GNOSIS_CHAIN]: "0x7f230F7Cee38ca371b871B74B3C6ded4932A2f93",
73
- [import_sdk_config.SupportedChainId.MAINNET]: "0x22E08c56a6799e28e7b05A117D853B9b46abc017",
74
- [import_sdk_config.SupportedChainId.BASE]: "0xc5D68e305e0b5998f895e34d4440954072F285B6"
75
- };
76
- var AAVE_COLLATERAL_SWAP_ADAPTER_HOOK = {
77
- ...(0, import_sdk_config.mapAddressToSupportedNetworks)(""),
78
- [import_sdk_config.SupportedChainId.GNOSIS_CHAIN]: "0x837aA74e8daf7Fd7160f078ca455a67B7F441E4b",
79
- [import_sdk_config.SupportedChainId.MAINNET]: "0xFEb471EC22E5572dbb44229301c266f4C305A78a",
80
- [import_sdk_config.SupportedChainId.BASE]: "0xBb45A7898A6f06a9c148BfeD0C103140F0079cd9"
81
- };
82
- var AAVE_DEBT_SWAP_ADAPTER_HOOK = {
83
- ...(0, import_sdk_config.mapAddressToSupportedNetworks)(""),
84
- [import_sdk_config.SupportedChainId.GNOSIS_CHAIN]: "0xC9A495A17B1eeC18AE0f0865840B8fd3f8a9DE3F",
85
- [import_sdk_config.SupportedChainId.MAINNET]: "0x238f57A2c3F0696fB20295075a0F9A18EfC67D3a",
86
- [import_sdk_config.SupportedChainId.BASE]: "0xaCbd34fAB78BD6C8738eb32dDAFd688df98CD2E3"
87
- };
88
- var AAVE_REPAY_COLLATERAL_ADAPTER_HOOK = {
89
- ...(0, import_sdk_config.mapAddressToSupportedNetworks)(""),
90
- [import_sdk_config.SupportedChainId.GNOSIS_CHAIN]: "0x2890CE372f3a397B6f3BB3a71B1836A6F3F33657",
91
- [import_sdk_config.SupportedChainId.MAINNET]: "0x9eB0ffd318e862D344792a8e589e8393E8bEd96F",
92
- [import_sdk_config.SupportedChainId.BASE]: "0x1549445700D0Cb2D7Ce85ECd5a7FD7Ba4a3D40A7"
93
- };
70
+ var AAVE_ADAPTER_FACTORY = (0, import_sdk_config.mapAddressToSupportedNetworks)(
71
+ "0x43c658Ea38bBfD897706fDb35e2468ef5D8F6927"
72
+ );
73
+ var AAVE_COLLATERAL_SWAP_ADAPTER_HOOK = (0, import_sdk_config.mapAddressToSupportedNetworks)(
74
+ "0x29A9b0a13c81d59f13BA0f39DBDCAA1AB2adc95F"
75
+ );
76
+ var AAVE_DEBT_SWAP_ADAPTER_HOOK = (0, import_sdk_config.mapAddressToSupportedNetworks)(
77
+ "0xbE9A121bb958BBBb027dA728DEC0D5496811b7d1"
78
+ );
79
+ var AAVE_REPAY_COLLATERAL_ADAPTER_HOOK = (0, import_sdk_config.mapAddressToSupportedNetworks)(
80
+ "0x8e25d1210FabB0fcAdE92a82C4a89568B4b10E0F"
81
+ );
94
82
  var AAVE_HOOK_ADAPTER_PER_TYPE = {
95
83
  ["CollateralSwap" /* CollateralSwap */]: AAVE_COLLATERAL_SWAP_ADAPTER_HOOK,
96
84
  ["DebtSwap" /* DebtSwap */]: AAVE_DEBT_SWAP_ADAPTER_HOOK,
@@ -450,6 +438,8 @@ var repayWithCollateralAdapterAbi = [
450
438
  // src/aave/AaveCollateralSwapSdk.ts
451
439
  var AaveCollateralSwapSdk = class {
452
440
  hookAdapterPerType;
441
+ aaveAdapterFactory;
442
+ aavePoolAddress;
453
443
  /**
454
444
  * Creates an instance of AaveCollateralSwapSdk.
455
445
  *
@@ -457,9 +447,17 @@ var AaveCollateralSwapSdk = class {
457
447
  * @param {Record<AaveFlashLoanType, Record<SupportedChainId, string>>} config.hookAdapterPerType -
458
448
  * Mapping of flash loan types to chain-specific hook adapter addresses.
459
449
  * Defaults to the predefined addresses from the constants.
450
+ * @param {Record<SupportedChainId, string>} config.aaveAdapterFactory -
451
+ * Mapping of chain IDs to Aave adapter factory addresses.
452
+ * Defaults to the predefined addresses from the constants.
453
+ * @param {Record<SupportedChainId, string>} config.aavePoolAddress -
454
+ * Mapping of chain IDs to Aave pool addresses.
455
+ * Defaults to the predefined addresses from the constants.
460
456
  */
461
457
  constructor(config) {
462
458
  this.hookAdapterPerType = config?.hookAdapterPerType ?? AAVE_HOOK_ADAPTER_PER_TYPE;
459
+ this.aaveAdapterFactory = config?.aaveAdapterFactory ?? AAVE_ADAPTER_FACTORY;
460
+ this.aavePoolAddress = config?.aavePoolAddress ?? AAVE_POOL_ADDRESS;
463
461
  }
464
462
  /**
465
463
  * Executes a collateral swap using Aave flash loans.
@@ -602,9 +600,9 @@ var AaveCollateralSwapSdk = class {
602
600
  const flashLoanHint = {
603
601
  amount,
604
602
  // this is actually in UNDERLYING but aave tokens are 1:1
605
- receiver: AAVE_ADAPTER_FACTORY[chainId],
606
- liquidityProvider: AAVE_POOL_ADDRESS[chainId],
607
- protocolAdapter: AAVE_ADAPTER_FACTORY[chainId],
603
+ receiver: this.aaveAdapterFactory[chainId],
604
+ liquidityProvider: this.aavePoolAddress[chainId],
605
+ protocolAdapter: this.aaveAdapterFactory[chainId],
608
606
  token: orderToSign.sellToken
609
607
  };
610
608
  const hooks = await this.getOrderHooks(
@@ -715,7 +713,7 @@ var AaveCollateralSwapSdk = class {
715
713
  async getExpectedInstanceAddress(flashLoanType, chainId, trader, hookAmounts, order) {
716
714
  const hookData = this.buildHookOrderData(trader, hookAmounts, order);
717
715
  return await (0, import_sdk_common.getGlobalAdapter)().readContract({
718
- address: AAVE_ADAPTER_FACTORY[chainId],
716
+ address: this.aaveAdapterFactory[chainId],
719
717
  args: [this.hookAdapterPerType[flashLoanType][chainId], hookData],
720
718
  functionName: "getInstanceDeterministicAddress",
721
719
  abi: aaveAdapterFactoryAbi
@@ -804,7 +802,7 @@ var AaveCollateralSwapSdk = class {
804
802
  return {
805
803
  pre: [
806
804
  {
807
- target: AAVE_ADAPTER_FACTORY[chainId],
805
+ target: this.aaveAdapterFactory[chainId],
808
806
  callData: preHookCallData,
809
807
  gasLimit: DEFAULT_HOOK_GAS_LIMIT.pre.toString(),
810
808
  dappId
@@ -821,7 +819,7 @@ var AaveCollateralSwapSdk = class {
821
819
  };
822
820
  }
823
821
  async adapterEIP1271Signature(chainId, instanceAddress, orderToSign, signer) {
824
- const adapterFactoryAddress = AAVE_ADAPTER_FACTORY[chainId];
822
+ const adapterFactoryAddress = this.aaveAdapterFactory[chainId];
825
823
  const encodedOrder = import_sdk_order_signing.OrderSigningUtils.encodeUnsignedOrder(orderToSign);
826
824
  const domain = {
827
825
  name: ADAPTER_DOMAIN_NAME,
package/dist/index.mjs CHANGED
@@ -30,30 +30,18 @@ var AAVE_POOL_ADDRESS = {
30
30
  [SupportedChainId.LINEA]: "0xc47b8C00b0f69a36fa203Ffeac0334874574a8Ac",
31
31
  [SupportedChainId.PLASMA]: "0x925a2A7214Ed92428B5b1B090F80b25700095e12"
32
32
  };
33
- var AAVE_ADAPTER_FACTORY = {
34
- ...mapAddressToSupportedNetworks(""),
35
- [SupportedChainId.GNOSIS_CHAIN]: "0x7f230F7Cee38ca371b871B74B3C6ded4932A2f93",
36
- [SupportedChainId.MAINNET]: "0x22E08c56a6799e28e7b05A117D853B9b46abc017",
37
- [SupportedChainId.BASE]: "0xc5D68e305e0b5998f895e34d4440954072F285B6"
38
- };
39
- var AAVE_COLLATERAL_SWAP_ADAPTER_HOOK = {
40
- ...mapAddressToSupportedNetworks(""),
41
- [SupportedChainId.GNOSIS_CHAIN]: "0x837aA74e8daf7Fd7160f078ca455a67B7F441E4b",
42
- [SupportedChainId.MAINNET]: "0xFEb471EC22E5572dbb44229301c266f4C305A78a",
43
- [SupportedChainId.BASE]: "0xBb45A7898A6f06a9c148BfeD0C103140F0079cd9"
44
- };
45
- var AAVE_DEBT_SWAP_ADAPTER_HOOK = {
46
- ...mapAddressToSupportedNetworks(""),
47
- [SupportedChainId.GNOSIS_CHAIN]: "0xC9A495A17B1eeC18AE0f0865840B8fd3f8a9DE3F",
48
- [SupportedChainId.MAINNET]: "0x238f57A2c3F0696fB20295075a0F9A18EfC67D3a",
49
- [SupportedChainId.BASE]: "0xaCbd34fAB78BD6C8738eb32dDAFd688df98CD2E3"
50
- };
51
- var AAVE_REPAY_COLLATERAL_ADAPTER_HOOK = {
52
- ...mapAddressToSupportedNetworks(""),
53
- [SupportedChainId.GNOSIS_CHAIN]: "0x2890CE372f3a397B6f3BB3a71B1836A6F3F33657",
54
- [SupportedChainId.MAINNET]: "0x9eB0ffd318e862D344792a8e589e8393E8bEd96F",
55
- [SupportedChainId.BASE]: "0x1549445700D0Cb2D7Ce85ECd5a7FD7Ba4a3D40A7"
56
- };
33
+ var AAVE_ADAPTER_FACTORY = mapAddressToSupportedNetworks(
34
+ "0x43c658Ea38bBfD897706fDb35e2468ef5D8F6927"
35
+ );
36
+ var AAVE_COLLATERAL_SWAP_ADAPTER_HOOK = mapAddressToSupportedNetworks(
37
+ "0x29A9b0a13c81d59f13BA0f39DBDCAA1AB2adc95F"
38
+ );
39
+ var AAVE_DEBT_SWAP_ADAPTER_HOOK = mapAddressToSupportedNetworks(
40
+ "0xbE9A121bb958BBBb027dA728DEC0D5496811b7d1"
41
+ );
42
+ var AAVE_REPAY_COLLATERAL_ADAPTER_HOOK = mapAddressToSupportedNetworks(
43
+ "0x8e25d1210FabB0fcAdE92a82C4a89568B4b10E0F"
44
+ );
57
45
  var AAVE_HOOK_ADAPTER_PER_TYPE = {
58
46
  ["CollateralSwap" /* CollateralSwap */]: AAVE_COLLATERAL_SWAP_ADAPTER_HOOK,
59
47
  ["DebtSwap" /* DebtSwap */]: AAVE_DEBT_SWAP_ADAPTER_HOOK,
@@ -413,6 +401,8 @@ var repayWithCollateralAdapterAbi = [
413
401
  // src/aave/AaveCollateralSwapSdk.ts
414
402
  var AaveCollateralSwapSdk = class {
415
403
  hookAdapterPerType;
404
+ aaveAdapterFactory;
405
+ aavePoolAddress;
416
406
  /**
417
407
  * Creates an instance of AaveCollateralSwapSdk.
418
408
  *
@@ -420,9 +410,17 @@ var AaveCollateralSwapSdk = class {
420
410
  * @param {Record<AaveFlashLoanType, Record<SupportedChainId, string>>} config.hookAdapterPerType -
421
411
  * Mapping of flash loan types to chain-specific hook adapter addresses.
422
412
  * Defaults to the predefined addresses from the constants.
413
+ * @param {Record<SupportedChainId, string>} config.aaveAdapterFactory -
414
+ * Mapping of chain IDs to Aave adapter factory addresses.
415
+ * Defaults to the predefined addresses from the constants.
416
+ * @param {Record<SupportedChainId, string>} config.aavePoolAddress -
417
+ * Mapping of chain IDs to Aave pool addresses.
418
+ * Defaults to the predefined addresses from the constants.
423
419
  */
424
420
  constructor(config) {
425
421
  this.hookAdapterPerType = config?.hookAdapterPerType ?? AAVE_HOOK_ADAPTER_PER_TYPE;
422
+ this.aaveAdapterFactory = config?.aaveAdapterFactory ?? AAVE_ADAPTER_FACTORY;
423
+ this.aavePoolAddress = config?.aavePoolAddress ?? AAVE_POOL_ADDRESS;
426
424
  }
427
425
  /**
428
426
  * Executes a collateral swap using Aave flash loans.
@@ -565,9 +563,9 @@ var AaveCollateralSwapSdk = class {
565
563
  const flashLoanHint = {
566
564
  amount,
567
565
  // this is actually in UNDERLYING but aave tokens are 1:1
568
- receiver: AAVE_ADAPTER_FACTORY[chainId],
569
- liquidityProvider: AAVE_POOL_ADDRESS[chainId],
570
- protocolAdapter: AAVE_ADAPTER_FACTORY[chainId],
566
+ receiver: this.aaveAdapterFactory[chainId],
567
+ liquidityProvider: this.aavePoolAddress[chainId],
568
+ protocolAdapter: this.aaveAdapterFactory[chainId],
571
569
  token: orderToSign.sellToken
572
570
  };
573
571
  const hooks = await this.getOrderHooks(
@@ -678,7 +676,7 @@ var AaveCollateralSwapSdk = class {
678
676
  async getExpectedInstanceAddress(flashLoanType, chainId, trader, hookAmounts, order) {
679
677
  const hookData = this.buildHookOrderData(trader, hookAmounts, order);
680
678
  return await getGlobalAdapter().readContract({
681
- address: AAVE_ADAPTER_FACTORY[chainId],
679
+ address: this.aaveAdapterFactory[chainId],
682
680
  args: [this.hookAdapterPerType[flashLoanType][chainId], hookData],
683
681
  functionName: "getInstanceDeterministicAddress",
684
682
  abi: aaveAdapterFactoryAbi
@@ -767,7 +765,7 @@ var AaveCollateralSwapSdk = class {
767
765
  return {
768
766
  pre: [
769
767
  {
770
- target: AAVE_ADAPTER_FACTORY[chainId],
768
+ target: this.aaveAdapterFactory[chainId],
771
769
  callData: preHookCallData,
772
770
  gasLimit: DEFAULT_HOOK_GAS_LIMIT.pre.toString(),
773
771
  dappId
@@ -784,7 +782,7 @@ var AaveCollateralSwapSdk = class {
784
782
  };
785
783
  }
786
784
  async adapterEIP1271Signature(chainId, instanceAddress, orderToSign, signer) {
787
- const adapterFactoryAddress = AAVE_ADAPTER_FACTORY[chainId];
785
+ const adapterFactoryAddress = this.aaveAdapterFactory[chainId];
788
786
  const encodedOrder = OrderSigningUtils.encodeUnsignedOrder(orderToSign);
789
787
  const domain = {
790
788
  name: ADAPTER_DOMAIN_NAME,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowprotocol/sdk-flash-loans",
3
- "version": "1.4.0",
3
+ "version": "1.5.2",
4
4
  "description": "Flash loans for CoW Protocol",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -17,9 +17,9 @@
17
17
  "@cowprotocol/sdk-common": "0.3.0",
18
18
  "@cowprotocol/sdk-app-data": "4.1.6",
19
19
  "@cowprotocol/sdk-trading": "0.4.6",
20
+ "@cowprotocol/sdk-order-signing": "0.1.11",
20
21
  "@cowprotocol/sdk-order-book": "0.2.0",
21
- "@cowprotocol/sdk-config": "0.3.0",
22
- "@cowprotocol/sdk-order-signing": "0.1.11"
22
+ "@cowprotocol/sdk-config": "0.3.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "ethers-v5": "npm:ethers@^5.7.2",
@@ -34,9 +34,9 @@
34
34
  "ts-jest": "^29.0.0",
35
35
  "ethers": "^5.7.2",
36
36
  "viem": "2.30.5",
37
- "@cow-sdk/typescript-config": "0.0.0-beta.0",
38
37
  "@cowprotocol/sdk-ethers-v5-adapter": "0.2.0",
39
38
  "@cowprotocol/sdk-ethers-v6-adapter": "0.2.0",
39
+ "@cow-sdk/typescript-config": "0.0.0-beta.0",
40
40
  "@cowprotocol/sdk-viem-adapter": "0.2.0"
41
41
  },
42
42
  "scripts": {