@medialane/sdk 0.154.0 → 0.155.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.
@@ -1,5 +1,5 @@
1
- import { bF as ResolvedConfig, bN as TxResult, a_ as CreatePopCollectionParams, aL as ClaimConditions, aW as CreateDropParams, b3 as CreateTicketParams, bp as MintTicketsParams, aY as CreateMembershipParams, bo as MintMembershipsParams, b1 as CreateSponsorshipOfferParams, bC as ProposeSponsorshipParams, k as ApiClient, bm as MedialaneConfig, bn as MedialaneErrorCode, bu as OrderDetails, R as ResolvedFeeConfig, I as ApiFundingIntent, H as ApiFundingInstructions, L as ApiFundingSubmit, N as ApiIntentCreated, bV as SealedOwner, bW as ReceiptProviderLike, bX as WalletExecutor, bY as ExecutedTransaction, bZ as PasskeyOwner, b_ as CreatedOwner } from '../errors-BfiX06G4.cjs';
2
- export { b$ as InvalidRecoveryKeyError, c0 as OwnerSigner, bx as PasskeyCancelledError, c1 as PasskeyConfig, c2 as RecoveryKey, bP as UserFacingError, c3 as createPasskeyOwner, c4 as encodeRecoveryKey, c5 as parseRecoveryKey } from '../errors-BfiX06G4.cjs';
1
+ import { bC as ResolvedConfig, bJ as TxResult, aY as CreatePopCollectionParams, aJ as ClaimConditions, aU as CreateDropParams, b1 as CreateTicketParams, bm as MintTicketsParams, aW as CreateMembershipParams, bl as MintMembershipsParams, a$ as CreateSponsorshipOfferParams, bz as ProposeSponsorshipParams, k as ApiClient, bj as MedialaneConfig, bk as MedialaneErrorCode, br as OrderDetails, R as ResolvedFeeConfig, I as ApiFundingIntent, H as ApiFundingInstructions, L as ApiFundingSubmit, N as ApiIntentCreated, bP as SealedOwner, bQ as ReceiptProviderLike, bR as WalletExecutor, bS as ExecutedTransaction, bT as PasskeyOwner, bU as CreatedOwner } from '../errors-CAKnNI3N.cjs';
2
+ export { bV as InvalidRecoveryKeyError, bW as OwnerSigner, bu as PasskeyCancelledError, bX as PasskeyConfig, bY as RecoveryKey, bL as UserFacingError, bZ as createPasskeyOwner, b_ as encodeRecoveryKey, b$ as parseRecoveryKey } from '../errors-CAKnNI3N.cjs';
3
3
  import { AccountInterface, Call, ProviderInterface, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
4
4
  import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-CO6YYHVA.cjs';
5
5
  import 'zod';
@@ -1,5 +1,5 @@
1
- import { bF as ResolvedConfig, bN as TxResult, a_ as CreatePopCollectionParams, aL as ClaimConditions, aW as CreateDropParams, b3 as CreateTicketParams, bp as MintTicketsParams, aY as CreateMembershipParams, bo as MintMembershipsParams, b1 as CreateSponsorshipOfferParams, bC as ProposeSponsorshipParams, k as ApiClient, bm as MedialaneConfig, bn as MedialaneErrorCode, bu as OrderDetails, R as ResolvedFeeConfig, I as ApiFundingIntent, H as ApiFundingInstructions, L as ApiFundingSubmit, N as ApiIntentCreated, bV as SealedOwner, bW as ReceiptProviderLike, bX as WalletExecutor, bY as ExecutedTransaction, bZ as PasskeyOwner, b_ as CreatedOwner } from '../errors-CKO_JGDP.js';
2
- export { b$ as InvalidRecoveryKeyError, c0 as OwnerSigner, bx as PasskeyCancelledError, c1 as PasskeyConfig, c2 as RecoveryKey, bP as UserFacingError, c3 as createPasskeyOwner, c4 as encodeRecoveryKey, c5 as parseRecoveryKey } from '../errors-CKO_JGDP.js';
1
+ import { bC as ResolvedConfig, bJ as TxResult, aY as CreatePopCollectionParams, aJ as ClaimConditions, aU as CreateDropParams, b1 as CreateTicketParams, bm as MintTicketsParams, aW as CreateMembershipParams, bl as MintMembershipsParams, a$ as CreateSponsorshipOfferParams, bz as ProposeSponsorshipParams, k as ApiClient, bj as MedialaneConfig, bk as MedialaneErrorCode, br as OrderDetails, R as ResolvedFeeConfig, I as ApiFundingIntent, H as ApiFundingInstructions, L as ApiFundingSubmit, N as ApiIntentCreated, bP as SealedOwner, bQ as ReceiptProviderLike, bR as WalletExecutor, bS as ExecutedTransaction, bT as PasskeyOwner, bU as CreatedOwner } from '../errors-BKaHnCOI.js';
2
+ export { bV as InvalidRecoveryKeyError, bW as OwnerSigner, bu as PasskeyCancelledError, bX as PasskeyConfig, bY as RecoveryKey, bL as UserFacingError, bZ as createPasskeyOwner, b_ as encodeRecoveryKey, b$ as parseRecoveryKey } from '../errors-BKaHnCOI.js';
3
3
  import { AccountInterface, Call, ProviderInterface, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
4
4
  import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-CO6YYHVA.js';
5
5
  import 'zod';
@@ -318,9 +318,6 @@ var ApiClient = class {
318
318
  patch(path, body) {
319
319
  return this.request(path, { method: "PATCH", body: JSON.stringify(body) });
320
320
  }
321
- del(path) {
322
- return this.request(path, { method: "DELETE" });
323
- }
324
321
  bearer(siwsToken) {
325
322
  return { Authorization: `Bearer ${siwsToken}` };
326
323
  }
@@ -612,17 +609,6 @@ var ApiClient = class {
612
609
  headers: this.asSubject(siwsToken)
613
610
  });
614
611
  }
615
- getWebhooks() {
616
- return this.get("/v1/portal/webhooks");
617
- }
618
- createWebhook(params) {
619
- return this.post("/v1/portal/webhooks", params);
620
- }
621
- deleteWebhook(id) {
622
- return this.del(
623
- `/v1/portal/webhooks/${id}`
624
- );
625
- }
626
612
  async claimCollection(contractAddress, walletAddress, siwsToken) {
627
613
  return this.request("/v1/collections/claim", {
628
614
  method: "POST",