@medialane/sdk 0.154.0 → 0.155.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/README.md +1 -1
- package/dist/{errors-CKO_JGDP.d.ts → errors-BKaHnCOI.d.ts} +1 -27
- package/dist/{errors-BfiX06G4.d.cts → errors-CAKnNI3N.d.cts} +1 -27
- package/dist/index.cjs +0 -14
- 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 +0 -14
- package/dist/index.js.map +1 -1
- package/dist/starknet/index.cjs +0 -14
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +2 -2
- package/dist/starknet/index.d.ts +2 -2
- package/dist/starknet/index.js +0 -14
- package/dist/starknet/index.js.map +1 -1
- package/package.json +1 -1
package/dist/starknet/index.cjs
CHANGED
|
@@ -320,9 +320,6 @@ var ApiClient = class {
|
|
|
320
320
|
patch(path, body) {
|
|
321
321
|
return this.request(path, { method: "PATCH", body: JSON.stringify(body) });
|
|
322
322
|
}
|
|
323
|
-
del(path) {
|
|
324
|
-
return this.request(path, { method: "DELETE" });
|
|
325
|
-
}
|
|
326
323
|
bearer(siwsToken) {
|
|
327
324
|
return { Authorization: `Bearer ${siwsToken}` };
|
|
328
325
|
}
|
|
@@ -614,17 +611,6 @@ var ApiClient = class {
|
|
|
614
611
|
headers: this.asSubject(siwsToken)
|
|
615
612
|
});
|
|
616
613
|
}
|
|
617
|
-
getWebhooks() {
|
|
618
|
-
return this.get("/v1/portal/webhooks");
|
|
619
|
-
}
|
|
620
|
-
createWebhook(params) {
|
|
621
|
-
return this.post("/v1/portal/webhooks", params);
|
|
622
|
-
}
|
|
623
|
-
deleteWebhook(id) {
|
|
624
|
-
return this.del(
|
|
625
|
-
`/v1/portal/webhooks/${id}`
|
|
626
|
-
);
|
|
627
|
-
}
|
|
628
614
|
async claimCollection(contractAddress, walletAddress, siwsToken) {
|
|
629
615
|
return this.request("/v1/collections/claim", {
|
|
630
616
|
method: "POST",
|