@t2000/sdk 0.23.0 → 0.28.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 -0
- 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 +27 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -5
- package/dist/index.d.ts +11 -5
- package/dist/index.js +27 -1
- package/dist/index.js.map +1 -1
- package/dist/{token-registry-DDy743E6.d.cts → token-registry-BYEXDwjs.d.cts} +1 -1
- package/dist/{token-registry-Bv1I9qeU.d.ts → token-registry-CX_RDDO_.d.ts} +1 -1
- package/dist/{types-DT-3gVTX.d.cts → types-D9NstGUu.d.cts} +13 -1
- package/dist/{types-DT-3gVTX.d.ts → types-D9NstGUu.d.ts} +13 -1
- package/package.json +1 -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-D9NstGUu.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-D9NstGUu.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Abstract signing interface that decouples the SDK from any specific
|
|
@@ -123,6 +123,18 @@ interface DepositInfo {
|
|
|
123
123
|
supportedAssets: string[];
|
|
124
124
|
instructions: string;
|
|
125
125
|
}
|
|
126
|
+
interface PaymentRequest {
|
|
127
|
+
address: string;
|
|
128
|
+
network: string;
|
|
129
|
+
amount: number | null;
|
|
130
|
+
currency: string;
|
|
131
|
+
memo: string | null;
|
|
132
|
+
label: string | null;
|
|
133
|
+
/** URI suitable for QR code encoding (e.g. sui:0x...?amount=50¤cy=USDC&memo=Coffee) */
|
|
134
|
+
qrUri: string;
|
|
135
|
+
/** Human-readable summary */
|
|
136
|
+
displayText: string;
|
|
137
|
+
}
|
|
126
138
|
interface TransactionRecord {
|
|
127
139
|
digest: string;
|
|
128
140
|
action: string;
|
|
@@ -266,4 +278,4 @@ interface FinancialSummary {
|
|
|
266
278
|
fetchedAt: number;
|
|
267
279
|
}
|
|
268
280
|
|
|
269
|
-
export type { AssetRates as A, BalanceResponse as B, ClaimRewardsResult as C, DepositInfo as D, EarningsResult as E, FundStatusResult as F, GasMethod as G, HealthFactorResult as H, MaxBorrowResult as M, PayOptions as P, RatesResult as R, SaveResult as S, TransactionRecord as T, UnstakeVSuiResult as U, WithdrawResult as W, BorrowResult as a, GasReserve as b, MaxWithdrawResult as c, PayResult as d, PendingReward as e, PositionEntry as f, PositionsResult as g, RepayResult as h, SendResult as i, T2000Options as j, StakeVSuiResult as k, SwapResult as l, SwapQuoteResult as m,
|
|
281
|
+
export type { AssetRates as A, BalanceResponse as B, ClaimRewardsResult as C, DepositInfo as D, EarningsResult as E, FundStatusResult as F, GasMethod as G, HealthFactorResult as H, MaxBorrowResult as M, PayOptions as P, RatesResult as R, SaveResult as S, TransactionRecord as T, UnstakeVSuiResult as U, WithdrawResult as W, BorrowResult as a, GasReserve as b, MaxWithdrawResult as c, PayResult as d, PendingReward as e, PositionEntry as f, PositionsResult as g, RepayResult as h, SendResult as i, T2000Options as j, StakeVSuiResult as k, SwapResult as l, SwapQuoteResult as m, PaymentRequest as n, AllowanceInfo as o, FinancialSummary as p, AllowanceCreateResult as q, AllowanceDeductResult as r, AllowanceDepositResult as s, AllowanceWithdrawResult as t, HFAlertLevel as u };
|
|
@@ -123,6 +123,18 @@ interface DepositInfo {
|
|
|
123
123
|
supportedAssets: string[];
|
|
124
124
|
instructions: string;
|
|
125
125
|
}
|
|
126
|
+
interface PaymentRequest {
|
|
127
|
+
address: string;
|
|
128
|
+
network: string;
|
|
129
|
+
amount: number | null;
|
|
130
|
+
currency: string;
|
|
131
|
+
memo: string | null;
|
|
132
|
+
label: string | null;
|
|
133
|
+
/** URI suitable for QR code encoding (e.g. sui:0x...?amount=50¤cy=USDC&memo=Coffee) */
|
|
134
|
+
qrUri: string;
|
|
135
|
+
/** Human-readable summary */
|
|
136
|
+
displayText: string;
|
|
137
|
+
}
|
|
126
138
|
interface TransactionRecord {
|
|
127
139
|
digest: string;
|
|
128
140
|
action: string;
|
|
@@ -266,4 +278,4 @@ interface FinancialSummary {
|
|
|
266
278
|
fetchedAt: number;
|
|
267
279
|
}
|
|
268
280
|
|
|
269
|
-
export type { AssetRates as A, BalanceResponse as B, ClaimRewardsResult as C, DepositInfo as D, EarningsResult as E, FundStatusResult as F, GasMethod as G, HealthFactorResult as H, MaxBorrowResult as M, PayOptions as P, RatesResult as R, SaveResult as S, TransactionRecord as T, UnstakeVSuiResult as U, WithdrawResult as W, BorrowResult as a, GasReserve as b, MaxWithdrawResult as c, PayResult as d, PendingReward as e, PositionEntry as f, PositionsResult as g, RepayResult as h, SendResult as i, T2000Options as j, StakeVSuiResult as k, SwapResult as l, SwapQuoteResult as m,
|
|
281
|
+
export type { AssetRates as A, BalanceResponse as B, ClaimRewardsResult as C, DepositInfo as D, EarningsResult as E, FundStatusResult as F, GasMethod as G, HealthFactorResult as H, MaxBorrowResult as M, PayOptions as P, RatesResult as R, SaveResult as S, TransactionRecord as T, UnstakeVSuiResult as U, WithdrawResult as W, BorrowResult as a, GasReserve as b, MaxWithdrawResult as c, PayResult as d, PendingReward as e, PositionEntry as f, PositionsResult as g, RepayResult as h, SendResult as i, T2000Options as j, StakeVSuiResult as k, SwapResult as l, SwapQuoteResult as m, PaymentRequest as n, AllowanceInfo as o, FinancialSummary as p, AllowanceCreateResult as q, AllowanceDeductResult as r, AllowanceDepositResult as s, AllowanceWithdrawResult as t, HFAlertLevel as u };
|