@flighthq/storage 0.5.1-next.903.f434bc2 → 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/storage`. The `@flig
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/storage@0.5.1-next.903.f434bc2](https://github.com/flighthq/flight/tree/f434bc233778d75aeea61995df3a8cfaec459a85/packages/storage)
17
- - [License](https://github.com/flighthq/flight/blob/f434bc233778d75aeea61995df3a8cfaec459a85/LICENSE.md)
16
+ - [Source for @flighthq/storage@0.5.1-next.905.5fbf787](https://github.com/flighthq/flight/tree/5fbf7874064c384307542d68b4dcb6a895ff0dcf/packages/storage)
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/storage",
3
- "version": "0.5.1-next.903.f434bc2",
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.903.f434bc2",
42
- "@flighthq/signals": "0.5.1-next.903.f434bc2",
43
- "@flighthq/types": "0.5.1-next.903.f434bc2"
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"
@@ -25,6 +25,7 @@ import {
25
25
  getNamespacedStorageByteSize,
26
26
  getNamespacedStorageEntries,
27
27
  getNamespacedStorageItem,
28
+ getNamespacedStorageItemPresence,
28
29
  getNamespacedStorageKeys,
29
30
  getStorageBoolean,
30
31
  getStorageBooleanOr,
@@ -33,14 +34,14 @@ import {
33
34
  getStorageItem,
34
35
  getStorageItemCount,
35
36
  getStorageItemOr,
37
+ getStorageItemPresence,
36
38
  getStorageItems,
37
39
  getStorageJSON,
38
40
  getStorageJSONOr,
39
41
  getStorageKeys,
40
42
  getStorageNumber,
41
43
  getStorageNumberOr,
42
- getNamespacedStorageItemPresence,
43
- getStorageItemPresence,
44
+ initializeStorageSignals,
44
45
  migrateStorage,
45
46
  removeNamespacedStorageItem,
46
47
  removeStorageItem,
@@ -437,6 +438,12 @@ describe('getStorageNumberOr', () => {
437
438
  });
438
439
  });
439
440
 
441
+ describe('initializeStorageSignals', () => {
442
+ it('is the construction initializer of createStorageSignals', () => {
443
+ expect(typeof initializeStorageSignals).toBe('function');
444
+ });
445
+ });
446
+
440
447
  describe('migrateStorage', () => {
441
448
  it('validates the entire plan before reading storage', () => {
442
449
  const backend = memoryBackend();
@@ -626,7 +633,6 @@ describe('setStorageJSON', () => {
626
633
  expect(backend.data.value).toBe('{"x":1}');
627
634
  });
628
635
  });
629
-
630
636
  describe('setStorageNumber', () => {
631
637
  it('stores finite values and throws RangeError for programmer misuse', () => {
632
638
  const backend = memoryBackend();