@medialane/sdk 0.67.0 → 0.69.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/evm/index.cjs +12 -13
- package/dist/evm/index.cjs.map +1 -1
- package/dist/evm/index.d.cts +1 -1
- package/dist/evm/index.d.ts +1 -1
- package/dist/evm/index.js +12 -13
- package/dist/evm/index.js.map +1 -1
- package/dist/{index-C2EaTkzk.d.cts → index-7ubLS_Ae.d.cts} +1104 -1808
- package/dist/{index-DjJ4k6p_.d.ts → index-CQGxMPav.d.ts} +1104 -1808
- package/dist/index.cjs +1348 -2283
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +36 -24
- package/dist/index.d.ts +36 -24
- package/dist/index.js +1348 -2278
- package/dist/index.js.map +1 -1
- package/dist/solana/index.cjs +12 -13
- package/dist/solana/index.cjs.map +1 -1
- package/dist/solana/index.d.cts +1 -1
- package/dist/solana/index.d.ts +1 -1
- package/dist/solana/index.js +12 -13
- package/dist/solana/index.js.map +1 -1
- package/dist/starknet/index.cjs +1549 -2499
- 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 +1550 -2497
- package/dist/starknet/index.js.map +1 -1
- package/dist/stellar/index.cjs +12 -13
- package/dist/stellar/index.cjs.map +1 -1
- package/dist/stellar/index.d.cts +1 -1
- package/dist/stellar/index.d.ts +1 -1
- package/dist/stellar/index.js +12 -13
- package/dist/stellar/index.js.map +1 -1
- package/dist/{types-CIR6H6ul.d.cts → types-Du_-QoQ1.d.cts} +1 -4
- package/dist/{types-CIR6H6ul.d.ts → types-Du_-QoQ1.d.ts} +1 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as ServiceDefinition, a as ServiceCapability } from './index-
|
|
2
|
-
export { A as ADMIN_HEADERS, b as ADMIN_SCOPE, c as ActivityType, d as AddSupplyParams, e as AdminGrant, f as AdminRequest, g as AdminRequestSig, h as AdminSession, i as AdminSessionTypedDataInput, j as ApiActivitiesQuery, k as ApiActivity, l as ApiActivityPrice, m as ApiAdminCollectionClaim, n as ApiAppSource, o as ApiChain, p as ApiClient, q as ApiCoin, r as ApiCoinsQuery, s as ApiCollection, t as ApiCollectionClaim, u as ApiCollectionProfile, v as ApiCollectionSlugClaim, w as ApiCollectionsQuery, x as ApiComment, y as ApiCounterOffersQuery, z as ApiCreatorListResult, B as ApiCreatorProfile, C as ApiIntent, D as ApiIntentCreated, E as ApiKeyStatus, F as ApiMeta, G as ApiMetadataSignedUrl, H as ApiMetadataUpload, I as ApiOrder, J as ApiOrderConsideration, K as ApiOrderOffer, L as ApiOrderPrice, M as ApiOrderTokenMeta, N as ApiOrderTxHash, O as ApiOrdersQuery, P as ApiPointEvent, Q as ApiPortalKey, R as ApiPortalKeyCreated, T as ApiPortalMe, U as ApiPublicRemix, V as ApiRemixOffer, W as ApiRemixOfferPrice, X as ApiRemixOffersQuery, Y as ApiResponse, Z as ApiRewardsBadge, _ as ApiRewardsBatchEntry, $ as ApiRewardsConfig, a0 as ApiRewardsLeaderboardEntry, a1 as ApiRewardsLevel, a2 as ApiSearchCollectionResult, a3 as ApiSearchCreatorResult, a4 as ApiSearchResult, a5 as ApiSearchTokenResult, a6 as ApiToken, a7 as ApiTokenBalance, a8 as ApiTokenMetadata, a9 as ApiUsageDay, aa as ApiUserRewards, ab as ApiUserWallet, ac as ApiWebhookCreated, ad as ApiWebhookEndpoint, ae as AutoRemixOfferParams, af as BatchMintEditionParams, ag as BuildFeeCallParams, ah as COIN_MAX_SUPPLY, ai as COIN_MIN_SUPPLY, aj as CancelOrderIntentParams, ak as ChainFilter, al as ClaimConditions, am as ClubService, an as CollectionSort, ao as CollectionTokensSort, ap as ConfirmRemixOfferParams, aq as ConfirmSelfRemixParams, ar as ConsiderationItem, as as
|
|
3
|
-
import { C as Chain } from './types-
|
|
4
|
-
export { A as AdapterTxResult, a as AssetRef, b as CHAINS, c as ChainCoordinates, d as CoordinatesByChain, e as CreateCollectionInput, D as DEFAULT_CHAIN, E as EvmCoordinates, I as IssuanceAdapter, M as MintInput, O as OrderRef, R as RegisterOrderParams, S as SolanaCoordinates, f as StarknetCoordinates, g as StellarCoordinates, V as VenueAdapter, h as VenueSigner, i as getCoordinates, j as getStarknetCoordinates } from './types-
|
|
1
|
+
import { S as ServiceDefinition, a as ServiceCapability } from './index-7ubLS_Ae.cjs';
|
|
2
|
+
export { A as ADMIN_HEADERS, b as ADMIN_SCOPE, c as ActivityType, d as AddSupplyParams, e as AdminGrant, f as AdminRequest, g as AdminRequestSig, h as AdminSession, i as AdminSessionTypedDataInput, j as ApiActivitiesQuery, k as ApiActivity, l as ApiActivityPrice, m as ApiAdminCollectionClaim, n as ApiAppSource, o as ApiChain, p as ApiClient, q as ApiCoin, r as ApiCoinsQuery, s as ApiCollection, t as ApiCollectionClaim, u as ApiCollectionProfile, v as ApiCollectionSlugClaim, w as ApiCollectionsQuery, x as ApiComment, y as ApiCounterOffersQuery, z as ApiCreatorListResult, B as ApiCreatorProfile, C as ApiIntent, D as ApiIntentCreated, E as ApiKeyStatus, F as ApiMeta, G as ApiMetadataSignedUrl, H as ApiMetadataUpload, I as ApiOrder, J as ApiOrderConsideration, K as ApiOrderOffer, L as ApiOrderPrice, M as ApiOrderTokenMeta, N as ApiOrderTxHash, O as ApiOrdersQuery, P as ApiPointEvent, Q as ApiPortalKey, R as ApiPortalKeyCreated, T as ApiPortalMe, U as ApiPublicRemix, V as ApiRemixOffer, W as ApiRemixOfferPrice, X as ApiRemixOffersQuery, Y as ApiResponse, Z as ApiRewardsBadge, _ as ApiRewardsBatchEntry, $ as ApiRewardsConfig, a0 as ApiRewardsLeaderboardEntry, a1 as ApiRewardsLevel, a2 as ApiSearchCollectionResult, a3 as ApiSearchCreatorResult, a4 as ApiSearchResult, a5 as ApiSearchTokenResult, a6 as ApiToken, a7 as ApiTokenBalance, a8 as ApiTokenMetadata, a9 as ApiUsageDay, aa as ApiUserRewards, ab as ApiUserWallet, ac as ApiWebhookCreated, ad as ApiWebhookEndpoint, ae as AutoRemixOfferParams, af as BatchMintEditionParams, ag as BuildFeeCallParams, ah as COIN_MAX_SUPPLY, ai as COIN_MIN_SUPPLY, aj as CancelOrderIntentParams, ak as ChainFilter, al as ClaimConditions, am as ClubService, an as CollectionSort, ao as CollectionTokensSort, ap as ConfirmRemixOfferParams, aq as ConfirmSelfRemixParams, ar as ConsiderationItem, as as CreateCollectionIntentParams, at as CreateCounterOfferIntentParams, au as CreateCreatorCoinParams, av as CreateDropParams, aw as CreateGrantOpts, ax as CreateListingIntentParams, ay as CreateMembershipParams, az as CreateMintIntentParams, aA as CreatePopCollectionParams, aB as CreateRemixOfferParams, aC as CreateSponsorshipOfferParams, aD as CreateTicketParams, aE as CreateWebhookParams, aF as CreatorCoinFactoryABI, aG as CreatorCoinPrice, aH as CreatorCoinReceiptLike, aI as CreatorCoinService, aJ as DeployCollectionParams, aK as DropCollectionABI, aL as DropFactoryABI, aM as DropMintStatus, aN as DropService, aO as ERC1155CollectionService, aP as EkuboLaunchParams, aQ as EkuboPoolParams, aR as EnforcementDeclaration, aS as FeeConfig, aT as FeeConfigSchema, aU as FeeSurface, aV as FulfillOrderIntentParams, aW as IPClubCollectionABI, aX as IPClubFactoryABI, aY as IPCollection1155ABI, aZ as IPCollection1155FactoryABI, a_ as IPCollectionABI, a$ as IPGenesisABI, b0 as IPMarketplaceABI, b1 as IPNftABI, b2 as IPSponsorshipABI, b3 as IPTicketCollectionABI, b4 as IPTicketCollectionFactoryABI, b5 as IPType, b6 as IntentCall, b7 as IntentStatus, b8 as IntentType, b9 as IpAttribute, ba as IpNftMetadata, bb as LAUNCH_PRICE_QUOTE_PER_COIN, bc as MakeOfferIntentParams, bd as Medialane1155ABI, be as MedialaneApiError, bf as MedialaneClient, bg as MedialaneConfig, bh as MedialaneError, bi as MedialaneErrorCode, bj as MintEditionParams, bk as MintMembershipsParams, bl as MintTicketsParams, bm as OPEN_LICENSES, bn as OfferItem, bo as OpenLicense, bp as Order, bq as OrderDetails, br as OrderParameters, bs as OrderStatus, bt as POPCollectionABI, bu as POPFactoryABI, bv as ParsedAdminHeaders, bw as PopBatchEligibilityItem, bx as PopClaimStatus, by as PopEventType, bz as PopService, bA as ProposeSponsorshipParams, bB as RemixOfferStatus, bC as RequestSiwsTokenArgs, bD as ResolvedConfig, bE as ResolvedFeeConfig, bF as ResolvedOrder, bG as RetryOptions, bH as ServiceEventDeclaration, bI as SiwsSigner, bJ as SortOrder, bK as SponsorshipService, bL as StarknetVenue, bM as StarknetVenueDeps, bN as StarknetVenueSigner, bO as TenantPlan, bP as TicketService, bQ as TxResult, bR as VALIDATED_EKUBO_PARAMS, bS as WebhookEventType, bT as WebhookStatus, bU as adminRequestDigest, bV as build1155CancellationTypedData, bW as build1155OrderTypedData, bX as buildAdminSessionTypedData, bY as buildCancellationTypedData, bZ as buildCreateCreatorCoinCall, b_ as buildFeeCall, b$ as buildLaunchOnEkuboCalls, c0 as buildOrderTypedData, c1 as buybackQuoteRaw, c2 as coinToRaw, c3 as createAdminSessionGrant, c4 as encodeAdminHeaders, c5 as encodeByteArray, c6 as fdvHuman, c7 as getCounter, c8 as getCounter1155, c9 as getCreatorCoinPrice, ca as getOrderDetails, cb as getOrderDetails1155, cc as getSiwsStorageKey, cd as getStoredSiwsToken, ce as isSiwsTokenValid, cf as normalizeSiwsSignature, cg as parseAdminHeaders, ch as parseCreatorCoinCreated, ci as randomNonce, cj as requestSiwsToken, ck as resolveConfig, cl as resolveFeeConfig, cm as sessionKeyHashOf, cn as signAdminRequest, co as storeSiwsToken, cp as teamCoinsRaw, cq as validateCoinName, cr as validateCoinSupply, cs as validateCoinSymbol, ct as verifyAdminRequestSig } from './index-7ubLS_Ae.cjs';
|
|
3
|
+
import { C as Chain } from './types-Du_-QoQ1.cjs';
|
|
4
|
+
export { A as AdapterTxResult, a as AssetRef, b as CHAINS, c as ChainCoordinates, d as CoordinatesByChain, e as CreateCollectionInput, D as DEFAULT_CHAIN, E as EvmCoordinates, I as IssuanceAdapter, M as MintInput, O as OrderRef, R as RegisterOrderParams, S as SolanaCoordinates, f as StarknetCoordinates, g as StellarCoordinates, V as VenueAdapter, h as VenueSigner, i as getCoordinates, j as getStarknetCoordinates } from './types-Du_-QoQ1.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'starknet';
|
|
7
7
|
|
|
@@ -26,12 +26,10 @@ declare const STARKNET_DROP_COLLECTION_CLASS_HASH: `0x${string}`;
|
|
|
26
26
|
declare const STARKNET_NFTCOMMENTS_CONTRACT: `0x${string}`;
|
|
27
27
|
declare const STARKNET_IP_TICKETS_FACTORY_CONTRACT: `0x${string}`;
|
|
28
28
|
declare const STARKNET_IP_TICKET_COLLECTION_CLASS_HASH: `0x${string}`;
|
|
29
|
-
declare const STARKNET_IP_CLUB_REGISTRY_CONTRACT: `0x${string}`;
|
|
30
|
-
declare const STARKNET_IP_CLUB_NFT_CLASS_HASH: `0x${string}`;
|
|
31
29
|
declare const STARKNET_IP_CLUB_FACTORY_CONTRACT: `0x${string}`;
|
|
32
30
|
declare const STARKNET_IP_CLUB_COLLECTION_CLASS_HASH: `0x${string}`;
|
|
33
31
|
declare const STARKNET_IP_SPONSORSHIP_CONTRACT: `0x${string}`;
|
|
34
|
-
declare const
|
|
32
|
+
declare const STARKNET_IP_SPONSORSHIP_CLASS_HASH: `0x${string}`;
|
|
35
33
|
declare const STARKNET_CREATOR_COIN_FACTORY_CONTRACT: `0x${string}`;
|
|
36
34
|
declare const STARKNET_CREATOR_COIN_EKUBO_LAUNCHER: `0x${string}`;
|
|
37
35
|
declare const STARKNET_CREATOR_COIN_CLASS_HASH: `0x${string}`;
|
|
@@ -219,14 +217,23 @@ declare const SERVICES: {
|
|
|
219
217
|
readonly "ip-club": {
|
|
220
218
|
readonly id: "ip-club";
|
|
221
219
|
readonly displayName: "IP Club";
|
|
222
|
-
readonly description: "Membership clubs
|
|
223
|
-
readonly standard: "
|
|
220
|
+
readonly description: "Membership clubs — create tiers, mint membership cards, trade like any collection.";
|
|
221
|
+
readonly standard: "ERC1155";
|
|
224
222
|
readonly provenance: "MEDIALANE";
|
|
223
|
+
readonly onchain: {
|
|
224
|
+
readonly STARKNET: {
|
|
225
|
+
readonly factoryAddress: `0x${string}`;
|
|
226
|
+
readonly classHash: `0x${string}`;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
225
229
|
readonly uiVariant: "club";
|
|
226
|
-
readonly capabilities: ["
|
|
230
|
+
readonly capabilities: ["mint", "list", "buy", "make_offer", "cancel", "transfer"];
|
|
227
231
|
readonly events: [{
|
|
228
|
-
readonly name: "
|
|
232
|
+
readonly name: "ClubDeployed";
|
|
229
233
|
readonly emittedBy: "factory";
|
|
234
|
+
}, {
|
|
235
|
+
readonly name: "MembershipCreated";
|
|
236
|
+
readonly emittedBy: "instance";
|
|
230
237
|
}];
|
|
231
238
|
readonly metadataSchema: {
|
|
232
239
|
readonly licenseDefault: "CC BY-SA";
|
|
@@ -238,20 +245,25 @@ declare const SERVICES: {
|
|
|
238
245
|
readonly description: "Sponsorship offers and licenses anchored to an existing Medialane asset.";
|
|
239
246
|
readonly standard: "ERC721";
|
|
240
247
|
readonly provenance: "MEDIALANE";
|
|
241
|
-
readonly
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
248
|
+
readonly onchain: {
|
|
249
|
+
readonly STARKNET: {
|
|
250
|
+
readonly factoryAddress: `0x${string}`;
|
|
251
|
+
readonly classHash: `0x${string}`;
|
|
252
|
+
readonly startBlock: number;
|
|
253
|
+
};
|
|
245
254
|
};
|
|
246
|
-
};
|
|
247
|
-
readonly "ip-sponsorship-license": {
|
|
248
|
-
readonly id: "ip-sponsorship-license";
|
|
249
|
-
readonly displayName: "Sponsorship License Receipt";
|
|
250
|
-
readonly description: "Non-authoritative receipt NFT minted to a sponsor when a sponsorship bid is accepted.";
|
|
251
|
-
readonly standard: "ERC721";
|
|
252
|
-
readonly provenance: "MEDIALANE";
|
|
253
255
|
readonly uiVariant: "standard";
|
|
254
|
-
readonly capabilities: ["transfer"];
|
|
256
|
+
readonly capabilities: ["sponsor", "transfer"];
|
|
257
|
+
readonly events: [{
|
|
258
|
+
readonly name: "OfferCreated";
|
|
259
|
+
readonly emittedBy: "factory";
|
|
260
|
+
}, {
|
|
261
|
+
readonly name: "ProposalCreated";
|
|
262
|
+
readonly emittedBy: "factory";
|
|
263
|
+
}, {
|
|
264
|
+
readonly name: "LicenseMinted";
|
|
265
|
+
readonly emittedBy: "factory";
|
|
266
|
+
}];
|
|
255
267
|
readonly metadataSchema: {
|
|
256
268
|
readonly licenseDefault: "CC BY-SA";
|
|
257
269
|
};
|
|
@@ -503,4 +515,4 @@ interface FailoverFetchOptions {
|
|
|
503
515
|
*/
|
|
504
516
|
declare function createFailoverFetch(urls: string[], options?: FailoverFetchOptions): typeof fetch;
|
|
505
517
|
|
|
506
|
-
export { Chain, DEFAULT_CURRENCY, type FailoverFetchOptions, PUBLIC_RPC_FALLBACKS, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_IP_CLUB_COLLECTION_CLASS_HASH, STARKNET_IP_CLUB_FACTORY_CONTRACT,
|
|
518
|
+
export { Chain, DEFAULT_CURRENCY, type FailoverFetchOptions, PUBLIC_RPC_FALLBACKS, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_IP_CLUB_COLLECTION_CLASS_HASH, STARKNET_IP_CLUB_FACTORY_CONTRACT, STARKNET_IP_SPONSORSHIP_CLASS_HASH, STARKNET_IP_SPONSORSHIP_CONTRACT, STARKNET_IP_TICKETS_FACTORY_CONTRACT, STARKNET_IP_TICKET_COLLECTION_CLASS_HASH, STARKNET_MARKETPLACE_1155_CLASS_HASH, STARKNET_MARKETPLACE_1155_CONTRACT, STARKNET_MARKETPLACE_1155_START_BLOCK, STARKNET_MARKETPLACE_721_CLASS_HASH, STARKNET_MARKETPLACE_721_CONTRACT, STARKNET_MARKETPLACE_721_START_BLOCK, STARKNET_NFTCOMMENTS_CONTRACT, STARKNET_POP_COLLECTION_CLASS_HASH, STARKNET_POP_FACTORY_CONTRACT, SUPPORTED_TOKENS, ServiceCapability, ServiceDefinition, type ServiceId, type SupportedToken, type SupportedTokenSymbol, createFailoverFetch, formatAmount, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, hasCapability, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAmount, shortenAddress, stringifyBigInts, u256ToBigInt };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as ServiceDefinition, a as ServiceCapability } from './index-
|
|
2
|
-
export { A as ADMIN_HEADERS, b as ADMIN_SCOPE, c as ActivityType, d as AddSupplyParams, e as AdminGrant, f as AdminRequest, g as AdminRequestSig, h as AdminSession, i as AdminSessionTypedDataInput, j as ApiActivitiesQuery, k as ApiActivity, l as ApiActivityPrice, m as ApiAdminCollectionClaim, n as ApiAppSource, o as ApiChain, p as ApiClient, q as ApiCoin, r as ApiCoinsQuery, s as ApiCollection, t as ApiCollectionClaim, u as ApiCollectionProfile, v as ApiCollectionSlugClaim, w as ApiCollectionsQuery, x as ApiComment, y as ApiCounterOffersQuery, z as ApiCreatorListResult, B as ApiCreatorProfile, C as ApiIntent, D as ApiIntentCreated, E as ApiKeyStatus, F as ApiMeta, G as ApiMetadataSignedUrl, H as ApiMetadataUpload, I as ApiOrder, J as ApiOrderConsideration, K as ApiOrderOffer, L as ApiOrderPrice, M as ApiOrderTokenMeta, N as ApiOrderTxHash, O as ApiOrdersQuery, P as ApiPointEvent, Q as ApiPortalKey, R as ApiPortalKeyCreated, T as ApiPortalMe, U as ApiPublicRemix, V as ApiRemixOffer, W as ApiRemixOfferPrice, X as ApiRemixOffersQuery, Y as ApiResponse, Z as ApiRewardsBadge, _ as ApiRewardsBatchEntry, $ as ApiRewardsConfig, a0 as ApiRewardsLeaderboardEntry, a1 as ApiRewardsLevel, a2 as ApiSearchCollectionResult, a3 as ApiSearchCreatorResult, a4 as ApiSearchResult, a5 as ApiSearchTokenResult, a6 as ApiToken, a7 as ApiTokenBalance, a8 as ApiTokenMetadata, a9 as ApiUsageDay, aa as ApiUserRewards, ab as ApiUserWallet, ac as ApiWebhookCreated, ad as ApiWebhookEndpoint, ae as AutoRemixOfferParams, af as BatchMintEditionParams, ag as BuildFeeCallParams, ah as COIN_MAX_SUPPLY, ai as COIN_MIN_SUPPLY, aj as CancelOrderIntentParams, ak as ChainFilter, al as ClaimConditions, am as ClubService, an as CollectionSort, ao as CollectionTokensSort, ap as ConfirmRemixOfferParams, aq as ConfirmSelfRemixParams, ar as ConsiderationItem, as as
|
|
3
|
-
import { C as Chain } from './types-
|
|
4
|
-
export { A as AdapterTxResult, a as AssetRef, b as CHAINS, c as ChainCoordinates, d as CoordinatesByChain, e as CreateCollectionInput, D as DEFAULT_CHAIN, E as EvmCoordinates, I as IssuanceAdapter, M as MintInput, O as OrderRef, R as RegisterOrderParams, S as SolanaCoordinates, f as StarknetCoordinates, g as StellarCoordinates, V as VenueAdapter, h as VenueSigner, i as getCoordinates, j as getStarknetCoordinates } from './types-
|
|
1
|
+
import { S as ServiceDefinition, a as ServiceCapability } from './index-CQGxMPav.js';
|
|
2
|
+
export { A as ADMIN_HEADERS, b as ADMIN_SCOPE, c as ActivityType, d as AddSupplyParams, e as AdminGrant, f as AdminRequest, g as AdminRequestSig, h as AdminSession, i as AdminSessionTypedDataInput, j as ApiActivitiesQuery, k as ApiActivity, l as ApiActivityPrice, m as ApiAdminCollectionClaim, n as ApiAppSource, o as ApiChain, p as ApiClient, q as ApiCoin, r as ApiCoinsQuery, s as ApiCollection, t as ApiCollectionClaim, u as ApiCollectionProfile, v as ApiCollectionSlugClaim, w as ApiCollectionsQuery, x as ApiComment, y as ApiCounterOffersQuery, z as ApiCreatorListResult, B as ApiCreatorProfile, C as ApiIntent, D as ApiIntentCreated, E as ApiKeyStatus, F as ApiMeta, G as ApiMetadataSignedUrl, H as ApiMetadataUpload, I as ApiOrder, J as ApiOrderConsideration, K as ApiOrderOffer, L as ApiOrderPrice, M as ApiOrderTokenMeta, N as ApiOrderTxHash, O as ApiOrdersQuery, P as ApiPointEvent, Q as ApiPortalKey, R as ApiPortalKeyCreated, T as ApiPortalMe, U as ApiPublicRemix, V as ApiRemixOffer, W as ApiRemixOfferPrice, X as ApiRemixOffersQuery, Y as ApiResponse, Z as ApiRewardsBadge, _ as ApiRewardsBatchEntry, $ as ApiRewardsConfig, a0 as ApiRewardsLeaderboardEntry, a1 as ApiRewardsLevel, a2 as ApiSearchCollectionResult, a3 as ApiSearchCreatorResult, a4 as ApiSearchResult, a5 as ApiSearchTokenResult, a6 as ApiToken, a7 as ApiTokenBalance, a8 as ApiTokenMetadata, a9 as ApiUsageDay, aa as ApiUserRewards, ab as ApiUserWallet, ac as ApiWebhookCreated, ad as ApiWebhookEndpoint, ae as AutoRemixOfferParams, af as BatchMintEditionParams, ag as BuildFeeCallParams, ah as COIN_MAX_SUPPLY, ai as COIN_MIN_SUPPLY, aj as CancelOrderIntentParams, ak as ChainFilter, al as ClaimConditions, am as ClubService, an as CollectionSort, ao as CollectionTokensSort, ap as ConfirmRemixOfferParams, aq as ConfirmSelfRemixParams, ar as ConsiderationItem, as as CreateCollectionIntentParams, at as CreateCounterOfferIntentParams, au as CreateCreatorCoinParams, av as CreateDropParams, aw as CreateGrantOpts, ax as CreateListingIntentParams, ay as CreateMembershipParams, az as CreateMintIntentParams, aA as CreatePopCollectionParams, aB as CreateRemixOfferParams, aC as CreateSponsorshipOfferParams, aD as CreateTicketParams, aE as CreateWebhookParams, aF as CreatorCoinFactoryABI, aG as CreatorCoinPrice, aH as CreatorCoinReceiptLike, aI as CreatorCoinService, aJ as DeployCollectionParams, aK as DropCollectionABI, aL as DropFactoryABI, aM as DropMintStatus, aN as DropService, aO as ERC1155CollectionService, aP as EkuboLaunchParams, aQ as EkuboPoolParams, aR as EnforcementDeclaration, aS as FeeConfig, aT as FeeConfigSchema, aU as FeeSurface, aV as FulfillOrderIntentParams, aW as IPClubCollectionABI, aX as IPClubFactoryABI, aY as IPCollection1155ABI, aZ as IPCollection1155FactoryABI, a_ as IPCollectionABI, a$ as IPGenesisABI, b0 as IPMarketplaceABI, b1 as IPNftABI, b2 as IPSponsorshipABI, b3 as IPTicketCollectionABI, b4 as IPTicketCollectionFactoryABI, b5 as IPType, b6 as IntentCall, b7 as IntentStatus, b8 as IntentType, b9 as IpAttribute, ba as IpNftMetadata, bb as LAUNCH_PRICE_QUOTE_PER_COIN, bc as MakeOfferIntentParams, bd as Medialane1155ABI, be as MedialaneApiError, bf as MedialaneClient, bg as MedialaneConfig, bh as MedialaneError, bi as MedialaneErrorCode, bj as MintEditionParams, bk as MintMembershipsParams, bl as MintTicketsParams, bm as OPEN_LICENSES, bn as OfferItem, bo as OpenLicense, bp as Order, bq as OrderDetails, br as OrderParameters, bs as OrderStatus, bt as POPCollectionABI, bu as POPFactoryABI, bv as ParsedAdminHeaders, bw as PopBatchEligibilityItem, bx as PopClaimStatus, by as PopEventType, bz as PopService, bA as ProposeSponsorshipParams, bB as RemixOfferStatus, bC as RequestSiwsTokenArgs, bD as ResolvedConfig, bE as ResolvedFeeConfig, bF as ResolvedOrder, bG as RetryOptions, bH as ServiceEventDeclaration, bI as SiwsSigner, bJ as SortOrder, bK as SponsorshipService, bL as StarknetVenue, bM as StarknetVenueDeps, bN as StarknetVenueSigner, bO as TenantPlan, bP as TicketService, bQ as TxResult, bR as VALIDATED_EKUBO_PARAMS, bS as WebhookEventType, bT as WebhookStatus, bU as adminRequestDigest, bV as build1155CancellationTypedData, bW as build1155OrderTypedData, bX as buildAdminSessionTypedData, bY as buildCancellationTypedData, bZ as buildCreateCreatorCoinCall, b_ as buildFeeCall, b$ as buildLaunchOnEkuboCalls, c0 as buildOrderTypedData, c1 as buybackQuoteRaw, c2 as coinToRaw, c3 as createAdminSessionGrant, c4 as encodeAdminHeaders, c5 as encodeByteArray, c6 as fdvHuman, c7 as getCounter, c8 as getCounter1155, c9 as getCreatorCoinPrice, ca as getOrderDetails, cb as getOrderDetails1155, cc as getSiwsStorageKey, cd as getStoredSiwsToken, ce as isSiwsTokenValid, cf as normalizeSiwsSignature, cg as parseAdminHeaders, ch as parseCreatorCoinCreated, ci as randomNonce, cj as requestSiwsToken, ck as resolveConfig, cl as resolveFeeConfig, cm as sessionKeyHashOf, cn as signAdminRequest, co as storeSiwsToken, cp as teamCoinsRaw, cq as validateCoinName, cr as validateCoinSupply, cs as validateCoinSymbol, ct as verifyAdminRequestSig } from './index-CQGxMPav.js';
|
|
3
|
+
import { C as Chain } from './types-Du_-QoQ1.js';
|
|
4
|
+
export { A as AdapterTxResult, a as AssetRef, b as CHAINS, c as ChainCoordinates, d as CoordinatesByChain, e as CreateCollectionInput, D as DEFAULT_CHAIN, E as EvmCoordinates, I as IssuanceAdapter, M as MintInput, O as OrderRef, R as RegisterOrderParams, S as SolanaCoordinates, f as StarknetCoordinates, g as StellarCoordinates, V as VenueAdapter, h as VenueSigner, i as getCoordinates, j as getStarknetCoordinates } from './types-Du_-QoQ1.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'starknet';
|
|
7
7
|
|
|
@@ -26,12 +26,10 @@ declare const STARKNET_DROP_COLLECTION_CLASS_HASH: `0x${string}`;
|
|
|
26
26
|
declare const STARKNET_NFTCOMMENTS_CONTRACT: `0x${string}`;
|
|
27
27
|
declare const STARKNET_IP_TICKETS_FACTORY_CONTRACT: `0x${string}`;
|
|
28
28
|
declare const STARKNET_IP_TICKET_COLLECTION_CLASS_HASH: `0x${string}`;
|
|
29
|
-
declare const STARKNET_IP_CLUB_REGISTRY_CONTRACT: `0x${string}`;
|
|
30
|
-
declare const STARKNET_IP_CLUB_NFT_CLASS_HASH: `0x${string}`;
|
|
31
29
|
declare const STARKNET_IP_CLUB_FACTORY_CONTRACT: `0x${string}`;
|
|
32
30
|
declare const STARKNET_IP_CLUB_COLLECTION_CLASS_HASH: `0x${string}`;
|
|
33
31
|
declare const STARKNET_IP_SPONSORSHIP_CONTRACT: `0x${string}`;
|
|
34
|
-
declare const
|
|
32
|
+
declare const STARKNET_IP_SPONSORSHIP_CLASS_HASH: `0x${string}`;
|
|
35
33
|
declare const STARKNET_CREATOR_COIN_FACTORY_CONTRACT: `0x${string}`;
|
|
36
34
|
declare const STARKNET_CREATOR_COIN_EKUBO_LAUNCHER: `0x${string}`;
|
|
37
35
|
declare const STARKNET_CREATOR_COIN_CLASS_HASH: `0x${string}`;
|
|
@@ -219,14 +217,23 @@ declare const SERVICES: {
|
|
|
219
217
|
readonly "ip-club": {
|
|
220
218
|
readonly id: "ip-club";
|
|
221
219
|
readonly displayName: "IP Club";
|
|
222
|
-
readonly description: "Membership clubs
|
|
223
|
-
readonly standard: "
|
|
220
|
+
readonly description: "Membership clubs — create tiers, mint membership cards, trade like any collection.";
|
|
221
|
+
readonly standard: "ERC1155";
|
|
224
222
|
readonly provenance: "MEDIALANE";
|
|
223
|
+
readonly onchain: {
|
|
224
|
+
readonly STARKNET: {
|
|
225
|
+
readonly factoryAddress: `0x${string}`;
|
|
226
|
+
readonly classHash: `0x${string}`;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
225
229
|
readonly uiVariant: "club";
|
|
226
|
-
readonly capabilities: ["
|
|
230
|
+
readonly capabilities: ["mint", "list", "buy", "make_offer", "cancel", "transfer"];
|
|
227
231
|
readonly events: [{
|
|
228
|
-
readonly name: "
|
|
232
|
+
readonly name: "ClubDeployed";
|
|
229
233
|
readonly emittedBy: "factory";
|
|
234
|
+
}, {
|
|
235
|
+
readonly name: "MembershipCreated";
|
|
236
|
+
readonly emittedBy: "instance";
|
|
230
237
|
}];
|
|
231
238
|
readonly metadataSchema: {
|
|
232
239
|
readonly licenseDefault: "CC BY-SA";
|
|
@@ -238,20 +245,25 @@ declare const SERVICES: {
|
|
|
238
245
|
readonly description: "Sponsorship offers and licenses anchored to an existing Medialane asset.";
|
|
239
246
|
readonly standard: "ERC721";
|
|
240
247
|
readonly provenance: "MEDIALANE";
|
|
241
|
-
readonly
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
248
|
+
readonly onchain: {
|
|
249
|
+
readonly STARKNET: {
|
|
250
|
+
readonly factoryAddress: `0x${string}`;
|
|
251
|
+
readonly classHash: `0x${string}`;
|
|
252
|
+
readonly startBlock: number;
|
|
253
|
+
};
|
|
245
254
|
};
|
|
246
|
-
};
|
|
247
|
-
readonly "ip-sponsorship-license": {
|
|
248
|
-
readonly id: "ip-sponsorship-license";
|
|
249
|
-
readonly displayName: "Sponsorship License Receipt";
|
|
250
|
-
readonly description: "Non-authoritative receipt NFT minted to a sponsor when a sponsorship bid is accepted.";
|
|
251
|
-
readonly standard: "ERC721";
|
|
252
|
-
readonly provenance: "MEDIALANE";
|
|
253
255
|
readonly uiVariant: "standard";
|
|
254
|
-
readonly capabilities: ["transfer"];
|
|
256
|
+
readonly capabilities: ["sponsor", "transfer"];
|
|
257
|
+
readonly events: [{
|
|
258
|
+
readonly name: "OfferCreated";
|
|
259
|
+
readonly emittedBy: "factory";
|
|
260
|
+
}, {
|
|
261
|
+
readonly name: "ProposalCreated";
|
|
262
|
+
readonly emittedBy: "factory";
|
|
263
|
+
}, {
|
|
264
|
+
readonly name: "LicenseMinted";
|
|
265
|
+
readonly emittedBy: "factory";
|
|
266
|
+
}];
|
|
255
267
|
readonly metadataSchema: {
|
|
256
268
|
readonly licenseDefault: "CC BY-SA";
|
|
257
269
|
};
|
|
@@ -503,4 +515,4 @@ interface FailoverFetchOptions {
|
|
|
503
515
|
*/
|
|
504
516
|
declare function createFailoverFetch(urls: string[], options?: FailoverFetchOptions): typeof fetch;
|
|
505
517
|
|
|
506
|
-
export { Chain, DEFAULT_CURRENCY, type FailoverFetchOptions, PUBLIC_RPC_FALLBACKS, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_IP_CLUB_COLLECTION_CLASS_HASH, STARKNET_IP_CLUB_FACTORY_CONTRACT,
|
|
518
|
+
export { Chain, DEFAULT_CURRENCY, type FailoverFetchOptions, PUBLIC_RPC_FALLBACKS, STARKNET_COLLECTION_1155_CLASS_HASH, STARKNET_COLLECTION_1155_CONTRACT, STARKNET_COLLECTION_1155_FACTORY_CLASS_HASH, STARKNET_COLLECTION_1155_START_BLOCK, STARKNET_COLLECTION_721_CONTRACT, STARKNET_COLLECTION_721_START_BLOCK, STARKNET_CREATOR_COIN_CLASS_HASH, STARKNET_CREATOR_COIN_EKUBO_LAUNCHER, STARKNET_CREATOR_COIN_FACTORY_CLASS_HASH, STARKNET_CREATOR_COIN_FACTORY_CONTRACT, STARKNET_CREATOR_COIN_START_BLOCK, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_IPCOLLECTION_CLASS_HASH, STARKNET_IPNFT_CLASS_HASH, STARKNET_IP_CLUB_COLLECTION_CLASS_HASH, STARKNET_IP_CLUB_FACTORY_CONTRACT, STARKNET_IP_SPONSORSHIP_CLASS_HASH, STARKNET_IP_SPONSORSHIP_CONTRACT, STARKNET_IP_TICKETS_FACTORY_CONTRACT, STARKNET_IP_TICKET_COLLECTION_CLASS_HASH, STARKNET_MARKETPLACE_1155_CLASS_HASH, STARKNET_MARKETPLACE_1155_CONTRACT, STARKNET_MARKETPLACE_1155_START_BLOCK, STARKNET_MARKETPLACE_721_CLASS_HASH, STARKNET_MARKETPLACE_721_CONTRACT, STARKNET_MARKETPLACE_721_START_BLOCK, STARKNET_NFTCOMMENTS_CONTRACT, STARKNET_POP_COLLECTION_CLASS_HASH, STARKNET_POP_FACTORY_CONTRACT, SUPPORTED_TOKENS, ServiceCapability, ServiceDefinition, type ServiceId, type SupportedToken, type SupportedTokenSymbol, createFailoverFetch, formatAmount, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, hasCapability, isServiceId, isTransientRpcError, listServices, normalizeAddress, normalizeHash, parseAmount, shortenAddress, stringifyBigInts, u256ToBigInt };
|