@appsignal/preact
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import { Component } from "preact"; | ||
@@ -12,4 +11,4 @@ import { Props, State } from "./types/component"; | ||
componentDidCatch(error: Error, info: any): void; | ||
render(): React.ReactNode; | ||
render(): any; | ||
} | ||
//# sourceMappingURL=ErrorBoundary.d.ts.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
({ __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]; }; | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
@@ -28,2 +28,3 @@ }; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ErrorBoundary = void 0; | ||
var preact_1 = require("preact"); | ||
@@ -30,0 +31,0 @@ var ErrorBoundary = (function (_super) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ErrorBoundary = void 0; | ||
var ErrorBoundary_1 = require("./ErrorBoundary"); | ||
exports.ErrorBoundary = ErrorBoundary_1.ErrorBoundary; | ||
Object.defineProperty(exports, "ErrorBoundary", { enumerable: true, get: function () { return ErrorBoundary_1.ErrorBoundary; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -1,6 +0,6 @@ | ||
/// <reference types="react" /> | ||
import { JSX } from "preact"; | ||
export declare type Props = { | ||
instance: any; | ||
action?: string; | ||
children: React.ReactNode; | ||
children: JSX.Element; | ||
fallback?: Function; | ||
@@ -7,0 +7,0 @@ tags?: { |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import { Component } from "preact"; | ||
@@ -12,4 +11,4 @@ import { Props, State } from "./types/component"; | ||
componentDidCatch(error: Error, info: any): void; | ||
render(): React.ReactNode; | ||
render(): any; | ||
} | ||
//# sourceMappingURL=ErrorBoundary.d.ts.map |
@@ -5,3 +5,3 @@ var __extends = (this && this.__extends) || (function () { | ||
({ __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]; }; | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
@@ -8,0 +8,0 @@ }; |
@@ -1,6 +0,6 @@ | ||
/// <reference types="react" /> | ||
import { JSX } from "preact"; | ||
export declare type Props = { | ||
instance: any; | ||
action?: string; | ||
children: React.ReactNode; | ||
children: JSX.Element; | ||
fallback?: Function; | ||
@@ -7,0 +7,0 @@ tags?: { |
@@ -0,1 +1,2 @@ | ||
export {}; | ||
//# sourceMappingURL=component.js.map |
{ | ||
"name": "@appsignal/preact", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"main": "dist/cjs/index.js", | ||
@@ -22,3 +22,3 @@ "module": "dist/esm/index.js", | ||
"peerDependencies": { | ||
"preact": "^10.0.0-rc.0" | ||
"preact": "^10.0.0" | ||
}, | ||
@@ -28,3 +28,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "804f605f616b747a6b5e0e66e187ee647d85b6d2" | ||
"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
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
25661
443
278
4