@medialane/sdk 0.5.4 → 0.5.5
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 +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -5
- package/dist/index.d.ts +14 -5
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1429,6 +1429,17 @@ var ApiClient = class {
|
|
|
1429
1429
|
headers: { "Authorization": `Bearer ${clerkToken}` }
|
|
1430
1430
|
});
|
|
1431
1431
|
}
|
|
1432
|
+
/**
|
|
1433
|
+
* Requester extends the expiry of a pending remix offer by 1–30 days.
|
|
1434
|
+
* Requires Clerk JWT.
|
|
1435
|
+
*/
|
|
1436
|
+
extendRemixOffer(id, days, clerkToken) {
|
|
1437
|
+
return this.request(`/v1/remix-offers/${id}/extend`, {
|
|
1438
|
+
method: "POST",
|
|
1439
|
+
body: JSON.stringify({ days }),
|
|
1440
|
+
headers: { "Authorization": `Bearer ${clerkToken}` }
|
|
1441
|
+
});
|
|
1442
|
+
}
|
|
1432
1443
|
};
|
|
1433
1444
|
|
|
1434
1445
|
// src/client.ts
|