@chatbotkit/fetch 1.26.3 → 1.30.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.
@@ -164,7 +164,7 @@ function anySignal(signals) {
164
164
  }
165
165
  if (signal.aborted) {
166
166
  controller.abort(signal.reason);
167
- return signal;
167
+ return controller.signal;
168
168
  }
169
169
  signal.addEventListener('abort', () => controller.abort(signal.reason), {
170
170
  signal: controller.signal,
package/dist/esm/index.js CHANGED
@@ -151,7 +151,7 @@ export function anySignal(signals) {
151
151
  }
152
152
  if (signal.aborted) {
153
153
  controller.abort(signal.reason);
154
- return signal;
154
+ return controller.signal;
155
155
  }
156
156
  signal.addEventListener('abort', () => controller.abort(signal.reason), {
157
157
  signal: controller.signal,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chatbotkit/fetch",
3
- "version": "1.26.3",
3
+ "version": "1.30.0",
4
4
  "description": "Isomorphic implenetation for fetch specifically designed for @chatbotkit/sdk.",
5
5
  "license": "ISC",
6
6
  "engines": {
@@ -56,9 +56,7 @@
56
56
  "./package.json": "./package.json"
57
57
  },
58
58
  "types": "./dist/cjs/index.d.ts",
59
- "dependencies": {
60
- "tslib": "^2.6.2"
61
- },
59
+ "dependencies": {},
62
60
  "devDependencies": {
63
61
  "npm-run-all": "^4.1.5",
64
62
  "typedoc": "^0.28.14",