@medialane/sdk 0.158.0 → 0.160.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-OUPVVMLK.cjs → chunk-H7I6TEOA.cjs} +5 -4
- package/dist/chunk-H7I6TEOA.cjs.map +1 -0
- package/dist/{chunk-3IJQNNFE.cjs → chunk-LXPVVK7R.cjs} +36 -22
- package/dist/chunk-LXPVVK7R.cjs.map +1 -0
- package/dist/{chunk-3PZUSEAW.js → chunk-PBJLHXDB.js} +5 -4
- package/dist/chunk-PBJLHXDB.js.map +1 -0
- package/dist/{chunk-SEBUPNF4.js → chunk-R6EJAMY3.js} +26 -19
- package/dist/chunk-R6EJAMY3.js.map +1 -0
- package/dist/{errors-D037rFnb.d.ts → errors-6Aarmz0V.d.cts} +3 -15
- package/dist/{errors-D_k2He89.d.cts → errors-BJl2TojD.d.ts} +3 -15
- package/dist/evm/index.cjs +3 -3
- package/dist/evm/index.d.cts +1 -1
- package/dist/evm/index.d.ts +1 -1
- package/dist/evm/index.js +1 -1
- package/dist/index.cjs +98 -96
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -9
- package/dist/index.d.ts +6 -9
- package/dist/index.js +3 -23
- package/dist/index.js.map +1 -1
- package/dist/solana/index.cjs +2 -2
- package/dist/solana/index.d.cts +1 -1
- package/dist/solana/index.d.ts +1 -1
- package/dist/solana/index.js +1 -1
- package/dist/starknet/index.cjs +993 -221
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +605 -152
- package/dist/starknet/index.d.ts +605 -152
- package/dist/starknet/index.js +916 -154
- package/dist/starknet/index.js.map +1 -1
- package/dist/stellar/index.cjs +2 -2
- package/dist/stellar/index.d.cts +1 -1
- package/dist/stellar/index.d.ts +1 -1
- package/dist/stellar/index.js +1 -1
- package/dist/{types-CO6YYHVA.d.cts → types-PPshMWr7.d.cts} +1 -0
- package/dist/{types-CO6YYHVA.d.ts → types-PPshMWr7.d.ts} +1 -0
- package/package.json +1 -1
- package/dist/chunk-3IJQNNFE.cjs.map +0 -1
- package/dist/chunk-3PZUSEAW.js.map +0 -1
- package/dist/chunk-OUPVVMLK.cjs.map +0 -1
- package/dist/chunk-SEBUPNF4.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { C as Chain } from './types-
|
|
2
|
+
import { C as Chain } from './types-PPshMWr7.js';
|
|
3
3
|
import { Call, TypedData } from 'starknet';
|
|
4
4
|
|
|
5
5
|
interface RetryOptions {
|
|
@@ -555,7 +555,6 @@ interface CreateCollectionIntentParams {
|
|
|
555
555
|
collectionContract?: string;
|
|
556
556
|
service?: CollectionServiceId;
|
|
557
557
|
claimEndTimestamp?: number;
|
|
558
|
-
eventType?: PopEventType;
|
|
559
558
|
maxSupply?: string;
|
|
560
559
|
conditions?: {
|
|
561
560
|
startTime: number;
|
|
@@ -964,15 +963,6 @@ interface ApiWalletActivity {
|
|
|
964
963
|
tokenOutAddress: string | null;
|
|
965
964
|
amountOut: string | null;
|
|
966
965
|
}
|
|
967
|
-
interface PopClaimStatus {
|
|
968
|
-
isEligible: boolean;
|
|
969
|
-
hasClaimed: boolean;
|
|
970
|
-
tokenId: string | null;
|
|
971
|
-
}
|
|
972
|
-
interface PopBatchEligibilityItem extends PopClaimStatus {
|
|
973
|
-
wallet: string;
|
|
974
|
-
}
|
|
975
|
-
type PopEventType = "Conference" | "Bootcamp" | "Workshop" | "Hackathon" | "Meetup" | "Course" | "Other";
|
|
976
966
|
interface DropMintStatus {
|
|
977
967
|
mintedByWallet: number;
|
|
978
968
|
totalMinted: number;
|
|
@@ -1445,8 +1435,6 @@ declare class ApiClient {
|
|
|
1445
1435
|
confirmRemixOffer(id: string, params: ConfirmRemixOfferParams, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
|
|
1446
1436
|
rejectRemixOffer(id: string, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
|
|
1447
1437
|
extendRemixOffer(id: string, days: number, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
|
|
1448
|
-
getPopEligibility(collection: string, wallet: string): Promise<PopClaimStatus>;
|
|
1449
|
-
getPopEligibilityBatch(collection: string, wallets: string[]): Promise<PopBatchEligibilityItem[]>;
|
|
1450
1438
|
getCoins(opts?: ApiCoinsQuery): Promise<ApiResponse<ApiCoin[]>>;
|
|
1451
1439
|
getCoin(contract: string): Promise<{
|
|
1452
1440
|
data: ApiCoin;
|
|
@@ -1607,8 +1595,8 @@ interface CreatePopCollectionParams {
|
|
|
1607
1595
|
name: string;
|
|
1608
1596
|
symbol: string;
|
|
1609
1597
|
baseUri: string;
|
|
1598
|
+
/** Unix seconds; 0 = no deadline. */
|
|
1610
1599
|
claimEndTime: number;
|
|
1611
|
-
eventType: PopEventType;
|
|
1612
1600
|
}
|
|
1613
1601
|
interface ClaimConditions {
|
|
1614
1602
|
startTime: number;
|
|
@@ -1679,4 +1667,4 @@ declare class UserFacingError extends Error {
|
|
|
1679
1667
|
constructor(message: string);
|
|
1680
1668
|
}
|
|
1681
1669
|
|
|
1682
|
-
export { type ApiPlatformStats as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDropConditions as C, type ApiDropInfo as D, type ApiDropState as E, type ApiEmissionCall as F, type ApiEmissionResult as G, type ApiFundingInstructions as H, type ApiFundingIntent as I, type ApiFundingMethod as J, type ApiFundingStatus as K, type ApiFundingSubmit as L, type ApiIntent as M, type ApiIntentCreated as N, type ApiIpNftTokenData as O, type ApiMeta as P, type ApiMetadataSignedUrl as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataUpload as T, type ApiOrder as U, type ApiOrderConsideration as V, type ApiOrderOffer as W, type ApiOrderPrice as X, type ApiOrderTokenMeta as Y, type ApiOrderTxHash as Z, type ApiOrdersQuery as _, type ServiceCapability as a, type CreateSponsorshipOfferParams as a$, type ApiPointEvent as a0, type ApiPortalKey as a1, type ApiPortalKeyCreated as a2, type ApiPortalMe as a3, type ApiPortalSpend as a4, type ApiPricing as a5, type ApiPricingRule as a6, type ApiPublicRemix as a7, type ApiRemixOffer as a8, type ApiRemixOfferPrice as a9, type ApiTxSyncResult as aA, type ApiUserRewards as aB, type ApiUserWallet as aC, type ApiUsernameClaim as aD, type ApiWalletActivity as aE, type AutoRemixOfferParams as aF, type CancelOrderIntentParams as aG, type ChainFilter as aH, type CheckoutIntentItem as aI, type ClaimConditions as aJ, type CollectionServiceId as aK, type CollectionSort as aL, type CollectionTokensSort as aM, type ConfirmRemixOfferParams as aN, type ConfirmSelfRemixParams as aO, type ConsiderationItem as aP, type CreateCheckoutIntentParams as aQ, type CreateCoinIntentParams as aR, type CreateCollectionIntentParams as aS, type CreateCounterOfferIntentParams as aT, type CreateDropParams as aU, type CreateListingIntentParams as aV, type CreateMembershipParams as aW, type CreateMintIntentParams as aX, type CreatePopCollectionParams as aY, type CreateRemixOfferParams as aZ, type CreateSponsorshipOfferIntentParams as a_, type ApiRemixOffersQuery as aa, type ApiReportTargetType as ab, type ApiResponse as ac, type ApiRewardsBadge as ad, type ApiRewardsBatchEntry as ae, type ApiRewardsConfig as af, type ApiRewardsLeaderboardEntry as ag, type ApiRewardsLevel as ah, type ApiSearchCollectionResult as ai, type ApiSearchCreatorResult as aj, type ApiSearchResult as ak, type ApiSearchTokenResult as al, type ApiSpendByAction as am, type ApiSponsorshipBid as an, type ApiSponsorshipLicense as ao, type ApiSponsorshipLicensesQuery as ap, type ApiSponsorshipOffer as aq, type ApiSponsorshipOffersQuery as ar, type ApiSponsorshipProposal as as, type ApiSponsorshipProposalsQuery as at, type ApiSubmitReport as au, type ApiTierOnchain as av, type ApiToken as aw, type ApiTokenBalance as ax, type ApiTokenMetadata as ay, type ApiTokensQuery as az, type AcceptSponsorshipProposalIntentParams as b,
|
|
1670
|
+
export { type ApiPlatformStats as $, type AcceptSponsorshipBidIntentParams as A, type ApiCreditPayment as B, type ApiDropConditions as C, type ApiDropInfo as D, type ApiDropState as E, type ApiEmissionCall as F, type ApiEmissionResult as G, type ApiFundingInstructions as H, type ApiFundingIntent as I, type ApiFundingMethod as J, type ApiFundingStatus as K, type ApiFundingSubmit as L, type ApiIntent as M, type ApiIntentCreated as N, type ApiIpNftTokenData as O, type ApiMeta as P, type ApiMetadataSignedUrl as Q, type ResolvedFeeConfig as R, type ServiceDefinition as S, type ApiMetadataUpload as T, type ApiOrder as U, type ApiOrderConsideration as V, type ApiOrderOffer as W, type ApiOrderPrice as X, type ApiOrderTokenMeta as Y, type ApiOrderTxHash as Z, type ApiOrdersQuery as _, type ServiceCapability as a, type CreateSponsorshipOfferParams as a$, type ApiPointEvent as a0, type ApiPortalKey as a1, type ApiPortalKeyCreated as a2, type ApiPortalMe as a3, type ApiPortalSpend as a4, type ApiPricing as a5, type ApiPricingRule as a6, type ApiPublicRemix as a7, type ApiRemixOffer as a8, type ApiRemixOfferPrice as a9, type ApiTxSyncResult as aA, type ApiUserRewards as aB, type ApiUserWallet as aC, type ApiUsernameClaim as aD, type ApiWalletActivity as aE, type AutoRemixOfferParams as aF, type CancelOrderIntentParams as aG, type ChainFilter as aH, type CheckoutIntentItem as aI, type ClaimConditions as aJ, type CollectionServiceId as aK, type CollectionSort as aL, type CollectionTokensSort as aM, type ConfirmRemixOfferParams as aN, type ConfirmSelfRemixParams as aO, type ConsiderationItem as aP, type CreateCheckoutIntentParams as aQ, type CreateCoinIntentParams as aR, type CreateCollectionIntentParams as aS, type CreateCounterOfferIntentParams as aT, type CreateDropParams as aU, type CreateListingIntentParams as aV, type CreateMembershipParams as aW, type CreateMintIntentParams as aX, type CreatePopCollectionParams as aY, type CreateRemixOfferParams as aZ, type CreateSponsorshipOfferIntentParams as a_, type ApiRemixOffersQuery as aa, type ApiReportTargetType as ab, type ApiResponse as ac, type ApiRewardsBadge as ad, type ApiRewardsBatchEntry as ae, type ApiRewardsConfig as af, type ApiRewardsLeaderboardEntry as ag, type ApiRewardsLevel as ah, type ApiSearchCollectionResult as ai, type ApiSearchCreatorResult as aj, type ApiSearchResult as ak, type ApiSearchTokenResult as al, type ApiSpendByAction as am, type ApiSponsorshipBid as an, type ApiSponsorshipLicense as ao, type ApiSponsorshipLicensesQuery as ap, type ApiSponsorshipOffer as aq, type ApiSponsorshipOffersQuery as ar, type ApiSponsorshipProposal as as, type ApiSponsorshipProposalsQuery as at, type ApiSubmitReport as au, type ApiTierOnchain as av, type ApiToken as aw, type ApiTokenBalance as ax, type ApiTokenMetadata as ay, type ApiTokensQuery as az, type AcceptSponsorshipProposalIntentParams as b, type CreateSponsorshipProposalIntentParams as b0, type CreateTicketParams as b1, type CreateTierIntentParams as b2, type DropMintStatus as b3, type EmissionParams as b4, type EnforcementDeclaration as b5, type FactoryFamilyServiceId as b6, type FeeConfig as b7, FeeConfigSchema as b8, type FulfillOrderIntentParams as b9, type RetractSponsorshipBidIntentParams as bA, type RetryOptions as bB, type ServiceEventDeclaration as bC, type SetSponsorshipOfferOpenIntentParams as bD, type SortOrder as bE, type TierServiceId as bF, type TxResult as bG, type UpdateCollectionProfileInput as bH, UserFacingError as bI, type WithdrawSponsorshipProposalIntentParams as bJ, resolveConfig as bK, resolveFeeConfig as bL, type SealedOwner as bM, type ReceiptProviderLike as bN, type WalletExecutor as bO, type ExecutedTransaction as bP, type PasskeyOwner as bQ, type CreatedOwner as bR, InvalidRecoveryKeyError as bS, type OwnerSigner as bT, type PasskeyConfig as bU, type RecoveryKey as bV, createPasskeyOwner as bW, encodeRecoveryKey as bX, parseRecoveryKey as bY, type IPType as ba, type IntentCall as bb, type IntentStatus as bc, type IntentType as bd, type IpAttribute as be, type IpNftMetadata as bf, type LaunchCoinIntentParams as bg, type MakeOfferIntentParams as bh, MedialaneApiError as bi, type MedialaneConfig as bj, type MedialaneErrorCode as bk, type MintMembershipsParams as bl, type MintTicketsParams as bm, OPEN_LICENSES as bn, type OfferItem as bo, type OpenLicense as bp, type Order as bq, type OrderDetails as br, type OrderParameters as bs, type OrderStatus as bt, PasskeyCancelledError as bu, type PlaceSponsorshipBidIntentParams as bv, type ProposeSponsorshipParams as bw, type RejectSponsorshipProposalIntentParams as bx, type RemixOfferStatus as by, type ResolvedConfig as bz, type ActivityType as c, type ApiActivitiesQuery as d, type ApiActivity as e, type ApiActivityPrice as f, type ApiAdminCollectionClaim as g, type ApiBusinessProvisioning as h, type ApiChain as i, type ApiCheckoutIntentResult as j, ApiClient as k, type ApiCoin as l, type ApiCoinClaimResult as m, type ApiCoinPrice as n, type ApiCoinPrices as o, type ApiCoinsQuery as p, type ApiCollection as q, type ApiCollectionClaim as r, type ApiCollectionProfile as s, type ApiCollectionSlugClaim as t, type ApiCollectionsListQuery as u, type ApiCollectionsQuery as v, type ApiComment as w, type ApiCounterOffersQuery as x, type ApiCreatorListResult as y, type ApiCreatorProfile as z };
|
package/dist/evm/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkH7I6TEOA_cjs = require('../chunk-H7I6TEOA.cjs');
|
|
4
4
|
var viem = require('viem');
|
|
5
5
|
|
|
6
6
|
var EVM_ORDER_TYPES = {
|
|
@@ -219,7 +219,7 @@ function commonFields(params) {
|
|
|
219
219
|
}
|
|
220
220
|
function maybeCoords(chain) {
|
|
221
221
|
try {
|
|
222
|
-
return
|
|
222
|
+
return chunkH7I6TEOA_cjs.getCoordinates(chain);
|
|
223
223
|
} catch {
|
|
224
224
|
return void 0;
|
|
225
225
|
}
|
|
@@ -286,7 +286,7 @@ var EvmIssuance = class {
|
|
|
286
286
|
};
|
|
287
287
|
function maybeCoords2(chain) {
|
|
288
288
|
try {
|
|
289
|
-
return
|
|
289
|
+
return chunkH7I6TEOA_cjs.getCoordinates(chain);
|
|
290
290
|
} catch {
|
|
291
291
|
return void 0;
|
|
292
292
|
}
|
package/dist/evm/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypedDataDomain, WalletClient, PublicClient } from 'viem';
|
|
2
|
-
import { V as VenueAdapter, C as Chain, R as RegisterOrderParams, A as AdapterTxResult, O as OrderRef, I as IssuanceAdapter, e as CreateCollectionInput, M as MintInput } from '../types-
|
|
2
|
+
import { V as VenueAdapter, C as Chain, R as RegisterOrderParams, A as AdapterTxResult, O as OrderRef, I as IssuanceAdapter, e as CreateCollectionInput, M as MintInput } from '../types-PPshMWr7.cjs';
|
|
3
3
|
|
|
4
4
|
declare const EVM_ORDER_TYPES: {
|
|
5
5
|
readonly OfferItem: readonly [{
|
package/dist/evm/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypedDataDomain, WalletClient, PublicClient } from 'viem';
|
|
2
|
-
import { V as VenueAdapter, C as Chain, R as RegisterOrderParams, A as AdapterTxResult, O as OrderRef, I as IssuanceAdapter, e as CreateCollectionInput, M as MintInput } from '../types-
|
|
2
|
+
import { V as VenueAdapter, C as Chain, R as RegisterOrderParams, A as AdapterTxResult, O as OrderRef, I as IssuanceAdapter, e as CreateCollectionInput, M as MintInput } from '../types-PPshMWr7.js';
|
|
3
3
|
|
|
4
4
|
declare const EVM_ORDER_TYPES: {
|
|
5
5
|
readonly OfferItem: readonly [{
|
package/dist/evm/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkLXPVVK7R_cjs = require('./chunk-LXPVVK7R.cjs');
|
|
4
|
+
var chunkH7I6TEOA_cjs = require('./chunk-H7I6TEOA.cjs');
|
|
5
5
|
var hmac_js = require('@noble/hashes/hmac.js');
|
|
6
6
|
var sha2_js = require('@noble/hashes/sha2.js');
|
|
7
7
|
var base = require('@scure/base');
|
|
@@ -100,26 +100,6 @@ function createLaunchpadRunsClient({ baseUrl, getToken, fetchImpl = fetch }) {
|
|
|
100
100
|
// src/types/api.ts
|
|
101
101
|
var OPEN_LICENSES = ["CC0", "CC BY", "CC BY-SA", "CC BY-NC"];
|
|
102
102
|
|
|
103
|
-
// src/routes.ts
|
|
104
|
-
var SUPPORTED_URL_CHAINS = ["STARKNET"];
|
|
105
|
-
function chainSlug(chain) {
|
|
106
|
-
return chain.toLowerCase();
|
|
107
|
-
}
|
|
108
|
-
function chainFromSlug(slug) {
|
|
109
|
-
const upper = slug.toUpperCase();
|
|
110
|
-
return SUPPORTED_URL_CHAINS.includes(upper) ? upper : null;
|
|
111
|
-
}
|
|
112
|
-
var seg = (v) => v == null ? "" : String(v);
|
|
113
|
-
function assetHref(chain, contract, tokenId) {
|
|
114
|
-
return `/asset/${chainSlug(chain)}/${seg(contract)}/${seg(tokenId)}`;
|
|
115
|
-
}
|
|
116
|
-
function collectionHref(chain, contract) {
|
|
117
|
-
return `/collections/${chainSlug(chain)}/${seg(contract)}`;
|
|
118
|
-
}
|
|
119
|
-
function coinHref(chain, address) {
|
|
120
|
-
return `/coins/${chainSlug(chain)}/${seg(address)}`;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
103
|
// src/server/origin.ts
|
|
124
104
|
function isSameOrigin(req) {
|
|
125
105
|
const origin = req.headers.get("origin");
|
|
@@ -668,275 +648,303 @@ var MAX_IPFS_GATEWAY_RESPONSE_BYTES = 25 * 1024 * 1024;
|
|
|
668
648
|
|
|
669
649
|
Object.defineProperty(exports, "ApiClient", {
|
|
670
650
|
enumerable: true,
|
|
671
|
-
get: function () { return
|
|
651
|
+
get: function () { return chunkLXPVVK7R_cjs.ApiClient; }
|
|
672
652
|
});
|
|
673
653
|
Object.defineProperty(exports, "DEFAULT_CURRENCY", {
|
|
674
654
|
enumerable: true,
|
|
675
|
-
get: function () { return
|
|
655
|
+
get: function () { return chunkLXPVVK7R_cjs.DEFAULT_CURRENCY; }
|
|
676
656
|
});
|
|
677
657
|
Object.defineProperty(exports, "FeeConfigSchema", {
|
|
678
658
|
enumerable: true,
|
|
679
|
-
get: function () { return
|
|
659
|
+
get: function () { return chunkLXPVVK7R_cjs.FeeConfigSchema; }
|
|
680
660
|
});
|
|
681
661
|
Object.defineProperty(exports, "MedialaneApiError", {
|
|
682
662
|
enumerable: true,
|
|
683
|
-
get: function () { return
|
|
663
|
+
get: function () { return chunkLXPVVK7R_cjs.MedialaneApiError; }
|
|
684
664
|
});
|
|
685
665
|
Object.defineProperty(exports, "POLICY_REFUSAL_CODES", {
|
|
686
666
|
enumerable: true,
|
|
687
|
-
get: function () { return
|
|
667
|
+
get: function () { return chunkLXPVVK7R_cjs.POLICY_REFUSAL_CODES; }
|
|
688
668
|
});
|
|
689
669
|
Object.defineProperty(exports, "PasskeyCancelledError", {
|
|
690
670
|
enumerable: true,
|
|
691
|
-
get: function () { return
|
|
671
|
+
get: function () { return chunkLXPVVK7R_cjs.PasskeyCancelledError; }
|
|
692
672
|
});
|
|
693
673
|
Object.defineProperty(exports, "STARKNET_COLLECTION_1155_CLASS_HASH", {
|
|
694
674
|
enumerable: true,
|
|
695
|
-
get: function () { return
|
|
675
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_COLLECTION_1155_CLASS_HASH; }
|
|
696
676
|
});
|
|
697
677
|
Object.defineProperty(exports, "STARKNET_COLLECTION_1155_CONTRACT", {
|
|
698
678
|
enumerable: true,
|
|
699
|
-
get: function () { return
|
|
679
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_COLLECTION_1155_CONTRACT; }
|
|
700
680
|
});
|
|
701
681
|
Object.defineProperty(exports, "STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH", {
|
|
702
682
|
enumerable: true,
|
|
703
|
-
get: function () { return
|
|
683
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH; }
|
|
704
684
|
});
|
|
705
685
|
Object.defineProperty(exports, "STARKNET_COLLECTION_1155_START_BLOCK", {
|
|
706
686
|
enumerable: true,
|
|
707
|
-
get: function () { return
|
|
687
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_COLLECTION_1155_START_BLOCK; }
|
|
708
688
|
});
|
|
709
689
|
Object.defineProperty(exports, "STARKNET_COLLECTION_721_CONTRACT", {
|
|
710
690
|
enumerable: true,
|
|
711
|
-
get: function () { return
|
|
691
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_COLLECTION_721_CONTRACT; }
|
|
712
692
|
});
|
|
713
693
|
Object.defineProperty(exports, "STARKNET_COLLECTION_721_START_BLOCK", {
|
|
714
694
|
enumerable: true,
|
|
715
|
-
get: function () { return
|
|
695
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_COLLECTION_721_START_BLOCK; }
|
|
716
696
|
});
|
|
717
697
|
Object.defineProperty(exports, "STARKNET_CREATOR_COIN_CLASS_HASH", {
|
|
718
698
|
enumerable: true,
|
|
719
|
-
get: function () { return
|
|
699
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_CREATOR_COIN_CLASS_HASH; }
|
|
720
700
|
});
|
|
721
701
|
Object.defineProperty(exports, "STARKNET_CREATOR_COIN_EKUBO_LAUNCHER", {
|
|
722
702
|
enumerable: true,
|
|
723
|
-
get: function () { return
|
|
703
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_CREATOR_COIN_EKUBO_LAUNCHER; }
|
|
724
704
|
});
|
|
725
705
|
Object.defineProperty(exports, "STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH", {
|
|
726
706
|
enumerable: true,
|
|
727
|
-
get: function () { return
|
|
707
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH; }
|
|
728
708
|
});
|
|
729
709
|
Object.defineProperty(exports, "STARKNET_CREATOR_COIN_FACTORY_CONTRACT", {
|
|
730
710
|
enumerable: true,
|
|
731
|
-
get: function () { return
|
|
711
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_CREATOR_COIN_FACTORY_CONTRACT; }
|
|
732
712
|
});
|
|
733
713
|
Object.defineProperty(exports, "STARKNET_CREATOR_COIN_START_BLOCK", {
|
|
734
714
|
enumerable: true,
|
|
735
|
-
get: function () { return
|
|
715
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_CREATOR_COIN_START_BLOCK; }
|
|
736
716
|
});
|
|
737
717
|
Object.defineProperty(exports, "STARKNET_DATA_TOKENIZATION_721_CONTRACT", {
|
|
738
718
|
enumerable: true,
|
|
739
|
-
get: function () { return
|
|
719
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_DATA_TOKENIZATION_721_CONTRACT; }
|
|
740
720
|
});
|
|
741
721
|
Object.defineProperty(exports, "STARKNET_DROP_COLLECTION_CLASS_HASH", {
|
|
742
722
|
enumerable: true,
|
|
743
|
-
get: function () { return
|
|
723
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_DROP_COLLECTION_CLASS_HASH; }
|
|
744
724
|
});
|
|
745
725
|
Object.defineProperty(exports, "STARKNET_DROP_FACTORY_CONTRACT", {
|
|
746
726
|
enumerable: true,
|
|
747
|
-
get: function () { return
|
|
727
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_DROP_FACTORY_CONTRACT; }
|
|
748
728
|
});
|
|
749
729
|
Object.defineProperty(exports, "STARKNET_EKUBO_CORE", {
|
|
750
730
|
enumerable: true,
|
|
751
|
-
get: function () { return
|
|
731
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_EKUBO_CORE; }
|
|
752
732
|
});
|
|
753
733
|
Object.defineProperty(exports, "STARKNET_GENESIS_MINT_CONTRACT", {
|
|
754
734
|
enumerable: true,
|
|
755
|
-
get: function () { return
|
|
735
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_GENESIS_MINT_CONTRACT; }
|
|
756
736
|
});
|
|
757
737
|
Object.defineProperty(exports, "STARKNET_GENESIS_NFT_URI", {
|
|
758
738
|
enumerable: true,
|
|
759
|
-
get: function () { return
|
|
739
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_GENESIS_NFT_URI; }
|
|
760
740
|
});
|
|
761
741
|
Object.defineProperty(exports, "STARKNET_IPCOLLECTION_CLASS_HASH", {
|
|
762
742
|
enumerable: true,
|
|
763
|
-
get: function () { return
|
|
743
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_IPCOLLECTION_CLASS_HASH; }
|
|
764
744
|
});
|
|
765
745
|
Object.defineProperty(exports, "STARKNET_IPNFT_CLASS_HASH", {
|
|
766
746
|
enumerable: true,
|
|
767
|
-
get: function () { return
|
|
747
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_IPNFT_CLASS_HASH; }
|
|
768
748
|
});
|
|
769
749
|
Object.defineProperty(exports, "STARKNET_IP_CLUB_COLLECTION_CLASS_HASH", {
|
|
770
750
|
enumerable: true,
|
|
771
|
-
get: function () { return
|
|
751
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_IP_CLUB_COLLECTION_CLASS_HASH; }
|
|
772
752
|
});
|
|
773
753
|
Object.defineProperty(exports, "STARKNET_IP_CLUB_FACTORY_CONTRACT", {
|
|
774
754
|
enumerable: true,
|
|
775
|
-
get: function () { return
|
|
755
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_IP_CLUB_FACTORY_CONTRACT; }
|
|
776
756
|
});
|
|
777
757
|
Object.defineProperty(exports, "STARKNET_IP_SPONSORSHIP_CLASS_HASH", {
|
|
778
758
|
enumerable: true,
|
|
779
|
-
get: function () { return
|
|
759
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_IP_SPONSORSHIP_CLASS_HASH; }
|
|
780
760
|
});
|
|
781
761
|
Object.defineProperty(exports, "STARKNET_IP_SPONSORSHIP_CONTRACT", {
|
|
782
762
|
enumerable: true,
|
|
783
|
-
get: function () { return
|
|
763
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_IP_SPONSORSHIP_CONTRACT; }
|
|
784
764
|
});
|
|
785
765
|
Object.defineProperty(exports, "STARKNET_IP_TICKETS_FACTORY_CONTRACT", {
|
|
786
766
|
enumerable: true,
|
|
787
|
-
get: function () { return
|
|
767
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_IP_TICKETS_FACTORY_CONTRACT; }
|
|
788
768
|
});
|
|
789
769
|
Object.defineProperty(exports, "STARKNET_IP_TICKET_COLLECTION_CLASS_HASH", {
|
|
790
770
|
enumerable: true,
|
|
791
|
-
get: function () { return
|
|
771
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_IP_TICKET_COLLECTION_CLASS_HASH; }
|
|
792
772
|
});
|
|
793
773
|
Object.defineProperty(exports, "STARKNET_MARKETPLACE_1155_CLASS_HASH", {
|
|
794
774
|
enumerable: true,
|
|
795
|
-
get: function () { return
|
|
775
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_MARKETPLACE_1155_CLASS_HASH; }
|
|
796
776
|
});
|
|
797
777
|
Object.defineProperty(exports, "STARKNET_MARKETPLACE_1155_CONTRACT", {
|
|
798
778
|
enumerable: true,
|
|
799
|
-
get: function () { return
|
|
779
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_MARKETPLACE_1155_CONTRACT; }
|
|
800
780
|
});
|
|
801
781
|
Object.defineProperty(exports, "STARKNET_MARKETPLACE_1155_START_BLOCK", {
|
|
802
782
|
enumerable: true,
|
|
803
|
-
get: function () { return
|
|
783
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_MARKETPLACE_1155_START_BLOCK; }
|
|
804
784
|
});
|
|
805
785
|
Object.defineProperty(exports, "STARKNET_MARKETPLACE_721_CLASS_HASH", {
|
|
806
786
|
enumerable: true,
|
|
807
|
-
get: function () { return
|
|
787
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_MARKETPLACE_721_CLASS_HASH; }
|
|
808
788
|
});
|
|
809
789
|
Object.defineProperty(exports, "STARKNET_MARKETPLACE_721_CONTRACT", {
|
|
810
790
|
enumerable: true,
|
|
811
|
-
get: function () { return
|
|
791
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_MARKETPLACE_721_CONTRACT; }
|
|
812
792
|
});
|
|
813
793
|
Object.defineProperty(exports, "STARKNET_MARKETPLACE_721_START_BLOCK", {
|
|
814
794
|
enumerable: true,
|
|
815
|
-
get: function () { return
|
|
795
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_MARKETPLACE_721_START_BLOCK; }
|
|
816
796
|
});
|
|
817
797
|
Object.defineProperty(exports, "STARKNET_NFTCOMMENTS_CONTRACT", {
|
|
818
798
|
enumerable: true,
|
|
819
|
-
get: function () { return
|
|
799
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_NFTCOMMENTS_CONTRACT; }
|
|
820
800
|
});
|
|
821
801
|
Object.defineProperty(exports, "STARKNET_POP_COLLECTION_CLASS_HASH", {
|
|
822
802
|
enumerable: true,
|
|
823
|
-
get: function () { return
|
|
803
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_POP_COLLECTION_CLASS_HASH; }
|
|
824
804
|
});
|
|
825
805
|
Object.defineProperty(exports, "STARKNET_POP_FACTORY_CONTRACT", {
|
|
826
806
|
enumerable: true,
|
|
827
|
-
get: function () { return
|
|
807
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_POP_FACTORY_CONTRACT; }
|
|
808
|
+
});
|
|
809
|
+
Object.defineProperty(exports, "STARKNET_POP_FACTORY_START_BLOCK", {
|
|
810
|
+
enumerable: true,
|
|
811
|
+
get: function () { return chunkLXPVVK7R_cjs.STARKNET_POP_FACTORY_START_BLOCK; }
|
|
828
812
|
});
|
|
829
813
|
Object.defineProperty(exports, "SUPPORTED_TOKENS", {
|
|
830
814
|
enumerable: true,
|
|
831
|
-
get: function () { return
|
|
815
|
+
get: function () { return chunkLXPVVK7R_cjs.SUPPORTED_TOKENS; }
|
|
816
|
+
});
|
|
817
|
+
Object.defineProperty(exports, "SUPPORTED_URL_CHAINS", {
|
|
818
|
+
enumerable: true,
|
|
819
|
+
get: function () { return chunkLXPVVK7R_cjs.SUPPORTED_URL_CHAINS; }
|
|
832
820
|
});
|
|
833
821
|
Object.defineProperty(exports, "UserFacingError", {
|
|
834
822
|
enumerable: true,
|
|
835
|
-
get: function () { return
|
|
823
|
+
get: function () { return chunkLXPVVK7R_cjs.UserFacingError; }
|
|
824
|
+
});
|
|
825
|
+
Object.defineProperty(exports, "assetHref", {
|
|
826
|
+
enumerable: true,
|
|
827
|
+
get: function () { return chunkLXPVVK7R_cjs.assetHref; }
|
|
828
|
+
});
|
|
829
|
+
Object.defineProperty(exports, "chainFromSlug", {
|
|
830
|
+
enumerable: true,
|
|
831
|
+
get: function () { return chunkLXPVVK7R_cjs.chainFromSlug; }
|
|
832
|
+
});
|
|
833
|
+
Object.defineProperty(exports, "chainSlug", {
|
|
834
|
+
enumerable: true,
|
|
835
|
+
get: function () { return chunkLXPVVK7R_cjs.chainSlug; }
|
|
836
|
+
});
|
|
837
|
+
Object.defineProperty(exports, "coinHref", {
|
|
838
|
+
enumerable: true,
|
|
839
|
+
get: function () { return chunkLXPVVK7R_cjs.coinHref; }
|
|
840
|
+
});
|
|
841
|
+
Object.defineProperty(exports, "collectionHref", {
|
|
842
|
+
enumerable: true,
|
|
843
|
+
get: function () { return chunkLXPVVK7R_cjs.collectionHref; }
|
|
836
844
|
});
|
|
837
845
|
Object.defineProperty(exports, "createFailoverFetch", {
|
|
838
846
|
enumerable: true,
|
|
839
|
-
get: function () { return
|
|
847
|
+
get: function () { return chunkLXPVVK7R_cjs.createFailoverFetch; }
|
|
840
848
|
});
|
|
841
849
|
Object.defineProperty(exports, "encodeU256", {
|
|
842
850
|
enumerable: true,
|
|
843
|
-
get: function () { return
|
|
851
|
+
get: function () { return chunkLXPVVK7R_cjs.encodeU256; }
|
|
844
852
|
});
|
|
845
853
|
Object.defineProperty(exports, "formatAmount", {
|
|
846
854
|
enumerable: true,
|
|
847
|
-
get: function () { return
|
|
855
|
+
get: function () { return chunkLXPVVK7R_cjs.formatAmount; }
|
|
848
856
|
});
|
|
849
857
|
Object.defineProperty(exports, "getListableTokens", {
|
|
850
858
|
enumerable: true,
|
|
851
|
-
get: function () { return
|
|
859
|
+
get: function () { return chunkLXPVVK7R_cjs.getListableTokens; }
|
|
852
860
|
});
|
|
853
861
|
Object.defineProperty(exports, "getService", {
|
|
854
862
|
enumerable: true,
|
|
855
|
-
get: function () { return
|
|
863
|
+
get: function () { return chunkLXPVVK7R_cjs.getService; }
|
|
856
864
|
});
|
|
857
865
|
Object.defineProperty(exports, "getServicesByCapability", {
|
|
858
866
|
enumerable: true,
|
|
859
|
-
get: function () { return
|
|
867
|
+
get: function () { return chunkLXPVVK7R_cjs.getServicesByCapability; }
|
|
860
868
|
});
|
|
861
869
|
Object.defineProperty(exports, "getTokenByAddress", {
|
|
862
870
|
enumerable: true,
|
|
863
|
-
get: function () { return
|
|
871
|
+
get: function () { return chunkLXPVVK7R_cjs.getTokenByAddress; }
|
|
864
872
|
});
|
|
865
873
|
Object.defineProperty(exports, "getTokenBySymbol", {
|
|
866
874
|
enumerable: true,
|
|
867
|
-
get: function () { return
|
|
875
|
+
get: function () { return chunkLXPVVK7R_cjs.getTokenBySymbol; }
|
|
868
876
|
});
|
|
869
877
|
Object.defineProperty(exports, "hasCapability", {
|
|
870
878
|
enumerable: true,
|
|
871
|
-
get: function () { return
|
|
879
|
+
get: function () { return chunkLXPVVK7R_cjs.hasCapability; }
|
|
872
880
|
});
|
|
873
881
|
Object.defineProperty(exports, "isPolicyRefusal", {
|
|
874
882
|
enumerable: true,
|
|
875
|
-
get: function () { return
|
|
883
|
+
get: function () { return chunkLXPVVK7R_cjs.isPolicyRefusal; }
|
|
876
884
|
});
|
|
877
885
|
Object.defineProperty(exports, "isServiceId", {
|
|
878
886
|
enumerable: true,
|
|
879
|
-
get: function () { return
|
|
887
|
+
get: function () { return chunkLXPVVK7R_cjs.isServiceId; }
|
|
880
888
|
});
|
|
881
889
|
Object.defineProperty(exports, "isTransientRpcError", {
|
|
882
890
|
enumerable: true,
|
|
883
|
-
get: function () { return
|
|
891
|
+
get: function () { return chunkLXPVVK7R_cjs.isTransientRpcError; }
|
|
884
892
|
});
|
|
885
893
|
Object.defineProperty(exports, "listServices", {
|
|
886
894
|
enumerable: true,
|
|
887
|
-
get: function () { return
|
|
895
|
+
get: function () { return chunkLXPVVK7R_cjs.listServices; }
|
|
888
896
|
});
|
|
889
897
|
Object.defineProperty(exports, "normalizeAddress", {
|
|
890
898
|
enumerable: true,
|
|
891
|
-
get: function () { return
|
|
899
|
+
get: function () { return chunkLXPVVK7R_cjs.normalizeAddress; }
|
|
892
900
|
});
|
|
893
901
|
Object.defineProperty(exports, "normalizeHash", {
|
|
894
902
|
enumerable: true,
|
|
895
|
-
get: function () { return
|
|
903
|
+
get: function () { return chunkLXPVVK7R_cjs.normalizeHash; }
|
|
896
904
|
});
|
|
897
905
|
Object.defineProperty(exports, "parseAmount", {
|
|
898
906
|
enumerable: true,
|
|
899
|
-
get: function () { return
|
|
907
|
+
get: function () { return chunkLXPVVK7R_cjs.parseAmount; }
|
|
900
908
|
});
|
|
901
909
|
Object.defineProperty(exports, "resolveAppFeeConfig", {
|
|
902
910
|
enumerable: true,
|
|
903
|
-
get: function () { return
|
|
911
|
+
get: function () { return chunkLXPVVK7R_cjs.resolveAppFeeConfig; }
|
|
904
912
|
});
|
|
905
913
|
Object.defineProperty(exports, "resolveConfig", {
|
|
906
914
|
enumerable: true,
|
|
907
|
-
get: function () { return
|
|
915
|
+
get: function () { return chunkLXPVVK7R_cjs.resolveConfig; }
|
|
908
916
|
});
|
|
909
917
|
Object.defineProperty(exports, "resolveFeeConfig", {
|
|
910
918
|
enumerable: true,
|
|
911
|
-
get: function () { return
|
|
919
|
+
get: function () { return chunkLXPVVK7R_cjs.resolveFeeConfig; }
|
|
912
920
|
});
|
|
913
921
|
Object.defineProperty(exports, "shortenAddress", {
|
|
914
922
|
enumerable: true,
|
|
915
|
-
get: function () { return
|
|
923
|
+
get: function () { return chunkLXPVVK7R_cjs.shortenAddress; }
|
|
916
924
|
});
|
|
917
925
|
Object.defineProperty(exports, "stringifyBigInts", {
|
|
918
926
|
enumerable: true,
|
|
919
|
-
get: function () { return
|
|
927
|
+
get: function () { return chunkLXPVVK7R_cjs.stringifyBigInts; }
|
|
920
928
|
});
|
|
921
929
|
Object.defineProperty(exports, "u256ToBigInt", {
|
|
922
930
|
enumerable: true,
|
|
923
|
-
get: function () { return
|
|
931
|
+
get: function () { return chunkLXPVVK7R_cjs.u256ToBigInt; }
|
|
924
932
|
});
|
|
925
933
|
Object.defineProperty(exports, "CHAINS", {
|
|
926
934
|
enumerable: true,
|
|
927
|
-
get: function () { return
|
|
935
|
+
get: function () { return chunkH7I6TEOA_cjs.CHAINS; }
|
|
928
936
|
});
|
|
929
937
|
Object.defineProperty(exports, "DEFAULT_CHAIN", {
|
|
930
938
|
enumerable: true,
|
|
931
|
-
get: function () { return
|
|
939
|
+
get: function () { return chunkH7I6TEOA_cjs.DEFAULT_CHAIN; }
|
|
932
940
|
});
|
|
933
941
|
Object.defineProperty(exports, "getCoordinates", {
|
|
934
942
|
enumerable: true,
|
|
935
|
-
get: function () { return
|
|
943
|
+
get: function () { return chunkH7I6TEOA_cjs.getCoordinates; }
|
|
936
944
|
});
|
|
937
945
|
Object.defineProperty(exports, "getStarknetCoordinates", {
|
|
938
946
|
enumerable: true,
|
|
939
|
-
get: function () { return
|
|
947
|
+
get: function () { return chunkH7I6TEOA_cjs.getStarknetCoordinates; }
|
|
940
948
|
});
|
|
941
949
|
exports.ACCOUNT_SESSION_TTL_SECONDS = ACCOUNT_SESSION_TTL_SECONDS;
|
|
942
950
|
exports.ALLOWED_IMAGE_CONTENT_TYPES = ALLOWED_IMAGE_CONTENT_TYPES;
|
|
@@ -948,13 +956,7 @@ exports.MAX_IPFS_GATEWAY_RESPONSE_BYTES = MAX_IPFS_GATEWAY_RESPONSE_BYTES;
|
|
|
948
956
|
exports.OPEN_LICENSES = OPEN_LICENSES;
|
|
949
957
|
exports.RESERVED_TRAITS = RESERVED_TRAITS;
|
|
950
958
|
exports.RunRequestError = RunRequestError;
|
|
951
|
-
exports.SUPPORTED_URL_CHAINS = SUPPORTED_URL_CHAINS;
|
|
952
|
-
exports.assetHref = assetHref;
|
|
953
959
|
exports.buildAssetMetadata = buildAssetMetadata;
|
|
954
|
-
exports.chainFromSlug = chainFromSlug;
|
|
955
|
-
exports.chainSlug = chainSlug;
|
|
956
|
-
exports.coinHref = coinHref;
|
|
957
|
-
exports.collectionHref = collectionHref;
|
|
958
960
|
exports.createBackendProxyHandler = createBackendProxyHandler;
|
|
959
961
|
exports.createImageProxyHandler = createImageProxyHandler;
|
|
960
962
|
exports.createLaunchpadRunsClient = createLaunchpadRunsClient;
|