@hamak/notification-api 0.5.0 → 0.6.0

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,13 +1,7 @@
1
1
  /**
2
2
  * @hamak/notification-api
3
3
  *
4
- * Public API for the pluggable notification system.
5
- * Provides pure interfaces, types, and service tokens for notifications.
6
- * All data structures are fully serializable for Redux/storage/network.
7
- *
8
- * @packageDocumentation
4
+ * @deprecated This package is deprecated. Please migrate to @hamak/notification/api
9
5
  */
10
- export * from './api/index.js';
11
- export * from './types/index.js';
12
- export * from './tokens/index.js';
6
+ export * from '@hamak/notification/api';
13
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,cAAc,gBAAgB,CAAC;AAG/B,cAAc,kBAAkB,CAAC;AAGjC,cAAc,mBAAmB,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,15 +1,7 @@
1
1
  /**
2
2
  * @hamak/notification-api
3
3
  *
4
- * Public API for the pluggable notification system.
5
- * Provides pure interfaces, types, and service tokens for notifications.
6
- * All data structures are fully serializable for Redux/storage/network.
7
- *
8
- * @packageDocumentation
4
+ * @deprecated This package is deprecated. Please migrate to @hamak/notification/api
9
5
  */
10
- // Export all API interfaces
11
- export * from './api/index.js';
12
- // Export all types
13
- export * from './types/index.js';
14
- // Export service tokens
15
- export * from './tokens/index.js';
6
+ console.warn('[@hamak/notification-api] This package is deprecated. Please migrate to @hamak/notification/api');
7
+ export * from '@hamak/notification/api';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hamak/notification-api",
3
- "version": "0.5.0",
4
- "description": "Notification API - Pure interfaces and types for pluggable notification system",
3
+ "version": "0.6.0",
4
+ "description": "[DEPRECATED] Use @hamak/notification/api 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,19 +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
  "api",
38
- "interfaces",
39
- "microkernel"
33
+ "deprecated"
40
34
  ],
41
35
  "author": "",
42
36
  "license": "MIT",
37
+ "dependencies": {
38
+ "@hamak/notification": "*"
39
+ },
40
+ "deprecated": "Use @hamak/notification/api instead",
43
41
  "devDependencies": {
44
- "typescript": "^5.9.3",
45
- "vitest": "^3.2.4"
42
+ "typescript": "^5.9.3"
46
43
  }
47
44
  }