@flighthq/host-capacitor 0.5.1-next.1295.2b6bfa3 → 0.5.1-next.1345.0995dc5

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/host-capacitor`. 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/host-capacitor@0.5.1-next.1295.2b6bfa3](https://github.com/flighthq/flight/tree/2b6bfa33110e26cbdd959441a6c36a4c78109ab8/packages/host-capacitor)
17
- - [License](https://github.com/flighthq/flight/blob/2b6bfa33110e26cbdd959441a6c36a4c78109ab8/LICENSE.md)
16
+ - [Source for @flighthq/host-capacitor@0.5.1-next.1345.0995dc5](https://github.com/flighthq/flight/tree/0995dc5f840e6b57c3e85ecd2123aa798cf60b29/packages/host-capacitor)
17
+ - [License](https://github.com/flighthq/flight/blob/0995dc5f840e6b57c3e85ecd2123aa798cf60b29/LICENSE.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flighthq/host-capacitor",
3
- "version": "0.5.1-next.1295.2b6bfa3",
3
+ "version": "0.5.1-next.1345.0995dc5",
4
4
  "author": "Joshua Granick and other contributors",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,18 +38,18 @@
38
38
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@flighthq/app": "0.5.1-next.1295.2b6bfa3",
42
- "@flighthq/clipboard": "0.5.1-next.1295.2b6bfa3",
43
- "@flighthq/device": "0.5.1-next.1295.2b6bfa3",
44
- "@flighthq/dialog": "0.5.1-next.1295.2b6bfa3",
45
- "@flighthq/entity": "0.5.1-next.1295.2b6bfa3",
46
- "@flighthq/filesystem": "0.5.1-next.1295.2b6bfa3",
47
- "@flighthq/geolocation": "0.5.1-next.1295.2b6bfa3",
48
- "@flighthq/haptics": "0.5.1-next.1295.2b6bfa3",
49
- "@flighthq/notification": "0.5.1-next.1295.2b6bfa3",
50
- "@flighthq/share": "0.5.1-next.1295.2b6bfa3",
51
- "@flighthq/statusbar": "0.5.1-next.1295.2b6bfa3",
52
- "@flighthq/types": "0.5.1-next.1295.2b6bfa3"
41
+ "@flighthq/app": "0.5.1-next.1345.0995dc5",
42
+ "@flighthq/clipboard": "0.5.1-next.1345.0995dc5",
43
+ "@flighthq/device": "0.5.1-next.1345.0995dc5",
44
+ "@flighthq/dialog": "0.5.1-next.1345.0995dc5",
45
+ "@flighthq/entity": "0.5.1-next.1345.0995dc5",
46
+ "@flighthq/filesystem": "0.5.1-next.1345.0995dc5",
47
+ "@flighthq/geolocation": "0.5.1-next.1345.0995dc5",
48
+ "@flighthq/haptics": "0.5.1-next.1345.0995dc5",
49
+ "@flighthq/notification": "0.5.1-next.1345.0995dc5",
50
+ "@flighthq/share": "0.5.1-next.1345.0995dc5",
51
+ "@flighthq/statusbar": "0.5.1-next.1345.0995dc5",
52
+ "@flighthq/types": "0.5.1-next.1345.0995dc5"
53
53
  },
54
54
  "devDependencies": {
55
55
  "typescript": "^5.3.0"
@@ -1,4 +1,5 @@
1
1
  import { readClipboardText } from '@flighthq/clipboard/contract';
2
+ import { createHost } from '@flighthq/entity/contract';
2
3
  import { EntityRuntimeKey } from '@flighthq/types/contract';
3
4
  import type { CapacitorApi } from '@flighthq/types/contract';
4
5
 
@@ -67,35 +68,8 @@ describe('capacitor power slot coverage', () => {
67
68
  });
68
69
 
69
70
  describe('capacitorHost', () => {
70
- it('publishes all 26 Host groups and no parallel top-level surface', () => {
71
- expect(Object.keys(capacitorHost(fakeCapacitor(), 'ios')).sort()).toEqual([
72
- 'accessibility',
73
- 'app',
74
- 'clipboard',
75
- 'connectivity',
76
- 'dialog',
77
- 'graphics',
78
- 'input',
79
- 'ipc',
80
- 'media',
81
- 'menu',
82
- 'midi',
83
- 'net',
84
- 'notification',
85
- 'power',
86
- 'protocol',
87
- 'screen',
88
- 'share',
89
- 'shell',
90
- 'shortcut',
91
- 'storage',
92
- 'system',
93
- 'text',
94
- 'tray',
95
- 'ui',
96
- 'updater',
97
- 'window',
98
- ]);
71
+ it('publishes every Host group and no parallel top-level surface', () => {
72
+ expect(Object.keys(capacitorHost(fakeCapacitor(), 'ios')).sort()).toEqual(Object.keys(createHost()).sort());
99
73
  });
100
74
 
101
75
  it('exposes the real Capacitor haptics provider', () => {