@webhooks-cc/sdk 0.3.0 → 0.3.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.js CHANGED
@@ -467,7 +467,8 @@ var WebhooksCC = class {
467
467
  controller.signal.addEventListener(
468
468
  "abort",
469
469
  () => {
470
- response.body?.cancel();
470
+ response.body?.cancel().catch(() => {
471
+ });
471
472
  },
472
473
  { once: true }
473
474
  );
package/dist/index.mjs CHANGED
@@ -419,7 +419,8 @@ var WebhooksCC = class {
419
419
  controller.signal.addEventListener(
420
420
  "abort",
421
421
  () => {
422
- response.body?.cancel();
422
+ response.body?.cancel().catch(() => {
423
+ });
423
424
  },
424
425
  { once: true }
425
426
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webhooks-cc/sdk",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "TypeScript SDK for webhooks.cc — create endpoints, capture requests, assert in tests",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",