@medialane/sdk 0.132.0 → 0.134.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/dist/{errors-JkeKc3cu.d.cts → errors-BpiH1lap.d.cts} +1 -12
- package/dist/{errors-HTG0DcWa.d.ts → errors-BsiYot6M.d.ts} +1 -12
- package/dist/index.cjs +2 -4
- 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 +2 -4
- package/dist/index.js.map +1 -1
- package/dist/starknet/index.cjs +2 -4
- 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 +2 -4
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { bm as ResolvedConfig, bu as TxResult, aH as CreatePopCollectionParams, as as ClaimConditions, aD as CreateDropParams, aM as CreateTicketParams, b6 as MintTicketsParams, aF as CreateMembershipParams, b5 as MintMembershipsParams, aK as CreateSponsorshipOfferParams, bj as ProposeSponsorshipParams, k as ApiClient, b3 as MedialaneConfig, b4 as MedialaneErrorCode, bb as OrderDetails, R as ResolvedFeeConfig, E as ApiFundingIntent, D as ApiFundingInstructions, H as ApiFundingSubmit, J as ApiIntentCreated, bC as SealedOwner, bD as ReceiptProviderLike, bE as WalletExecutor, bF as ExecutedTransaction, bG as PasskeyOwner } from '../errors-BpiH1lap.cjs';
|
|
2
|
+
export { bH as CreatedOwner, bI as OwnerSigner, be as PasskeyCancelledError, bJ as PasskeyConfig, bw as UserFacingError, bK as createPasskeyOwner } from '../errors-BpiH1lap.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-CuSlc_YE.cjs';
|
|
5
5
|
import 'zod';
|
package/dist/starknet/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { bm as ResolvedConfig, bu as TxResult, aH as CreatePopCollectionParams, as as ClaimConditions, aD as CreateDropParams, aM as CreateTicketParams, b6 as MintTicketsParams, aF as CreateMembershipParams, b5 as MintMembershipsParams, aK as CreateSponsorshipOfferParams, bj as ProposeSponsorshipParams, k as ApiClient, b3 as MedialaneConfig, b4 as MedialaneErrorCode, bb as OrderDetails, R as ResolvedFeeConfig, E as ApiFundingIntent, D as ApiFundingInstructions, H as ApiFundingSubmit, J as ApiIntentCreated, bC as SealedOwner, bD as ReceiptProviderLike, bE as WalletExecutor, bF as ExecutedTransaction, bG as PasskeyOwner } from '../errors-BsiYot6M.js';
|
|
2
|
+
export { bH as CreatedOwner, bI as OwnerSigner, be as PasskeyCancelledError, bJ as PasskeyConfig, bw as UserFacingError, bK as createPasskeyOwner } from '../errors-BsiYot6M.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-CuSlc_YE.js';
|
|
5
5
|
import 'zod';
|
package/dist/starknet/index.js
CHANGED
|
@@ -731,11 +731,9 @@ var ApiClient = class {
|
|
|
731
731
|
}
|
|
732
732
|
async upsertMyWallet(siwsToken, options = {}) {
|
|
733
733
|
const body = {
|
|
734
|
-
walletType: options.walletType ?? "UNKNOWN"
|
|
735
|
-
appSource: options.appSource ?? "MEDIALANE_SDK"
|
|
734
|
+
walletType: options.walletType ?? "UNKNOWN"
|
|
736
735
|
};
|
|
737
736
|
if (options.chain) body.chain = options.chain;
|
|
738
|
-
if (options.emailVerificationToken) body.emailVerificationToken = options.emailVerificationToken;
|
|
739
737
|
if (options.email) body.email = options.email;
|
|
740
738
|
if (options.accountToken) body.accountToken = options.accountToken;
|
|
741
739
|
return this.request("/v1/users/me", {
|
|
@@ -758,7 +756,7 @@ var ApiClient = class {
|
|
|
758
756
|
}
|
|
759
757
|
async verifyEmailCode(email, code) {
|
|
760
758
|
const body = await this.post("/v1/auth/email/verify-code", { email, code });
|
|
761
|
-
return {
|
|
759
|
+
return { waitingWallets: body.waitingWallets ?? [] };
|
|
762
760
|
}
|
|
763
761
|
claimWallet(params) {
|
|
764
762
|
return this.post("/v1/users/me/claim-wallet", params);
|