@typus/typus-sdk 1.8.24 → 1.8.25
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/src/utils/pyth/constant.js +3 -2
- package/package.json +52 -52
|
@@ -45,7 +45,7 @@ exports.priceIDs = {
|
|
|
45
45
|
XRP: "0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8",
|
|
46
46
|
xBTC: "0xae8f269ed9c4bed616c99a98cf6dfe562bd3202e7f91821a471ff854713851b4",
|
|
47
47
|
TBTC: "0x56a3121958b01f99fdc4e1fd01e81050602c7ace3a571918bb55c6a96657cca9",
|
|
48
|
-
BNB: "0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f"
|
|
48
|
+
BNB: "0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f",
|
|
49
49
|
},
|
|
50
50
|
TESTNET: {
|
|
51
51
|
// Pyth EVM Beta
|
|
@@ -85,6 +85,7 @@ exports.priceIDs = {
|
|
|
85
85
|
XAU: "0x30a19158f5a54c0adf8fb7560627343f22a1bc852b89d56be1accdc5dbf96d0e",
|
|
86
86
|
TBTC: "0xed1b51d4fb17e8c8b54a0c5bdbd59b38a0304d032287eb38d907374f16b5f535",
|
|
87
87
|
BNB: "0xecf553770d9b10965f8fb64771e93f5690a182edc32be4a3236e0caaa6e0581a",
|
|
88
|
+
xBTC: "0xfd5464ac394d347958864c8a93dc71f2be56a5943fefc459a0074dc314b415d8",
|
|
88
89
|
},
|
|
89
90
|
};
|
|
90
91
|
exports.priceInfoObjectIds = {
|
|
@@ -118,7 +119,7 @@ exports.priceInfoObjectIds = {
|
|
|
118
119
|
XRP: "0x93bfda25cb6b1653a9c769e8216014bd2c06997f3edb479566761fbf2abf6ac2",
|
|
119
120
|
xBTC: "0xa4b9db1866ee6e2a156e8c36fc66be0f68f232388ebb578c949c2c6beb50128b",
|
|
120
121
|
JPY: "0xde0e6088e7292f50738ecbdebd4502415d4f8de4cfe001918e29b3f4faf15baa",
|
|
121
|
-
BNB: "0x9c6e77f0ecfc46aac395e21c52ccb96518f85acacae743c5b47f4ca5e29826c3"
|
|
122
|
+
BNB: "0x9c6e77f0ecfc46aac395e21c52ccb96518f85acacae743c5b47f4ca5e29826c3",
|
|
122
123
|
},
|
|
123
124
|
TESTNET: {
|
|
124
125
|
SUI: "0x1ebb295c789cc42b3b2a1606482cd1c7124076a0f5676718501fda8c7fd075a0",
|
package/package.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
2
|
+
"name": "@typus/typus-sdk",
|
|
3
|
+
"author": "Typus",
|
|
4
|
+
"description": "typus sdk",
|
|
5
|
+
"version": "1.8.25",
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@mysten/bcs": "^1.6.1",
|
|
8
|
+
"@mysten/kiosk": "^0.12.6",
|
|
9
|
+
"@mysten/sui": "^1.30.0",
|
|
10
|
+
"@pythnetwork/pyth-sui-js": "^2.2.0",
|
|
11
|
+
"@shinami/clients": "^0.9.6",
|
|
12
|
+
"@types/node": "^20.5.7",
|
|
13
|
+
"bignumber.js": "^9.1.2",
|
|
14
|
+
"camelcase-keys-deep": "^0.1.0",
|
|
15
|
+
"crypto-js": "^4.2.0",
|
|
16
|
+
"dotenv": "^16.4.7",
|
|
17
|
+
"lodash": "^4.17.21",
|
|
18
|
+
"moment": "^2.30.1",
|
|
19
|
+
"node-rsa": "^1.1.1"
|
|
20
|
+
},
|
|
21
|
+
"resolutions": {
|
|
22
|
+
"@mysten/sui": "^1.30.0"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@types/camelcase-keys-deep": "^0.1.2",
|
|
26
|
+
"@types/crypto-js": "^4.2.2",
|
|
27
|
+
"@types/node-rsa": "^1.1.4",
|
|
28
|
+
"prettier": "^3.0.0",
|
|
29
|
+
"slack": "^11.0.2",
|
|
30
|
+
"tsc-alias": "^1.8.10",
|
|
31
|
+
"tsconfig-paths": "^4.2.0",
|
|
32
|
+
"typescript": "^5.1.6"
|
|
33
|
+
},
|
|
34
|
+
"main": "dist/src/index.js",
|
|
35
|
+
"types": "dist/src/index.d.ts",
|
|
36
|
+
"files": [
|
|
37
|
+
"dist"
|
|
38
|
+
],
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json && tsc-alias",
|
|
41
|
+
"test": "rm -rf dist && tsc -p tsconfig.build.json && ts-mocha test/test*.ts",
|
|
42
|
+
"publish": "yarn build && npm publish"
|
|
43
|
+
},
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "git+https://github.com/Typus-Lab/typus-sdk.git"
|
|
47
|
+
},
|
|
48
|
+
"license": "ISC",
|
|
49
|
+
"bugs": {
|
|
50
|
+
"url": "https://github.com/Typus-Lab/typus-sdk/issues"
|
|
51
|
+
},
|
|
52
|
+
"homepage": "https://github.com/Typus-Lab/typus-sdk#readme",
|
|
53
|
+
"packageManager": "yarn@4.10.3+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f"
|
|
54
54
|
}
|