@flighthq/assets 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/assets`. The `@fligh
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/assets@0.5.1-next.903.f434bc2](https://github.com/flighthq/flight/tree/f434bc233778d75aeea61995df3a8cfaec459a85/packages/assets)
17
- - [License](https://github.com/flighthq/flight/blob/f434bc233778d75aeea61995df3a8cfaec459a85/LICENSE.md)
16
+ - [Source for @flighthq/assets@0.5.1-next.905.5fbf787](https://github.com/flighthq/flight/tree/5fbf7874064c384307542d68b4dcb6a895ff0dcf/packages/assets)
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/assets",
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,11 +38,11 @@
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/loader": "0.5.1-next.903.f434bc2",
43
- "@flighthq/log": "0.5.1-next.903.f434bc2",
44
- "@flighthq/signals": "0.5.1-next.903.f434bc2",
45
- "@flighthq/types": "0.5.1-next.903.f434bc2"
41
+ "@flighthq/entity": "0.5.1-next.905.5fbf787",
42
+ "@flighthq/loader": "0.5.1-next.905.5fbf787",
43
+ "@flighthq/log": "0.5.1-next.905.5fbf787",
44
+ "@flighthq/signals": "0.5.1-next.905.5fbf787",
45
+ "@flighthq/types": "0.5.1-next.905.5fbf787"
46
46
  },
47
47
  "devDependencies": {
48
48
  "typescript": "^5.3.0"
@@ -10,6 +10,7 @@ import {
10
10
  getAssetGroupIds,
11
11
  getAssetIds,
12
12
  getAssetRefCount,
13
+ initializeAssetLibrary,
13
14
  loadAssetGroup,
14
15
  registerAssetDescriptor,
15
16
  registerAssetLoader,
@@ -217,6 +218,12 @@ describe('getAssetRefCount', () => {
217
218
  });
218
219
  });
219
220
 
221
+ describe('initializeAssetLibrary', () => {
222
+ it('is the construction initializer of createAssetLibrary', () => {
223
+ expect(typeof initializeAssetLibrary).toBe('function');
224
+ });
225
+ });
226
+
220
227
  describe('loadAssetGroup', () => {
221
228
  it('makes successfully loaded assets accessible even when another group member fails', async () => {
222
229
  const library = createAssetLibrary();
@@ -469,7 +476,6 @@ describe('releaseAssetGroup', () => {
469
476
  expect(() => releaseAssetGroup(library, 'nope')).not.toThrow();
470
477
  });
471
478
  });
472
-
473
479
  describe('setAssetAcquireGuard', () => {
474
480
  it('installs and removes the per-library acquire failure hook', async () => {
475
481
  const library = createAssetLibrary();