@hamak/notification-api 0.5.2 → 0.5.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hamak/notification-api",
3
- "version": "0.5.2",
3
+ "version": "0.5.6",
4
4
  "description": "[DEPRECATED] Use @hamak/notification/api instead",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,7 +24,7 @@
24
24
  "access": "public"
25
25
  },
26
26
  "scripts": {
27
- "build": "tsc -p tsconfig.lib.json",
27
+ "build": "tsc -p tsconfig.lib.json && node ../../../scripts/fix-esm-extensions.mjs ./dist",
28
28
  "clean": "rm -rf dist"
29
29
  },
30
30
  "keywords": [
@@ -1,4 +0,0 @@
1
- /**
2
- * API interfaces for notification service
3
- */
4
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- /**
2
- * @hamak/notification-api
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
9
- */
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';
@@ -1,4 +0,0 @@
1
- /**
2
- * Service tokens for notification system
3
- */
4
- export { NOTIFICATION_SERVICE_TOKEN, } from './service-tokens.js';
@@ -1,17 +0,0 @@
1
- /**
2
- * Dependency Injection tokens for notification services
3
- */
4
- /**
5
- * Token for injecting the NotificationService
6
- *
7
- * @example
8
- * ```typescript
9
- * export const myPlugin: PluginModule = {
10
- * initialize(ctx) {
11
- * const notificationService = ctx.resolve(NOTIFICATION_SERVICE_TOKEN);
12
- * notificationService.success('Plugin initialized');
13
- * }
14
- * };
15
- * ```
16
- */
17
- export const NOTIFICATION_SERVICE_TOKEN = Symbol.for('@hamak/notification:NotificationService');
@@ -1,4 +0,0 @@
1
- /**
2
- * Type definitions for notifications
3
- */
4
- export {};
@@ -1 +0,0 @@
1
- export {};