@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.cjs
CHANGED
|
@@ -785,6 +785,9 @@ var ApiClient = class {
|
|
|
785
785
|
getCoin(contract) {
|
|
786
786
|
return this.get(`/v1/coins/${this.addr(contract)}`);
|
|
787
787
|
}
|
|
788
|
+
getCoinPrices() {
|
|
789
|
+
return this.get("/v1/coins/prices");
|
|
790
|
+
}
|
|
788
791
|
updateCoinProfile(contract, data, siwsToken) {
|
|
789
792
|
return this.request(`/v1/coins/${this.addr(contract)}`, {
|
|
790
793
|
method: "PATCH",
|
|
@@ -1132,10 +1135,19 @@ var SERVICES = {
|
|
|
1132
1135
|
{ name: "OrderCancelled", emittedBy: "factory" }
|
|
1133
1136
|
]
|
|
1134
1137
|
},
|
|
1138
|
+
"unruggable-erc20": {
|
|
1139
|
+
id: "unruggable-erc20",
|
|
1140
|
+
displayName: "Unruggable",
|
|
1141
|
+
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.",
|
|
1142
|
+
standard: "ERC20",
|
|
1143
|
+
provenance: "EXTERNAL",
|
|
1144
|
+
uiVariant: "coin",
|
|
1145
|
+
capabilities: ["swap", "transfer"]
|
|
1146
|
+
},
|
|
1135
1147
|
"external-erc20": {
|
|
1136
1148
|
id: "external-erc20",
|
|
1137
|
-
displayName: "
|
|
1138
|
-
description: "
|
|
1149
|
+
displayName: "Memecoin",
|
|
1150
|
+
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.",
|
|
1139
1151
|
standard: "ERC20",
|
|
1140
1152
|
provenance: "EXTERNAL",
|
|
1141
1153
|
uiVariant: "coin",
|