@decibeltrade/sdk 0.4.0 → 0.4.1
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/abi/generate-abis.js +2 -2
- package/dist/abi/json/mainnet.json +2905 -0
- package/dist/abi/json/testnet.json +20 -9
- package/dist/base.d.ts.map +1 -1
- package/dist/base.js +4 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/write.d.ts +26 -0
- package/dist/write.d.ts.map +1 -1
- package/dist/write.js +39 -0
- package/package.json +1 -1
|
@@ -6,13 +6,13 @@ import { Aptos, AptosConfig, Network } from "@aptos-labs/ts-sdk";
|
|
|
6
6
|
import * as fs from "fs";
|
|
7
7
|
import * as path from "path";
|
|
8
8
|
import { fileURLToPath } from "url";
|
|
9
|
-
import { NETNA_CONFIG, TESTNET_CONFIG } from "../constants";
|
|
9
|
+
import { MAINNET_CONFIG, NETNA_CONFIG, TESTNET_CONFIG } from "../constants";
|
|
10
10
|
const __filename = fileURLToPath(import.meta.url);
|
|
11
11
|
const __dirname = path.dirname(__filename);
|
|
12
12
|
// @Todo: There should be a global config that takes care of config across all the packages and apps
|
|
13
13
|
// @Todo: Generate ABIs for all the networks as well, or as per global config depending upon how that will work
|
|
14
14
|
// Remove NETNA_CONFIG and use getSdkConfig() instead once we implement it as a global config
|
|
15
|
-
const CONFIGS = [NETNA_CONFIG, TESTNET_CONFIG];
|
|
15
|
+
const CONFIGS = [NETNA_CONFIG, TESTNET_CONFIG, MAINNET_CONFIG];
|
|
16
16
|
// All modules used in the SDK (extracted from source code analysis)
|
|
17
17
|
const SDK_MODULES = [
|
|
18
18
|
"admin_apis",
|