Skip to content

Commit 1060e3a

Browse files
committed
chore: release v2.0.2
* (foxriver76) changed export to named export
1 parent 2e2f7e0 commit 1060e3a

6 files changed

Lines changed: 11 additions & 7 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,17 @@ This should cause the adapter to crash and the exception to be shown in the sent
147147
-->
148148

149149
## Changelog
150+
### 2.0.2 (2024-06-01)
151+
* (foxriver76) changed export to named export
152+
150153
### 2.0.1 (2024-06-01)
151154
* (foxriver76) fixed `types` and `main` file export
152155

153156
### 2.0.0 (2024-06-01)
154157
* (foxriver76) work with plugin base v2
155158
* (foxriver76) ported to TypeScript to provide improved type support
156159

157-
**Breaking Changes**: Due to the port to Plugin Base v2, `init` now returns a promise instead of accepting a callback parameter
160+
**Breaking Changes**: Due to the port to Plugin Base v2, `init` now returns a promise instead of accepting a callback parameter, also the export has changed to a named export
158161

159162
### 1.2.1 (2023-06-15)
160163
* (bluefox) Update packages

build/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { PluginBase } from '@iobroker/plugin-base';
2-
export default class SentryPlugin extends PluginBase {
2+
export declare class SentryPlugin extends PluginBase {
33
/** The Sentry instance */
44
Sentry: typeof import('@sentry/node');
55
/** If plugin is enabled after all checks */

build/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"use strict";
22
Object.defineProperty(exports, "__esModule", { value: true });
3+
exports.SentryPlugin = void 0;
34
const plugin_base_1 = require("@iobroker/plugin-base");
45
class SentryPlugin extends plugin_base_1.PluginBase {
56
constructor() {
@@ -232,4 +233,4 @@ class SentryPlugin extends plugin_base_1.PluginBase {
232233
return this.Sentry;
233234
}
234235
}
235-
exports.default = SentryPlugin;
236+
exports.SentryPlugin = SentryPlugin;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iobroker/plugin-sentry",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Sentry module for plugins for js-controller and adapters",
55
"author": {
66
"name": "Ingo Fischer",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { PluginBase } from '@iobroker/plugin-base';
22

3-
export default class SentryPlugin extends PluginBase {
3+
export class SentryPlugin extends PluginBase {
44
/** The Sentry instance */
55
Sentry: typeof import('@sentry/node');
66
/** If plugin is enabled after all checks */

0 commit comments

Comments
 (0)