@medialane/sdk 0.133.0 → 0.135.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{errors-DEz42hh5.d.cts → errors-BQGalSIU.d.cts} +205 -6
- package/dist/{errors-DxBa5Wne.d.ts → errors-BsNfDL85.d.ts} +205 -6
- package/dist/index.cjs +213 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +147 -3
- package/dist/index.d.ts +147 -3
- package/dist/index.js +210 -3
- package/dist/index.js.map +1 -1
- package/dist/starknet/index.cjs +130 -2
- 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 +130 -2
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ResolvedFeeConfig, S as ServiceDefinition, a as ServiceCapability } from './errors-
|
|
2
|
-
export { A as AcceptSponsorshipBidIntentParams, b as AcceptSponsorshipProposalIntentParams, c as ActivityType, d as ApiActivitiesQuery, e as ApiActivity, f as ApiActivityPrice, g as ApiAdminCollectionClaim, h as
|
|
1
|
+
import { R as ResolvedFeeConfig, S as ServiceDefinition, a as ServiceCapability } from './errors-BQGalSIU.cjs';
|
|
2
|
+
export { A as AcceptSponsorshipBidIntentParams, b as AcceptSponsorshipProposalIntentParams, c as ActivityType, d as ApiActivitiesQuery, e as ApiActivity, f as ApiActivityPrice, g as ApiAdminCollectionClaim, h as ApiBusinessProvisioning, i as ApiChain, j as ApiCheckoutIntentResult, k as ApiClient, l as ApiCoin, m as ApiCoinClaimResult, n as ApiCoinPrice, o as ApiCoinPrices, p as ApiCoinsQuery, q as ApiCollection, r as ApiCollectionClaim, s as ApiCollectionProfile, t as ApiCollectionSlugClaim, u as ApiCollectionsQuery, v as ApiComment, w as ApiCounterOffersQuery, x as ApiCreatorListResult, y as ApiCreatorProfile, z as ApiCreditPayment, B as ApiDropConditions, C as ApiDropInfo, D as ApiDropState, E as ApiEmissionCall, F as ApiEmissionResult, G as ApiFundingInstructions, H as ApiFundingIntent, I as ApiFundingMethod, J as ApiFundingStatus, K as ApiFundingSubmit, L as ApiIntent, M as ApiIntentCreated, N as ApiIpNftTokenData, O as ApiKeyStatus, P as ApiMeta, Q as ApiMetadataSignedUrl, T as ApiMetadataUpload, U as ApiOrder, V as ApiOrderConsideration, W as ApiOrderOffer, X as ApiOrderPrice, Y as ApiOrderTokenMeta, Z as ApiOrderTxHash, _ as ApiOrdersQuery, $ as ApiPlatformStats, a0 as ApiPointEvent, a1 as ApiPortalKey, a2 as ApiPortalKeyCreated, a3 as ApiPortalMe, a4 as ApiPortalSpend, a5 as ApiPublicRemix, a6 as ApiRemixOffer, a7 as ApiRemixOfferPrice, a8 as ApiRemixOffersQuery, a9 as ApiReportTargetType, aa as ApiResponse, ab as ApiRewardsBadge, ac as ApiRewardsBatchEntry, ad as ApiRewardsConfig, ae as ApiRewardsLeaderboardEntry, af as ApiRewardsLevel, ag as ApiSearchCollectionResult, ah as ApiSearchCreatorResult, ai as ApiSearchResult, aj as ApiSearchTokenResult, ak as ApiSpendByAction, al as ApiSponsorshipBid, am as ApiSponsorshipLicense, an as ApiSponsorshipLicensesQuery, ao as ApiSponsorshipOffer, ap as ApiSponsorshipOffersQuery, aq as ApiSponsorshipProposal, ar as ApiSponsorshipProposalsQuery, as as ApiSubmitReport, at as ApiTierOnchain, au as ApiToken, av as ApiTokenBalance, aw as ApiTokenMetadata, ax as ApiTokensQuery, ay as ApiTxSyncResult, az as ApiUserRewards, aA as ApiUserWallet, aB as ApiUsernameClaim, aC as ApiWalletActivity, aD as ApiWebhookCreated, aE as ApiWebhookEndpoint, aF as AutoRemixOfferParams, aG as CancelOrderIntentParams, aH as ChainFilter, aI as CheckoutIntentItem, aJ as ClaimConditions, aK as CollectionServiceId, aL as CollectionSort, aM as CollectionTokensSort, aN as ConfirmRemixOfferParams, aO as ConfirmSelfRemixParams, aP as ConsiderationItem, aQ as CreateCheckoutIntentParams, aR as CreateCoinIntentParams, aS as CreateCollectionIntentParams, aT as CreateCounterOfferIntentParams, aU as CreateDropParams, aV as CreateListingIntentParams, aW as CreateMembershipParams, aX as CreateMintIntentParams, aY as CreatePopCollectionParams, aZ as CreateRemixOfferParams, a_ as CreateSponsorshipOfferIntentParams, a$ as CreateSponsorshipOfferParams, b0 as CreateSponsorshipProposalIntentParams, b1 as CreateTicketParams, b2 as CreateTierIntentParams, b3 as CreateWebhookParams, b4 as DropMintStatus, b5 as EmissionParams, b6 as EnforcementDeclaration, b7 as FactoryFamilyServiceId, b8 as FeeConfig, b9 as FeeConfigSchema, ba as FulfillOrderIntentParams, bb as IPType, bc as IntentCall, bd as IntentStatus, be as IntentType, bf as IpAttribute, bg as IpNftMetadata, bh as LaunchCoinIntentParams, bi as MakeOfferIntentParams, bj as MedialaneApiError, bk as MedialaneConfig, bl as MedialaneErrorCode, bm as MintMembershipsParams, bn as MintTicketsParams, bo as OPEN_LICENSES, bp as OfferItem, bq as OpenLicense, br as Order, bs as OrderDetails, bt as OrderParameters, bu as OrderStatus, bv as PasskeyCancelledError, bw as PlaceSponsorshipBidIntentParams, bx as PopBatchEligibilityItem, by as PopClaimStatus, bz as PopEventType, bA as ProposeSponsorshipParams, bB as RejectSponsorshipProposalIntentParams, bC as RemixOfferStatus, bD as ResolvedConfig, bE as RetractSponsorshipBidIntentParams, bF as RetryOptions, bG as ServiceEventDeclaration, bH as SetSponsorshipOfferOpenIntentParams, bI as SortOrder, bJ as TenantPlan, bK as TierServiceId, bL as TxResult, bM as UpdateCollectionProfileInput, bN as UserFacingError, bO as WebhookEventType, bP as WebhookStatus, bQ as WithdrawSponsorshipProposalIntentParams, bR as resolveConfig, bS as resolveFeeConfig } from './errors-BQGalSIU.cjs';
|
|
3
3
|
import { C as Chain } from './types-CuSlc_YE.cjs';
|
|
4
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 getCoordinates, i as getStarknetCoordinates } from './types-CuSlc_YE.cjs';
|
|
5
5
|
import 'zod';
|
|
@@ -13,6 +13,150 @@ interface FeeEnv {
|
|
|
13
13
|
}
|
|
14
14
|
declare function resolveAppFeeConfig(env?: FeeEnv): ResolvedFeeConfig;
|
|
15
15
|
|
|
16
|
+
type RunStatus = "DRAFT" | "PAID" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED";
|
|
17
|
+
interface RunQuoteLine {
|
|
18
|
+
action: string;
|
|
19
|
+
units: number;
|
|
20
|
+
unitCredits: number;
|
|
21
|
+
credits: number;
|
|
22
|
+
}
|
|
23
|
+
interface RunQuote {
|
|
24
|
+
lines: RunQuoteLine[];
|
|
25
|
+
total: number;
|
|
26
|
+
}
|
|
27
|
+
type NextStep = {
|
|
28
|
+
kind: "collection";
|
|
29
|
+
} | {
|
|
30
|
+
kind: "wait-collection";
|
|
31
|
+
} | {
|
|
32
|
+
kind: "upload";
|
|
33
|
+
files: string[];
|
|
34
|
+
} | {
|
|
35
|
+
kind: "metadata";
|
|
36
|
+
items: number[];
|
|
37
|
+
} | {
|
|
38
|
+
kind: "batch";
|
|
39
|
+
index: number;
|
|
40
|
+
} | {
|
|
41
|
+
kind: "wait";
|
|
42
|
+
index: number;
|
|
43
|
+
} | {
|
|
44
|
+
kind: "done";
|
|
45
|
+
};
|
|
46
|
+
/** What a paid IP Ticketing run asks for next. Kinds it shares with the shared union keep their shape. */
|
|
47
|
+
type TicketingNextStep = {
|
|
48
|
+
kind: "collection";
|
|
49
|
+
} | {
|
|
50
|
+
kind: "wait-collection";
|
|
51
|
+
} | {
|
|
52
|
+
kind: "upload";
|
|
53
|
+
files: string[];
|
|
54
|
+
} | {
|
|
55
|
+
kind: "ticket-metadata";
|
|
56
|
+
} | {
|
|
57
|
+
kind: "tier";
|
|
58
|
+
} | {
|
|
59
|
+
kind: "wait-tier";
|
|
60
|
+
} | {
|
|
61
|
+
kind: "wallets";
|
|
62
|
+
} | {
|
|
63
|
+
kind: "batch";
|
|
64
|
+
index: number;
|
|
65
|
+
} | {
|
|
66
|
+
kind: "wait";
|
|
67
|
+
index: number;
|
|
68
|
+
} | {
|
|
69
|
+
kind: "done";
|
|
70
|
+
};
|
|
71
|
+
interface WalletRequest {
|
|
72
|
+
recipient: string;
|
|
73
|
+
}
|
|
74
|
+
interface LaunchpadRunBase {
|
|
75
|
+
id: string;
|
|
76
|
+
status: RunStatus;
|
|
77
|
+
spec: unknown;
|
|
78
|
+
quote: RunQuote | null;
|
|
79
|
+
creditsHeld: number;
|
|
80
|
+
creditsSpent: number;
|
|
81
|
+
progress: unknown;
|
|
82
|
+
createdAt: string;
|
|
83
|
+
updatedAt: string;
|
|
84
|
+
}
|
|
85
|
+
type DataTokenizationRun = LaunchpadRunBase & {
|
|
86
|
+
service: "data-tokenization-erc721";
|
|
87
|
+
next?: NextStep;
|
|
88
|
+
};
|
|
89
|
+
type TicketingRun = LaunchpadRunBase & {
|
|
90
|
+
service: "ip-ticketing";
|
|
91
|
+
next?: TicketingNextStep;
|
|
92
|
+
};
|
|
93
|
+
type LaunchpadRun = DataTokenizationRun | TicketingRun;
|
|
94
|
+
declare const isDataTokenizationRun: (run: LaunchpadRun) => run is DataTokenizationRun;
|
|
95
|
+
declare const isTicketingRun: (run: LaunchpadRun) => run is TicketingRun;
|
|
96
|
+
interface ConfirmResult {
|
|
97
|
+
pending: boolean;
|
|
98
|
+
status: string;
|
|
99
|
+
completed?: boolean;
|
|
100
|
+
}
|
|
101
|
+
declare class RunRequestError extends Error {
|
|
102
|
+
readonly status: number;
|
|
103
|
+
readonly body: Record<string, unknown>;
|
|
104
|
+
constructor(message: string, status: number, body: Record<string, unknown>);
|
|
105
|
+
}
|
|
106
|
+
type TokenSource = () => Promise<string | null>;
|
|
107
|
+
interface LaunchpadRunsClientOptions {
|
|
108
|
+
/** The backend, or an app's proxy to it. `/v1/portal/runs` is appended. */
|
|
109
|
+
baseUrl: string;
|
|
110
|
+
getToken: TokenSource;
|
|
111
|
+
fetchImpl?: typeof fetch;
|
|
112
|
+
}
|
|
113
|
+
/** Paid launchpad runs for the caller's account: create, pay, execute step by step, confirm. */
|
|
114
|
+
declare function createLaunchpadRunsClient({ baseUrl, getToken, fetchImpl }: LaunchpadRunsClientOptions): {
|
|
115
|
+
authorizedFetch: typeof fetch;
|
|
116
|
+
runBase: (id: string) => string;
|
|
117
|
+
runBatchBase: (id: string, index: number) => string;
|
|
118
|
+
runCollectionBase: (id: string) => string;
|
|
119
|
+
runTierBase: (id: string) => string;
|
|
120
|
+
ticketing: {
|
|
121
|
+
uploadUrl: (id: string, name: string) => Promise<string>;
|
|
122
|
+
uploaded: (id: string, name: string, cid: string) => Promise<{
|
|
123
|
+
name: string;
|
|
124
|
+
uri: string;
|
|
125
|
+
}>;
|
|
126
|
+
metadata: (id: string, userAddress: string) => Promise<{
|
|
127
|
+
tokenUri: string;
|
|
128
|
+
}>;
|
|
129
|
+
/** Guests who still need a wallet deployed; the ones who already have one are recorded on the run. */
|
|
130
|
+
resolveWallets: (id: string) => Promise<string[]>;
|
|
131
|
+
registerWallet: (id: string, request: WalletRequest) => Promise<{
|
|
132
|
+
recipient: string;
|
|
133
|
+
walletAddress: string;
|
|
134
|
+
}>;
|
|
135
|
+
confirmCollection: (id: string) => Promise<ConfirmResult>;
|
|
136
|
+
confirmTier: (id: string) => Promise<ConfirmResult>;
|
|
137
|
+
confirmBatch: (id: string, index: number) => Promise<ConfirmResult>;
|
|
138
|
+
};
|
|
139
|
+
list: () => Promise<LaunchpadRun[]>;
|
|
140
|
+
get: (id: string) => Promise<LaunchpadRun>;
|
|
141
|
+
create: (service: string, spec: unknown) => Promise<LaunchpadRun>;
|
|
142
|
+
update: (id: string, spec: unknown) => Promise<LaunchpadRun>;
|
|
143
|
+
cancel: (id: string) => Promise<LaunchpadRun>;
|
|
144
|
+
checkoutWithCredits: (id: string) => Promise<LaunchpadRun>;
|
|
145
|
+
checkoutFromWallet: (id: string, intentId: string) => Promise<LaunchpadRun>;
|
|
146
|
+
uploadUrl: (id: string, name: string) => Promise<string>;
|
|
147
|
+
uploaded: (id: string, name: string, cid: string) => Promise<{
|
|
148
|
+
name: string;
|
|
149
|
+
uri: string;
|
|
150
|
+
}>;
|
|
151
|
+
itemMetadata: (id: string, index: number, userAddress: string) => Promise<{
|
|
152
|
+
index: number;
|
|
153
|
+
tokenUri: string;
|
|
154
|
+
}>;
|
|
155
|
+
confirmBatch: (id: string, index: number) => Promise<ConfirmResult>;
|
|
156
|
+
confirmCollection: (id: string) => Promise<ConfirmResult>;
|
|
157
|
+
};
|
|
158
|
+
type LaunchpadRunsClient = ReturnType<typeof createLaunchpadRunsClient>;
|
|
159
|
+
|
|
16
160
|
declare const STARKNET_MARKETPLACE_721_CONTRACT: `0x${string}`;
|
|
17
161
|
declare const STARKNET_MARKETPLACE_721_CLASS_HASH: `0x${string}`;
|
|
18
162
|
declare const STARKNET_MARKETPLACE_721_START_BLOCK: number;
|
|
@@ -613,4 +757,4 @@ declare const IPFS_SAFE_CONTENT_TYPE_PREFIXES: readonly ["image/jpeg", "image/pn
|
|
|
613
757
|
declare function resolveSafeImageContentType(contentType: string): string;
|
|
614
758
|
declare const MAX_IPFS_GATEWAY_RESPONSE_BYTES: number;
|
|
615
759
|
|
|
616
|
-
export { ACCOUNT_SESSION_TTL_SECONDS, ALLOWED_IMAGE_CONTENT_TYPES, type AssetAttribute, type AssetMetadata, type BackendMetadataConfig, type BackendProxyConfig, type BackendUploadResult, type BuildAssetMetadataInput, type CanonicalHash, type CappedBody, Chain, DEFAULT_CURRENCY, type FailoverFetchOptions, type FeeEnv, IDENTITY_TTL_SECONDS, IPFS_SAFE_CONTENT_TYPE_PREFIXES, type ImageProxyConfig, MAX_IMAGE_PROXY_BYTES, MAX_IMAGE_REDIRECTS, MAX_IPFS_GATEWAY_RESPONSE_BYTES, POLICY_REFUSAL_CODES, RESERVED_TRAITS, type RemixPolicy, type RemixPolicyInput, ResolvedFeeConfig, type RpcProxyConfig, 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_DATA_TOKENIZATION_721_CONTRACT, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_GENESIS_MINT_BR_CONTRACT, STARKNET_GENESIS_MINT_GLOBAL_CONTRACT, STARKNET_GENESIS_MINT_LAUNCH_CONTRACT, 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, SUPPORTED_URL_CHAINS, ServiceCapability, ServiceDefinition, type ServiceId, type SiwsIdentity, type SupportedToken, type SupportedTokenSymbol, assetHref, buildAssetMetadata, chainFromSlug, chainSlug, coinHref, collectionHref, createBackendProxyHandler, createFailoverFetch, createImageProxyHandler, createRpcProxyHandler, encodeU256, formatAmount, getBackendSignedUrl, getDerivativesTerm, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, hasCapability, isPolicyRefusal, isPrivateHost, isPrivateOrInsecureUrl, isSameOrigin, isServiceId, isTransientRpcError, isValidIpfsCidPath, issueAccountSessionToken, issueSiwsToken, listServices, normalizeAddress, normalizeHash, parseAmount, readBodyWithCap, resolveAppFeeConfig, resolveRemixPolicy, resolveSafeImageContentType, shortenAddress, stringifyBigInts, u256ToBigInt, uploadDirectoryToBackend, uploadFileToBackend, uploadJsonToBackend, validateUrl, verifyAccountSessionToken, verifySiwsToken };
|
|
760
|
+
export { ACCOUNT_SESSION_TTL_SECONDS, ALLOWED_IMAGE_CONTENT_TYPES, type AssetAttribute, type AssetMetadata, type BackendMetadataConfig, type BackendProxyConfig, type BackendUploadResult, type BuildAssetMetadataInput, type CanonicalHash, type CappedBody, Chain, type ConfirmResult, DEFAULT_CURRENCY, type DataTokenizationRun, type FailoverFetchOptions, type FeeEnv, IDENTITY_TTL_SECONDS, IPFS_SAFE_CONTENT_TYPE_PREFIXES, type ImageProxyConfig, type LaunchpadRun, type LaunchpadRunsClient, type LaunchpadRunsClientOptions, MAX_IMAGE_PROXY_BYTES, MAX_IMAGE_REDIRECTS, MAX_IPFS_GATEWAY_RESPONSE_BYTES, type NextStep, POLICY_REFUSAL_CODES, RESERVED_TRAITS, type RemixPolicy, type RemixPolicyInput, ResolvedFeeConfig, type RpcProxyConfig, type RunQuote, type RunQuoteLine, RunRequestError, type RunStatus, 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_DATA_TOKENIZATION_721_CONTRACT, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_GENESIS_MINT_BR_CONTRACT, STARKNET_GENESIS_MINT_GLOBAL_CONTRACT, STARKNET_GENESIS_MINT_LAUNCH_CONTRACT, 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, SUPPORTED_URL_CHAINS, ServiceCapability, ServiceDefinition, type ServiceId, type SiwsIdentity, type SupportedToken, type SupportedTokenSymbol, type TicketingNextStep, type TicketingRun, type TokenSource, type WalletRequest, assetHref, buildAssetMetadata, chainFromSlug, chainSlug, coinHref, collectionHref, createBackendProxyHandler, createFailoverFetch, createImageProxyHandler, createLaunchpadRunsClient, createRpcProxyHandler, encodeU256, formatAmount, getBackendSignedUrl, getDerivativesTerm, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, hasCapability, isDataTokenizationRun, isPolicyRefusal, isPrivateHost, isPrivateOrInsecureUrl, isSameOrigin, isServiceId, isTicketingRun, isTransientRpcError, isValidIpfsCidPath, issueAccountSessionToken, issueSiwsToken, listServices, normalizeAddress, normalizeHash, parseAmount, readBodyWithCap, resolveAppFeeConfig, resolveRemixPolicy, resolveSafeImageContentType, shortenAddress, stringifyBigInts, u256ToBigInt, uploadDirectoryToBackend, uploadFileToBackend, uploadJsonToBackend, validateUrl, verifyAccountSessionToken, verifySiwsToken };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ResolvedFeeConfig, S as ServiceDefinition, a as ServiceCapability } from './errors-
|
|
2
|
-
export { A as AcceptSponsorshipBidIntentParams, b as AcceptSponsorshipProposalIntentParams, c as ActivityType, d as ApiActivitiesQuery, e as ApiActivity, f as ApiActivityPrice, g as ApiAdminCollectionClaim, h as
|
|
1
|
+
import { R as ResolvedFeeConfig, S as ServiceDefinition, a as ServiceCapability } from './errors-BsNfDL85.js';
|
|
2
|
+
export { A as AcceptSponsorshipBidIntentParams, b as AcceptSponsorshipProposalIntentParams, c as ActivityType, d as ApiActivitiesQuery, e as ApiActivity, f as ApiActivityPrice, g as ApiAdminCollectionClaim, h as ApiBusinessProvisioning, i as ApiChain, j as ApiCheckoutIntentResult, k as ApiClient, l as ApiCoin, m as ApiCoinClaimResult, n as ApiCoinPrice, o as ApiCoinPrices, p as ApiCoinsQuery, q as ApiCollection, r as ApiCollectionClaim, s as ApiCollectionProfile, t as ApiCollectionSlugClaim, u as ApiCollectionsQuery, v as ApiComment, w as ApiCounterOffersQuery, x as ApiCreatorListResult, y as ApiCreatorProfile, z as ApiCreditPayment, B as ApiDropConditions, C as ApiDropInfo, D as ApiDropState, E as ApiEmissionCall, F as ApiEmissionResult, G as ApiFundingInstructions, H as ApiFundingIntent, I as ApiFundingMethod, J as ApiFundingStatus, K as ApiFundingSubmit, L as ApiIntent, M as ApiIntentCreated, N as ApiIpNftTokenData, O as ApiKeyStatus, P as ApiMeta, Q as ApiMetadataSignedUrl, T as ApiMetadataUpload, U as ApiOrder, V as ApiOrderConsideration, W as ApiOrderOffer, X as ApiOrderPrice, Y as ApiOrderTokenMeta, Z as ApiOrderTxHash, _ as ApiOrdersQuery, $ as ApiPlatformStats, a0 as ApiPointEvent, a1 as ApiPortalKey, a2 as ApiPortalKeyCreated, a3 as ApiPortalMe, a4 as ApiPortalSpend, a5 as ApiPublicRemix, a6 as ApiRemixOffer, a7 as ApiRemixOfferPrice, a8 as ApiRemixOffersQuery, a9 as ApiReportTargetType, aa as ApiResponse, ab as ApiRewardsBadge, ac as ApiRewardsBatchEntry, ad as ApiRewardsConfig, ae as ApiRewardsLeaderboardEntry, af as ApiRewardsLevel, ag as ApiSearchCollectionResult, ah as ApiSearchCreatorResult, ai as ApiSearchResult, aj as ApiSearchTokenResult, ak as ApiSpendByAction, al as ApiSponsorshipBid, am as ApiSponsorshipLicense, an as ApiSponsorshipLicensesQuery, ao as ApiSponsorshipOffer, ap as ApiSponsorshipOffersQuery, aq as ApiSponsorshipProposal, ar as ApiSponsorshipProposalsQuery, as as ApiSubmitReport, at as ApiTierOnchain, au as ApiToken, av as ApiTokenBalance, aw as ApiTokenMetadata, ax as ApiTokensQuery, ay as ApiTxSyncResult, az as ApiUserRewards, aA as ApiUserWallet, aB as ApiUsernameClaim, aC as ApiWalletActivity, aD as ApiWebhookCreated, aE as ApiWebhookEndpoint, aF as AutoRemixOfferParams, aG as CancelOrderIntentParams, aH as ChainFilter, aI as CheckoutIntentItem, aJ as ClaimConditions, aK as CollectionServiceId, aL as CollectionSort, aM as CollectionTokensSort, aN as ConfirmRemixOfferParams, aO as ConfirmSelfRemixParams, aP as ConsiderationItem, aQ as CreateCheckoutIntentParams, aR as CreateCoinIntentParams, aS as CreateCollectionIntentParams, aT as CreateCounterOfferIntentParams, aU as CreateDropParams, aV as CreateListingIntentParams, aW as CreateMembershipParams, aX as CreateMintIntentParams, aY as CreatePopCollectionParams, aZ as CreateRemixOfferParams, a_ as CreateSponsorshipOfferIntentParams, a$ as CreateSponsorshipOfferParams, b0 as CreateSponsorshipProposalIntentParams, b1 as CreateTicketParams, b2 as CreateTierIntentParams, b3 as CreateWebhookParams, b4 as DropMintStatus, b5 as EmissionParams, b6 as EnforcementDeclaration, b7 as FactoryFamilyServiceId, b8 as FeeConfig, b9 as FeeConfigSchema, ba as FulfillOrderIntentParams, bb as IPType, bc as IntentCall, bd as IntentStatus, be as IntentType, bf as IpAttribute, bg as IpNftMetadata, bh as LaunchCoinIntentParams, bi as MakeOfferIntentParams, bj as MedialaneApiError, bk as MedialaneConfig, bl as MedialaneErrorCode, bm as MintMembershipsParams, bn as MintTicketsParams, bo as OPEN_LICENSES, bp as OfferItem, bq as OpenLicense, br as Order, bs as OrderDetails, bt as OrderParameters, bu as OrderStatus, bv as PasskeyCancelledError, bw as PlaceSponsorshipBidIntentParams, bx as PopBatchEligibilityItem, by as PopClaimStatus, bz as PopEventType, bA as ProposeSponsorshipParams, bB as RejectSponsorshipProposalIntentParams, bC as RemixOfferStatus, bD as ResolvedConfig, bE as RetractSponsorshipBidIntentParams, bF as RetryOptions, bG as ServiceEventDeclaration, bH as SetSponsorshipOfferOpenIntentParams, bI as SortOrder, bJ as TenantPlan, bK as TierServiceId, bL as TxResult, bM as UpdateCollectionProfileInput, bN as UserFacingError, bO as WebhookEventType, bP as WebhookStatus, bQ as WithdrawSponsorshipProposalIntentParams, bR as resolveConfig, bS as resolveFeeConfig } from './errors-BsNfDL85.js';
|
|
3
3
|
import { C as Chain } from './types-CuSlc_YE.js';
|
|
4
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 getCoordinates, i as getStarknetCoordinates } from './types-CuSlc_YE.js';
|
|
5
5
|
import 'zod';
|
|
@@ -13,6 +13,150 @@ interface FeeEnv {
|
|
|
13
13
|
}
|
|
14
14
|
declare function resolveAppFeeConfig(env?: FeeEnv): ResolvedFeeConfig;
|
|
15
15
|
|
|
16
|
+
type RunStatus = "DRAFT" | "PAID" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED";
|
|
17
|
+
interface RunQuoteLine {
|
|
18
|
+
action: string;
|
|
19
|
+
units: number;
|
|
20
|
+
unitCredits: number;
|
|
21
|
+
credits: number;
|
|
22
|
+
}
|
|
23
|
+
interface RunQuote {
|
|
24
|
+
lines: RunQuoteLine[];
|
|
25
|
+
total: number;
|
|
26
|
+
}
|
|
27
|
+
type NextStep = {
|
|
28
|
+
kind: "collection";
|
|
29
|
+
} | {
|
|
30
|
+
kind: "wait-collection";
|
|
31
|
+
} | {
|
|
32
|
+
kind: "upload";
|
|
33
|
+
files: string[];
|
|
34
|
+
} | {
|
|
35
|
+
kind: "metadata";
|
|
36
|
+
items: number[];
|
|
37
|
+
} | {
|
|
38
|
+
kind: "batch";
|
|
39
|
+
index: number;
|
|
40
|
+
} | {
|
|
41
|
+
kind: "wait";
|
|
42
|
+
index: number;
|
|
43
|
+
} | {
|
|
44
|
+
kind: "done";
|
|
45
|
+
};
|
|
46
|
+
/** What a paid IP Ticketing run asks for next. Kinds it shares with the shared union keep their shape. */
|
|
47
|
+
type TicketingNextStep = {
|
|
48
|
+
kind: "collection";
|
|
49
|
+
} | {
|
|
50
|
+
kind: "wait-collection";
|
|
51
|
+
} | {
|
|
52
|
+
kind: "upload";
|
|
53
|
+
files: string[];
|
|
54
|
+
} | {
|
|
55
|
+
kind: "ticket-metadata";
|
|
56
|
+
} | {
|
|
57
|
+
kind: "tier";
|
|
58
|
+
} | {
|
|
59
|
+
kind: "wait-tier";
|
|
60
|
+
} | {
|
|
61
|
+
kind: "wallets";
|
|
62
|
+
} | {
|
|
63
|
+
kind: "batch";
|
|
64
|
+
index: number;
|
|
65
|
+
} | {
|
|
66
|
+
kind: "wait";
|
|
67
|
+
index: number;
|
|
68
|
+
} | {
|
|
69
|
+
kind: "done";
|
|
70
|
+
};
|
|
71
|
+
interface WalletRequest {
|
|
72
|
+
recipient: string;
|
|
73
|
+
}
|
|
74
|
+
interface LaunchpadRunBase {
|
|
75
|
+
id: string;
|
|
76
|
+
status: RunStatus;
|
|
77
|
+
spec: unknown;
|
|
78
|
+
quote: RunQuote | null;
|
|
79
|
+
creditsHeld: number;
|
|
80
|
+
creditsSpent: number;
|
|
81
|
+
progress: unknown;
|
|
82
|
+
createdAt: string;
|
|
83
|
+
updatedAt: string;
|
|
84
|
+
}
|
|
85
|
+
type DataTokenizationRun = LaunchpadRunBase & {
|
|
86
|
+
service: "data-tokenization-erc721";
|
|
87
|
+
next?: NextStep;
|
|
88
|
+
};
|
|
89
|
+
type TicketingRun = LaunchpadRunBase & {
|
|
90
|
+
service: "ip-ticketing";
|
|
91
|
+
next?: TicketingNextStep;
|
|
92
|
+
};
|
|
93
|
+
type LaunchpadRun = DataTokenizationRun | TicketingRun;
|
|
94
|
+
declare const isDataTokenizationRun: (run: LaunchpadRun) => run is DataTokenizationRun;
|
|
95
|
+
declare const isTicketingRun: (run: LaunchpadRun) => run is TicketingRun;
|
|
96
|
+
interface ConfirmResult {
|
|
97
|
+
pending: boolean;
|
|
98
|
+
status: string;
|
|
99
|
+
completed?: boolean;
|
|
100
|
+
}
|
|
101
|
+
declare class RunRequestError extends Error {
|
|
102
|
+
readonly status: number;
|
|
103
|
+
readonly body: Record<string, unknown>;
|
|
104
|
+
constructor(message: string, status: number, body: Record<string, unknown>);
|
|
105
|
+
}
|
|
106
|
+
type TokenSource = () => Promise<string | null>;
|
|
107
|
+
interface LaunchpadRunsClientOptions {
|
|
108
|
+
/** The backend, or an app's proxy to it. `/v1/portal/runs` is appended. */
|
|
109
|
+
baseUrl: string;
|
|
110
|
+
getToken: TokenSource;
|
|
111
|
+
fetchImpl?: typeof fetch;
|
|
112
|
+
}
|
|
113
|
+
/** Paid launchpad runs for the caller's account: create, pay, execute step by step, confirm. */
|
|
114
|
+
declare function createLaunchpadRunsClient({ baseUrl, getToken, fetchImpl }: LaunchpadRunsClientOptions): {
|
|
115
|
+
authorizedFetch: typeof fetch;
|
|
116
|
+
runBase: (id: string) => string;
|
|
117
|
+
runBatchBase: (id: string, index: number) => string;
|
|
118
|
+
runCollectionBase: (id: string) => string;
|
|
119
|
+
runTierBase: (id: string) => string;
|
|
120
|
+
ticketing: {
|
|
121
|
+
uploadUrl: (id: string, name: string) => Promise<string>;
|
|
122
|
+
uploaded: (id: string, name: string, cid: string) => Promise<{
|
|
123
|
+
name: string;
|
|
124
|
+
uri: string;
|
|
125
|
+
}>;
|
|
126
|
+
metadata: (id: string, userAddress: string) => Promise<{
|
|
127
|
+
tokenUri: string;
|
|
128
|
+
}>;
|
|
129
|
+
/** Guests who still need a wallet deployed; the ones who already have one are recorded on the run. */
|
|
130
|
+
resolveWallets: (id: string) => Promise<string[]>;
|
|
131
|
+
registerWallet: (id: string, request: WalletRequest) => Promise<{
|
|
132
|
+
recipient: string;
|
|
133
|
+
walletAddress: string;
|
|
134
|
+
}>;
|
|
135
|
+
confirmCollection: (id: string) => Promise<ConfirmResult>;
|
|
136
|
+
confirmTier: (id: string) => Promise<ConfirmResult>;
|
|
137
|
+
confirmBatch: (id: string, index: number) => Promise<ConfirmResult>;
|
|
138
|
+
};
|
|
139
|
+
list: () => Promise<LaunchpadRun[]>;
|
|
140
|
+
get: (id: string) => Promise<LaunchpadRun>;
|
|
141
|
+
create: (service: string, spec: unknown) => Promise<LaunchpadRun>;
|
|
142
|
+
update: (id: string, spec: unknown) => Promise<LaunchpadRun>;
|
|
143
|
+
cancel: (id: string) => Promise<LaunchpadRun>;
|
|
144
|
+
checkoutWithCredits: (id: string) => Promise<LaunchpadRun>;
|
|
145
|
+
checkoutFromWallet: (id: string, intentId: string) => Promise<LaunchpadRun>;
|
|
146
|
+
uploadUrl: (id: string, name: string) => Promise<string>;
|
|
147
|
+
uploaded: (id: string, name: string, cid: string) => Promise<{
|
|
148
|
+
name: string;
|
|
149
|
+
uri: string;
|
|
150
|
+
}>;
|
|
151
|
+
itemMetadata: (id: string, index: number, userAddress: string) => Promise<{
|
|
152
|
+
index: number;
|
|
153
|
+
tokenUri: string;
|
|
154
|
+
}>;
|
|
155
|
+
confirmBatch: (id: string, index: number) => Promise<ConfirmResult>;
|
|
156
|
+
confirmCollection: (id: string) => Promise<ConfirmResult>;
|
|
157
|
+
};
|
|
158
|
+
type LaunchpadRunsClient = ReturnType<typeof createLaunchpadRunsClient>;
|
|
159
|
+
|
|
16
160
|
declare const STARKNET_MARKETPLACE_721_CONTRACT: `0x${string}`;
|
|
17
161
|
declare const STARKNET_MARKETPLACE_721_CLASS_HASH: `0x${string}`;
|
|
18
162
|
declare const STARKNET_MARKETPLACE_721_START_BLOCK: number;
|
|
@@ -613,4 +757,4 @@ declare const IPFS_SAFE_CONTENT_TYPE_PREFIXES: readonly ["image/jpeg", "image/pn
|
|
|
613
757
|
declare function resolveSafeImageContentType(contentType: string): string;
|
|
614
758
|
declare const MAX_IPFS_GATEWAY_RESPONSE_BYTES: number;
|
|
615
759
|
|
|
616
|
-
export { ACCOUNT_SESSION_TTL_SECONDS, ALLOWED_IMAGE_CONTENT_TYPES, type AssetAttribute, type AssetMetadata, type BackendMetadataConfig, type BackendProxyConfig, type BackendUploadResult, type BuildAssetMetadataInput, type CanonicalHash, type CappedBody, Chain, DEFAULT_CURRENCY, type FailoverFetchOptions, type FeeEnv, IDENTITY_TTL_SECONDS, IPFS_SAFE_CONTENT_TYPE_PREFIXES, type ImageProxyConfig, MAX_IMAGE_PROXY_BYTES, MAX_IMAGE_REDIRECTS, MAX_IPFS_GATEWAY_RESPONSE_BYTES, POLICY_REFUSAL_CODES, RESERVED_TRAITS, type RemixPolicy, type RemixPolicyInput, ResolvedFeeConfig, type RpcProxyConfig, 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_DATA_TOKENIZATION_721_CONTRACT, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_GENESIS_MINT_BR_CONTRACT, STARKNET_GENESIS_MINT_GLOBAL_CONTRACT, STARKNET_GENESIS_MINT_LAUNCH_CONTRACT, 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, SUPPORTED_URL_CHAINS, ServiceCapability, ServiceDefinition, type ServiceId, type SiwsIdentity, type SupportedToken, type SupportedTokenSymbol, assetHref, buildAssetMetadata, chainFromSlug, chainSlug, coinHref, collectionHref, createBackendProxyHandler, createFailoverFetch, createImageProxyHandler, createRpcProxyHandler, encodeU256, formatAmount, getBackendSignedUrl, getDerivativesTerm, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, hasCapability, isPolicyRefusal, isPrivateHost, isPrivateOrInsecureUrl, isSameOrigin, isServiceId, isTransientRpcError, isValidIpfsCidPath, issueAccountSessionToken, issueSiwsToken, listServices, normalizeAddress, normalizeHash, parseAmount, readBodyWithCap, resolveAppFeeConfig, resolveRemixPolicy, resolveSafeImageContentType, shortenAddress, stringifyBigInts, u256ToBigInt, uploadDirectoryToBackend, uploadFileToBackend, uploadJsonToBackend, validateUrl, verifyAccountSessionToken, verifySiwsToken };
|
|
760
|
+
export { ACCOUNT_SESSION_TTL_SECONDS, ALLOWED_IMAGE_CONTENT_TYPES, type AssetAttribute, type AssetMetadata, type BackendMetadataConfig, type BackendProxyConfig, type BackendUploadResult, type BuildAssetMetadataInput, type CanonicalHash, type CappedBody, Chain, type ConfirmResult, DEFAULT_CURRENCY, type DataTokenizationRun, type FailoverFetchOptions, type FeeEnv, IDENTITY_TTL_SECONDS, IPFS_SAFE_CONTENT_TYPE_PREFIXES, type ImageProxyConfig, type LaunchpadRun, type LaunchpadRunsClient, type LaunchpadRunsClientOptions, MAX_IMAGE_PROXY_BYTES, MAX_IMAGE_REDIRECTS, MAX_IPFS_GATEWAY_RESPONSE_BYTES, type NextStep, POLICY_REFUSAL_CODES, RESERVED_TRAITS, type RemixPolicy, type RemixPolicyInput, ResolvedFeeConfig, type RpcProxyConfig, type RunQuote, type RunQuoteLine, RunRequestError, type RunStatus, 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_DATA_TOKENIZATION_721_CONTRACT, STARKNET_DROP_COLLECTION_CLASS_HASH, STARKNET_DROP_FACTORY_CONTRACT, STARKNET_EKUBO_CORE, STARKNET_GENESIS_MINT_BR_CONTRACT, STARKNET_GENESIS_MINT_GLOBAL_CONTRACT, STARKNET_GENESIS_MINT_LAUNCH_CONTRACT, 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, SUPPORTED_URL_CHAINS, ServiceCapability, ServiceDefinition, type ServiceId, type SiwsIdentity, type SupportedToken, type SupportedTokenSymbol, type TicketingNextStep, type TicketingRun, type TokenSource, type WalletRequest, assetHref, buildAssetMetadata, chainFromSlug, chainSlug, coinHref, collectionHref, createBackendProxyHandler, createFailoverFetch, createImageProxyHandler, createLaunchpadRunsClient, createRpcProxyHandler, encodeU256, formatAmount, getBackendSignedUrl, getDerivativesTerm, getListableTokens, getService, getServicesByCapability, getTokenByAddress, getTokenBySymbol, hasCapability, isDataTokenizationRun, isPolicyRefusal, isPrivateHost, isPrivateOrInsecureUrl, isSameOrigin, isServiceId, isTicketingRun, isTransientRpcError, isValidIpfsCidPath, issueAccountSessionToken, issueSiwsToken, listServices, normalizeAddress, normalizeHash, parseAmount, readBodyWithCap, resolveAppFeeConfig, resolveRemixPolicy, resolveSafeImageContentType, shortenAddress, stringifyBigInts, u256ToBigInt, uploadDirectoryToBackend, uploadFileToBackend, uploadJsonToBackend, validateUrl, verifyAccountSessionToken, verifySiwsToken };
|