@flighthq/device 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/device`. 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/device@0.5.1-next.903.f434bc2](https://github.com/flighthq/flight/tree/f434bc233778d75aeea61995df3a8cfaec459a85/packages/device)
17
- - [License](https://github.com/flighthq/flight/blob/f434bc233778d75aeea61995df3a8cfaec459a85/LICENSE.md)
16
+ - [Source for @flighthq/device@0.5.1-next.905.5fbf787](https://github.com/flighthq/flight/tree/5fbf7874064c384307542d68b4dcb6a895ff0dcf/packages/device)
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/device",
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/types": "0.5.1-next.903.f434bc2",
43
- "@flighthq/useragent": "0.5.1-next.903.f434bc2"
41
+ "@flighthq/entity": "0.5.1-next.905.5fbf787",
42
+ "@flighthq/types": "0.5.1-next.905.5fbf787",
43
+ "@flighthq/useragent": "0.5.1-next.905.5fbf787"
44
44
  },
45
45
  "devDependencies": {
46
46
  "typescript": "^5.3.0"
@@ -19,6 +19,10 @@ import {
19
19
  getDeviceId,
20
20
  getDeviceInfo,
21
21
  getSafeAreaInsets,
22
+ initializeDeviceCapabilities,
23
+ initializeDeviceDisplayMetrics,
24
+ initializeDeviceInfo,
25
+ initializeSafeAreaInsets,
22
26
  refreshDeviceInfo,
23
27
  } from './device';
24
28
 
@@ -225,6 +229,29 @@ describe('getSafeAreaInsets', () => {
225
229
  });
226
230
  });
227
231
 
232
+ describe('initializeDeviceCapabilities', () => {
233
+ it('is the construction initializer of createDeviceCapabilities', () => {
234
+ expect(typeof initializeDeviceCapabilities).toBe('function');
235
+ });
236
+ });
237
+
238
+ describe('initializeDeviceDisplayMetrics', () => {
239
+ it('is the construction initializer of createDeviceDisplayMetrics', () => {
240
+ expect(typeof initializeDeviceDisplayMetrics).toBe('function');
241
+ });
242
+ });
243
+ describe('initializeDeviceInfo', () => {
244
+ it('is the construction initializer of createDeviceInfo', () => {
245
+ expect(typeof initializeDeviceInfo).toBe('function');
246
+ });
247
+ });
248
+
249
+ describe('initializeSafeAreaInsets', () => {
250
+ it('is the construction initializer of createSafeAreaInsets', () => {
251
+ expect(typeof initializeSafeAreaInsets).toBe('function');
252
+ });
253
+ });
254
+
228
255
  describe('R3 boundary', () => {
229
256
  it('exports no ambient-state API (setDeviceBackend, getDeviceBackend, etc.)', () => {
230
257
  const exports = Object.keys(deviceContract);