@medialane/sdk 0.193.0 → 0.194.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.
Files changed (43) hide show
  1. package/dist/{chunk-V4UXHC53.cjs → chunk-BLEFV7GP.cjs} +2 -2
  2. package/dist/{chunk-V4UXHC53.cjs.map → chunk-BLEFV7GP.cjs.map} +1 -1
  3. package/dist/{chunk-2B4PVFOS.js → chunk-MOIM2AAQ.js} +2 -2
  4. package/dist/{chunk-2B4PVFOS.js.map → chunk-MOIM2AAQ.js.map} +1 -1
  5. package/dist/chunk-PZ5AY32C.js +9 -0
  6. package/dist/chunk-PZ5AY32C.js.map +1 -0
  7. package/dist/chunk-Q7SFCCGT.cjs +11 -0
  8. package/dist/chunk-Q7SFCCGT.cjs.map +1 -0
  9. package/dist/contract/index.cjs +509 -0
  10. package/dist/contract/index.cjs.map +1 -0
  11. package/dist/contract/index.d.cts +104 -0
  12. package/dist/contract/index.d.ts +104 -0
  13. package/dist/contract/index.js +493 -0
  14. package/dist/contract/index.js.map +1 -0
  15. package/dist/{errors-CrBviXC8.d.cts → errors-C39AqEX6.d.cts} +46 -309
  16. package/dist/{errors-kCrcWfrz.d.ts → errors-Cc9W7FFi.d.ts} +46 -309
  17. package/dist/evm/index.cjs +1 -0
  18. package/dist/evm/index.cjs.map +1 -1
  19. package/dist/evm/index.js +1 -0
  20. package/dist/evm/index.js.map +1 -1
  21. package/dist/index.cjs +73 -72
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.d.cts +4 -3
  24. package/dist/index.d.ts +4 -3
  25. package/dist/index.js +2 -1
  26. package/dist/index.js.map +1 -1
  27. package/dist/provisioning-BUYiU8Tr.d.cts +1720 -0
  28. package/dist/provisioning-BUYiU8Tr.d.ts +1720 -0
  29. package/dist/solana/index.cjs +1 -0
  30. package/dist/solana/index.cjs.map +1 -1
  31. package/dist/solana/index.js +1 -0
  32. package/dist/solana/index.js.map +1 -1
  33. package/dist/starknet/index.cjs +68 -67
  34. package/dist/starknet/index.cjs.map +1 -1
  35. package/dist/starknet/index.d.cts +3 -2
  36. package/dist/starknet/index.d.ts +3 -2
  37. package/dist/starknet/index.js +3 -2
  38. package/dist/starknet/index.js.map +1 -1
  39. package/dist/stellar/index.cjs +1 -0
  40. package/dist/stellar/index.cjs.map +1 -1
  41. package/dist/stellar/index.js +1 -0
  42. package/dist/stellar/index.js.map +1 -1
  43. package/package.json +6 -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-CrBviXC8.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-CrBviXC8.cjs';
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;
@@ -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-kCrcWfrz.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-kCrcWfrz.js';
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;
@@ -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-2B4PVFOS.js';
2
- export { InvalidStarkPrivateKeyError, PasskeyCancelledError, PasskeyUnsupportedError, UserFacingError, computeAccountAddress, createPasskeyOwner, deriveAesKey, generateStarkKeyPair, ownerConstructorCalldata, sealPrivateKey, signWithPrivateKey, starkKeyPairFromPrivateKey, unsealPrivateKey } from '../chunk-2B4PVFOS.js';
1
+ import { normalizeAddress, collectionHref, dropHref, resolveConfig, ApiClient, UserFacingError, getService, STARKNET_MEDIAWALLET_CLASS_HASH, computeAccountAddress, ownerConstructorCalldata, getTokenBySymbol, signWithPrivateKey, stringifyBigInts, SUPPORTED_TOKENS, MedialaneApiError, starkKeyPairFromPrivateKey } from '../chunk-MOIM2AAQ.js';
2
+ export { InvalidStarkPrivateKeyError, PasskeyCancelledError, PasskeyUnsupportedError, UserFacingError, computeAccountAddress, createPasskeyOwner, deriveAesKey, generateStarkKeyPair, ownerConstructorCalldata, sealPrivateKey, signWithPrivateKey, starkKeyPairFromPrivateKey, unsealPrivateKey } from '../chunk-MOIM2AAQ.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';