@medialane/sdk 0.193.0 → 0.195.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/{chunk-V4UXHC53.cjs → chunk-7G7YIGXJ.cjs} +3 -2
- package/dist/chunk-7G7YIGXJ.cjs.map +1 -0
- package/dist/chunk-PZ5AY32C.js +9 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/chunk-Q7SFCCGT.cjs +11 -0
- package/dist/chunk-Q7SFCCGT.cjs.map +1 -0
- package/dist/{chunk-2B4PVFOS.js → chunk-ZCHP5D7S.js} +3 -2
- package/dist/chunk-ZCHP5D7S.js.map +1 -0
- package/dist/contract/index.cjs +509 -0
- package/dist/contract/index.cjs.map +1 -0
- package/dist/contract/index.d.cts +104 -0
- package/dist/contract/index.d.ts +104 -0
- package/dist/contract/index.js +493 -0
- package/dist/contract/index.js.map +1 -0
- package/dist/{errors-CrBviXC8.d.cts → errors-C39AqEX6.d.cts} +46 -309
- package/dist/{errors-kCrcWfrz.d.ts → errors-Cc9W7FFi.d.ts} +46 -309
- package/dist/evm/index.cjs +1 -0
- package/dist/evm/index.cjs.map +1 -1
- package/dist/evm/index.js +1 -0
- package/dist/evm/index.js.map +1 -1
- package/dist/index.cjs +73 -72
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/provisioning-BUYiU8Tr.d.cts +1720 -0
- package/dist/provisioning-BUYiU8Tr.d.ts +1720 -0
- package/dist/solana/index.cjs +1 -0
- package/dist/solana/index.cjs.map +1 -1
- package/dist/solana/index.js +1 -0
- package/dist/solana/index.js.map +1 -1
- package/dist/starknet/index.cjs +68 -67
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +3 -2
- package/dist/starknet/index.d.ts +3 -2
- package/dist/starknet/index.js +3 -2
- package/dist/starknet/index.js.map +1 -1
- package/dist/stellar/index.cjs +1 -0
- package/dist/stellar/index.cjs.map +1 -1
- package/dist/stellar/index.js +1 -0
- package/dist/stellar/index.js.map +1 -1
- package/package.json +6 -1
- package/dist/chunk-2B4PVFOS.js.map +0 -1
- package/dist/chunk-V4UXHC53.cjs.map +0 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as starknet from 'starknet';
|
|
2
2
|
import { AccountInterface, ProviderInterface, RpcProvider, Call, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
|
|
3
|
-
import { bU as ResolvedConfig, b6 as CreatePopCollectionParams, b$ as TxResult, a_ as CreateDropParams, bd as CreateTicketParams, bE as MintTicketsParams, b2 as CreateMembershipParams, bD as MintMembershipsParams, ba as CreateSponsorshipOfferParams, bR as ProposeSponsorshipParams, k as ApiClient, c6 as CreatorCoinService, bB as MedialaneConfig, bC as MedialaneErrorCode, R as ResolvedFeeConfig, J as ApiFundingIntent, I as ApiFundingInstructions, M as ApiFundingSubmit, O as ApiIntentCreated, bk as DropTerms, c7 as SealedOwner, c8 as ReceiptProviderLike, c9 as WalletExecutor, ca as ExecutedTransaction, cb as PasskeyOwner, bi as CreateWalletManageIntentParams, cc as CreatedOwner } from '../errors-
|
|
4
|
-
export { cd as ApiKeyAction, ce as ApiKeyConfirmation, cf as ApiKeyConfirmationInput, cg as CreateCreatorCoinParams, ch as CreatorCoinGuarantees, ci as CreatorCoinReceiptLike, cj as DropMintState, ck as DropMintStateKind, cl as DropOnchain, cm as EkuboLaunchParams, cn as EkuboPoolParams, co as InvalidRecoveryKeyError, cp as MAX_HOLDERS_AT_LAUNCH, cq as MAX_TEAM_ALLOCATION_PERCENT, cr as OwnerSigner, bM as PasskeyCancelledError, cs as PasskeyConfig, bN as PasskeyUnsupportedError, bO as PasskeyUnsupportedReason, ct as PopAllowlist, cu as PopClaimInfo, cv as PopClaimLink, cw as PopClaimState, cx as RecoveryKey, c1 as UserFacingError, cy as VALIDATED_EKUBO_PARAMS, cz as apiKeyConfirmationTypedData, cA as buildCreateCreatorCoinCall, cB as buildLaunchOnEkuboCalls, cC as buildPopAllowlist, cD as createPasskeyOwner, cE as decodePopClaimFragment, cF as dropClaimLinks, cG as dropClaimedBy, cH as dropMintState, cI as encodePopClaimFragment, cJ as encodeRecoveryKey, cK as getCreatorCoinGuarantees, cL as parseCreatorCoinCreated, cM as parseRecoveryKey, cN as popCalls, cO as popClaimInfo, cP as popClaimLinks, cQ as popClaimLinksCsv, cR as popClaimState, cS as priceToEkuboParams, cT as readDrop, cU as validatePrice, cV as verifyPopProof } from '../errors-
|
|
3
|
+
import { bU as ResolvedConfig, b6 as CreatePopCollectionParams, b$ as TxResult, a_ as CreateDropParams, bd as CreateTicketParams, bE as MintTicketsParams, b2 as CreateMembershipParams, bD as MintMembershipsParams, ba as CreateSponsorshipOfferParams, bR as ProposeSponsorshipParams, k as ApiClient, c6 as CreatorCoinService, bB as MedialaneConfig, bC as MedialaneErrorCode, R as ResolvedFeeConfig, J as ApiFundingIntent, I as ApiFundingInstructions, M as ApiFundingSubmit, O as ApiIntentCreated, bk as DropTerms, c7 as SealedOwner, c8 as ReceiptProviderLike, c9 as WalletExecutor, ca as ExecutedTransaction, cb as PasskeyOwner, bi as CreateWalletManageIntentParams, cc as CreatedOwner } from '../errors-C39AqEX6.cjs';
|
|
4
|
+
export { cd as ApiKeyAction, ce as ApiKeyConfirmation, cf as ApiKeyConfirmationInput, cg as CreateCreatorCoinParams, ch as CreatorCoinGuarantees, ci as CreatorCoinReceiptLike, cj as DropMintState, ck as DropMintStateKind, cl as DropOnchain, cm as EkuboLaunchParams, cn as EkuboPoolParams, co as InvalidRecoveryKeyError, cp as MAX_HOLDERS_AT_LAUNCH, cq as MAX_TEAM_ALLOCATION_PERCENT, cr as OwnerSigner, bM as PasskeyCancelledError, cs as PasskeyConfig, bN as PasskeyUnsupportedError, bO as PasskeyUnsupportedReason, ct as PopAllowlist, cu as PopClaimInfo, cv as PopClaimLink, cw as PopClaimState, cx as RecoveryKey, c1 as UserFacingError, cy as VALIDATED_EKUBO_PARAMS, cz as apiKeyConfirmationTypedData, cA as buildCreateCreatorCoinCall, cB as buildLaunchOnEkuboCalls, cC as buildPopAllowlist, cD as createPasskeyOwner, cE as decodePopClaimFragment, cF as dropClaimLinks, cG as dropClaimedBy, cH as dropMintState, cI as encodePopClaimFragment, cJ as encodeRecoveryKey, cK as getCreatorCoinGuarantees, cL as parseCreatorCoinCreated, cM as parseRecoveryKey, cN as popCalls, cO as popClaimInfo, cP as popClaimLinks, cQ as popClaimLinksCsv, cR as popClaimState, cS as priceToEkuboParams, cT as readDrop, cU as validatePrice, cV as verifyPopProof } from '../errors-C39AqEX6.cjs';
|
|
5
5
|
import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-DC4jNPAF.cjs';
|
|
6
6
|
import 'zod';
|
|
7
|
+
import '../provisioning-BUYiU8Tr.cjs';
|
|
7
8
|
|
|
8
9
|
declare class PopService {
|
|
9
10
|
private readonly factoryAddress;
|
package/dist/starknet/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as starknet from 'starknet';
|
|
2
2
|
import { AccountInterface, ProviderInterface, RpcProvider, Call, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
|
|
3
|
-
import { bU as ResolvedConfig, b6 as CreatePopCollectionParams, b$ as TxResult, a_ as CreateDropParams, bd as CreateTicketParams, bE as MintTicketsParams, b2 as CreateMembershipParams, bD as MintMembershipsParams, ba as CreateSponsorshipOfferParams, bR as ProposeSponsorshipParams, k as ApiClient, c6 as CreatorCoinService, bB as MedialaneConfig, bC as MedialaneErrorCode, R as ResolvedFeeConfig, J as ApiFundingIntent, I as ApiFundingInstructions, M as ApiFundingSubmit, O as ApiIntentCreated, bk as DropTerms, c7 as SealedOwner, c8 as ReceiptProviderLike, c9 as WalletExecutor, ca as ExecutedTransaction, cb as PasskeyOwner, bi as CreateWalletManageIntentParams, cc as CreatedOwner } from '../errors-
|
|
4
|
-
export { cd as ApiKeyAction, ce as ApiKeyConfirmation, cf as ApiKeyConfirmationInput, cg as CreateCreatorCoinParams, ch as CreatorCoinGuarantees, ci as CreatorCoinReceiptLike, cj as DropMintState, ck as DropMintStateKind, cl as DropOnchain, cm as EkuboLaunchParams, cn as EkuboPoolParams, co as InvalidRecoveryKeyError, cp as MAX_HOLDERS_AT_LAUNCH, cq as MAX_TEAM_ALLOCATION_PERCENT, cr as OwnerSigner, bM as PasskeyCancelledError, cs as PasskeyConfig, bN as PasskeyUnsupportedError, bO as PasskeyUnsupportedReason, ct as PopAllowlist, cu as PopClaimInfo, cv as PopClaimLink, cw as PopClaimState, cx as RecoveryKey, c1 as UserFacingError, cy as VALIDATED_EKUBO_PARAMS, cz as apiKeyConfirmationTypedData, cA as buildCreateCreatorCoinCall, cB as buildLaunchOnEkuboCalls, cC as buildPopAllowlist, cD as createPasskeyOwner, cE as decodePopClaimFragment, cF as dropClaimLinks, cG as dropClaimedBy, cH as dropMintState, cI as encodePopClaimFragment, cJ as encodeRecoveryKey, cK as getCreatorCoinGuarantees, cL as parseCreatorCoinCreated, cM as parseRecoveryKey, cN as popCalls, cO as popClaimInfo, cP as popClaimLinks, cQ as popClaimLinksCsv, cR as popClaimState, cS as priceToEkuboParams, cT as readDrop, cU as validatePrice, cV as verifyPopProof } from '../errors-
|
|
3
|
+
import { bU as ResolvedConfig, b6 as CreatePopCollectionParams, b$ as TxResult, a_ as CreateDropParams, bd as CreateTicketParams, bE as MintTicketsParams, b2 as CreateMembershipParams, bD as MintMembershipsParams, ba as CreateSponsorshipOfferParams, bR as ProposeSponsorshipParams, k as ApiClient, c6 as CreatorCoinService, bB as MedialaneConfig, bC as MedialaneErrorCode, R as ResolvedFeeConfig, J as ApiFundingIntent, I as ApiFundingInstructions, M as ApiFundingSubmit, O as ApiIntentCreated, bk as DropTerms, c7 as SealedOwner, c8 as ReceiptProviderLike, c9 as WalletExecutor, ca as ExecutedTransaction, cb as PasskeyOwner, bi as CreateWalletManageIntentParams, cc as CreatedOwner } from '../errors-Cc9W7FFi.js';
|
|
4
|
+
export { cd as ApiKeyAction, ce as ApiKeyConfirmation, cf as ApiKeyConfirmationInput, cg as CreateCreatorCoinParams, ch as CreatorCoinGuarantees, ci as CreatorCoinReceiptLike, cj as DropMintState, ck as DropMintStateKind, cl as DropOnchain, cm as EkuboLaunchParams, cn as EkuboPoolParams, co as InvalidRecoveryKeyError, cp as MAX_HOLDERS_AT_LAUNCH, cq as MAX_TEAM_ALLOCATION_PERCENT, cr as OwnerSigner, bM as PasskeyCancelledError, cs as PasskeyConfig, bN as PasskeyUnsupportedError, bO as PasskeyUnsupportedReason, ct as PopAllowlist, cu as PopClaimInfo, cv as PopClaimLink, cw as PopClaimState, cx as RecoveryKey, c1 as UserFacingError, cy as VALIDATED_EKUBO_PARAMS, cz as apiKeyConfirmationTypedData, cA as buildCreateCreatorCoinCall, cB as buildLaunchOnEkuboCalls, cC as buildPopAllowlist, cD as createPasskeyOwner, cE as decodePopClaimFragment, cF as dropClaimLinks, cG as dropClaimedBy, cH as dropMintState, cI as encodePopClaimFragment, cJ as encodeRecoveryKey, cK as getCreatorCoinGuarantees, cL as parseCreatorCoinCreated, cM as parseRecoveryKey, cN as popCalls, cO as popClaimInfo, cP as popClaimLinks, cQ as popClaimLinksCsv, cR as popClaimState, cS as priceToEkuboParams, cT as readDrop, cU as validatePrice, cV as verifyPopProof } from '../errors-Cc9W7FFi.js';
|
|
5
5
|
import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-DC4jNPAF.js';
|
|
6
6
|
import 'zod';
|
|
7
|
+
import '../provisioning-BUYiU8Tr.js';
|
|
7
8
|
|
|
8
9
|
declare class PopService {
|
|
9
10
|
private readonly factoryAddress;
|
package/dist/starknet/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { normalizeAddress, collectionHref, dropHref, resolveConfig, ApiClient, UserFacingError, getService, STARKNET_MEDIAWALLET_CLASS_HASH, computeAccountAddress, ownerConstructorCalldata, getTokenBySymbol, signWithPrivateKey, stringifyBigInts, SUPPORTED_TOKENS, MedialaneApiError, starkKeyPairFromPrivateKey } from '../chunk-
|
|
2
|
-
export { InvalidStarkPrivateKeyError, PasskeyCancelledError, PasskeyUnsupportedError, UserFacingError, computeAccountAddress, createPasskeyOwner, deriveAesKey, generateStarkKeyPair, ownerConstructorCalldata, sealPrivateKey, signWithPrivateKey, starkKeyPairFromPrivateKey, unsealPrivateKey } from '../chunk-
|
|
1
|
+
import { normalizeAddress, collectionHref, dropHref, resolveConfig, ApiClient, UserFacingError, getService, STARKNET_MEDIAWALLET_CLASS_HASH, computeAccountAddress, ownerConstructorCalldata, getTokenBySymbol, signWithPrivateKey, stringifyBigInts, SUPPORTED_TOKENS, MedialaneApiError, starkKeyPairFromPrivateKey } from '../chunk-ZCHP5D7S.js';
|
|
2
|
+
export { InvalidStarkPrivateKeyError, PasskeyCancelledError, PasskeyUnsupportedError, UserFacingError, computeAccountAddress, createPasskeyOwner, deriveAesKey, generateStarkKeyPair, ownerConstructorCalldata, sealPrivateKey, signWithPrivateKey, starkKeyPairFromPrivateKey, unsealPrivateKey } from '../chunk-ZCHP5D7S.js';
|
|
3
3
|
import { getStarknetCoordinates, getCoordinates } from '../chunk-3ME5YKTW.js';
|
|
4
|
+
import '../chunk-PZ5AY32C.js';
|
|
4
5
|
import { CallData, hash, cairo, uint256, CairoOption, CairoOptionVariant, RpcProvider, num, ec, validateAndParseAddress, Account, typedData, stark, byteArray, Contract, TypedDataRevision, constants, shortString } from 'starknet';
|
|
5
6
|
import { extract, expand } from '@noble/hashes/hkdf.js';
|
|
6
7
|
import { sha256 } from '@noble/hashes/sha2.js';
|