@t402/ton 2.4.0 → 2.6.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/README.md CHANGED
@@ -83,7 +83,7 @@ registerExactTonFacilitatorScheme(facilitator, { signer })
83
83
  | Token | Network | Jetton Address |
84
84
  | ----- | ------- | -------------------------------------------------- |
85
85
  | USDT | Mainnet | `EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs` |
86
- | USDT | Testnet | `kQD0GKBM8ZbryVk2aESmzfU6b9b_8era_IkvBSELujFZPsyy` |
86
+ | USDT | Testnet | `kQD0GKBM8ZbryVk2aESmzfU6b9b_8era_IkvBSELujFZPsyy` |
87
87
 
88
88
  ## Token Utilities
89
89
 
@@ -1,6 +1,6 @@
1
1
  import { SchemeNetworkClient, PaymentRequirements, PaymentPayload, Network } from '@t402/core/types';
2
- import { C as ClientTonSigner } from '../../signer-Bqn2K0b4.js';
3
- import { t402Client, PaymentPolicy } from '@t402/core/client';
2
+ import { C as ClientTonSigner } from '../../signer-BCr73V5A.js';
3
+ import { PaymentPolicy, t402Client } from '@t402/core/client';
4
4
  import '@ton/core';
5
5
 
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { SchemeNetworkFacilitator, PaymentPayload, PaymentRequirements, VerifyResponse, SettleResponse, Network } from '@t402/core/types';
2
- import { F as FacilitatorTonSigner } from '../../signer-Bqn2K0b4.js';
2
+ import { F as FacilitatorTonSigner } from '../../signer-BCr73V5A.js';
3
3
  import { t402Facilitator } from '@t402/core/facilitator';
4
4
  import '@ton/core';
5
5
 
@@ -1,6 +1,6 @@
1
1
  export { ExactTonScheme, TonClientConfig, registerExactTonScheme as registerExactTonClientScheme } from './exact/client/index.js';
2
2
  export { TonResourceServerConfig, registerExactTonScheme as registerExactTonServerScheme } from './exact/server/index.js';
3
- export { C as ClientTonSigner, b as ExactTonPayload, E as ExactTonPayloadV2, F as FacilitatorTonSigner, S as SignMessageParams, T as TransactionConfirmation, V as VerifyMessageParams, c as VerifyMessageResult, W as WaitForTransactionParams, t as toClientTonSigner, a as toFacilitatorTonSigner } from './signer-Bqn2K0b4.js';
3
+ export { C as ClientTonSigner, E as ExactTonPayload, a as ExactTonPayloadV2, F as FacilitatorTonSigner, S as SignMessageParams, T as TransactionConfirmation, V as VerifyMessageParams, b as VerifyMessageResult, W as WaitForTransactionParams, t as toClientTonSigner, c as toFacilitatorTonSigner } from './signer-BCr73V5A.js';
4
4
  export { TonFacilitatorConfig, registerExactTonScheme as registerExactTonFacilitatorScheme } from './exact/facilitator/index.js';
5
5
  export { UptoTonAuthorization, UptoTonExtra, UptoTonPayload, isUptoTonPayload } from './upto/index.js';
6
6
  import { Address, Cell } from '@ton/core';
@@ -274,4 +274,4 @@ declare function toFacilitatorTonSigner(client: Omit<FacilitatorTonSigner, 'getA
274
274
  address: string;
275
275
  }): FacilitatorTonSigner;
276
276
 
277
- export { type ClientTonSigner as C, type ExactTonPayloadV2 as E, type FacilitatorTonSigner as F, type SignMessageParams as S, type TransactionConfirmation as T, type VerifyMessageParams as V, type WaitForTransactionParams as W, toFacilitatorTonSigner as a, type ExactTonPayload as b, type VerifyMessageResult as c, toClientTonSigner as t };
277
+ export { type ClientTonSigner as C, type ExactTonPayload as E, type FacilitatorTonSigner as F, type SignMessageParams as S, type TransactionConfirmation as T, type VerifyMessageParams as V, type WaitForTransactionParams as W, type ExactTonPayloadV2 as a, type VerifyMessageResult as b, toFacilitatorTonSigner as c, toClientTonSigner as t };
@@ -1,6 +1,6 @@
1
1
  import { SchemeNetworkClient, PaymentRequirements, PaymentPayload, Network } from '@t402/core/types';
2
- import { C as ClientTonSigner } from '../../signer-Bqn2K0b4.mjs';
3
- import { t402Client, PaymentPolicy } from '@t402/core/client';
2
+ import { C as ClientTonSigner } from '../../signer-BCr73V5A.mjs';
3
+ import { PaymentPolicy, t402Client } from '@t402/core/client';
4
4
  import '@ton/core';
5
5
 
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import { SchemeNetworkFacilitator, PaymentPayload, PaymentRequirements, VerifyResponse, SettleResponse, Network } from '@t402/core/types';
2
- import { F as FacilitatorTonSigner } from '../../signer-Bqn2K0b4.mjs';
2
+ import { F as FacilitatorTonSigner } from '../../signer-BCr73V5A.mjs';
3
3
  import { t402Facilitator } from '@t402/core/facilitator';
4
4
  import '@ton/core';
5
5
 
