@t402/tron 2.4.0 → 2.5.0
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/cjs/exact/client/index.d.ts +2 -2
- package/dist/cjs/exact/facilitator/index.d.ts +1 -1
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/{signer-BB-HLs-P.d.ts → signer-iuJaSShT.d.ts} +1 -1
- package/dist/esm/exact/client/index.d.mts +2 -2
- package/dist/esm/exact/facilitator/index.d.mts +1 -1
- package/dist/esm/index.d.mts +2 -2
- package/dist/esm/{signer-BB-HLs-P.d.mts → signer-iuJaSShT.d.mts} +1 -1
- package/package.json +12 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SchemeNetworkClient, PaymentRequirements, PaymentPayload, Network } from '@t402/core/types';
|
|
2
|
-
import { C as ClientTronSigner } from '../../signer-
|
|
3
|
-
import {
|
|
2
|
+
import { C as ClientTronSigner } from '../../signer-iuJaSShT.js';
|
|
3
|
+
import { PaymentPolicy, t402Client } from '@t402/core/client';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* TRON Exact Payment Scheme - Client Implementation
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SchemeNetworkFacilitator, PaymentPayload, PaymentRequirements, VerifyResponse, SettleResponse, Network } from '@t402/core/types';
|
|
2
|
-
import { F as FacilitatorTronSigner } from '../../signer-
|
|
2
|
+
import { F as FacilitatorTronSigner } from '../../signer-iuJaSShT.js';
|
|
3
3
|
import { t402Facilitator } from '@t402/core/facilitator';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NetworkTRC20Registry, T as TRC20Config } from './signer-
|
|
2
|
-
export { C as ClientTronSigner, E as ExactTronPayload,
|
|
1
|
+
import { N as NetworkTRC20Registry, T as TRC20Config } from './signer-iuJaSShT.js';
|
|
2
|
+
export { C as ClientTronSigner, E as ExactTronPayload, a as ExactTronPayloadV2, F as FacilitatorTronSigner, b as TransactionConfirmation, c as TronAuthorization, V as VerifyMessageResult } from './signer-iuJaSShT.js';
|
|
3
3
|
export { ExactTronScheme as ExactTronClientScheme, ExactTronSchemeConfig as ExactTronClientSchemeConfig, TronClientConfig, registerExactTronScheme as registerExactTronClientScheme } from './exact/client/index.js';
|
|
4
4
|
export { ExactTronScheme as ExactTronServerScheme, ExactTronSchemeConfig as ExactTronServerSchemeConfig, TronResourceServerConfig, registerExactTronScheme as registerExactTronServerScheme } from './exact/server/index.js';
|
|
5
5
|
export { ExactTronScheme as ExactTronFacilitatorScheme, ExactTronSchemeConfig as ExactTronFacilitatorSchemeConfig, TronFacilitatorConfig, registerExactTronScheme as registerExactTronFacilitatorScheme } from './exact/facilitator/index.js';
|
|
@@ -258,4 +258,4 @@ type FacilitatorTronSigner = {
|
|
|
258
258
|
isActivated(address: string, network: string): Promise<boolean>;
|
|
259
259
|
};
|
|
260
260
|
|
|
261
|
-
export type { ClientTronSigner as C, ExactTronPayload as E, FacilitatorTronSigner as F, NetworkTRC20Registry as N, TRC20Config as T, VerifyMessageResult as V,
|
|
261
|
+
export type { ClientTronSigner as C, ExactTronPayload as E, FacilitatorTronSigner as F, NetworkTRC20Registry as N, TRC20Config as T, VerifyMessageResult as V, ExactTronPayloadV2 as a, TransactionConfirmation as b, TronAuthorization as c };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SchemeNetworkClient, PaymentRequirements, PaymentPayload, Network } from '@t402/core/types';
|
|
2
|
-
import { C as ClientTronSigner } from '../../signer-
|
|
3
|
-
import {
|
|
2
|
+
import { C as ClientTronSigner } from '../../signer-iuJaSShT.mjs';
|
|
3
|
+
import { PaymentPolicy, t402Client } from '@t402/core/client';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* TRON Exact Payment Scheme - Client Implementation
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SchemeNetworkFacilitator, PaymentPayload, PaymentRequirements, VerifyResponse, SettleResponse, Network } from '@t402/core/types';
|
|
2
|
-
import { F as FacilitatorTronSigner } from '../../signer-
|
|
2
|
+
import { F as FacilitatorTronSigner } from '../../signer-iuJaSShT.mjs';
|
|
3
3
|
import { t402Facilitator } from '@t402/core/facilitator';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NetworkTRC20Registry, T as TRC20Config } from './signer-
|
|
2
|
-
export { C as ClientTronSigner, E as ExactTronPayload,
|
|
1
|
+
import { N as NetworkTRC20Registry, T as TRC20Config } from './signer-iuJaSShT.mjs';
|
|
2
|
+
export { C as ClientTronSigner, E as ExactTronPayload, a as ExactTronPayloadV2, F as FacilitatorTronSigner, b as TransactionConfirmation, c as TronAuthorization, V as VerifyMessageResult } from './signer-iuJaSShT.mjs';
|
|
3
3
|
export { ExactTronScheme as ExactTronClientScheme, ExactTronSchemeConfig as ExactTronClientSchemeConfig, TronClientConfig, registerExactTronScheme as registerExactTronClientScheme } from './exact/client/index.mjs';
|
|
4
4
|
export { ExactTronScheme as ExactTronServerScheme, ExactTronSchemeConfig as ExactTronServerSchemeConfig, TronResourceServerConfig, registerExactTronScheme as registerExactTronServerScheme } from './exact/server/index.mjs';
|
|
5
5
|
export { ExactTronScheme as ExactTronFacilitatorScheme, ExactTronSchemeConfig as ExactTronFacilitatorSchemeConfig, TronFacilitatorConfig, registerExactTronScheme as registerExactTronFacilitatorScheme } from './exact/facilitator/index.mjs';
|
|
@@ -258,4 +258,4 @@ type FacilitatorTronSigner = {
|
|
|
258
258
|
isActivated(address: string, network: string): Promise<boolean>;
|
|
259
259
|
};
|
|
260
260
|
|
|
261
|
-
export type { ClientTronSigner as C, ExactTronPayload as E, FacilitatorTronSigner as F, NetworkTRC20Registry as N, TRC20Config as T, VerifyMessageResult as V,
|
|
261
|
+
export type { ClientTronSigner as C, ExactTronPayload as E, FacilitatorTronSigner as F, NetworkTRC20Registry as N, TRC20Config as T, VerifyMessageResult as V, ExactTronPayloadV2 as a, TransactionConfirmation as b, TronAuthorization as c };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t402/tron",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"main": "./dist/cjs/index.js",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -18,25 +18,25 @@
|
|
|
18
18
|
"repository": "https://github.com/t402-io/t402",
|
|
19
19
|
"description": "t402 Payment Protocol TRON Implementation",
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@eslint/js": "^9.
|
|
22
|
-
"@types/node": "^25.2.
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
24
|
-
"@typescript-eslint/parser": "^8.
|
|
21
|
+
"@eslint/js": "^9.39.2",
|
|
22
|
+
"@types/node": "^25.2.2",
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "^8.55.0",
|
|
24
|
+
"@typescript-eslint/parser": "^8.55.0",
|
|
25
25
|
"eslint": "^9.24.0",
|
|
26
26
|
"eslint-plugin-import": "^2.31.0",
|
|
27
|
-
"eslint-plugin-jsdoc": "^62.5.
|
|
28
|
-
"eslint-plugin-prettier": "^5.
|
|
27
|
+
"eslint-plugin-jsdoc": "^62.5.4",
|
|
28
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
29
29
|
"glob": "^13.0.0",
|
|
30
|
-
"prettier": "3.
|
|
31
|
-
"tsup": "^8.
|
|
30
|
+
"prettier": "3.8.1",
|
|
31
|
+
"tsup": "^8.5.1",
|
|
32
32
|
"tsx": "^4.21.0",
|
|
33
|
-
"typescript": "^5.
|
|
33
|
+
"typescript": "^5.9.3",
|
|
34
34
|
"vite": "^7.3.1",
|
|
35
|
-
"vite-tsconfig-paths": "^
|
|
35
|
+
"vite-tsconfig-paths": "^6.1.0",
|
|
36
36
|
"vitest": "^3.2.4"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@t402/core": "2.
|
|
39
|
+
"@t402/core": "2.5.0"
|
|
40
40
|
},
|
|
41
41
|
"exports": {
|
|
42
42
|
".": {
|