@typus/typus-sdk 1.8.38 → 1.8.39
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.
|
@@ -198,6 +198,10 @@ function typeArgToAsset(typeArg) {
|
|
|
198
198
|
return "QQQX";
|
|
199
199
|
case "0x2073b577f211f188eb243bfc97c7471fdc21980b7a445f1800327a8c687f3ce9::spyx::SPYX": // MAINNET
|
|
200
200
|
return "SPYX";
|
|
201
|
+
case "0x37d108f2d4bf75f748dbca15d1bbc35d277d3ca121c1b60d43ee01c77053a316::nvdax::NVDAX": // MAINNET
|
|
202
|
+
return "NVDAX";
|
|
203
|
+
case "0xa3a202cf7aa8b28f4c6d8a29e4a62ab530093eb7ac69f67dffda01bf30c47b20::tslax::TSLAX": // MAINNET
|
|
204
|
+
return "TSLAX";
|
|
201
205
|
default:
|
|
202
206
|
throw new Error("Unknown typeArg: ".concat(typeArg));
|
|
203
207
|
}
|
|
@@ -227,6 +231,8 @@ function assetToDecimal(asset) {
|
|
|
227
231
|
case "USOIL":
|
|
228
232
|
case "QQQX":
|
|
229
233
|
case "SPYX":
|
|
234
|
+
case "NVDAX":
|
|
235
|
+
case "TSLAX":
|
|
230
236
|
return 9;
|
|
231
237
|
case "WBTC":
|
|
232
238
|
case "sbETH":
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@typus/typus-sdk",
|
|
3
3
|
"author": "Typus",
|
|
4
4
|
"description": "typus sdk",
|
|
5
|
-
"version": "1.8.
|
|
5
|
+
"version": "1.8.39",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@mysten/bcs": "^1.6.1",
|
|
8
8
|
"@mysten/kiosk": "^0.12.6",
|
|
@@ -52,4 +52,4 @@
|
|
|
52
52
|
},
|
|
53
53
|
"homepage": "https://github.com/Typus-Lab/typus-sdk#readme",
|
|
54
54
|
"packageManager": "yarn@4.10.3+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f"
|
|
55
|
-
}
|
|
55
|
+
}
|