@nightlylabs/dex-sdk 1.0.18 → 1.0.19
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/index.cjs +1214 -1097
- package/dist/index.d.cts +120 -120
- package/dist/index.d.ts +120 -120
- package/dist/index.js +1214 -1097
- package/package.json +12 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nightlylabs/dex-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -23,13 +23,17 @@
|
|
|
23
23
|
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
24
24
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
25
25
|
"clean": "rm -rf dist",
|
|
26
|
-
"test": "bun test",
|
|
27
|
-
"test:watch": "bun test --watch",
|
|
26
|
+
"test": "bun test src",
|
|
27
|
+
"test:watch": "bun test src --watch",
|
|
28
|
+
"test:api": "playwright test",
|
|
29
|
+
"test:api:ui": "playwright test --ui",
|
|
30
|
+
"test:api:report": "playwright show-report",
|
|
28
31
|
"generate-types": "bun scripts/generate-types.ts",
|
|
29
32
|
"typecheck": "tsc --noEmit",
|
|
30
33
|
"lint": "biome check --write .",
|
|
31
34
|
"lint:check": "biome check .",
|
|
32
35
|
"typeshare": "typeshare ../backend --lang=typescript --output-file=./typeshareTypes.ts && biome format --write typeshareTypes.ts",
|
|
36
|
+
"generate-zod": "ts-to-zod && bun scripts/postprocess-zod.ts",
|
|
33
37
|
"test:client": "bun test src/client.test.ts",
|
|
34
38
|
"testnet:init-exchange": "bun scripts/testnet/testnet-initExchange.ts",
|
|
35
39
|
"testnet:setup-exchange": "bun scripts/testnet/testnet-setupExchange.ts > testnet-setup-exchange.txt",
|
|
@@ -78,18 +82,21 @@
|
|
|
78
82
|
"@solana/spl-token": "0.4.14",
|
|
79
83
|
"@solana/web3.js": "1.98.4",
|
|
80
84
|
"decimal.js": "10.6.0",
|
|
81
|
-
"uuid": "13.0.0"
|
|
85
|
+
"uuid": "13.0.0",
|
|
86
|
+
"zod": "^4.4.3"
|
|
82
87
|
},
|
|
83
88
|
"devDependencies": {
|
|
84
89
|
"@biomejs/biome": "^2.4.11",
|
|
85
90
|
"@changesets/cli": "2.29.8",
|
|
91
|
+
"@playwright/test": "1.60.0",
|
|
86
92
|
"@infisical/sdk": "^4.0.6",
|
|
87
93
|
"@ledgerhq/hw-app-aptos": "6.35.0",
|
|
88
94
|
"@ledgerhq/hw-transport-node-hid": "6.30.0",
|
|
89
95
|
"@thalalabs/surf": "1.9.3",
|
|
90
96
|
"@types/bun": "1.3.9",
|
|
91
97
|
"dotenv": "16.6.1",
|
|
98
|
+
"ts-to-zod": "^5.1.0",
|
|
92
99
|
"tsup": "8.5.1",
|
|
93
100
|
"typescript": "5.9.3"
|
|
94
101
|
}
|
|
95
|
-
}
|
|
102
|
+
}
|