@t402/wdk 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/adapters/index.d.ts +1 -1
- package/dist/cjs/adapters/svm-adapter.d.ts +1 -1
- package/dist/cjs/adapters/ton-adapter.d.ts +1 -1
- package/dist/cjs/adapters/tron-adapter.d.ts +1 -1
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/{types-V7c-qhn6.d.ts → types-C1S0k-2w.d.ts} +1 -1
- package/dist/esm/adapters/index.d.mts +1 -1
- package/dist/esm/adapters/svm-adapter.d.mts +1 -1
- package/dist/esm/adapters/ton-adapter.d.mts +1 -1
- package/dist/esm/adapters/tron-adapter.d.mts +1 -1
- package/dist/esm/index.d.mts +2 -2
- package/dist/esm/{types-V7c-qhn6.d.mts → types-C1S0k-2w.d.mts} +1 -1
- package/package.json +17 -17
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { WDKTonSignerAdapter, createWDKTonSigner } from './ton-adapter.js';
|
|
2
2
|
export { WDKSvmSignerAdapter, createWDKSvmSigner } from './svm-adapter.js';
|
|
3
3
|
export { WDKTronSignerAdapter, createWDKTronSigner } from './tron-adapter.js';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-C1S0k-2w.js';
|
|
5
5
|
import 'viem';
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Address } from 'viem';
|
|
2
|
-
import { c as WDKInstance, d as WDKConstructor, e as WDKModulesConfig, f as WDKWalletModules, g as WDKProtocolModules, T as T402WDKCreateConfig, h as T402WDKConfig, F as FromWDKOptions, i as T402WDKOptions, G as GetAllSignersOptions, S as SignerEntry, N as NormalizedChainConfig, C as ChainFamily, j as ChainBalance, A as AggregatedBalance, B as BridgeParams, k as BridgeResult, l as SwapQuote, m as SwapParams, n as SwapResult, E as EvmChainConfig } from './types-
|
|
3
|
-
export { M as MultiChainConfig,
|
|
2
|
+
import { c as WDKInstance, d as WDKConstructor, e as WDKModulesConfig, f as WDKWalletModules, g as WDKProtocolModules, T as T402WDKCreateConfig, h as T402WDKConfig, F as FromWDKOptions, i as T402WDKOptions, G as GetAllSignersOptions, S as SignerEntry, N as NormalizedChainConfig, C as ChainFamily, j as ChainBalance, A as AggregatedBalance, B as BridgeParams, k as BridgeResult, l as SwapQuote, m as SwapParams, n as SwapResult, E as EvmChainConfig } from './types-C1S0k-2w.js';
|
|
3
|
+
export { M as MultiChainConfig, o as SvmChainConfig, p as T402BalanceCacheConfig, q as T402WDKSigner, r as TokenBalance, s as TonChainConfig, t as TronChainConfig, u as TypedDataDomain, v as TypedDataTypes, w as WDKAccount, x as WDKInstanceMultiChain, W as WDKSolanaAccount, a as WDKTonAccount, b as WDKTronAccount, y as WdkAccount } from './types-C1S0k-2w.js';
|
|
4
4
|
import { ClientTonSigner } from './adapters/ton-adapter.js';
|
|
5
5
|
export { SignMessageParams as TonSignMessageParams, WDKTonSignerAdapter, createWDKTonSigner } from './adapters/ton-adapter.js';
|
|
6
6
|
import { TransactionSigner } from './adapters/svm-adapter.js';
|
|
@@ -486,4 +486,4 @@ interface SwapParams {
|
|
|
486
486
|
maxSlippage?: number;
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export type { AggregatedBalance as A, BridgeParams as B, ChainFamily as C, EvmChainConfig as E, FromWDKOptions as F, GetAllSignersOptions as G, MultiChainConfig as M, NormalizedChainConfig as N, SignerEntry as S, T402WDKCreateConfig as T, WDKSolanaAccount as W, WDKTonAccount as a, WDKTronAccount as b, WDKInstance as c, WDKConstructor as d, WDKModulesConfig as e, WDKWalletModules as f, WDKProtocolModules as g, T402WDKConfig as h, T402WDKOptions as i, ChainBalance as j, BridgeResult as k, SwapQuote as l, SwapParams as m, SwapResult as n,
|
|
489
|
+
export type { AggregatedBalance as A, BridgeParams as B, ChainFamily as C, EvmChainConfig as E, FromWDKOptions as F, GetAllSignersOptions as G, MultiChainConfig as M, NormalizedChainConfig as N, SignerEntry as S, T402WDKCreateConfig as T, WDKSolanaAccount as W, WDKTonAccount as a, WDKTronAccount as b, WDKInstance as c, WDKConstructor as d, WDKModulesConfig as e, WDKWalletModules as f, WDKProtocolModules as g, T402WDKConfig as h, T402WDKOptions as i, ChainBalance as j, BridgeResult as k, SwapQuote as l, SwapParams as m, SwapResult as n, SvmChainConfig as o, T402BalanceCacheConfig as p, T402WDKSigner as q, TokenBalance as r, TonChainConfig as s, TronChainConfig as t, TypedDataDomain as u, TypedDataTypes as v, WDKAccount as w, WDKInstanceMultiChain as x, WdkAccount as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { WDKTonSignerAdapter, createWDKTonSigner } from './ton-adapter.mjs';
|
|
2
2
|
export { WDKSvmSignerAdapter, createWDKSvmSigner } from './svm-adapter.mjs';
|
|
3
3
|
export { WDKTronSignerAdapter, createWDKTronSigner } from './tron-adapter.mjs';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-C1S0k-2w.mjs';
|
|
5
5
|
import 'viem';
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Address } from 'viem';
|
|
2
|
-
import { c as WDKInstance, d as WDKConstructor, e as WDKModulesConfig, f as WDKWalletModules, g as WDKProtocolModules, T as T402WDKCreateConfig, h as T402WDKConfig, F as FromWDKOptions, i as T402WDKOptions, G as GetAllSignersOptions, S as SignerEntry, N as NormalizedChainConfig, C as ChainFamily, j as ChainBalance, A as AggregatedBalance, B as BridgeParams, k as BridgeResult, l as SwapQuote, m as SwapParams, n as SwapResult, E as EvmChainConfig } from './types-
|
|
3
|
-
export { M as MultiChainConfig,
|
|
2
|
+
import { c as WDKInstance, d as WDKConstructor, e as WDKModulesConfig, f as WDKWalletModules, g as WDKProtocolModules, T as T402WDKCreateConfig, h as T402WDKConfig, F as FromWDKOptions, i as T402WDKOptions, G as GetAllSignersOptions, S as SignerEntry, N as NormalizedChainConfig, C as ChainFamily, j as ChainBalance, A as AggregatedBalance, B as BridgeParams, k as BridgeResult, l as SwapQuote, m as SwapParams, n as SwapResult, E as EvmChainConfig } from './types-C1S0k-2w.mjs';
|
|
3
|
+
export { M as MultiChainConfig, o as SvmChainConfig, p as T402BalanceCacheConfig, q as T402WDKSigner, r as TokenBalance, s as TonChainConfig, t as TronChainConfig, u as TypedDataDomain, v as TypedDataTypes, w as WDKAccount, x as WDKInstanceMultiChain, W as WDKSolanaAccount, a as WDKTonAccount, b as WDKTronAccount, y as WdkAccount } from './types-C1S0k-2w.mjs';
|
|
4
4
|
import { ClientTonSigner } from './adapters/ton-adapter.mjs';
|
|
5
5
|
export { SignMessageParams as TonSignMessageParams, WDKTonSignerAdapter, createWDKTonSigner } from './adapters/ton-adapter.mjs';
|
|
6
6
|
import { TransactionSigner } from './adapters/svm-adapter.mjs';
|
|
@@ -486,4 +486,4 @@ interface SwapParams {
|
|
|
486
486
|
maxSlippage?: number;
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export type { AggregatedBalance as A, BridgeParams as B, ChainFamily as C, EvmChainConfig as E, FromWDKOptions as F, GetAllSignersOptions as G, MultiChainConfig as M, NormalizedChainConfig as N, SignerEntry as S, T402WDKCreateConfig as T, WDKSolanaAccount as W, WDKTonAccount as a, WDKTronAccount as b, WDKInstance as c, WDKConstructor as d, WDKModulesConfig as e, WDKWalletModules as f, WDKProtocolModules as g, T402WDKConfig as h, T402WDKOptions as i, ChainBalance as j, BridgeResult as k, SwapQuote as l, SwapParams as m, SwapResult as n,
|
|
489
|
+
export type { AggregatedBalance as A, BridgeParams as B, ChainFamily as C, EvmChainConfig as E, FromWDKOptions as F, GetAllSignersOptions as G, MultiChainConfig as M, NormalizedChainConfig as N, SignerEntry as S, T402WDKCreateConfig as T, WDKSolanaAccount as W, WDKTonAccount as a, WDKTronAccount as b, WDKInstance as c, WDKConstructor as d, WDKModulesConfig as e, WDKWalletModules as f, WDKProtocolModules as g, T402WDKConfig as h, T402WDKOptions as i, ChainBalance as j, BridgeResult as k, SwapQuote as l, SwapParams as m, SwapResult as n, SvmChainConfig as o, T402BalanceCacheConfig as p, T402WDKSigner as q, TokenBalance as r, TonChainConfig as s, TronChainConfig as t, TypedDataDomain as u, TypedDataTypes as v, WDKAccount as w, WDKInstanceMultiChain as x, WdkAccount as y };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t402/wdk",
|
|
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",
|
|
@@ -19,32 +19,32 @@
|
|
|
19
19
|
"repository": "https://github.com/t402-io/t402",
|
|
20
20
|
"description": "T402 Payment Protocol integration with Tether Wallet Development Kit (WDK)",
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@eslint/js": "^9.
|
|
23
|
-
"@ledgerhq/hw-app-eth": "^7.
|
|
24
|
-
"@ledgerhq/hw-transport-web-ble": "^6.
|
|
25
|
-
"@ledgerhq/hw-transport-webhid": "^6.
|
|
26
|
-
"@ledgerhq/hw-transport-webusb": "^6.
|
|
22
|
+
"@eslint/js": "^9.39.2",
|
|
23
|
+
"@ledgerhq/hw-app-eth": "^7.3.2",
|
|
24
|
+
"@ledgerhq/hw-transport-web-ble": "^6.31.0",
|
|
25
|
+
"@ledgerhq/hw-transport-webhid": "^6.31.0",
|
|
26
|
+
"@ledgerhq/hw-transport-webusb": "^6.30.0",
|
|
27
27
|
"@trezor/connect": "^9.7.1",
|
|
28
|
-
"@types/node": "^25.2.
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
30
|
-
"@typescript-eslint/parser": "^8.
|
|
28
|
+
"@types/node": "^25.2.2",
|
|
29
|
+
"@typescript-eslint/eslint-plugin": "^8.55.0",
|
|
30
|
+
"@typescript-eslint/parser": "^8.55.0",
|
|
31
31
|
"@vitest/coverage-v8": "^3.2.4",
|
|
32
32
|
"eslint": "^9.24.0",
|
|
33
33
|
"eslint-plugin-import": "^2.31.0",
|
|
34
|
-
"eslint-plugin-jsdoc": "^62.5.
|
|
35
|
-
"eslint-plugin-prettier": "^5.
|
|
34
|
+
"eslint-plugin-jsdoc": "^62.5.4",
|
|
35
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
36
36
|
"glob": "^13.0.0",
|
|
37
|
-
"prettier": "3.
|
|
38
|
-
"tsup": "^8.
|
|
37
|
+
"prettier": "3.8.1",
|
|
38
|
+
"tsup": "^8.5.1",
|
|
39
39
|
"tsx": "^4.21.0",
|
|
40
|
-
"typescript": "^5.
|
|
40
|
+
"typescript": "^5.9.3",
|
|
41
41
|
"vite": "^7.3.1",
|
|
42
|
-
"vite-tsconfig-paths": "^
|
|
42
|
+
"vite-tsconfig-paths": "^6.1.0",
|
|
43
43
|
"vitest": "^3.2.4"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@t402/core": "2.
|
|
47
|
-
"@t402/evm": "2.
|
|
46
|
+
"@t402/core": "2.5.0",
|
|
47
|
+
"@t402/evm": "2.5.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"viem": "^2.0.0",
|