@t2000/sdk 0.1.4 → 0.1.6
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 +10 -5
- package/dist/index.cjs +261 -330
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +0 -6
- package/dist/index.d.ts +0 -6
- package/dist/index.js +261 -330
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -201,7 +201,6 @@ declare class T2000 extends EventEmitter<T2000Events> {
|
|
|
201
201
|
private readonly keypair;
|
|
202
202
|
private readonly client;
|
|
203
203
|
private readonly _address;
|
|
204
|
-
private _lastGasMethod;
|
|
205
204
|
private constructor();
|
|
206
205
|
static create(options?: T2000Options): Promise<T2000>;
|
|
207
206
|
static fromPrivateKey(privateKey: string, options?: {
|
|
@@ -219,11 +218,6 @@ declare class T2000 extends EventEmitter<T2000Events> {
|
|
|
219
218
|
address: string;
|
|
220
219
|
sponsored: boolean;
|
|
221
220
|
}>;
|
|
222
|
-
/**
|
|
223
|
-
* Ensure the agent has enough SUI for gas.
|
|
224
|
-
* If SUI is low and USDC is available, auto-swaps $1 USDC → SUI.
|
|
225
|
-
*/
|
|
226
|
-
private ensureGas;
|
|
227
221
|
/** SuiClient used by this agent — exposed for x402 and other integrations. */
|
|
228
222
|
get suiClient(): SuiClient;
|
|
229
223
|
/** Ed25519Keypair used by this agent — exposed for x402 and other integrations. */
|
package/dist/index.d.ts
CHANGED
|
@@ -201,7 +201,6 @@ declare class T2000 extends EventEmitter<T2000Events> {
|
|
|
201
201
|
private readonly keypair;
|
|
202
202
|
private readonly client;
|
|
203
203
|
private readonly _address;
|
|
204
|
-
private _lastGasMethod;
|
|
205
204
|
private constructor();
|
|
206
205
|
static create(options?: T2000Options): Promise<T2000>;
|
|
207
206
|
static fromPrivateKey(privateKey: string, options?: {
|
|
@@ -219,11 +218,6 @@ declare class T2000 extends EventEmitter<T2000Events> {
|
|
|
219
218
|
address: string;
|
|
220
219
|
sponsored: boolean;
|
|
221
220
|
}>;
|
|
222
|
-
/**
|
|
223
|
-
* Ensure the agent has enough SUI for gas.
|
|
224
|
-
* If SUI is low and USDC is available, auto-swaps $1 USDC → SUI.
|
|
225
|
-
*/
|
|
226
|
-
private ensureGas;
|
|
227
221
|
/** SuiClient used by this agent — exposed for x402 and other integrations. */
|
|
228
222
|
get suiClient(): SuiClient;
|
|
229
223
|
/** Ed25519Keypair used by this agent — exposed for x402 and other integrations. */
|