@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 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
  }