@typus/typus-sdk 1.8.34 → 1.8.35
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.
|
@@ -194,6 +194,10 @@ function typeArgToAsset(typeArg) {
|
|
|
194
194
|
return "XRP";
|
|
195
195
|
case "0xb848cce11ef3a8f62eccea6eb5b35a12c4c2b1ee1af7755d02d7bd6218e8226f::coin::COIN": // MAINNET
|
|
196
196
|
return "BNB";
|
|
197
|
+
case "0x7460dd922537293115cb0b96bb8ce203ec7ef1747c471753c52b4dc68d9208b4::qqqx::QQQX": // MAINNET
|
|
198
|
+
return "QQQX";
|
|
199
|
+
case "0x2073b577f211f188eb243bfc97c7471fdc21980b7a445f1800327a8c687f3ce9::spyx::SPYX": // MAINNET
|
|
200
|
+
return "SPYX";
|
|
197
201
|
default:
|
|
198
202
|
throw new Error("Unknown typeArg: ".concat(typeArg));
|
|
199
203
|
}
|
|
@@ -221,6 +225,8 @@ function assetToDecimal(asset) {
|
|
|
221
225
|
case "XAU":
|
|
222
226
|
case "XAG":
|
|
223
227
|
case "USOIL":
|
|
228
|
+
case "QQQX":
|
|
229
|
+
case "SPYX":
|
|
224
230
|
return 9;
|
|
225
231
|
case "WBTC":
|
|
226
232
|
case "sbETH":
|
|
@@ -128,6 +128,8 @@ exports.priceInfoObjectIds = {
|
|
|
128
128
|
xBTC: "0xa4b9db1866ee6e2a156e8c36fc66be0f68f232388ebb578c949c2c6beb50128b",
|
|
129
129
|
JPY: "0xde0e6088e7292f50738ecbdebd4502415d4f8de4cfe001918e29b3f4faf15baa",
|
|
130
130
|
BNB: "0x9c6e77f0ecfc46aac395e21c52ccb96518f85acacae743c5b47f4ca5e29826c3",
|
|
131
|
+
SPYX: "0x6a2d53a802faee96b26f5fa86d9ccf05d58008e4f32c95985d12edb60f5e23ea",
|
|
132
|
+
QQQX: "0xcce836357b028bd85e866320f194980125b58e6117a2e86a24ed5c154df1e799"
|
|
131
133
|
},
|
|
132
134
|
TESTNET: {
|
|
133
135
|
SUI: "0x1ebb295c789cc42b3b2a1606482cd1c7124076a0f5676718501fda8c7fd075a0",
|
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.35",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@mysten/bcs": "^1.6.1",
|
|
8
8
|
"@mysten/kiosk": "^0.12.6",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"url": "https://github.com/Typus-Lab/typus-sdk/issues"
|
|
52
52
|
},
|
|
53
53
|
"homepage": "https://github.com/Typus-Lab/typus-sdk#readme",
|
|
54
|
-
"packageManager": "yarn@
|
|
54
|
+
"packageManager": "yarn@4.10.3+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f"
|
|
55
55
|
}
|