@hamak/notification-spi 0.4.19 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,12 +1,7 @@
1
1
  /**
2
2
  * @hamak/notification-spi
3
3
  *
4
- * Service Provider Interface for the notification system.
5
- * Provides plugin configuration types and event definitions.
6
- *
7
- * @packageDocumentation
4
+ * @deprecated This package is deprecated. Please migrate to @hamak/notification/spi
8
5
  */
9
- export * from './plugin/index.js';
10
- export * from './events/index.js';
11
- export type { INotification, INotificationService, NotificationType, NotificationOptions, NotificationListener, NOTIFICATION_SERVICE_TOKEN, } from '@hamak/notification-api';
6
+ export * from '@hamak/notification/spi';
12
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,cAAc,mBAAmB,CAAC;AAGlC,cAAc,mBAAmB,CAAC;AAGlC,YAAY,EACV,aAAa,EACb,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,GAC3B,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,cAAc,yBAAyB,CAAC"}
package/dist/index.js CHANGED
@@ -1,12 +1,7 @@
1
1
  /**
2
2
  * @hamak/notification-spi
3
3
  *
4
- * Service Provider Interface for the notification system.
5
- * Provides plugin configuration types and event definitions.
6
- *
7
- * @packageDocumentation
4
+ * @deprecated This package is deprecated. Please migrate to @hamak/notification/spi
8
5
  */
9
- // Export plugin configuration
10
- export * from './plugin/index.js';
11
- // Export event types
12
- export * from './events/index.js';
6
+ console.warn('[@hamak/notification-spi] This package is deprecated. Please migrate to @hamak/notification/spi');
7
+ export * from '@hamak/notification/spi';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hamak/notification-spi",
3
- "version": "0.4.19",
4
- "description": "Notification SPI - Service Provider Interfaces for notification plugin",
3
+ "version": "0.5.1",
4
+ "description": "[DEPRECATED] Use @hamak/notification/spi instead",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -9,12 +9,7 @@
9
9
  ".": {
10
10
  "types": "./dist/index.d.ts",
11
11
  "import": "./dist/index.js",
12
- "default": "./dist/index.js",
13
- "legacy": "./dist/es2015/index.js"
14
- },
15
- "./es2015": {
16
- "import": "./dist/es2015/index.js",
17
- "default": "./dist/es2015/index.js"
12
+ "default": "./dist/index.js"
18
13
  }
19
14
  },
20
15
  "files": [
@@ -29,23 +24,21 @@
29
24
  "access": "public"
30
25
  },
31
26
  "scripts": {
32
- "build": "tsc -p tsconfig.lib.json && tsc -p tsconfig.es2015.json",
27
+ "build": "tsc -p tsconfig.lib.json",
33
28
  "clean": "rm -rf dist"
34
29
  },
35
30
  "keywords": [
36
31
  "notification",
37
32
  "spi",
38
- "plugin",
39
- "microkernel"
33
+ "deprecated"
40
34
  ],
41
35
  "author": "",
42
36
  "license": "MIT",
43
37
  "dependencies": {
44
- "@hamak/notification-api": "*",
45
- "@hamak/microkernel-spi": "*"
38
+ "@hamak/notification": "*"
46
39
  },
40
+ "deprecated": "Use @hamak/notification/spi instead",
47
41
  "devDependencies": {
48
- "typescript": "^5.9.3",
49
- "vitest": "^3.2.4"
42
+ "typescript": "^5.9.3"
50
43
  }
51
44
  }