@1stdex/first-sdk 1.0.18 → 1.0.20
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/cjs/calls/market/make.js +9 -6
- package/dist/cjs/calls/market/make.js.map +1 -1
- package/dist/cjs/constants/abis/core/book-manager-abi.js +53 -1
- package/dist/cjs/constants/abis/core/book-manager-abi.js.map +1 -1
- package/dist/cjs/constants/abis/core/controller-abi.js +0 -4
- package/dist/cjs/constants/abis/core/controller-abi.js.map +1 -1
- package/dist/cjs/constants/chain-configs/addresses.js +3 -3
- package/dist/cjs/constants/chain-configs/currency.js +1 -1
- package/dist/cjs/entities/market/apis/snapshot.js +73 -195
- package/dist/cjs/entities/market/apis/snapshot.js.map +1 -1
- package/dist/cjs/views/setup.js +1 -1
- package/dist/cjs/views/setup.js.map +1 -1
- package/dist/esm/calls/market/make.js +9 -6
- package/dist/esm/calls/market/make.js.map +1 -1
- package/dist/esm/constants/abis/core/book-manager-abi.js +53 -1
- package/dist/esm/constants/abis/core/book-manager-abi.js.map +1 -1
- package/dist/esm/constants/abis/core/controller-abi.js +0 -4
- package/dist/esm/constants/abis/core/controller-abi.js.map +1 -1
- package/dist/esm/constants/chain-configs/addresses.js +3 -3
- package/dist/esm/constants/chain-configs/currency.js +1 -1
- package/dist/esm/entities/market/apis/snapshot.js +76 -197
- package/dist/esm/entities/market/apis/snapshot.js.map +1 -1
- package/dist/esm/views/setup.js +1 -1
- package/dist/esm/views/setup.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/calls/market/make.d.ts +2 -1
- package/dist/types/calls/market/make.d.ts.map +1 -1
- package/dist/types/constants/abis/core/book-manager-abi.d.ts +56 -1
- package/dist/types/constants/abis/core/book-manager-abi.d.ts.map +1 -1
- package/dist/types/constants/abis/core/controller-abi.d.ts +0 -16
- package/dist/types/constants/abis/core/controller-abi.d.ts.map +1 -1
- package/dist/types/entities/market/apis/snapshot.d.ts.map +1 -1
- package/dist/types/views/setup.d.ts.map +1 -1
- package/package.json +3 -2
|
@@ -28,7 +28,8 @@ export declare const placeMarketMakingQuotes: ({ chainId, userAddress, bidQuotes
|
|
|
28
28
|
roundingUpMakeBid?: boolean;
|
|
29
29
|
roundingDownMakeAsk?: boolean;
|
|
30
30
|
useSubgraph?: boolean;
|
|
31
|
-
|
|
31
|
+
buyProvider?: `0x${string}`;
|
|
32
|
+
sellProvider?: `0x${string}`;
|
|
32
33
|
referrer?: `0x${string}`;
|
|
33
34
|
orderIdsToClaim: string[];
|
|
34
35
|
orderIdsToCancel: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"make.d.ts","sourceRoot":"","sources":["../../../../src/calls/market/make.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,SAAS,EAAa,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAiB/E,oBAAY,MAAM;IAChB,IAAI,IAAA;IACJ,IAAI,IAAA;IACJ,KAAK,IAAA;IACL,IAAI,IAAA;IACJ,KAAK,IAAA;IACL,KAAK,IAAA;IACL,MAAM,IAAA;CACP;AAED,eAAO,MAAM,uBAAuB,qGASjC;IACD,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,SAAS,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC/C,SAAS,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC/C,SAAS,EAAE,KAAK,MAAM,EAAE,CAAC;IACzB,UAAU,EAAE,KAAK,MAAM,EAAE,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE;QACR,MAAM,CAAC,EAAE,MAAM,CAA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,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,EAAE,MAAM,EAAE,CAAC;KAC5B,GAAG,2BAA2B,CAAC;CACjC,KAAG,QAAQ,WAAW,CAwLtB,CAAC"}
|
|
@@ -170,6 +170,21 @@ export declare const BOOK_MANAGER_ABI: readonly [{
|
|
|
170
170
|
readonly inputs: readonly [];
|
|
171
171
|
readonly name: "VaultCannotBeZero";
|
|
172
172
|
readonly type: "error";
|
|
173
|
+
}, {
|
|
174
|
+
readonly anonymous: false;
|
|
175
|
+
readonly inputs: readonly [{
|
|
176
|
+
readonly indexed: true;
|
|
177
|
+
readonly internalType: "address";
|
|
178
|
+
readonly name: "locker";
|
|
179
|
+
readonly type: "address";
|
|
180
|
+
}, {
|
|
181
|
+
readonly indexed: false;
|
|
182
|
+
readonly internalType: "bool";
|
|
183
|
+
readonly name: "authorized";
|
|
184
|
+
readonly type: "bool";
|
|
185
|
+
}];
|
|
186
|
+
readonly name: "AuthorizedLockerSet";
|
|
187
|
+
readonly type: "event";
|
|
173
188
|
}, {
|
|
174
189
|
readonly anonymous: false;
|
|
175
190
|
readonly inputs: readonly [{
|
|
@@ -413,6 +428,11 @@ export declare const BOOK_MANAGER_ABI: readonly [{
|
|
|
413
428
|
}, {
|
|
414
429
|
readonly anonymous: false;
|
|
415
430
|
readonly inputs: readonly [{
|
|
431
|
+
readonly indexed: true;
|
|
432
|
+
readonly internalType: "address";
|
|
433
|
+
readonly name: "payer";
|
|
434
|
+
readonly type: "address";
|
|
435
|
+
}, {
|
|
416
436
|
readonly indexed: true;
|
|
417
437
|
readonly internalType: "address";
|
|
418
438
|
readonly name: "provider";
|
|
@@ -433,6 +453,11 @@ export declare const BOOK_MANAGER_ABI: readonly [{
|
|
|
433
453
|
}, {
|
|
434
454
|
readonly anonymous: false;
|
|
435
455
|
readonly inputs: readonly [{
|
|
456
|
+
readonly indexed: true;
|
|
457
|
+
readonly internalType: "address";
|
|
458
|
+
readonly name: "payer";
|
|
459
|
+
readonly type: "address";
|
|
460
|
+
}, {
|
|
436
461
|
readonly indexed: true;
|
|
437
462
|
readonly internalType: "address";
|
|
438
463
|
readonly name: "referrer";
|
|
@@ -443,7 +468,7 @@ export declare const BOOK_MANAGER_ABI: readonly [{
|
|
|
443
468
|
readonly name: "provider";
|
|
444
469
|
readonly type: "address";
|
|
445
470
|
}, {
|
|
446
|
-
readonly indexed:
|
|
471
|
+
readonly indexed: false;
|
|
447
472
|
readonly internalType: "Currency";
|
|
448
473
|
readonly name: "currency";
|
|
449
474
|
readonly type: "address";
|
|
@@ -630,6 +655,16 @@ export declare const BOOK_MANAGER_ABI: readonly [{
|
|
|
630
655
|
}];
|
|
631
656
|
readonly stateMutability: "view";
|
|
632
657
|
readonly type: "function";
|
|
658
|
+
}, {
|
|
659
|
+
readonly inputs: readonly [];
|
|
660
|
+
readonly name: "AUTHORIZED_LOCKER_ROLE";
|
|
661
|
+
readonly outputs: readonly [{
|
|
662
|
+
readonly internalType: "bytes32";
|
|
663
|
+
readonly name: "";
|
|
664
|
+
readonly type: "bytes32";
|
|
665
|
+
}];
|
|
666
|
+
readonly stateMutability: "view";
|
|
667
|
+
readonly type: "function";
|
|
633
668
|
}, {
|
|
634
669
|
readonly inputs: readonly [];
|
|
635
670
|
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
@@ -1053,6 +1088,16 @@ export declare const BOOK_MANAGER_ABI: readonly [{
|
|
|
1053
1088
|
readonly outputs: readonly [];
|
|
1054
1089
|
readonly stateMutability: "nonpayable";
|
|
1055
1090
|
readonly type: "function";
|
|
1091
|
+
}, {
|
|
1092
|
+
readonly inputs: readonly [{
|
|
1093
|
+
readonly internalType: "address";
|
|
1094
|
+
readonly name: "locker";
|
|
1095
|
+
readonly type: "address";
|
|
1096
|
+
}];
|
|
1097
|
+
readonly name: "grantLockerRole";
|
|
1098
|
+
readonly outputs: readonly [];
|
|
1099
|
+
readonly stateMutability: "nonpayable";
|
|
1100
|
+
readonly type: "function";
|
|
1056
1101
|
}, {
|
|
1057
1102
|
readonly inputs: readonly [{
|
|
1058
1103
|
readonly internalType: "bytes32";
|
|
@@ -1406,6 +1451,16 @@ export declare const BOOK_MANAGER_ABI: readonly [{
|
|
|
1406
1451
|
readonly outputs: readonly [];
|
|
1407
1452
|
readonly stateMutability: "nonpayable";
|
|
1408
1453
|
readonly type: "function";
|
|
1454
|
+
}, {
|
|
1455
|
+
readonly inputs: readonly [{
|
|
1456
|
+
readonly internalType: "address";
|
|
1457
|
+
readonly name: "locker";
|
|
1458
|
+
readonly type: "address";
|
|
1459
|
+
}];
|
|
1460
|
+
readonly name: "revokeLockerRole";
|
|
1461
|
+
readonly outputs: readonly [];
|
|
1462
|
+
readonly stateMutability: "nonpayable";
|
|
1463
|
+
readonly type: "function";
|
|
1409
1464
|
}, {
|
|
1410
1465
|
readonly inputs: readonly [{
|
|
1411
1466
|
readonly internalType: "bytes32";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"book-manager-abi.d.ts","sourceRoot":"","sources":["../../../../../src/constants/abis/core/book-manager-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"book-manager-abi.d.ts","sourceRoot":"","sources":["../../../../../src/constants/abis/core/book-manager-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0uCnB,CAAC"}
|
|
@@ -505,10 +505,6 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
505
505
|
readonly internalType: "address";
|
|
506
506
|
readonly name: "takeReferrer";
|
|
507
507
|
readonly type: "address";
|
|
508
|
-
}, {
|
|
509
|
-
readonly internalType: "address";
|
|
510
|
-
readonly name: "owner";
|
|
511
|
-
readonly type: "address";
|
|
512
508
|
}];
|
|
513
509
|
readonly internalType: "struct IController.LimitOrderParams[]";
|
|
514
510
|
readonly name: "orderParamsList";
|
|
@@ -600,10 +596,6 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
600
596
|
readonly internalType: "address";
|
|
601
597
|
readonly name: "referrer";
|
|
602
598
|
readonly type: "address";
|
|
603
|
-
}, {
|
|
604
|
-
readonly internalType: "address";
|
|
605
|
-
readonly name: "owner";
|
|
606
|
-
readonly type: "address";
|
|
607
599
|
}];
|
|
608
600
|
readonly internalType: "struct IController.MakeOrderParams[]";
|
|
609
601
|
readonly name: "orderParamsList";
|
|
@@ -783,10 +775,6 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
783
775
|
readonly internalType: "address";
|
|
784
776
|
readonly name: "referrer";
|
|
785
777
|
readonly type: "address";
|
|
786
|
-
}, {
|
|
787
|
-
readonly internalType: "address";
|
|
788
|
-
readonly name: "owner";
|
|
789
|
-
readonly type: "address";
|
|
790
778
|
}];
|
|
791
779
|
readonly internalType: "struct IController.SpendOrderParams[]";
|
|
792
780
|
readonly name: "orderParamsList";
|
|
@@ -874,10 +862,6 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
874
862
|
readonly internalType: "address";
|
|
875
863
|
readonly name: "referrer";
|
|
876
864
|
readonly type: "address";
|
|
877
|
-
}, {
|
|
878
|
-
readonly internalType: "address";
|
|
879
|
-
readonly name: "owner";
|
|
880
|
-
readonly type: "address";
|
|
881
865
|
}];
|
|
882
866
|
readonly internalType: "struct IController.TakeOrderParams[]";
|
|
883
867
|
readonly name: "orderParamsList";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller-abi.d.ts","sourceRoot":"","sources":["../../../../../src/constants/abis/core/controller-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"controller-abi.d.ts","sourceRoot":"","sources":["../../../../../src/constants/abis/core/controller-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4lBjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../../../../src/entities/market/apis/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,YAAY,EAAE,MAAM,MAAM,CAAC;AAEhE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../../../../src/entities/market/apis/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,YAAY,EAAE,MAAM,MAAM,CAAC;AAEhE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AA4D1C,eAAO,MAAM,mBAAmB,iBAChB,YAAY,WACjB,SAAS,UACV,KAAK,MAAM,EAAE,UACb,KAAK,MAAM,EAAE,sBACD,MAAM,KACzB,QAAQ,cAAc,GAAG,IAAI,CAqK/B,CAAC;AAEF,eAAO,MAAM,oBAAoB,iBACjB,YAAY,WACjB,SAAS,sBACE,MAAM,KACzB,QAAQ,cAAc,EAAE,CAkM1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../src/views/setup.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAa,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../src/views/setup.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAa,MAAM,kCAAkC,CAAC;AAKxE,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAI1C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,uBAAuB,iDAKjC;IACD,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/B,KAAG,QAAQ,OAAO,CAclB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,oBAAoB,qDAK9B;IACD,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,YAAY,EAAE,KAAK,MAAM,EAAE,CAAC;IAC5B,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/B,KAAG,QAAQ;IACV,iBAAiB,EAAE,OAAO,CAAC;IAC3B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,kBAAkB,EAAE,OAAO,CAAC;CAC7B,CAiDA,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,iBAAiB,qEAM3B;IACD,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,YAAY,EAAE,KAAK,MAAM,EAAE,CAAC;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/B,KAAG,QAAQ,OAAO,CAoBlB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,mBAAmB,qEAM7B;IACD,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,YAAY,EAAE,KAAK,MAAM,EAAE,CAAC;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,KAAK,MAAM,EAAE,CAAA;KAAE,CAAC;CACzD,KAAG,QAAQ;IACV,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE;QACf,iBAAiB,EAAE,OAAO,CAAC;QAC3B,iBAAiB,EAAE,OAAO,CAAC;QAC3B,kBAAkB,EAAE,OAAO,CAAC;QAC5B,MAAM,EAAE,OAAO,CAAC;KACjB,CAAC;IACF,YAAY,EAAE,cAAc,CAAC;IAC7B,YAAY,EAAE,OAAO,CAAC;CACvB,CA+EA,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1stdex/first-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "🛠 An SDK for building applications on top of 1st V2",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"url": "git+https://github.com/first-dex/first-sdk.git"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
|
-
"lint": "eslint --ext .ts src --fix",
|
|
17
|
+
"lint": "eslint --ext .ts src scripts --fix",
|
|
18
|
+
"prettier": "prettier --write \"src/**/*.ts\" \"scripts/**/*.ts\"",
|
|
18
19
|
"docs": "typedoc --out docs src/index.ts --sort kind",
|
|
19
20
|
"anvil": "npx tsx test/start-anvil.ts",
|
|
20
21
|
"anvil:dump": "anvil --chain-id 31337 --accounts 10 --auto-impersonate --gas-price 0 --port 8545 --dump-state test/anvil-state.json",
|