@medialane/sdk 0.83.0 → 0.85.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 +10 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/{services--Zif_ws7.d.cts → services-IzFS_1ge.d.cts} +60 -3
- package/dist/{services-CJorT7zl.d.ts → services-L8GY_ETW.d.ts} +60 -3
- package/dist/starknet/index.cjs +12 -3
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +12 -3
- package/dist/starknet/index.d.ts +12 -3
- package/dist/starknet/index.js +12 -4
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -71,7 +71,8 @@ var FeeConfigSchema = zod.z.object({
|
|
|
71
71
|
enabled: zod.z.boolean().default(true),
|
|
72
72
|
fundAddress: zod.z.string().min(1).optional(),
|
|
73
73
|
marketplaceBps: zod.z.number().int().min(0).max(1e4).default(100),
|
|
74
|
-
launchpadBps: zod.z.number().int().min(0).max(1e4).default(100)
|
|
74
|
+
launchpadBps: zod.z.number().int().min(0).max(1e4).default(100),
|
|
75
|
+
sponsorshipBps: zod.z.number().int().min(0).max(1e4).default(100)
|
|
75
76
|
});
|
|
76
77
|
function resolveFeeConfig(raw) {
|
|
77
78
|
const p = FeeConfigSchema.parse(raw ?? {});
|
|
@@ -79,7 +80,8 @@ function resolveFeeConfig(raw) {
|
|
|
79
80
|
enabled: p.enabled,
|
|
80
81
|
fundAddress: p.fundAddress,
|
|
81
82
|
marketplaceBps: p.marketplaceBps,
|
|
82
|
-
launchpadBps: p.launchpadBps
|
|
83
|
+
launchpadBps: p.launchpadBps,
|
|
84
|
+
sponsorshipBps: p.sponsorshipBps
|
|
83
85
|
};
|
|
84
86
|
}
|
|
85
87
|
|
|
@@ -466,6 +468,12 @@ var ApiClient = class {
|
|
|
466
468
|
createTierIntent(params) {
|
|
467
469
|
return this.post("/v1/intents/create-tier", params);
|
|
468
470
|
}
|
|
471
|
+
createCoinIntent(params) {
|
|
472
|
+
return this.post("/v1/intents/create-coin", params);
|
|
473
|
+
}
|
|
474
|
+
launchCoinIntent(params) {
|
|
475
|
+
return this.post("/v1/intents/launch-coin", params);
|
|
476
|
+
}
|
|
469
477
|
createSponsorshipOfferIntent(params) {
|
|
470
478
|
return this.post("/v1/intents/sponsorship-offer", params);
|
|
471
479
|
}
|