@flighthq/share 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/share`. The `@flight
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/share@0.5.1-next.1295.2b6bfa3](https://github.com/flighthq/flight/tree/2b6bfa33110e26cbdd959441a6c36a4c78109ab8/packages/share)
17
- - [License](https://github.com/flighthq/flight/blob/2b6bfa33110e26cbdd959441a6c36a4c78109ab8/LICENSE.md)
16
+ - [Source for @flighthq/share@0.5.1-next.1345.0995dc5](https://github.com/flighthq/flight/tree/0995dc5f840e6b57c3e85ecd2123aa798cf60b29/packages/share)
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/share",
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,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.1295.2b6bfa3",
42
- "@flighthq/signals": "0.5.1-next.1295.2b6bfa3",
43
- "@flighthq/types": "0.5.1-next.1295.2b6bfa3"
41
+ "@flighthq/entity": "0.5.1-next.1345.0995dc5",
42
+ "@flighthq/signals": "0.5.1-next.1345.0995dc5",
43
+ "@flighthq/types": "0.5.1-next.1345.0995dc5"
44
44
  },
45
45
  "devDependencies": {
46
46
  "typescript": "^5.3.0"
package/src/share.test.ts CHANGED
@@ -159,23 +159,21 @@ describe('isShareFileValid', () => {
159
159
  });
160
160
 
161
161
  describe('Share contract surface', () => {
162
- it('contains only explicit-host commands, payload validation, and core signal lifecycle', () => {
163
- expect(Object.keys(shareContract).sort()).toEqual([
164
- 'attachShareSignals',
165
- 'canShareContent',
166
- 'canShareFiles',
167
- 'detachShareSignals',
168
- 'disposeShareSignals',
169
- 'enableShareSignals',
170
- 'hasShareContentFields',
171
- 'initializeShareSignals',
172
- 'isShareFileValid',
173
- 'shareContent',
174
- 'shareContentWithResult',
175
- 'shareFiles',
176
- 'shareText',
177
- 'shareUrl',
178
- ]);
162
+ it('exports no ambient backend state or availability API', () => {
163
+ const exports = Object.keys(shareContract);
164
+ const deletedSymbols = [
165
+ 'createWebShareBackend',
166
+ 'explainShareBackend',
167
+ 'getShareBackend',
168
+ 'installShareHostBackend',
169
+ 'isShareAvailable',
170
+ 'observeShareHostResult',
171
+ 'resetShareBackendForTest',
172
+ 'setShareBackend',
173
+ ];
174
+ for (const symbol of deletedSymbols) {
175
+ expect(exports).not.toContain(symbol);
176
+ }
179
177
  });
180
178
  });
181
179