Skip to content

Commit df829b9

Browse files
authored
fix: assets dependencies and lint error (#849)
1 parent 3f0e1b1 commit df829b9

File tree

7 files changed

+61
-14
lines changed

7 files changed

+61
-14
lines changed

packages/blockchain-data/sdk/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,16 @@
55
"author": "Immutable",
66
"bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
77
"dependencies": {
8+
"@ethersproject/abi": "^5.7.0",
9+
"@ethersproject/providers": "^5.7.2",
810
"@imtbl/config": "0.0.0",
9-
"@imtbl/generated-clients": "0.0.0"
11+
"@imtbl/generated-clients": "0.0.0",
12+
"axios": "^1.3.5",
13+
"ethers": "^5.7.2"
1014
},
1115
"devDependencies": {
1216
"@rollup/plugin-typescript": "^11.0.0",
17+
"@swc/core": "^1.3.36",
1318
"@swc/jest": "^0.2.24",
1419
"@typechain/ethers-v5": "^10.2.0",
1520
"@types/jest": "^29.4.3",

packages/blockchain-data/sdk/src/blockchain-data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { mr } from '@imtbl/generated-clients';
22
import {
33
BlockchainDataConfiguration,
44
BlockchainDataModuleConfiguration,
5-
} from 'config';
6-
import { formatError } from 'utils/formatErrors';
5+
} from './config';
6+
import { formatError } from './utils/formatErrors';
77

88
export class BlockchainData {
99
public readonly config: BlockchainDataConfiguration;

packages/checkout/sdk/src/Checkout.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,6 @@ describe('Connect', () => {
558558
await expect(checkout.cancel({
559559
provider,
560560
orderId: '1234',
561-
signActions: true,
562561
})).rejects.toThrow('This endpoint is not currently available.');
563562

564563
expect(cancel).toBeCalledTimes(0);

packages/erc20/package.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,22 @@
44
"version": "0.0.0",
55
"author": "Immutable",
66
"bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
7+
"dependencies": {
8+
"@ethersproject/abi": "^5.7.0",
9+
"@ethersproject/bignumber": "^5.7.0",
10+
"@ethersproject/contracts": "^5.7.0",
11+
"@ethersproject/providers": "^5.7.2",
12+
"@imtbl/contracts": "0.0.0",
13+
"ethers": "^5.7.2",
14+
"typechain": "^8.1.1"
15+
},
716
"devDependencies": {
817
"@rollup/plugin-typescript": "^11.0.0",
18+
"@swc/core": "^1.3.36",
919
"@swc/jest": "^0.2.24",
1020
"@typechain/ethers-v5": "^10.2.0",
11-
"rollup": "^3.17.2"
21+
"rollup": "^3.17.2",
22+
"typescript": "^4.9.5"
1223
},
1324
"engines": {
1425
"node": ">=16.11.0"

packages/erc721-mint-by-id/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@
55
"author": "Immutable",
66
"bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
77
"dependencies": {
8-
"@imtbl/config": "0.0.0",
8+
"@ethersproject/abi": "^5.7.0",
9+
"@ethersproject/providers": "^5.7.2",
910
"@imtbl/contracts": "0.0.0",
10-
"ethers": "^5.7.2"
11+
"ethers": "^5.7.2",
12+
"typechain": "^8.1.1"
1113
},
1214
"devDependencies": {
1315
"@rollup/plugin-typescript": "^11.0.0",
16+
"@swc/core": "^1.3.36",
1417
"@swc/jest": "^0.2.24",
1518
"@typechain/ethers-v5": "^10.2.0",
16-
"rollup": "^3.17.2"
19+
"rollup": "^3.17.2",
20+
"typescript": "^4.9.5"
1721
},
1822
"engines": {
1923
"node": ">=16.11.0"

packages/erc721/package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,20 @@
55
"author": "Immutable",
66
"bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
77
"dependencies": {
8-
"@imtbl/config": "0.0.0",
8+
"@ethersproject/abi": "^5.7.0",
9+
"@ethersproject/contracts": "^5.7.0",
10+
"@ethersproject/providers": "^5.7.2",
911
"@imtbl/contracts": "0.0.0",
10-
"ethers": "^5.7.2"
12+
"ethers": "^5.7.2",
13+
"typechain": "^8.1.1"
1114
},
1215
"devDependencies": {
1316
"@rollup/plugin-typescript": "^11.0.0",
17+
"@swc/core": "^1.3.36",
1418
"@swc/jest": "^0.2.24",
1519
"@typechain/ethers-v5": "^10.2.0",
16-
"rollup": "^3.17.2"
20+
"rollup": "^3.17.2",
21+
"typescript": "^4.9.5"
1722
},
1823
"engines": {
1924
"node": ">=16.11.0"

yarn.lock

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2669,7 +2669,7 @@ __metadata:
26692669
languageName: node
26702670
linkType: hard
26712671

2672-
"@ethersproject/contracts@npm:5.7.0":
2672+
"@ethersproject/contracts@npm:5.7.0, @ethersproject/contracts@npm:^5.7.0":
26732673
version: 5.7.0
26742674
resolution: "@ethersproject/contracts@npm:5.7.0"
26752675
dependencies:
@@ -3008,14 +3008,19 @@ __metadata:
30083008
version: 0.0.0-use.local
30093009
resolution: "@imtbl/blockchain-data@workspace:packages/blockchain-data/sdk"
30103010
dependencies:
3011+
"@ethersproject/abi": ^5.7.0
3012+
"@ethersproject/providers": ^5.7.2
30113013
"@imtbl/config": 0.0.0
30123014
"@imtbl/generated-clients": 0.0.0
30133015
"@rollup/plugin-typescript": ^11.0.0
3016+
"@swc/core": ^1.3.36
30143017
"@swc/jest": ^0.2.24
30153018
"@typechain/ethers-v5": ^10.2.0
30163019
"@types/jest": ^29.4.3
3020+
axios: ^1.3.5
30173021
dotenv: ^16.0.3
30183022
eslint: ^8.40.0
3023+
ethers: ^5.7.2
30193024
jest: ^29.4.3
30203025
jest-environment-jsdom: ^29.4.3
30213026
rollup: ^3.17.2
@@ -3477,38 +3482,56 @@ __metadata:
34773482
version: 0.0.0-use.local
34783483
resolution: "@imtbl/erc20@workspace:packages/erc20"
34793484
dependencies:
3485+
"@ethersproject/abi": ^5.7.0
3486+
"@ethersproject/bignumber": ^5.7.0
3487+
"@ethersproject/contracts": ^5.7.0
3488+
"@ethersproject/providers": ^5.7.2
3489+
"@imtbl/contracts": 0.0.0
34803490
"@rollup/plugin-typescript": ^11.0.0
3491+
"@swc/core": ^1.3.36
34813492
"@swc/jest": ^0.2.24
34823493
"@typechain/ethers-v5": ^10.2.0
3494+
ethers: ^5.7.2
34833495
rollup: ^3.17.2
3496+
typechain: ^8.1.1
3497+
typescript: ^4.9.5
34843498
languageName: unknown
34853499
linkType: soft
34863500

34873501
"@imtbl/[email protected], @imtbl/erc721-mint-by-id@workspace:packages/erc721-mint-by-id":
34883502
version: 0.0.0-use.local
34893503
resolution: "@imtbl/erc721-mint-by-id@workspace:packages/erc721-mint-by-id"
34903504
dependencies:
3491-
"@imtbl/config": 0.0.0
3505+
"@ethersproject/abi": ^5.7.0
3506+
"@ethersproject/providers": ^5.7.2
34923507
"@imtbl/contracts": 0.0.0
34933508
"@rollup/plugin-typescript": ^11.0.0
3509+
"@swc/core": ^1.3.36
34943510
"@swc/jest": ^0.2.24
34953511
"@typechain/ethers-v5": ^10.2.0
34963512
ethers: ^5.7.2
34973513
rollup: ^3.17.2
3514+
typechain: ^8.1.1
3515+
typescript: ^4.9.5
34983516
languageName: unknown
34993517
linkType: soft
35003518

35013519
"@imtbl/[email protected], @imtbl/erc721@workspace:packages/erc721":
35023520
version: 0.0.0-use.local
35033521
resolution: "@imtbl/erc721@workspace:packages/erc721"
35043522
dependencies:
3505-
"@imtbl/config": 0.0.0
3523+
"@ethersproject/abi": ^5.7.0
3524+
"@ethersproject/contracts": ^5.7.0
3525+
"@ethersproject/providers": ^5.7.2
35063526
"@imtbl/contracts": 0.0.0
35073527
"@rollup/plugin-typescript": ^11.0.0
3528+
"@swc/core": ^1.3.36
35083529
"@swc/jest": ^0.2.24
35093530
"@typechain/ethers-v5": ^10.2.0
35103531
ethers: ^5.7.2
35113532
rollup: ^3.17.2
3533+
typechain: ^8.1.1
3534+
typescript: ^4.9.5
35123535
languageName: unknown
35133536
linkType: soft
35143537

0 commit comments

Comments
 (0)