@tatumio/tron 2.0.1-alpha.341 → 2.0.1-alpha.344
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,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tatumio/tron",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.344",
|
|
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.344",
|
|
10
|
+
"@tatumio/api-client": "2.0.1-alpha.344",
|
|
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.344",
|
|
14
|
+
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.344",
|
|
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.344",
|
|
17
|
+
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.344",
|
|
18
18
|
"ethereumjs-wallet": "^1.0.2",
|
|
19
19
|
"bip39": "^3.0.2",
|
|
20
20
|
"web3": "^1.7.4",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TransferTron } from '@tatumio/api-client';
|
|
2
|
-
import {
|
|
2
|
+
import { FromPrivateKeyOrSignatureId } from '@tatumio/shared-blockchain-abstract';
|
|
3
3
|
import { Blockchain } from '@tatumio/shared-core';
|
|
4
4
|
import { ITronWeb } from './tron.web';
|
|
5
5
|
export declare enum TrcType {
|
|
6
6
|
TRC10 = "TRC10",
|
|
7
7
|
TRC20 = "TRC20"
|
|
8
8
|
}
|
|
9
|
-
declare type TransferVirtualAccountTron =
|
|
9
|
+
declare type TransferVirtualAccountTron = FromPrivateKeyOrSignatureId<TransferTron>;
|
|
10
10
|
declare type VirtualAccountResponse = {
|
|
11
11
|
id?: string;
|
|
12
12
|
txId?: string;
|
package/src/lib/tron.sdk.d.ts
CHANGED
|
@@ -221,9 +221,9 @@ export declare const TatumTronSDK: (args: SDKArguments) => {
|
|
|
221
221
|
virtualAccount: {
|
|
222
222
|
send: (body: Omit<import("@tatumio/api-client").TransferTron, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
|
|
223
223
|
index: number;
|
|
224
|
-
}> & Partial<{
|
|
224
|
+
}> & Partial<Pick<import("@tatumio/api-client").TransferTron, "fromPrivateKey">> & Partial<{
|
|
225
225
|
mnemonic: string;
|
|
226
|
-
}>
|
|
226
|
+
}>) => Promise<(void | {
|
|
227
227
|
id?: string;
|
|
228
228
|
txId?: string;
|
|
229
229
|
completed?: boolean;
|