@inneropen/marvin-sdk 3.2.0-next.11 → 3.2.0-next.12

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/platform.cjs CHANGED
@@ -1172,23 +1172,15 @@ var WebhooksModule = class {
1172
1172
  }
1173
1173
  /**
1174
1174
  * Create a new webhook
1175
- * Validates URL to prevent SSRF attacks
1176
1175
  */
1177
1176
  async create(data) {
1178
- if (data.url) {
1179
- this.validateWebhookUrl(data.url);
1180
- }
1181
1177
  return this.http.post("/api/groups/webhooks", data);
1182
1178
  }
1183
1179
  /**
1184
1180
  * Update a webhook
1185
- * Validates URL if provided to prevent SSRF attacks
1186
1181
  */
1187
1182
  async update(id, data) {
1188
1183
  const validId = this.http.validatePathParam(id, "webhook ID");
1189
- if (data.url) {
1190
- this.validateWebhookUrl(data.url);
1191
- }
1192
1184
  return this.http.put(`/api/groups/webhooks/${validId}`, data);
1193
1185
  }
1194
1186
  /**
@@ -552,12 +552,10 @@ declare class WebhooksModule {
552
552
  get(id: string): Promise<Webhook>;
553
553
  /**
554
554
  * Create a new webhook
555
- * Validates URL to prevent SSRF attacks
556
555
  */
557
556
  create(data: WebhookCreate): Promise<Webhook>;
558
557
  /**
559
558
  * Update a webhook
560
- * Validates URL if provided to prevent SSRF attacks
561
559
  */
562
560
  update(id: string, data: WebhookUpdate): Promise<Webhook>;
563
561
  /**
@@ -552,12 +552,10 @@ declare class WebhooksModule {
552
552
  get(id: string): Promise<Webhook>;
553
553
  /**
554
554
  * Create a new webhook
555
- * Validates URL to prevent SSRF attacks
556
555
  */
557
556
  create(data: WebhookCreate): Promise<Webhook>;
558
557
  /**
559
558
  * Update a webhook
560
- * Validates URL if provided to prevent SSRF attacks
561
559
  */
562
560
  update(id: string, data: WebhookUpdate): Promise<Webhook>;
563
561
  /**
package/dist/platform.js CHANGED
@@ -728,23 +728,15 @@ var WebhooksModule = class {
728
728
  }
729
729
  /**
730
730
  * Create a new webhook
731
- * Validates URL to prevent SSRF attacks
732
731
  */
733
732
  async create(data) {
734
- if (data.url) {
735
- this.validateWebhookUrl(data.url);
736
- }
737
733
  return this.http.post("/api/groups/webhooks", data);
738
734
  }
739
735
  /**
740
736
  * Update a webhook
741
- * Validates URL if provided to prevent SSRF attacks
742
737
  */
743
738
  async update(id, data) {
744
739
  const validId = this.http.validatePathParam(id, "webhook ID");
745
- if (data.url) {
746
- this.validateWebhookUrl(data.url);
747
- }
748
740
  return this.http.put(`/api/groups/webhooks/${validId}`, data);
749
741
  }
750
742
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inneropen/marvin-sdk",
3
- "version": "3.2.0-next.11",
3
+ "version": "3.2.0-next.12",
4
4
  "description": "Official TypeScript SDK for Marvin CMS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",