@flighthq/entity 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/entity`. 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/entity@0.5.1-next.904.b545d9c](https://github.com/flighthq/flight/tree/b545d9cfe622400923a81685c78547f2be54eff5/packages/entity)
17
- - [License](https://github.com/flighthq/flight/blob/b545d9cfe622400923a81685c78547f2be54eff5/LICENSE.md)
16
+ - [Source for @flighthq/entity@0.5.1-next.905.5fbf787](https://github.com/flighthq/flight/tree/5fbf7874064c384307542d68b4dcb6a895ff0dcf/packages/entity)
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/entity",
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,7 +38,7 @@
38
38
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@flighthq/types": "0.5.1-next.904.b545d9c"
41
+ "@flighthq/types": "0.5.1-next.905.5fbf787"
42
42
  },
43
43
  "devDependencies": {
44
44
  "typescript": "^5.3.0"
package/src/host.test.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { EntityRuntimeKey } from '@flighthq/types/contract';
2
2
 
3
3
  import * as entity from './contract';
4
+ import { initializeHost } from './host';
4
5
 
5
6
  const HOST_GROUPS = [
6
7
  'accessibility',
@@ -69,3 +70,8 @@ function requiredFunction(module: object, name: string): (...args: any[]) => any
69
70
  if (typeof value !== 'function') throw new TypeError(`${name} is not exported`);
70
71
  return value as (...args: any[]) => any;
71
72
  }
73
+ describe('initializeHost', () => {
74
+ it('is the construction initializer of createHost', () => {
75
+ expect(typeof initializeHost).toBe('function');
76
+ });
77
+ });