@medialane/sdk 0.84.0 → 0.85.1
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 +7 -0
- 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 +7 -0
- package/dist/index.js.map +1 -1
- package/dist/{services-BggxMBlL.d.ts → services-B-RntQSm.d.ts} +52 -3
- package/dist/{services-CRWVGLDq.d.cts → services-ZOliCaO0.d.cts} +52 -3
- package/dist/starknet/index.cjs +8 -0
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +11 -2
- package/dist/starknet/index.d.ts +11 -2
- package/dist/starknet/index.js +8 -1
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -468,6 +468,12 @@ var ApiClient = class {
|
|
|
468
468
|
createTierIntent(params) {
|
|
469
469
|
return this.post("/v1/intents/create-tier", params);
|
|
470
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
|
+
}
|
|
471
477
|
createSponsorshipOfferIntent(params) {
|
|
472
478
|
return this.post("/v1/intents/sponsorship-offer", params);
|
|
473
479
|
}
|
|
@@ -708,6 +714,7 @@ var ApiClient = class {
|
|
|
708
714
|
appSource: options.appSource ?? "MEDIALANE_SDK"
|
|
709
715
|
};
|
|
710
716
|
if (options.chain) body.chain = options.chain;
|
|
717
|
+
if (options.emailVerificationToken) body.emailVerificationToken = options.emailVerificationToken;
|
|
711
718
|
return this.request("/v1/users/me", {
|
|
712
719
|
method: "POST",
|
|
713
720
|
body: JSON.stringify(body),
|