Skip to content

feat: update sdk to support Amplifier chains #82

feat: update sdk to support Amplifier chains

feat: update sdk to support Amplifier chains #82

Triggered via pull request October 16, 2024 18:36
Status Failure
Total duration 29s
Artifacts

build.yml

on: pull_request
Build Package
20s
Build Package
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Build Package: src/assets/index.ts#L6
Type '{ devnet: string; testnet: string; mainnet: string; }' is not assignable to type 'Record<Environment, string>'.
Build Package: src/assets/index.ts#L10
Type '{ devnet: null; testnet: null; mainnet: null; }' is not assignable to type 'Record<Environment, any>'.
Build Package: src/libs/AxelarAssetTransfer.ts#L679
Element implicitly has an 'any' type because expression of type 'Environment' can't be used to index type '{ mainnet: string; testnet: string; devnet: string; }'.
Build Package: src/libs/AxelarQueryAPI.ts#L501
Element implicitly has an 'any' type because expression of type 'Environment' can't be used to index type '{ mainnet: string; testnet: string; devnet: string; }'.
Build Package: src/libs/TransactionRecoveryApi/AxelarDepositRecoveryAPI.ts#L30
Element implicitly has an 'any' type because expression of type 'Environment' can't be used to index type '{ devnet: string; testnet: string; mainnet: string; }'.
Build Package: src/libs/TransactionRecoveryApi/AxelarGMPRecoveryAPI.ts#L950
Element implicitly has an 'any' type because expression of type 'Environment' can't be used to index type '{ readonly devnet: "axelar1zl3rxpp70lmte2xr6c4lgske2fyuj3hupcsvcd"; readonly testnet: "axelar1zl3rxpp70lmte2xr6c4lgske2fyuj3hupcsvcd"; readonly mainnet: "axelar1aythygn6z5thymj6tmzfwekzh05ewg3l7d6y89"; }'.
Build Package: src/libs/TransactionRecoveryApi/AxelarGMPRecoveryAPI.ts#L1250
Element implicitly has an 'any' type because expression of type 'Environment' can't be used to index type '{ mainnet: string; testnet: string; devnet: string; }'.
Build Package: src/libs/TransactionRecoveryApi/AxelarRecoveryApi.ts#L400
Element implicitly has an 'any' type because expression of type 'Environment' can't be used to index type '{ devnet: string; testnet: string; mainnet: string; }'.
Build Package: src/libs/TransactionRecoveryApi/AxelarRecoveryApi.ts#L410
Element implicitly has an 'any' type because expression of type 'Environment' can't be used to index type '{ devnet: string; testnet: string; mainnet: string; }'.
Build Package: src/libs/TransactionRecoveryApi/AxelarRecoveryApi.ts#L420
Element implicitly has an 'any' type because expression of type 'Environment' can't be used to index type '{ devnet: string; testnet: string; mainnet: string; }'.
src/libs/fee/getL1Fee.spec.ts#L18
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
Build Package
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/