@t2000/sdk 0.36.3 → 0.37.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 +1 -1
- package/dist/adapters/index.d.cts +1 -1
- package/dist/adapters/index.d.ts +1 -1
- package/dist/browser.d.cts +2 -2
- package/dist/browser.d.ts +2 -2
- package/dist/index.cjs +24 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +24 -7
- package/dist/index.js.map +1 -1
- package/dist/{token-registry-DGqUZaMz.d.cts → token-registry-DEZbGh2r.d.cts} +1 -1
- package/dist/{token-registry-9PgtYXoH.d.ts → token-registry-DkNy5t19.d.ts} +1 -1
- package/dist/{types-Clhh7dHT.d.cts → types-C6z5Pk_d.d.cts} +3 -1
- package/dist/{types-Clhh7dHT.d.ts → types-C6z5Pk_d.d.ts} +3 -1
- package/package.json +2 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ed25519Keypair } from '@mysten/sui/keypairs/ed25519';
|
|
2
2
|
import { SuiJsonRpcClient } from '@mysten/sui/jsonRpc';
|
|
3
3
|
import { Transaction, TransactionObjectArgument } from '@mysten/sui/transactions';
|
|
4
|
-
import { G as GasMethod } from './types-
|
|
4
|
+
import { G as GasMethod } from './types-C6z5Pk_d.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Abstract signing interface that decouples the SDK from any specific
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ed25519Keypair } from '@mysten/sui/keypairs/ed25519';
|
|
2
2
|
import { SuiJsonRpcClient } from '@mysten/sui/jsonRpc';
|
|
3
3
|
import { Transaction, TransactionObjectArgument } from '@mysten/sui/transactions';
|
|
4
|
-
import { G as GasMethod } from './types-
|
|
4
|
+
import { G as GasMethod } from './types-C6z5Pk_d.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Abstract signing interface that decouples the SDK from any specific
|
|
@@ -130,7 +130,9 @@ interface PaymentRequest {
|
|
|
130
130
|
currency: string;
|
|
131
131
|
memo: string | null;
|
|
132
132
|
label: string | null;
|
|
133
|
-
/**
|
|
133
|
+
/** Unique payment identifier (UUID) for Payment Kit registry */
|
|
134
|
+
nonce: string;
|
|
135
|
+
/** Payment Kit URI (sui:pay?...) for QR codes and wallet deep links */
|
|
134
136
|
qrUri: string;
|
|
135
137
|
/** Human-readable summary */
|
|
136
138
|
displayText: string;
|
|
@@ -130,7 +130,9 @@ interface PaymentRequest {
|
|
|
130
130
|
currency: string;
|
|
131
131
|
memo: string | null;
|
|
132
132
|
label: string | null;
|
|
133
|
-
/**
|
|
133
|
+
/** Unique payment identifier (UUID) for Payment Kit registry */
|
|
134
|
+
nonce: string;
|
|
135
|
+
/** Payment Kit URI (sui:pay?...) for QR codes and wallet deep links */
|
|
134
136
|
qrUri: string;
|
|
135
137
|
/** Human-readable summary */
|
|
136
138
|
displayText: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t2000/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"description": "TypeScript SDK for AI agent bank accounts on Sui — send, save, borrow, rebalance",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"homepage": "https://t2000.ai",
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@cetusprotocol/aggregator-sdk": "^1.4.8",
|
|
53
|
+
"@mysten/payment-kit": "^0.1.6",
|
|
53
54
|
"@mysten/sui": "^2.11.0",
|
|
54
55
|
"@mysten/zklogin": "^0.8.1",
|
|
55
56
|
"@naviprotocol/lending": "^1.4.0",
|