@flighthq/notification 0.5.1-next.904.b545d9c → 0.5.1-next.905.5fbf787

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/README.md CHANGED
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/notification`. The `
13
13
  This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
14
14
 
15
15
  - [Flight project](https://github.com/flighthq/flight)
16
- - [Source for @flighthq/notification@0.5.1-next.904.b545d9c](https://github.com/flighthq/flight/tree/b545d9cfe622400923a81685c78547f2be54eff5/packages/notification)
17
- - [License](https://github.com/flighthq/flight/blob/b545d9cfe622400923a81685c78547f2be54eff5/LICENSE.md)
16
+ - [Source for @flighthq/notification@0.5.1-next.905.5fbf787](https://github.com/flighthq/flight/tree/5fbf7874064c384307542d68b4dcb6a895ff0dcf/packages/notification)
17
+ - [License](https://github.com/flighthq/flight/blob/5fbf7874064c384307542d68b4dcb6a895ff0dcf/LICENSE.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flighthq/notification",
3
- "version": "0.5.1-next.904.b545d9c",
3
+ "version": "0.5.1-next.905.5fbf787",
4
4
  "author": "Joshua Granick and other contributors",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,9 +38,9 @@
38
38
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@flighthq/entity": "0.5.1-next.904.b545d9c",
42
- "@flighthq/signals": "0.5.1-next.904.b545d9c",
43
- "@flighthq/types": "0.5.1-next.904.b545d9c"
41
+ "@flighthq/entity": "0.5.1-next.905.5fbf787",
42
+ "@flighthq/signals": "0.5.1-next.905.5fbf787",
43
+ "@flighthq/types": "0.5.1-next.905.5fbf787"
44
44
  },
45
45
  "devDependencies": {
46
46
  "typescript": "^5.3.0"
@@ -39,6 +39,8 @@ import {
39
39
  getActiveNotifications,
40
40
  getNotificationPermission,
41
41
  getPendingNotifications,
42
+ initializeNotificationResource,
43
+ initializeScheduledNotificationResource,
42
44
  requestNotificationPermission,
43
45
  scheduleNotification,
44
46
  showNotification,
@@ -492,6 +494,18 @@ describe('getPendingNotifications', () => {
492
494
  });
493
495
  });
494
496
 
497
+ describe('initializeNotificationResource', () => {
498
+ it('is the construction initializer of createNotificationResource', () => {
499
+ expect(typeof initializeNotificationResource).toBe('function');
500
+ });
501
+ });
502
+
503
+ describe('initializeScheduledNotificationResource', () => {
504
+ it('is the construction initializer of createScheduledNotificationResource', () => {
505
+ expect(typeof initializeScheduledNotificationResource).toBe('function');
506
+ });
507
+ });
508
+
495
509
  describe('requestNotificationPermission', () => {
496
510
  it('preserves the provider request outcome', async () => {
497
511
  await expect(
@@ -510,7 +524,6 @@ describe('requestNotificationPermission', () => {
510
524
  ).resolves.toEqual({ reason: 'dismissed' });
511
525
  });
512
526
  });
513
-
514
527
  describe('scheduleNotification', () => {
515
528
  it('returns the provider-created stable Entity', async () => {
516
529
  const scheduled = createScheduledNotificationResource('later', { title: 'Later' }, { at: 1 });