@medialane/sdk 0.5.3 → 0.5.4
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/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -763,6 +763,7 @@ declare class ApiClient {
|
|
|
763
763
|
createCancelIntent(params: CancelOrderIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
764
764
|
getIntent(id: string): Promise<ApiResponse<ApiIntent>>;
|
|
765
765
|
submitIntentSignature(id: string, signature: string[]): Promise<ApiResponse<ApiIntent>>;
|
|
766
|
+
confirmIntent(id: string, txHash: string): Promise<ApiResponse<ApiIntent>>;
|
|
766
767
|
createMintIntent(params: CreateMintIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
767
768
|
createCollectionIntent(params: CreateCollectionIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
768
769
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -763,6 +763,7 @@ declare class ApiClient {
|
|
|
763
763
|
createCancelIntent(params: CancelOrderIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
764
764
|
getIntent(id: string): Promise<ApiResponse<ApiIntent>>;
|
|
765
765
|
submitIntentSignature(id: string, signature: string[]): Promise<ApiResponse<ApiIntent>>;
|
|
766
|
+
confirmIntent(id: string, txHash: string): Promise<ApiResponse<ApiIntent>>;
|
|
766
767
|
createMintIntent(params: CreateMintIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
767
768
|
createCollectionIntent(params: CreateCollectionIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
|
|
768
769
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1139,6 +1139,9 @@ var ApiClient = class {
|
|
|
1139
1139
|
submitIntentSignature(id, signature) {
|
|
1140
1140
|
return this.patch(`/v1/intents/${id}/signature`, { signature });
|
|
1141
1141
|
}
|
|
1142
|
+
confirmIntent(id, txHash) {
|
|
1143
|
+
return this.patch(`/v1/intents/${id}/confirm`, { txHash });
|
|
1144
|
+
}
|
|
1142
1145
|
createMintIntent(params) {
|
|
1143
1146
|
return this.post("/v1/intents/mint", params);
|
|
1144
1147
|
}
|