@appsignal/javascript
Advanced tools
Comparing version
# Changelog | ||
## 1.3.9 | ||
- Fix `Queue.push` causing a failed compile due to correctness improvement in `tsc` | ||
- Dependency bumps | ||
## 1.3.8 | ||
- Dependency bumps | ||
## 1.3.7 | ||
@@ -4,0 +11,0 @@ - Dependency bumps |
@@ -1,2 +0,2 @@ | ||
import { Breadcrumb, JSClient, Hook } from "@appsignal/types"; | ||
import type { Breadcrumb, JSClient, Hook } from "@appsignal/types"; | ||
import { Span } from "./span"; | ||
@@ -3,0 +3,0 @@ import { AppsignalOptions } from "./interfaces/options"; |
@@ -7,5 +7,5 @@ import { Span } from "./span"; | ||
values(): Span[]; | ||
push(item: Span | Span[]): void; | ||
push(item: Span | Span[]): number; | ||
drain(): Generator<Span | undefined, void, unknown>; | ||
} | ||
//# sourceMappingURL=queue.d.ts.map |
@@ -17,3 +17,4 @@ "use strict"; | ||
var _a; | ||
(_a = this._data).push.apply(_a, tslib_1.__spread(item)); | ||
return Array.isArray(item) | ||
? (_a = this._data).push.apply(_a, tslib_1.__spread(item)) : this._data.push(item); | ||
}; | ||
@@ -20,0 +21,0 @@ Queue.prototype.drain = function () { |
import { Serializable } from "@appsignal/core"; | ||
import { JSSpanData, Breadcrumb, HashMap, HashMapValue } from "@appsignal/types"; | ||
import type { JSSpanData, Breadcrumb, HashMap, HashMapValue } from "@appsignal/types"; | ||
export declare class Span extends Serializable<JSSpanData> { | ||
@@ -4,0 +4,0 @@ constructor(span?: Partial<JSSpanData>); |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.3.8"; | ||
export declare const VERSION = "1.3.9"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = "1.3.8"; | ||
exports.VERSION = "1.3.9"; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
import { Breadcrumb, JSClient, Hook } from "@appsignal/types"; | ||
import type { Breadcrumb, JSClient, Hook } from "@appsignal/types"; | ||
import { Span } from "./span"; | ||
@@ -3,0 +3,0 @@ import { AppsignalOptions } from "./interfaces/options"; |
@@ -7,5 +7,5 @@ import { Span } from "./span"; | ||
values(): Span[]; | ||
push(item: Span | Span[]): void; | ||
push(item: Span | Span[]): number; | ||
drain(): Generator<Span | undefined, void, unknown>; | ||
} | ||
//# sourceMappingURL=queue.d.ts.map |
@@ -14,3 +14,4 @@ import { __generator, __read, __spread } from "tslib"; | ||
var _a; | ||
(_a = this._data).push.apply(_a, __spread(item)); | ||
return Array.isArray(item) | ||
? (_a = this._data).push.apply(_a, __spread(item)) : this._data.push(item); | ||
}; | ||
@@ -17,0 +18,0 @@ Queue.prototype.drain = function () { |
import { Serializable } from "@appsignal/core"; | ||
import { JSSpanData, Breadcrumb, HashMap, HashMapValue } from "@appsignal/types"; | ||
import type { JSSpanData, Breadcrumb, HashMap, HashMapValue } from "@appsignal/types"; | ||
export declare class Span extends Serializable<JSSpanData> { | ||
@@ -4,0 +4,0 @@ constructor(span?: Partial<JSSpanData>); |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.3.8"; | ||
export declare const VERSION = "1.3.9"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export var VERSION = "1.3.8"; | ||
export var VERSION = "1.3.9"; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@appsignal/javascript", | ||
"version": "1.3.8", | ||
"version": "1.3.9", | ||
"main": "dist/cjs/index.js", | ||
@@ -27,4 +27,4 @@ "module": "dist/esm/index.js", | ||
"dependencies": { | ||
"@appsignal/core": "^1.1.3", | ||
"@appsignal/types": "^2.0.1", | ||
"@appsignal/core": "^1.1.4", | ||
"@appsignal/types": "^2.0.2", | ||
"tslib": "^2.0.3" | ||
@@ -35,3 +35,3 @@ }, | ||
}, | ||
"gitHead": "90bdaa4d9d30cbebb73c8898aeb85e4ce212185f" | ||
"gitHead": "73fa76cff447c6fd398c5c5761758297f641fd61" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
96529
0.55%1387
0.14%Updated
Updated