@paysponge/sdk 0.1.20 → 0.1.25
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 +4 -3
- package/dist/api/generated/openapi/apis/default-api.d.ts +65 -0
- package/dist/api/generated/openapi/apis/default-api.d.ts.map +1 -1
- package/dist/api/generated/openapi/apis/default-api.js +64 -0
- package/dist/api/generated/openapi/apis/default-api.js.map +1 -1
- package/dist/api/transactions.d.ts +6 -1
- package/dist/api/transactions.d.ts.map +1 -1
- package/dist/api/transactions.js +24 -1
- package/dist/api/transactions.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +579 -93
- package/dist/cli.js.map +1 -1
- package/dist/client.d.ts +7 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +6 -0
- package/dist/client.js.map +1 -1
- package/dist/tools/definitions.d.ts.map +1 -1
- package/dist/tools/definitions.js +37 -1
- package/dist/tools/definitions.js.map +1 -1
- package/dist/tools/executor.d.ts.map +1 -1
- package/dist/tools/executor.js +18 -0
- package/dist/tools/executor.js.map +1 -1
- package/dist/types/schemas.d.ts +23 -3
- package/dist/types/schemas.d.ts.map +1 -1
- package/dist/types/schemas.js +8 -1
- package/dist/types/schemas.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -183,9 +183,10 @@ npx spongewallet init --email alice@example.com
|
|
|
183
183
|
npx spongewallet login
|
|
184
184
|
|
|
185
185
|
# Curated wallet workflows
|
|
186
|
-
npx spongewallet
|
|
187
|
-
npx spongewallet
|
|
188
|
-
npx spongewallet
|
|
186
|
+
npx spongewallet balance
|
|
187
|
+
npx spongewallet send base 0xabc... USDC 10
|
|
188
|
+
npx spongewallet swap tempo pathUSD USDC.e 1
|
|
189
|
+
npx spongewallet tx status base 0x123...
|
|
189
190
|
|
|
190
191
|
# Raw tool commands remain available under "advanced"
|
|
191
192
|
npx spongewallet advanced get-balance --chain base
|
|
@@ -114,6 +114,9 @@ export interface DefaultApiGetApiAgentsByIdHyperliquidOrdersRequest {
|
|
|
114
114
|
export interface DefaultApiGetApiAgentsByIdHyperliquidPositionsRequest {
|
|
115
115
|
id: string;
|
|
116
116
|
}
|
|
117
|
+
export interface DefaultApiGetApiAgentsByIdInstructionsPendingRequest {
|
|
118
|
+
id: string;
|
|
119
|
+
}
|
|
117
120
|
export interface DefaultApiGetApiAgentsByIdPaymentMethodsRequest {
|
|
118
121
|
id: string;
|
|
119
122
|
}
|
|
@@ -360,6 +363,10 @@ export interface DefaultApiPostApiAgentsByIdInstructionsOperationRequest {
|
|
|
360
363
|
id: string;
|
|
361
364
|
postApiAgentsByIdInstructionsRequest: PostApiAgentsByIdInstructionsRequest;
|
|
362
365
|
}
|
|
366
|
+
export interface DefaultApiPostApiAgentsByIdInstructionsByInstructionIdApprovedRequest {
|
|
367
|
+
id: string;
|
|
368
|
+
instructionId: string;
|
|
369
|
+
}
|
|
363
370
|
export interface DefaultApiPostApiAgentsByIdInstructionsByInstructionIdCredentialsOperationRequest {
|
|
364
371
|
id: string;
|
|
365
372
|
instructionId: string;
|
|
@@ -1569,6 +1576,24 @@ export interface DefaultApiInterface {
|
|
|
1569
1576
|
/**
|
|
1570
1577
|
*/
|
|
1571
1578
|
getApiAgentsByIdHyperliquidPositions(requestParameters: DefaultApiGetApiAgentsByIdHyperliquidPositionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1579
|
+
/**
|
|
1580
|
+
* Creates request options for getApiAgentsByIdInstructionsPending without sending the request
|
|
1581
|
+
* @param {string} id
|
|
1582
|
+
* @throws {RequiredError}
|
|
1583
|
+
* @memberof DefaultApiInterface
|
|
1584
|
+
*/
|
|
1585
|
+
getApiAgentsByIdInstructionsPendingRequestOpts(requestParameters: DefaultApiGetApiAgentsByIdInstructionsPendingRequest): Promise<runtime.RequestOpts>;
|
|
1586
|
+
/**
|
|
1587
|
+
*
|
|
1588
|
+
* @param {string} id
|
|
1589
|
+
* @param {*} [options] Override http request option.
|
|
1590
|
+
* @throws {RequiredError}
|
|
1591
|
+
* @memberof DefaultApiInterface
|
|
1592
|
+
*/
|
|
1593
|
+
getApiAgentsByIdInstructionsPendingRaw(requestParameters: DefaultApiGetApiAgentsByIdInstructionsPendingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1594
|
+
/**
|
|
1595
|
+
*/
|
|
1596
|
+
getApiAgentsByIdInstructionsPending(requestParameters: DefaultApiGetApiAgentsByIdInstructionsPendingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1572
1597
|
/**
|
|
1573
1598
|
* Creates request options for getApiAgentsByIdPaymentMethods without sending the request
|
|
1574
1599
|
* @param {string} id
|
|
@@ -3085,6 +3110,26 @@ export interface DefaultApiInterface {
|
|
|
3085
3110
|
/**
|
|
3086
3111
|
*/
|
|
3087
3112
|
postApiAgentsByIdInstructions(requestParameters: DefaultApiPostApiAgentsByIdInstructionsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
3113
|
+
/**
|
|
3114
|
+
* Creates request options for postApiAgentsByIdInstructionsByInstructionIdApproved without sending the request
|
|
3115
|
+
* @param {string} id
|
|
3116
|
+
* @param {string} instructionId
|
|
3117
|
+
* @throws {RequiredError}
|
|
3118
|
+
* @memberof DefaultApiInterface
|
|
3119
|
+
*/
|
|
3120
|
+
postApiAgentsByIdInstructionsByInstructionIdApprovedRequestOpts(requestParameters: DefaultApiPostApiAgentsByIdInstructionsByInstructionIdApprovedRequest): Promise<runtime.RequestOpts>;
|
|
3121
|
+
/**
|
|
3122
|
+
*
|
|
3123
|
+
* @param {string} id
|
|
3124
|
+
* @param {string} instructionId
|
|
3125
|
+
* @param {*} [options] Override http request option.
|
|
3126
|
+
* @throws {RequiredError}
|
|
3127
|
+
* @memberof DefaultApiInterface
|
|
3128
|
+
*/
|
|
3129
|
+
postApiAgentsByIdInstructionsByInstructionIdApprovedRaw(requestParameters: DefaultApiPostApiAgentsByIdInstructionsByInstructionIdApprovedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
3130
|
+
/**
|
|
3131
|
+
*/
|
|
3132
|
+
postApiAgentsByIdInstructionsByInstructionIdApproved(requestParameters: DefaultApiPostApiAgentsByIdInstructionsByInstructionIdApprovedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
3088
3133
|
/**
|
|
3089
3134
|
* Creates request options for postApiAgentsByIdInstructionsByInstructionIdCredentials without sending the request
|
|
3090
3135
|
* @param {string} id
|
|
@@ -5460,6 +5505,16 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
5460
5505
|
/**
|
|
5461
5506
|
*/
|
|
5462
5507
|
getApiAgentsByIdHyperliquidPositions(requestParameters: DefaultApiGetApiAgentsByIdHyperliquidPositionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
5508
|
+
/**
|
|
5509
|
+
* Creates request options for getApiAgentsByIdInstructionsPending without sending the request
|
|
5510
|
+
*/
|
|
5511
|
+
getApiAgentsByIdInstructionsPendingRequestOpts(requestParameters: DefaultApiGetApiAgentsByIdInstructionsPendingRequest): Promise<runtime.RequestOpts>;
|
|
5512
|
+
/**
|
|
5513
|
+
*/
|
|
5514
|
+
getApiAgentsByIdInstructionsPendingRaw(requestParameters: DefaultApiGetApiAgentsByIdInstructionsPendingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
5515
|
+
/**
|
|
5516
|
+
*/
|
|
5517
|
+
getApiAgentsByIdInstructionsPending(requestParameters: DefaultApiGetApiAgentsByIdInstructionsPendingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
5463
5518
|
/**
|
|
5464
5519
|
* Creates request options for getApiAgentsByIdPaymentMethods without sending the request
|
|
5465
5520
|
*/
|
|
@@ -6250,6 +6305,16 @@ export declare class DefaultApi extends runtime.BaseAPI implements DefaultApiInt
|
|
|
6250
6305
|
/**
|
|
6251
6306
|
*/
|
|
6252
6307
|
postApiAgentsByIdInstructions(requestParameters: DefaultApiPostApiAgentsByIdInstructionsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
6308
|
+
/**
|
|
6309
|
+
* Creates request options for postApiAgentsByIdInstructionsByInstructionIdApproved without sending the request
|
|
6310
|
+
*/
|
|
6311
|
+
postApiAgentsByIdInstructionsByInstructionIdApprovedRequestOpts(requestParameters: DefaultApiPostApiAgentsByIdInstructionsByInstructionIdApprovedRequest): Promise<runtime.RequestOpts>;
|
|
6312
|
+
/**
|
|
6313
|
+
*/
|
|
6314
|
+
postApiAgentsByIdInstructionsByInstructionIdApprovedRaw(requestParameters: DefaultApiPostApiAgentsByIdInstructionsByInstructionIdApprovedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
6315
|
+
/**
|
|
6316
|
+
*/
|
|
6317
|
+
postApiAgentsByIdInstructionsByInstructionIdApproved(requestParameters: DefaultApiPostApiAgentsByIdInstructionsByInstructionIdApprovedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
6253
6318
|
/**
|
|
6254
6319
|
* Creates request options for postApiAgentsByIdInstructionsByInstructionIdCredentials without sending the request
|
|
6255
6320
|
*/
|