@1delta/bridge-configs 0.1.1 → 0.1.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.
@@ -22,7 +22,7 @@ export const zenlinkConfig = {
22
22
  if (fromChainId !== toChainId)
23
23
  throw new CrossChainBusinessException(ERROR_CODES.NOT_SUPPORT);
24
24
  const publicClient = await getViemProvider({ chainId: fromChainId });
25
- const gasPrice = Number(await publicClient.getGasPrice());
25
+ const gasPrice = Number(await publicClient?.getGasPrice());
26
26
  const receiver = toAddress === '' ? zeroAddress : toAddress;
27
27
  return { ...params, gasPrice, receiver, estimatedDuration: 0 };
28
28
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1delta/bridge-configs",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Bridge and aggregator configurations for 1Delta",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "lodash": "^4.17.21",
19
19
  "axios": "^1.10.0",
20
20
  "@1delta/bridge-core": "0.1.1",
21
- "@1delta/lib-utils": "0.1.1"
21
+ "@1delta/lib-utils": "0.1.3"
22
22
  },
23
23
  "scripts": {
24
24
  "build": "tsc --project tsconfig.json",