@medialane/sdk 0.79.0 → 0.80.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 +6 -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 +6 -0
- package/dist/index.js.map +1 -1
- package/dist/{services-gpLj6m2X.d.cts → services-1U8xO9JM.d.cts} +58 -8
- package/dist/{services-L8rbm-gZ.d.ts → services-vRjBk3Zn.d.ts} +58 -8
- package/dist/starknet/index.cjs +6 -0
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +1 -1
- package/dist/starknet/index.d.ts +1 -1
- package/dist/starknet/index.js +6 -0
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -445,6 +445,9 @@ var ApiClient = class {
|
|
|
445
445
|
createCancelIntent(params) {
|
|
446
446
|
return this.post("/v1/intents/cancel", params);
|
|
447
447
|
}
|
|
448
|
+
createCheckoutIntent(params) {
|
|
449
|
+
return this.post("/v1/intents/checkout", params);
|
|
450
|
+
}
|
|
448
451
|
getIntent(id) {
|
|
449
452
|
return this.get(`/v1/intents/${id}`);
|
|
450
453
|
}
|
|
@@ -460,6 +463,9 @@ var ApiClient = class {
|
|
|
460
463
|
createCollectionIntent(params) {
|
|
461
464
|
return this.post("/v1/intents/create-collection", params);
|
|
462
465
|
}
|
|
466
|
+
createTierIntent(params) {
|
|
467
|
+
return this.post("/v1/intents/create-tier", params);
|
|
468
|
+
}
|
|
463
469
|
/**
|
|
464
470
|
* Create a counter-offer intent. The seller proposes a new price in response
|
|
465
471
|
* to a buyer's active bid. clerkToken is optional — the endpoint authenticates
|