@1delta/bridge-configs 0.1.3 → 0.1.5

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.
@@ -29,7 +29,7 @@ export const axelarConfig = {
29
29
  destinationGasFee: 'totalFeeInNative',
30
30
  },
31
31
  estimatedDuration: {
32
- format: (data) => 30,
32
+ format: (_) => 30,
33
33
  },
34
34
  interfaceParamData: {
35
35
  contractAddress: 'contractAddress',
@@ -1,3 +1,3 @@
1
1
  export function bridgeIcon(aggregator) {
2
- return `https://raw.githubusercontent.com/1delta-DAO/protocol-icons/main/bridge/${aggregator.toLowerCase()}.webp`;
2
+ return `https://raw.githubusercontent.com/1delta-DAO/protocol-icons/main/bridge/${aggregator.replace('.', '').replace(' ', '_').toLowerCase()}.webp`;
3
3
  }
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from './configs/axelar/calldata';
3
3
  export * from './configs/axelar/data/axelarConfig';
4
4
  export * from './configs/axelar/data/squidChains';
5
5
  export * from './configs/axelar/route';
6
+ export { getCowSwapSlippage } from './configs/cowswap/utils/getCowSwapSlippage';
6
7
  export * from './types';
7
8
  export * from './walletClient';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,2BAA2B,CAAA;AACzC,cAAc,oCAAoC,CAAA;AAClD,cAAc,mCAAmC,CAAA;AACjD,cAAc,wBAAwB,CAAA;AACtC,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,2BAA2B,CAAA;AACzC,cAAc,oCAAoC,CAAA;AAClD,cAAc,mCAAmC,CAAA;AACjD,cAAc,wBAAwB,CAAA;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAA;AAC/E,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA"}
package/dist/index.js CHANGED
@@ -3,5 +3,6 @@ export * from './configs/axelar/calldata';
3
3
  export * from './configs/axelar/data/axelarConfig';
4
4
  export * from './configs/axelar/data/squidChains';
5
5
  export * from './configs/axelar/route';
6
+ export { getCowSwapSlippage } from './configs/cowswap/utils/getCowSwapSlippage';
6
7
  export * from './types';
7
8
  export * from './walletClient';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1delta/bridge-configs",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Bridge and aggregator configurations for 1Delta",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,9 +16,9 @@
16
16
  "@mayanfinance/swap-sdk": "^11.4.0",
17
17
  "axios": "^1.13.2",
18
18
  "lodash": "^4.17.21",
19
- "viem": "^2.38.6",
20
- "@1delta/bridge-core": "0.1.1",
21
- "@1delta/lib-utils": "0.1.3"
19
+ "viem": "^2.39.3",
20
+ "@1delta/bridge-core": "0.1.2",
21
+ "@1delta/lib-utils": "0.1.5"
22
22
  },
23
23
  "scripts": {
24
24
  "build": "tsc --project tsconfig.json",