@medialane/sdk 0.5.2 → 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.d.cts CHANGED
@@ -586,6 +586,8 @@ interface CreateRemixOfferParams {
586
586
  proposedPrice?: string;
587
587
  proposedCurrency?: string;
588
588
  message?: string;
589
+ /** Offer validity in days (server default applies if omitted) */
590
+ expiresInDays?: number;
589
591
  }
590
592
  interface AutoRemixOfferParams {
591
593
  originalContract: string;
@@ -761,6 +763,7 @@ declare class ApiClient {
761
763
  createCancelIntent(params: CancelOrderIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
762
764
  getIntent(id: string): Promise<ApiResponse<ApiIntent>>;
763
765
  submitIntentSignature(id: string, signature: string[]): Promise<ApiResponse<ApiIntent>>;
766
+ confirmIntent(id: string, txHash: string): Promise<ApiResponse<ApiIntent>>;
764
767
  createMintIntent(params: CreateMintIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
765
768
  createCollectionIntent(params: CreateCollectionIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
766
769
  /**
package/dist/index.d.ts CHANGED
@@ -586,6 +586,8 @@ interface CreateRemixOfferParams {
586
586
  proposedPrice?: string;
587
587
  proposedCurrency?: string;
588
588
  message?: string;
589
+ /** Offer validity in days (server default applies if omitted) */
590
+ expiresInDays?: number;
589
591
  }
590
592
  interface AutoRemixOfferParams {
591
593
  originalContract: string;
@@ -761,6 +763,7 @@ declare class ApiClient {
761
763
  createCancelIntent(params: CancelOrderIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
762
764
  getIntent(id: string): Promise<ApiResponse<ApiIntent>>;
763
765
  submitIntentSignature(id: string, signature: string[]): Promise<ApiResponse<ApiIntent>>;
766
+ confirmIntent(id: string, txHash: string): Promise<ApiResponse<ApiIntent>>;
764
767
  createMintIntent(params: CreateMintIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
765
768
  createCollectionIntent(params: CreateCollectionIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
766
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
  }