@appsignal/javascript
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -16,3 +16,3 @@ "use strict"; | ||
this._clientVersion = options.version; | ||
this._transport = this._createTransport(); | ||
this._transport = this._createTransport(this._url()); | ||
} | ||
@@ -31,4 +31,3 @@ PushApi.prototype.push = function (span) { | ||
}; | ||
PushApi.prototype._createTransport = function () { | ||
var url = this._url(); | ||
PushApi.prototype._createTransport = function (url) { | ||
switch (environment_1.Environment.transport()) { | ||
@@ -35,0 +34,0 @@ case "XDomainRequest": |
@@ -34,3 +34,4 @@ "use strict"; | ||
name: error.name || "Error", | ||
message: error.message || "No message given", | ||
message: error.message || | ||
"setError received \"" + (typeof error !== "string" ? JSON.stringify(error) : error) + "\", which did not provide an error message, or was not an object with a valid message property", | ||
backtrace: core_1.getStacktrace(error) | ||
@@ -37,0 +38,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.3.4"; | ||
export declare const VERSION = "1.3.5"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = "1.3.4"; | ||
exports.VERSION = "1.3.5"; | ||
//# sourceMappingURL=version.js.map |
@@ -13,3 +13,3 @@ import { __awaiter, __generator } from "tslib"; | ||
this._clientVersion = options.version; | ||
this._transport = this._createTransport(); | ||
this._transport = this._createTransport(this._url()); | ||
} | ||
@@ -28,4 +28,3 @@ PushApi.prototype.push = function (span) { | ||
}; | ||
PushApi.prototype._createTransport = function () { | ||
var url = this._url(); | ||
PushApi.prototype._createTransport = function (url) { | ||
switch (Environment.transport()) { | ||
@@ -32,0 +31,0 @@ case "XDomainRequest": |
@@ -0,1 +1,2 @@ | ||
export {}; | ||
//# sourceMappingURL=hook.js.map |
@@ -0,1 +1,2 @@ | ||
export {}; | ||
//# sourceMappingURL=transport.js.map |
@@ -31,3 +31,4 @@ import { __assign, __extends } from "tslib"; | ||
name: error.name || "Error", | ||
message: error.message || "No message given", | ||
message: error.message || | ||
"setError received \"" + (typeof error !== "string" ? JSON.stringify(error) : error) + "\", which did not provide an error message, or was not an object with a valid message property", | ||
backtrace: getStacktrace(error) | ||
@@ -34,0 +35,0 @@ }; |
@@ -0,1 +1,2 @@ | ||
export {}; | ||
//# sourceMappingURL=options.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.3.4"; | ||
export declare const VERSION = "1.3.5"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export var VERSION = "1.3.4"; | ||
export var VERSION = "1.3.5"; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@appsignal/javascript", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"main": "dist/cjs/index.js", | ||
@@ -27,3 +27,3 @@ "module": "dist/esm/index.js", | ||
"dependencies": { | ||
"@appsignal/core": "^1.0.9", | ||
"@appsignal/core": "^1.1.0", | ||
"@appsignal/types": "^1.0.0", | ||
@@ -35,3 +35,3 @@ "tslib": "^2.0.1" | ||
}, | ||
"gitHead": "6e0cc5af5593bbdf41fa65fef4c09ba3ddb09f9b" | ||
"gitHead": "56ad1ce0bf2c30c6d9d8aaad7f98e1a8eccc0ec4" | ||
} |
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
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
95350
1384
Updated@appsignal/core@^1.1.0