@appsignal/javascript
Advanced tools
Comparing version 1.3.26 to 1.3.27-rc.1
# AppSignal for JavaScript changelog | ||
## 1.3.27-rc.1 | ||
### Fixed | ||
- [b9be691](https://github.com/appsignal/appsignal-javascript/commit/b9be69158507c88007fa5da33007464ba652eaa4) patch - Fix attempt to use HTTPS in Electron | ||
## 1.3.26 | ||
@@ -4,0 +10,0 @@ |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.NodeTransport = void 0; | ||
var tslib_1 = require("tslib"); | ||
var https_1 = tslib_1.__importDefault(require("https")); | ||
var NodeTransport = (function () { | ||
@@ -20,8 +41,11 @@ function NodeTransport(url) { | ||
return new Promise(function (resolve, reject) { | ||
var req = https_1.default | ||
.request(_this.url, options, function () { }) | ||
.on("error", function (error) { return reject(error); }); | ||
req.write(data); | ||
req.end(); | ||
resolve({}); | ||
Promise.resolve().then(function () { return __importStar(require("https")); }).then(function (https) { | ||
var req = https | ||
.request(_this.url, options, function () { }) | ||
.on("error", function (error) { return reject(error); }); | ||
req.write(data); | ||
req.end(); | ||
resolve({}); | ||
}) | ||
.catch(reject); | ||
}); | ||
@@ -28,0 +52,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.3.25"; | ||
export declare const VERSION = "1.3.26"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = "1.3.25"; | ||
exports.VERSION = "1.3.26"; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,1 @@ | ||
import https from "https"; | ||
var NodeTransport = (function () { | ||
@@ -16,8 +15,12 @@ function NodeTransport(url) { | ||
return new Promise(function (resolve, reject) { | ||
var req = https | ||
.request(_this.url, options, function () { }) | ||
.on("error", function (error) { return reject(error); }); | ||
req.write(data); | ||
req.end(); | ||
resolve({}); | ||
import("https") | ||
.then(function (https) { | ||
var req = https | ||
.request(_this.url, options, function () { }) | ||
.on("error", function (error) { return reject(error); }); | ||
req.write(data); | ||
req.end(); | ||
resolve({}); | ||
}) | ||
.catch(reject); | ||
}); | ||
@@ -24,0 +27,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.3.25"; | ||
export declare const VERSION = "1.3.26"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export var VERSION = "1.3.25"; | ||
export var VERSION = "1.3.26"; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@appsignal/javascript", | ||
"version": "1.3.26", | ||
"version": "1.3.27-rc.1", | ||
"main": "dist/cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/esm/index.js", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
155157
1428
3
2