@typus/typus-sdk 1.8.25 → 1.8.27

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.
@@ -304,7 +304,7 @@ exports.tokenType = {
304
304
  XRP: "0x188faaaa44e6276295ab92fdd3eb353e5f25fc35b9d965a5b8243f336af65b78::xrp::XRP",
305
305
  sbBTC: "0xaafb102dd0902f5055cadecd687fb5b71ca82ef0e0285d90afde828ec58ca96b::btc::BTC",
306
306
  TBTC: "0x77045f1b9f811a7a8fb9ebd085b5b0c55c5cb0d1520ff55f7037f89b5da9f5f1::TBTC::TBTC",
307
- BNB: "0xb848cce11ef3a8f62eccea6eb5b35a12c4c2b1ee1af7755d02d7bd6218e8226f::coin::COIN"
307
+ BNB: "0xb848cce11ef3a8f62eccea6eb5b35a12c4c2b1ee1af7755d02d7bd6218e8226f::coin::COIN",
308
308
  },
309
309
  TESTNET: {
310
310
  SUI: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI",
@@ -357,7 +357,7 @@ exports.tokenType = {
357
357
  XRP: "",
358
358
  TBTC: "0xee81baea02ef47860153569bc2f86eafb58baa81aab4e5b910950a4c72aae861::tbtc::TBTC",
359
359
  sbBTC: "",
360
- BNB: ""
360
+ BNB: "",
361
361
  },
362
362
  };
363
363
  exports.oracle = {
@@ -420,6 +420,7 @@ exports.oracle = {
420
420
  XAU: "0x172101af6fbaab02b2663ed7c502152431fed5d76ac865ac3ccad134c92d91db",
421
421
  TBTC: "0x383cb3519e51c62d84ec54e2fca3438c43a83967738b364c20f0f2a662a668d5",
422
422
  sbETH: "0xdf6785f0fc35af5621c5a4d6e5056298fe34c3147dca871d8bb0fee6d1d8a536",
423
+ xBTC: "0x9cc058063456b99b0b579e2c8cddbeb4b850bd8b1eb8aad02dead97ceec8f9bb",
423
424
  },
424
425
  };
425
426
  exports.tokenRegistry = {
@@ -145,6 +145,7 @@ exports.priceInfoObjectIds = {
145
145
  BLUB: "0xdcd4cc5f06fac1ca72e8551ab1a2e847298afa6f19e370ad9891199a59d2c22e",
146
146
  JPY: "0xd14cadaf54a926f701db021eceaa89b3d09363e1bce51bfcb2291a32a693f928",
147
147
  XAU: "0x742d48ff1d7a45c91aee4ad4f0059396c28988f99074d4a191951ac086b90a5a",
148
+ xBTC: "0xb6c3b17fdda1eaa847e62c8d36a8dada35b010bb340fdb5a16d556f0fa37e59b",
148
149
  },
149
150
  };
150
151
  // Get the state IDs of the Pyth and Wormhole contracts from
package/package.json CHANGED
@@ -1,54 +1,54 @@
1
1
  {
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
- }
2
+ "name": "@typus/typus-sdk",
3
+ "author": "Typus",
4
+ "description": "typus sdk",
5
+ "version": "1.8.27",
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.3.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@1.22.19+sha512.ff4579ab459bb25aa7c0ff75b62acebe576f6084b36aa842971cf250a5d8c6cd3bc9420b22ce63c7f93a0857bc6ef29291db39c3e7a23aab5adfd5a4dd6c5d71"
54
+ }