@@ -1,6 +1,6 @@
1
1
  export { ExactTonScheme, TonClientConfig, registerExactTonScheme as registerExactTonClientScheme } from './exact/client/index.mjs';
2
2
  export { TonResourceServerConfig, registerExactTonScheme as registerExactTonServerScheme } from './exact/server/index.mjs';
3
- export { C as ClientTonSigner, b as ExactTonPayload, E as ExactTonPayloadV2, F as FacilitatorTonSigner, S as SignMessageParams, T as TransactionConfirmation, V as VerifyMessageParams, c as VerifyMessageResult, W as WaitForTransactionParams, t as toClientTonSigner, a as toFacilitatorTonSigner } from './signer-Bqn2K0b4.mjs';
3
+ export { C as ClientTonSigner, E as ExactTonPayload, a as ExactTonPayloadV2, F as FacilitatorTonSigner, S as SignMessageParams, T as TransactionConfirmation, V as VerifyMessageParams, b as VerifyMessageResult, W as WaitForTransactionParams, t as toClientTonSigner, c as toFacilitatorTonSigner } from './signer-BCr73V5A.mjs';
4
4
  export { TonFacilitatorConfig, registerExactTonScheme as registerExactTonFacilitatorScheme } from './exact/facilitator/index.mjs';
5
5
  export { UptoTonAuthorization, UptoTonExtra, UptoTonPayload, isUptoTonPayload } from './upto/index.mjs';
6
6
  import { Address, Cell } from '@ton/core';
@@ -274,4 +274,4 @@ declare function toFacilitatorTonSigner(client: Omit<FacilitatorTonSigner, 'getA
274
274
  address: string;
275
275
  }): FacilitatorTonSigner;
276
276
 
277
- export { type ClientTonSigner as C, type ExactTonPayloadV2 as E, type FacilitatorTonSigner as F, type SignMessageParams as S, type TransactionConfirmation as T, type VerifyMessageParams as V, type WaitForTransactionParams as W, toFacilitatorTonSigner as a, type ExactTonPayload as b, type VerifyMessageResult as c, toClientTonSigner as t };
277
+ export { type ClientTonSigner as C, type ExactTonPayload as E, type FacilitatorTonSigner as F, type SignMessageParams as S, type TransactionConfirmation as T, type VerifyMessageParams as V, type WaitForTransactionParams as W, type ExactTonPayloadV2 as a, type VerifyMessageResult as b, toFacilitatorTonSigner as c, toClientTonSigner as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t402/ton",
3
- "version": "2.4.0",
3
+ "version": "2.6.0",
4
4
  "main": "./dist/cjs/index.js",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/cjs/index.d.ts",
@@ -14,31 +14,34 @@
14
14
  ],
15
15
  "license": "Apache-2.0",
16
16
  "author": "T402 Team",
17
- "repository": "https://github.com/t402-io/t402",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/t402-io/t402.git",
20
+ "directory": "sdks/typescript/packages/mechanisms/ton"
21
+ },
18
22
  "description": "t402 Payment Protocol TON Implementation",
19
23
  "devDependencies": {
20
- "@eslint/js": "^9.24.0",
21
- "@types/node": "^25.2.0",
22
- "@typescript-eslint/eslint-plugin": "^8.29.1",
23
- "@typescript-eslint/parser": "^8.29.1",
24
+ "@eslint/js": "^9.39.2",
25
+ "@types/node": "^25.2.3",
26
+ "@typescript-eslint/eslint-plugin": "^8.56.0",
27
+ "@typescript-eslint/parser": "^8.56.0",
24
28
  "eslint": "^9.24.0",
25
29
  "eslint-plugin-import": "^2.31.0",
26
- "eslint-plugin-jsdoc": "^62.5.0",
27
- "eslint-plugin-prettier": "^5.2.6",
28
- "glob": "^13.0.0",
29
- "prettier": "3.5.2",
30
- "tsup": "^8.4.0",
30
+ "eslint-plugin-jsdoc": "^62.6.0",
31
+ "eslint-plugin-prettier": "^5.5.5",
32
+ "glob": "^13.0.5",
33
+ "prettier": "3.8.1",
34
+ "tsup": "^8.5.1",
31
35
  "tsx": "^4.21.0",
32
- "typescript": "^5.7.3",
36
+ "typescript": "^5.9.3",
33
37
  "vite": "^7.3.1",
34
- "vite-tsconfig-paths": "^5.1.4",
38
+ "vite-tsconfig-paths": "^6.1.1",
35
39
  "vitest": "^3.2.4"
36
40
  },
37
41
  "dependencies": {
38
- "@ton/core": "^0.62.1",
39
- "@ton/crypto": "^3.2.0",
40
- "@ton/ton": "^16.1.0",
41
- "@t402/core": "2.4.0"
42
+ "@ton/core": "^0.63.1",
43
+ "@ton/ton": "^16.2.2",
44
+ "@t402/core": "2.6.0"
42
45
  },
43
46
  "exports": {
44
47
  ".": {
@@ -95,6 +98,10 @@
95
98
  "files": [
96
99
  "dist"
97
100
  ],
101
+ "homepage": "https://t402.io",
102
+ "publishConfig": {
103
+ "access": "public"
104
+ },
98
105
  "scripts": {
99
106
  "start": "tsx --env-file=.env index.ts",
100
107
  "build": "tsup",