Skip to content

Commit

Permalink
chore: release v2.0.2
Browse files Browse the repository at this point in the history
* (foxriver76) changed export to named export
  • Loading branch information
foxriver76 committed Jun 1, 2024
1 parent 2e2f7e0 commit 1060e3a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,17 @@ This should cause the adapter to crash and the exception to be shown in the sent
-->

## Changelog
### 2.0.2 (2024-06-01)
* (foxriver76) changed export to named export

### 2.0.1 (2024-06-01)
* (foxriver76) fixed `types` and `main` file export

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

**Breaking Changes**: Due to the port to Plugin Base v2, `init` now returns a promise instead of accepting a callback parameter
**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

### 1.2.1 (2023-06-15)
* (bluefox) Update packages
Expand Down
2 changes: 1 addition & 1 deletion build/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PluginBase } from '@iobroker/plugin-base';
export default class SentryPlugin extends PluginBase {
export declare class SentryPlugin extends PluginBase {
/** The Sentry instance */
Sentry: typeof import('@sentry/node');
/** If plugin is enabled after all checks */
Expand Down
3 changes: 2 additions & 1 deletion build/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SentryPlugin = void 0;
const plugin_base_1 = require("@iobroker/plugin-base");
class SentryPlugin extends plugin_base_1.PluginBase {
constructor() {
Expand Down Expand Up @@ -232,4 +233,4 @@ class SentryPlugin extends plugin_base_1.PluginBase {
return this.Sentry;
}
}
exports.default = SentryPlugin;
exports.SentryPlugin = SentryPlugin;
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@iobroker/plugin-sentry",
"version": "2.0.1",
"version": "2.0.2",
"description": "Sentry module for plugins for js-controller and adapters",
"author": {
"name": "Ingo Fischer",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { PluginBase } from '@iobroker/plugin-base';

export default class SentryPlugin extends PluginBase {
export class SentryPlugin extends PluginBase {
/** The Sentry instance */
Sentry: typeof import('@sentry/node');
/** If plugin is enabled after all checks */
Expand Down

0 comments on commit 1060e3a

Please sign in to comment.