@appsignal/preact
Advanced tools
Comparing version 1.0.0-beta.2 to 1.0.0-beta.3
"use strict"; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var preact_1 = require("preact"); | ||
var ErrorBoundary = (function (_super) { | ||
tslib_1.__extends(ErrorBoundary, _super); | ||
__extends(ErrorBoundary, _super); | ||
function ErrorBoundary() { | ||
@@ -23,3 +46,3 @@ var _this = _super !== null && _super.apply(this, arguments) || this; | ||
}) | ||
.setTags(tslib_1.__assign({ framework: "Preact" }, tags)); | ||
.setTags(__assign({ framework: "Preact" }, tags)); | ||
appsignal.send(span); | ||
@@ -26,0 +49,0 @@ this.setState({ error: error }); |
@@ -1,2 +0,25 @@ | ||
import { __assign, __extends } from "tslib"; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
import { Component } from "preact"; | ||
@@ -3,0 +26,0 @@ var ErrorBoundary = (function (_super) { |
{ | ||
"name": "@appsignal/preact", | ||
"version": "1.0.0-beta.2", | ||
"version": "1.0.0-beta.3", | ||
"main": "dist/cjs/index.js", | ||
@@ -10,3 +10,3 @@ "module": "dist/esm/index.js", | ||
"scripts": { | ||
"build": "run-s build:cjs build:esm", | ||
"build": "yarn build:cjs && yarn build:esm", | ||
"build:esm": "tsc -p tsconfig.esm.json", | ||
@@ -28,3 +28,3 @@ "build:esm:watch": "tsc -p tsconfig.esm.json -w --preserveWatchOutput", | ||
}, | ||
"gitHead": "474edc030d75f7637bf8591577568333c3e88d7b" | ||
"gitHead": "29af99063e05309cb922e347dd04c1f4e3eeba90" | ||
} |
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
25138
277