@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 +2 -2
- package/package.json +4 -4
- package/src/share.test.ts +15 -17
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.
|
|
17
|
-
- [License](https://github.com/flighthq/flight/blob/
|
|
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.
|
|
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.
|
|
42
|
-
"@flighthq/signals": "0.5.1-next.
|
|
43
|
-
"@flighthq/types": "0.5.1-next.
|
|
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('
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
'
|
|
166
|
-
'
|
|
167
|
-
'
|
|
168
|
-
'
|
|
169
|
-
'
|
|
170
|
-
'
|
|
171
|
-
'
|
|
172
|
-
'
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
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
|
|