ault-sdk-ts 0.4.0 → 0.4.2
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/README.md +1 -1
- package/dist/core/network.d.ts +1 -0
- package/dist/index.cjs +20 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +20 -11
- package/dist/index.js.map +1 -1
- package/dist/ws/types.d.ts +15 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -347,7 +347,11 @@ var NETWORKS = {
|
|
|
347
347
|
rpcUrl: "https://mainnet-rpc-proxy.aultblockchain.xyz/cosmos-rpc",
|
|
348
348
|
restUrl: "https://mainnet-rpc-proxy.aultblockchain.xyz/rest",
|
|
349
349
|
evmRpcUrl: "https://mainnet-rpc-proxy.aultblockchain.xyz/evm",
|
|
350
|
+
// Plaintext h2c on 9090; the TLS endpoint (mainnet-grpc.cloud) needs IP whitelisting.
|
|
351
|
+
grpcUrl: "http://main-grpc.cloud.aultblockchain.xyz:9090",
|
|
350
352
|
explorerUrl: "https://ault.explorer.orynt.tech",
|
|
353
|
+
dexApiUrl: "https://am-api.cloud.aultblockchain.xyz",
|
|
354
|
+
dexWsUrl: "wss://am-api.cloud.aultblockchain.xyz/ws",
|
|
351
355
|
isProduction: true
|
|
352
356
|
},
|
|
353
357
|
"ault_10904-1": {
|
|
@@ -358,30 +362,35 @@ var NETWORKS = {
|
|
|
358
362
|
rpcUrl: "https://test-rpc.cloud.aultblockchain.xyz",
|
|
359
363
|
restUrl: "https://test-api.cloud.aultblockchain.xyz",
|
|
360
364
|
evmRpcUrl: "https://test-json-rpc.cloud.aultblockchain.xyz",
|
|
365
|
+
grpcUrl: "https://test-grpc.cloud.aultblockchain.xyz",
|
|
361
366
|
explorerUrl: "https://ault-testnet.explorer.orynt.tech",
|
|
362
367
|
dexApiUrl: "https://test-dex-api.cloud.aultblockchain.xyz",
|
|
368
|
+
dexWsUrl: "wss://test-dex-api.cloud.aultblockchain.xyz/ws",
|
|
363
369
|
isProduction: false
|
|
364
370
|
},
|
|
365
|
-
"
|
|
371
|
+
"devnet_30904-1": {
|
|
366
372
|
name: "Ault Devnet",
|
|
367
373
|
type: "devnet",
|
|
368
|
-
chainId: "
|
|
369
|
-
evmChainId:
|
|
370
|
-
rpcUrl: "https://devnet-rpc.aultblockchain.xyz",
|
|
371
|
-
restUrl: "https://devnet-api.aultblockchain.xyz",
|
|
372
|
-
evmRpcUrl: "https://devnet-json-rpc.aultblockchain.xyz",
|
|
374
|
+
chainId: "devnet_30904-1",
|
|
375
|
+
evmChainId: 30904,
|
|
376
|
+
rpcUrl: "https://devnet-rpc.cloud.aultblockchain.xyz",
|
|
377
|
+
restUrl: "https://devnet-api.cloud.aultblockchain.xyz",
|
|
378
|
+
evmRpcUrl: "https://devnet-json-rpc.cloud.aultblockchain.xyz",
|
|
379
|
+
grpcUrl: "https://devnet-grpc.cloud.aultblockchain.xyz",
|
|
373
380
|
explorerUrl: "https://devnet-cosmos-explorer.aultblockchain.xyz",
|
|
374
|
-
dexApiUrl: "https://
|
|
381
|
+
dexApiUrl: "https://devnet-dex-api.cloud.aultblockchain.xyz",
|
|
382
|
+
dexWsUrl: "wss://devnet-dex-api.cloud.aultblockchain.xyz/ws",
|
|
375
383
|
isProduction: false
|
|
376
384
|
},
|
|
377
|
-
"
|
|
385
|
+
"ault_40904-1": {
|
|
378
386
|
name: "Ault Localnet",
|
|
379
387
|
type: "localnet",
|
|
380
|
-
chainId: "
|
|
381
|
-
evmChainId:
|
|
388
|
+
chainId: "ault_40904-1",
|
|
389
|
+
evmChainId: 40904,
|
|
382
390
|
rpcUrl: "http://localhost:26657",
|
|
383
391
|
restUrl: "http://localhost:1317",
|
|
384
392
|
evmRpcUrl: "http://localhost:8545",
|
|
393
|
+
grpcUrl: "http://localhost:9090",
|
|
385
394
|
dexApiUrl: "http://localhost:8080",
|
|
386
395
|
isProduction: false
|
|
387
396
|
}
|
|
@@ -26135,7 +26144,7 @@ function createDexWs(url, options) {
|
|
|
26135
26144
|
}
|
|
26136
26145
|
|
|
26137
26146
|
// src/index.ts
|
|
26138
|
-
var SDK_VERSION = "0.4.
|
|
26147
|
+
var SDK_VERSION = "0.4.2";
|
|
26139
26148
|
export {
|
|
26140
26149
|
AGENT_DEFAULTS,
|
|
26141
26150
|
AULT_SIGNER_MARKER,
|