@flighthq/video 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/video`. 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/video@0.5.1-next.903.f434bc2](https://github.com/flighthq/flight/tree/f434bc233778d75aeea61995df3a8cfaec459a85/packages/video)
17
- - [License](https://github.com/flighthq/flight/blob/f434bc233778d75aeea61995df3a8cfaec459a85/LICENSE.md)
16
+ - [Source for @flighthq/video@0.5.1-next.905.5fbf787](https://github.com/flighthq/flight/tree/5fbf7874064c384307542d68b4dcb6a895ff0dcf/packages/video)
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/video",
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,8 +38,8 @@
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"
41
+ "@flighthq/entity": "0.5.1-next.905.5fbf787",
42
+ "@flighthq/types": "0.5.1-next.905.5fbf787"
43
43
  },
44
44
  "devDependencies": {
45
45
  "typescript": "^5.3.0"
@@ -6,6 +6,7 @@ import {
6
6
  getVideoResourceHeight,
7
7
  getVideoResourceWidth,
8
8
  hasVideoResourceElement,
9
+ initializeVideoResource,
9
10
  isVideoResourceEmpty,
10
11
  isVideoResourceReady,
11
12
  } from './videoResource';
@@ -262,6 +263,12 @@ describe('hasVideoResourceElement', () => {
262
263
  });
263
264
  });
264
265
 
266
+ describe('initializeVideoResource', () => {
267
+ it('is the construction initializer of createVideoResource', () => {
268
+ expect(typeof initializeVideoResource).toBe('function');
269
+ });
270
+ });
271
+
265
272
  describe('isVideoResourceEmpty', () => {
266
273
  it('is true when there is no element', () => {
267
274
  expect(isVideoResourceEmpty(createVideoResource())).toBe(true);
@@ -277,7 +284,6 @@ describe('isVideoResourceEmpty', () => {
277
284
  expect(isVideoResourceEmpty(createVideoResource(element))).toBe(false);
278
285
  });
279
286
  });
280
-
281
287
  describe('isVideoResourceReady', () => {
282
288
  it('is false when there is no element', () => {
283
289
  expect(isVideoResourceReady(createVideoResource())).toBe(false);