@medialane/sdk 0.142.0 → 0.144.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.
@@ -600,7 +600,7 @@ interface EmissionParams {
600
600
  chain?: "STARKNET";
601
601
  service: string;
602
602
  owner: string;
603
- recipientScheme?: string;
603
+ /** Recipient emails. */
604
604
  recipients: string[];
605
605
  tokenUri?: string;
606
606
  collectionId?: string;
@@ -1396,8 +1396,7 @@ declare class ApiClient {
1396
1396
  }>;
1397
1397
  registerBusinessProvisioning(params: {
1398
1398
  chain?: "STARKNET";
1399
- recipientScheme: "email";
1400
- recipientValue: string;
1399
+ email: string;
1401
1400
  }): Promise<ApiResponse<ApiBusinessProvisioning> & {
1402
1401
  reusedExistingWallet?: boolean;
1403
1402
  }>;
@@ -600,7 +600,7 @@ interface EmissionParams {
600
600
  chain?: "STARKNET";
601
601
  service: string;
602
602
  owner: string;
603
- recipientScheme?: string;
603
+ /** Recipient emails. */
604
604
  recipients: string[];
605
605
  tokenUri?: string;
606
606
  collectionId?: string;
@@ -1396,8 +1396,7 @@ declare class ApiClient {
1396
1396
  }>;
1397
1397
  registerBusinessProvisioning(params: {
1398
1398
  chain?: "STARKNET";
1399
- recipientScheme: "email";
1400
- recipientValue: string;
1399
+ email: string;
1401
1400
  }): Promise<ApiResponse<ApiBusinessProvisioning> & {
1402
1401
  reusedExistingWallet?: boolean;
1403
1402
  }>;
package/dist/index.cjs CHANGED
@@ -673,7 +673,7 @@ var ApiClient = class {
673
673
  registerBusinessProvisioning(params) {
674
674
  return this.post(
675
675
  "/v1/business/provisioning",
676
- { chain: params.chain ?? "STARKNET", recipientScheme: params.recipientScheme, recipientValue: params.recipientValue }
676
+ { chain: params.chain ?? "STARKNET", email: params.email }
677
677
  );
678
678
  }
679
679
  getCollectionProfile(contractAddress) {