@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.
- package/README.md +1 -1
- package/dist/{errors-CKO_JGDP.d.ts → errors-BKaHnCOI.d.ts} +1 -27
- package/dist/{errors-BfiX06G4.d.cts → errors-CAKnNI3N.d.cts} +1 -27
- package/dist/index.cjs +0 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +0 -14
- package/dist/index.js.map +1 -1
- package/dist/starknet/index.cjs +0 -14
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +2 -2
- package/dist/starknet/index.d.ts +2 -2
- package/dist/starknet/index.js +0 -14
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
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';
|
package/dist/starknet/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
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';
|
package/dist/starknet/index.js
CHANGED
|
@@ -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",
|