@t2000/sdk 0.36.4 → 0.37.1

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.
@@ -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-Clhh7dHT.cjs';
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-Clhh7dHT.js';
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
- /** URI suitable for QR code encoding (e.g. sui:0x...?amount=50&currency=USDC&memo=Coffee) */
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
- /** URI suitable for QR code encoding (e.g. sui:0x...?amount=50&currency=USDC&memo=Coffee) */
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.36.4",
3
+ "version": "0.37.1",
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",