@medialane/sdk 0.93.0 → 0.95.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/index.cjs +14 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +14 -2
- package/dist/index.js.map +1 -1
- package/dist/{services-DTkc0lLx.d.ts → services-BllZwNlB.d.ts} +7 -1
- package/dist/{services-D3M9dJZg.d.cts → services-DbJoYGF0.d.cts} +7 -1
- package/dist/starknet/index.cjs +11 -55
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +4 -17
- package/dist/starknet/index.d.ts +4 -17
- package/dist/starknet/index.js +12 -55
- 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 './services-
|
|
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 ApiAppSource, i as ApiBusinessProvisioning, j as ApiChain, k as ApiCheckoutIntentResult, l as ApiClient, m as ApiCoin, n as
|
|
1
|
+
import { R as ResolvedFeeConfig, S as ServiceDefinition, a as ServiceCapability } from './services-DbJoYGF0.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 ApiAppSource, i as ApiBusinessProvisioning, j as ApiChain, k as ApiCheckoutIntentResult, l as ApiClient, m as ApiCoin, 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 ApiIntent, B as ApiIntentCreated, C as ApiKeyStatus, D as ApiMeta, E as ApiMetadataSignedUrl, F as ApiMetadataUpload, G as ApiOrder, H as ApiOrderConsideration, I as ApiOrderOffer, J as ApiOrderPrice, K as ApiOrderTokenMeta, L as ApiOrderTxHash, M as ApiOrdersQuery, N as ApiPointEvent, O as ApiPortalKey, P as ApiPortalKeyCreated, Q as ApiPortalMe, T as ApiPublicRemix, U as ApiRemixOffer, V as ApiRemixOfferPrice, W as ApiRemixOffersQuery, X as ApiResponse, Y as ApiRewardsBadge, Z as ApiRewardsBatchEntry, _ as ApiRewardsConfig, $ as ApiRewardsLeaderboardEntry, a0 as ApiRewardsLevel, a1 as ApiSearchCollectionResult, a2 as ApiSearchCreatorResult, a3 as ApiSearchResult, a4 as ApiSearchTokenResult, a5 as ApiToken, a6 as ApiTokenBalance, a7 as ApiTokenMetadata, a8 as ApiUsageDay, a9 as ApiUserRewards, aa as ApiUserWallet, ab as ApiWalletActivity, ac as ApiWebhookCreated, ad as ApiWebhookEndpoint, ae as AutoRemixOfferParams, af as CancelOrderIntentParams, ag as ChainFilter, ah as CheckoutIntentItem, ai as ClaimConditions, aj as CollectionServiceId, ak as CollectionSort, al as CollectionTokensSort, am as ConfirmRemixOfferParams, an as ConfirmSelfRemixParams, ao as ConsiderationItem, ap as CreateCheckoutIntentParams, aq as CreateCoinIntentParams, ar as CreateCollectionIntentParams, as as CreateCounterOfferIntentParams, at as CreateDropParams, au as CreateListingIntentParams, av as CreateMembershipParams, aw as CreateMintIntentParams, ax as CreatePopCollectionParams, ay as CreateRemixOfferParams, az as CreateSponsorshipOfferIntentParams, aA as CreateSponsorshipOfferParams, aB as CreateSponsorshipProposalIntentParams, aC as CreateTicketParams, aD as CreateTierIntentParams, aE as CreateWebhookParams, aF as DropMintStatus, aG as EnforcementDeclaration, aH as FactoryFamilyServiceId, aI as FeeConfig, aJ as FeeConfigSchema, aK as FulfillOrderIntentParams, aL as IPType, aM as IntentCall, aN as IntentStatus, aO as IntentType, aP as IpAttribute, aQ as IpNftMetadata, aR as LaunchCoinIntentParams, aS as MakeOfferIntentParams, aT as MedialaneApiError, aU as MedialaneConfig, aV as MedialaneErrorCode, aW as MintMembershipsParams, aX as MintTicketsParams, aY as OPEN_LICENSES, aZ as OfferItem, a_ as OpenLicense, a$ as Order, b0 as OrderDetails, b1 as OrderParameters, b2 as OrderStatus, b3 as PlaceSponsorshipBidIntentParams, b4 as PopBatchEligibilityItem, b5 as PopClaimStatus, b6 as PopEventType, b7 as ProposeSponsorshipParams, b8 as RejectSponsorshipProposalIntentParams, b9 as RemixOfferStatus, ba as ResolvedConfig, bb as RetractSponsorshipBidIntentParams, bc as RetryOptions, bd as ServiceEventDeclaration, be as SetSponsorshipOfferOpenIntentParams, bf as SortOrder, bg as TenantPlan, bh as TierServiceId, bi as TxResult, bj as WebhookEventType, bk as WebhookStatus, bl as WithdrawSponsorshipProposalIntentParams, bm as resolveConfig, bn as resolveFeeConfig } from './services-DbJoYGF0.cjs';
|
|
3
3
|
import { C as Chain } from './types-nPIXtCF5.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-nPIXtCF5.cjs';
|
|
5
5
|
import 'zod';
|
|
@@ -344,10 +344,19 @@ declare const SERVICES: {
|
|
|
344
344
|
readonly emittedBy: "factory";
|
|
345
345
|
}];
|
|
346
346
|
};
|
|
347
|
+
readonly "unruggable-erc20": {
|
|
348
|
+
readonly id: "unruggable-erc20";
|
|
349
|
+
readonly displayName: "Unruggable";
|
|
350
|
+
readonly description: "An ERC-20 launched through the unruggable.meme protocol, the same contract Medialane's Creator Coin is forked from. Not deployed via a Medialane service, but exposes the same on-chain guarantees: capped team allocation, permanently locked liquidity, fixed supply. Brought in by owner claim or admin/partnership — never bulk-indexed.";
|
|
351
|
+
readonly standard: "ERC20";
|
|
352
|
+
readonly provenance: "EXTERNAL";
|
|
353
|
+
readonly uiVariant: "coin";
|
|
354
|
+
readonly capabilities: ["swap", "transfer"];
|
|
355
|
+
};
|
|
347
356
|
readonly "external-erc20": {
|
|
348
357
|
readonly id: "external-erc20";
|
|
349
|
-
readonly displayName: "
|
|
350
|
-
readonly description: "
|
|
358
|
+
readonly displayName: "Memecoin";
|
|
359
|
+
readonly description: "A plain ERC-20 not deployed via a Medialane service and carrying no protocol-level guarantees. Brought in by owner claim or admin/partnership — never bulk-indexed. Generalizes to future chains.";
|
|
351
360
|
readonly standard: "ERC20";
|
|
352
361
|
readonly provenance: "EXTERNAL";
|
|
353
362
|
readonly uiVariant: "coin";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ResolvedFeeConfig, S as ServiceDefinition, a as ServiceCapability } from './services-
|
|
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 ApiAppSource, i as ApiBusinessProvisioning, j as ApiChain, k as ApiCheckoutIntentResult, l as ApiClient, m as ApiCoin, n as
|
|
1
|
+
import { R as ResolvedFeeConfig, S as ServiceDefinition, a as ServiceCapability } from './services-BllZwNlB.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 ApiAppSource, i as ApiBusinessProvisioning, j as ApiChain, k as ApiCheckoutIntentResult, l as ApiClient, m as ApiCoin, 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 ApiIntent, B as ApiIntentCreated, C as ApiKeyStatus, D as ApiMeta, E as ApiMetadataSignedUrl, F as ApiMetadataUpload, G as ApiOrder, H as ApiOrderConsideration, I as ApiOrderOffer, J as ApiOrderPrice, K as ApiOrderTokenMeta, L as ApiOrderTxHash, M as ApiOrdersQuery, N as ApiPointEvent, O as ApiPortalKey, P as ApiPortalKeyCreated, Q as ApiPortalMe, T as ApiPublicRemix, U as ApiRemixOffer, V as ApiRemixOfferPrice, W as ApiRemixOffersQuery, X as ApiResponse, Y as ApiRewardsBadge, Z as ApiRewardsBatchEntry, _ as ApiRewardsConfig, $ as ApiRewardsLeaderboardEntry, a0 as ApiRewardsLevel, a1 as ApiSearchCollectionResult, a2 as ApiSearchCreatorResult, a3 as ApiSearchResult, a4 as ApiSearchTokenResult, a5 as ApiToken, a6 as ApiTokenBalance, a7 as ApiTokenMetadata, a8 as ApiUsageDay, a9 as ApiUserRewards, aa as ApiUserWallet, ab as ApiWalletActivity, ac as ApiWebhookCreated, ad as ApiWebhookEndpoint, ae as AutoRemixOfferParams, af as CancelOrderIntentParams, ag as ChainFilter, ah as CheckoutIntentItem, ai as ClaimConditions, aj as CollectionServiceId, ak as CollectionSort, al as CollectionTokensSort, am as ConfirmRemixOfferParams, an as ConfirmSelfRemixParams, ao as ConsiderationItem, ap as CreateCheckoutIntentParams, aq as CreateCoinIntentParams, ar as CreateCollectionIntentParams, as as CreateCounterOfferIntentParams, at as CreateDropParams, au as CreateListingIntentParams, av as CreateMembershipParams, aw as CreateMintIntentParams, ax as CreatePopCollectionParams, ay as CreateRemixOfferParams, az as CreateSponsorshipOfferIntentParams, aA as CreateSponsorshipOfferParams, aB as CreateSponsorshipProposalIntentParams, aC as CreateTicketParams, aD as CreateTierIntentParams, aE as CreateWebhookParams, aF as DropMintStatus, aG as EnforcementDeclaration, aH as FactoryFamilyServiceId, aI as FeeConfig, aJ as FeeConfigSchema, aK as FulfillOrderIntentParams, aL as IPType, aM as IntentCall, aN as IntentStatus, aO as IntentType, aP as IpAttribute, aQ as IpNftMetadata, aR as LaunchCoinIntentParams, aS as MakeOfferIntentParams, aT as MedialaneApiError, aU as MedialaneConfig, aV as MedialaneErrorCode, aW as MintMembershipsParams, aX as MintTicketsParams, aY as OPEN_LICENSES, aZ as OfferItem, a_ as OpenLicense, a$ as Order, b0 as OrderDetails, b1 as OrderParameters, b2 as OrderStatus, b3 as PlaceSponsorshipBidIntentParams, b4 as PopBatchEligibilityItem, b5 as PopClaimStatus, b6 as PopEventType, b7 as ProposeSponsorshipParams, b8 as RejectSponsorshipProposalIntentParams, b9 as RemixOfferStatus, ba as ResolvedConfig, bb as RetractSponsorshipBidIntentParams, bc as RetryOptions, bd as ServiceEventDeclaration, be as SetSponsorshipOfferOpenIntentParams, bf as SortOrder, bg as TenantPlan, bh as TierServiceId, bi as TxResult, bj as WebhookEventType, bk as WebhookStatus, bl as WithdrawSponsorshipProposalIntentParams, bm as resolveConfig, bn as resolveFeeConfig } from './services-BllZwNlB.js';
|
|
3
3
|
import { C as Chain } from './types-nPIXtCF5.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-nPIXtCF5.js';
|
|
5
5
|
import 'zod';
|
|
@@ -344,10 +344,19 @@ declare const SERVICES: {
|
|
|
344
344
|
readonly emittedBy: "factory";
|
|
345
345
|
}];
|
|
346
346
|
};
|
|
347
|
+
readonly "unruggable-erc20": {
|
|
348
|
+
readonly id: "unruggable-erc20";
|
|
349
|
+
readonly displayName: "Unruggable";
|
|
350
|
+
readonly description: "An ERC-20 launched through the unruggable.meme protocol, the same contract Medialane's Creator Coin is forked from. Not deployed via a Medialane service, but exposes the same on-chain guarantees: capped team allocation, permanently locked liquidity, fixed supply. Brought in by owner claim or admin/partnership — never bulk-indexed.";
|
|
351
|
+
readonly standard: "ERC20";
|
|
352
|
+
readonly provenance: "EXTERNAL";
|
|
353
|
+
readonly uiVariant: "coin";
|
|
354
|
+
readonly capabilities: ["swap", "transfer"];
|
|
355
|
+
};
|
|
347
356
|
readonly "external-erc20": {
|
|
348
357
|
readonly id: "external-erc20";
|
|
349
|
-
readonly displayName: "
|
|
350
|
-
readonly description: "
|
|
358
|
+
readonly displayName: "Memecoin";
|
|
359
|
+
readonly description: "A plain ERC-20 not deployed via a Medialane service and carrying no protocol-level guarantees. Brought in by owner claim or admin/partnership — never bulk-indexed. Generalizes to future chains.";
|
|
351
360
|
readonly standard: "ERC20";
|
|
352
361
|
readonly provenance: "EXTERNAL";
|
|
353
362
|
readonly uiVariant: "coin";
|
package/dist/index.js
CHANGED
|
@@ -783,6 +783,9 @@ var ApiClient = class {
|
|
|
783
783
|
getCoin(contract) {
|
|
784
784
|
return this.get(`/v1/coins/${this.addr(contract)}`);
|
|
785
785
|
}
|
|
786
|
+
getCoinPrices() {
|
|
787
|
+
return this.get("/v1/coins/prices");
|
|
788
|
+
}
|
|
786
789
|
updateCoinProfile(contract, data, siwsToken) {
|
|
787
790
|
return this.request(`/v1/coins/${this.addr(contract)}`, {
|
|
788
791
|
method: "PATCH",
|
|
@@ -1130,10 +1133,19 @@ var SERVICES = {
|
|
|
1130
1133
|
{ name: "OrderCancelled", emittedBy: "factory" }
|
|
1131
1134
|
]
|
|
1132
1135
|
},
|
|
1136
|
+
"unruggable-erc20": {
|
|
1137
|
+
id: "unruggable-erc20",
|
|
1138
|
+
displayName: "Unruggable",
|
|
1139
|
+
description: "An ERC-20 launched through the unruggable.meme protocol, the same contract Medialane's Creator Coin is forked from. Not deployed via a Medialane service, but exposes the same on-chain guarantees: capped team allocation, permanently locked liquidity, fixed supply. Brought in by owner claim or admin/partnership \u2014 never bulk-indexed.",
|
|
1140
|
+
standard: "ERC20",
|
|
1141
|
+
provenance: "EXTERNAL",
|
|
1142
|
+
uiVariant: "coin",
|
|
1143
|
+
capabilities: ["swap", "transfer"]
|
|
1144
|
+
},
|
|
1133
1145
|
"external-erc20": {
|
|
1134
1146
|
id: "external-erc20",
|
|
1135
|
-
displayName: "
|
|
1136
|
-
description: "
|
|
1147
|
+
displayName: "Memecoin",
|
|
1148
|
+
description: "A plain ERC-20 not deployed via a Medialane service and carrying no protocol-level guarantees. Brought in by owner claim or admin/partnership \u2014 never bulk-indexed. Generalizes to future chains.",
|
|
1137
1149
|
standard: "ERC20",
|
|
1138
1150
|
provenance: "EXTERNAL",
|
|
1139
1151
|
uiVariant: "coin",
|