@segment/analytics-node
Advanced tools
Comparing version 0.0.1-beta.14 to 0.0.1-beta.15
@@ -5,3 +5,3 @@ "use strict"; | ||
// This file is generated. | ||
exports.version = '0.0.1-beta.14'; | ||
exports.version = '0.0.1-beta.15'; | ||
//# sourceMappingURL=version.js.map |
@@ -65,3 +65,3 @@ "use strict"; | ||
const abortSignalAfterTimeout = (timeoutMs) => { | ||
if ((0, env_1.detectRuntime)() === 'web-worker') { | ||
if ((0, env_1.detectRuntime)() === 'cloudflare-worker') { | ||
return []; // TODO: this is broken in cloudflare workers, otherwise results in "A hanging Promise was canceled..." error. | ||
@@ -68,0 +68,0 @@ } |
// This file is generated. | ||
export const version = '0.0.1-beta.14'; | ||
export const version = '0.0.1-beta.15'; | ||
//# sourceMappingURL=version.js.map |
@@ -62,3 +62,3 @@ /** | ||
export const abortSignalAfterTimeout = (timeoutMs) => { | ||
if (detectRuntime() === 'web-worker') { | ||
if (detectRuntime() === 'cloudflare-worker') { | ||
return []; // TODO: this is broken in cloudflare workers, otherwise results in "A hanging Promise was canceled..." error. | ||
@@ -65,0 +65,0 @@ } |
@@ -1,2 +0,2 @@ | ||
export declare const version = "0.0.1-beta.14"; | ||
export declare const version = "0.0.1-beta.15"; | ||
//# sourceMappingURL=version.d.ts.map |
{ | ||
"name": "@segment/analytics-node", | ||
"version": "0.0.1-beta.14", | ||
"version": "0.0.1-beta.15", | ||
"main": "./dist/cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./dist/esm/index.js", |
// This file is generated. | ||
export const version = '0.0.1-beta.14' | ||
export const version = '0.0.1-beta.15' |
@@ -64,3 +64,3 @@ /** | ||
export const abortSignalAfterTimeout = (timeoutMs: number) => { | ||
if (detectRuntime() === 'web-worker') { | ||
if (detectRuntime() === 'cloudflare-worker') { | ||
return [] // TODO: this is broken in cloudflare workers, otherwise results in "A hanging Promise was canceled..." error. | ||
@@ -67,0 +67,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
170136