@ritbit/v4-client-js 2.1.6 → 2.1.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ritbit/v4-client-js",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "General client library for the new RITBIT Chain",
5
5
  "main": "build/cjs/src/index.js",
6
6
  "module": "build/esm/src/index.js",
@@ -83,7 +83,7 @@
83
83
  "@types/ffi-napi": "^4.0.4",
84
84
  "@types/jest": "^30.0.0",
85
85
  "@types/lodash": "^4.17.21",
86
- "@types/node": "^20.3.1",
86
+ "@types/node": "^20.19.27",
87
87
  "@types/ws": "8.5.4",
88
88
  "@typescript-eslint/eslint-plugin": "v5.42.0",
89
89
  "@typescript-eslint/parser": "v5.42.0",
@@ -12,8 +12,8 @@ if [ $? -eq 0 ]; then
12
12
  # git config --global user.name "gitlab_actions"
13
13
 
14
14
  # Get version and tag
15
- # git tag ritbit-client-js@${VERSION}
16
- # git push --tags
15
+ git tag ritbit-client-js@${VERSION}
16
+ git push --tags
17
17
 
18
18
  npm publish
19
19
  else
@@ -20,28 +20,28 @@ export const MAINNET_CHAIN_ID = 'ritbit-mainnet';
20
20
 
21
21
  // ------------ API URLs ------------
22
22
  export enum IndexerApiHost {
23
- TESTNET = 'https://indexer.testnet.ritbit.trade/',
24
- STAGING = 'https://indexer.testnet.ritbit.trade/',
23
+ TESTNET = 'https://indexer.testnet.tyranodex.xyz/',
24
+ STAGING = 'https://indexer.testnet.tyranodex.xyz/',
25
25
  LOCAL = 'http://local.ritbit.ru:3002',
26
- MAINNET = 'https://indexer.ritbit.trade',
26
+ MAINNET = 'https://indexer.tyranodex.xyz',
27
27
  }
28
28
 
29
29
  export enum IndexerWSHost {
30
- TESTNET = 'wss://indexer.testnet.ritbit.trade/v4/ws',
31
- STAGING = 'wss://indexer.testnet.ritbit.trade/v4/ws',
30
+ TESTNET = 'wss://indexer.testnet.tyranodex.xyz/v4/ws',
31
+ STAGING = 'wss://indexer.testnet.tyranodex.xyz/v4/ws',
32
32
  LOCAL = 'ws://local.ritbit.ru:3003',
33
- MAINNET = 'wss://indexer.ritbit.trade/v4/ws',
33
+ MAINNET = 'wss://indexer.tyranodex.xyz/v4/ws',
34
34
  }
35
35
 
36
36
  export enum FaucetApiHost {
37
- TESTNET = 'https://faucet.testnet.ritbit.trade',
37
+ TESTNET = 'https://faucet.testnet.tyranodex.xyz',
38
38
  }
39
39
 
40
40
  export enum ValidatorApiHost {
41
- TESTNET = 'https://validator.testnet.ritbit.trade',
42
- STAGING = 'https://validator.testnet.ritbit.trade',
41
+ TESTNET = 'https://rpc.testnet.tyranodex.xyz',
42
+ STAGING = 'https://rpc.testnet.tyranodex.xyz',
43
43
  LOCAL = 'http://local.ritbit.ru:26657',
44
- MAINNET = 'https://validator.ritbit.trade',
44
+ MAINNET = 'https://rpc.tyranodex.xyz',
45
45
  }
46
46
 
47
47
  // ------------ Network IDs ------------
@@ -287,7 +287,7 @@ export class Network {
287
287
  TESTNET_CHAIN_ID,
288
288
  {
289
289
  CHAINTOKEN_DENOM: 'urit',
290
- USDC_DENOM: 'ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5',
290
+ USDC_DENOM: 'uusdc',
291
291
  USDC_GAS_DENOM: 'uusdc',
292
292
  USDC_DECIMALS: 6,
293
293
  CHAINTOKEN_DECIMALS: 18,
@@ -305,7 +305,7 @@ export class Network {
305
305
  STAGING_CHAIN_ID,
306
306
  {
307
307
  CHAINTOKEN_DENOM: 'urit',
308
- USDC_DENOM: 'ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5',
308
+ USDC_DENOM: 'uusdc',
309
309
  USDC_GAS_DENOM: 'uusdc',
310
310
  USDC_DECIMALS: 6,
311
311
  CHAINTOKEN_DECIMALS: 18,
@@ -323,7 +323,7 @@ export class Network {
323
323
  LOCAL_CHAIN_ID,
324
324
  {
325
325
  CHAINTOKEN_DENOM: 'urit',
326
- USDC_DENOM: 'ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5',
326
+ USDC_DENOM: 'uusdc',
327
327
  USDC_GAS_DENOM: 'uusdc',
328
328
  USDC_DECIMALS: 6,
329
329
  CHAINTOKEN_DECIMALS: 18,
@@ -341,7 +341,7 @@ export class Network {
341
341
  MAINNET_CHAIN_ID,
342
342
  {
343
343
  CHAINTOKEN_DENOM: 'urit',
344
- USDC_DENOM: 'ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5',
344
+ USDC_DENOM: 'uusdc',
345
345
  USDC_GAS_DENOM: 'uusdc',
346
346
  USDC_DECIMALS: 6,
347
347
  CHAINTOKEN_DECIMALS: 18,