@tatumio/tron 2.0.1-alpha.324 → 2.0.1-alpha.326
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tatumio/tron",
|
3
|
-
"version": "2.0.1-alpha.
|
3
|
+
"version": "2.0.1-alpha.326",
|
4
4
|
"type": "commonjs",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "./src/index.js",
|
7
7
|
"types": "./src/index.d.ts",
|
8
8
|
"dependencies": {
|
9
|
-
"@tatumio/shared-testing-common": "2.0.1-alpha.
|
10
|
-
"@tatumio/api-client": "2.0.1-alpha.
|
9
|
+
"@tatumio/shared-testing-common": "2.0.1-alpha.326",
|
10
|
+
"@tatumio/api-client": "2.0.1-alpha.326",
|
11
11
|
"axios": "^0.26.0",
|
12
12
|
"form-data": "^4.0.0",
|
13
|
-
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.
|
14
|
-
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.
|
13
|
+
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.326",
|
14
|
+
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.326",
|
15
15
|
"bignumber.js": "^9.0.2",
|
16
|
-
"@tatumio/shared-core": "2.0.1-alpha.
|
17
|
-
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.
|
16
|
+
"@tatumio/shared-core": "2.0.1-alpha.326",
|
17
|
+
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.326",
|
18
18
|
"ethereumjs-wallet": "^1.0.2",
|
19
19
|
"bip39": "^3.0.2",
|
20
20
|
"web3": "^1.7.4",
|
@@ -23,7 +23,6 @@ const tronKmsService = (args) => {
|
|
23
23
|
}
|
24
24
|
const client = (0, tron_web_1.tronWeb)().getClient(provider);
|
25
25
|
const transactionConfig = JSON.parse(tx.serializedTransaction);
|
26
|
-
transactionConfig.nonce = yield client.wallet().nonce;
|
27
26
|
return JSON.stringify(yield client.trx.sign(transactionConfig, fromPrivateKey));
|
28
27
|
});
|
29
28
|
} });
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tron.kms.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/tron/src/lib/services/tron.kms.ts"],"names":[],"mappings":";;;;AAAA,oDAAkE;AAClE,oFAA2E;AAC3E,yCAAoC;AACpC,sFAAuE;AACvE,sEAA2D;AAGpD,MAAM,cAAc,GAAG,CAAC,IAAgC,EAAE,EAAE;IACjE,uCACK,IAAA,kDAAqB,EAAC,IAAI,CAAC;QAC9B;;;;;;WAMG;QACG,IAAI,CAAC,EAAsB,EAAE,cAAsB,EAAE,QAAiB;;gBAC1E,IAAI,EAAE,CAAC,KAAK,KAAK,qBAAQ,CAAC,IAAI,EAAE;oBAC9B,MAAM,IAAI,8CAAgB,CAAC,EAAE,IAAI,EAAE,kCAAY,CAAC,kBAAkB,EAAE,CAAC,CAAA;iBACtE;gBACD,MAAM,MAAM,GAAG,IAAA,kBAAO,GAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAA;gBAC5C,MAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAA;gBAC9D,
|
1
|
+
{"version":3,"file":"tron.kms.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/tron/src/lib/services/tron.kms.ts"],"names":[],"mappings":";;;;AAAA,oDAAkE;AAClE,oFAA2E;AAC3E,yCAAoC;AACpC,sFAAuE;AACvE,sEAA2D;AAGpD,MAAM,cAAc,GAAG,CAAC,IAAgC,EAAE,EAAE;IACjE,uCACK,IAAA,kDAAqB,EAAC,IAAI,CAAC;QAC9B;;;;;;WAMG;QACG,IAAI,CAAC,EAAsB,EAAE,cAAsB,EAAE,QAAiB;;gBAC1E,IAAI,EAAE,CAAC,KAAK,KAAK,qBAAQ,CAAC,IAAI,EAAE;oBAC9B,MAAM,IAAI,8CAAgB,CAAC,EAAE,IAAI,EAAE,kCAAY,CAAC,kBAAkB,EAAE,CAAC,CAAA;iBACtE;gBACD,MAAM,MAAM,GAAG,IAAA,kBAAO,GAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAA;gBAC5C,MAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAA;gBAC9D,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC,CAAA;YACjF,CAAC;SAAA,IACF;AACH,CAAC,CAAA;AAnBY,QAAA,cAAc,kBAmB1B"}
|
package/src/lib/tron.sdk.d.ts
CHANGED
@@ -191,4 +191,11 @@ export declare const TatumTronSDK: (args: SDKArguments) => {
|
|
191
191
|
freezeApiKey: typeof import("@tatumio/api-client").ServiceUtilsService.freezeApiKey;
|
192
192
|
unfreezeApiKey: typeof import("@tatumio/api-client").ServiceUtilsService.unfreezeApiKey;
|
193
193
|
};
|
194
|
+
custodialManagedWallet: {
|
195
|
+
transfer: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialTransferManagedAddress;
|
196
|
+
getAll: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialGetWallets;
|
197
|
+
create: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialCreateWallet;
|
198
|
+
delete: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialDeleteWallet;
|
199
|
+
get: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialGetWallet;
|
200
|
+
};
|
194
201
|
};
|