@flighthq/swf 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/swf`. The `@flighthq
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/swf@0.5.1-next.903.f434bc2](https://github.com/flighthq/flight/tree/f434bc233778d75aeea61995df3a8cfaec459a85/packages/swf)
17
- - [License](https://github.com/flighthq/flight/blob/f434bc233778d75aeea61995df3a8cfaec459a85/LICENSE.md)
16
+ - [Source for @flighthq/swf@0.5.1-next.905.5fbf787](https://github.com/flighthq/flight/tree/5fbf7874064c384307542d68b4dcb6a895ff0dcf/packages/swf)
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/swf",
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,31 +38,31 @@
38
38
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@flighthq/abc": "0.5.1-next.903.f434bc2",
42
- "@flighthq/entity": "0.5.1-next.903.f434bc2",
43
- "@flighthq/adjustments": "0.5.1-next.903.f434bc2",
44
- "@flighthq/audio": "0.5.1-next.903.f434bc2",
45
- "@flighthq/bitmap": "0.5.1-next.903.f434bc2",
46
- "@flighthq/clip": "0.5.1-next.903.f434bc2",
47
- "@flighthq/color": "0.5.1-next.903.f434bc2",
48
- "@flighthq/compression": "0.5.1-next.903.f434bc2",
49
- "@flighthq/effects": "0.5.1-next.903.f434bc2",
50
- "@flighthq/geometry": "0.5.1-next.903.f434bc2",
51
- "@flighthq/image": "0.5.1-next.903.f434bc2",
52
- "@flighthq/image-codec": "0.5.1-next.903.f434bc2",
53
- "@flighthq/importdiagnostics": "0.5.1-next.903.f434bc2",
54
- "@flighthq/log": "0.5.1-next.903.f434bc2",
55
- "@flighthq/math": "0.5.1-next.903.f434bc2",
56
- "@flighthq/movieclip": "0.5.1-next.903.f434bc2",
57
- "@flighthq/node": "0.5.1-next.903.f434bc2",
58
- "@flighthq/path": "0.5.1-next.903.f434bc2",
59
- "@flighthq/scene2d": "0.5.1-next.903.f434bc2",
60
- "@flighthq/scene2d-resources": "0.5.1-next.903.f434bc2",
61
- "@flighthq/shape": "0.5.1-next.903.f434bc2",
62
- "@flighthq/text": "0.5.1-next.903.f434bc2",
63
- "@flighthq/text-markup": "0.5.1-next.903.f434bc2",
64
- "@flighthq/texture": "0.5.1-next.903.f434bc2",
65
- "@flighthq/types": "0.5.1-next.903.f434bc2"
41
+ "@flighthq/abc": "0.5.1-next.905.5fbf787",
42
+ "@flighthq/entity": "0.5.1-next.905.5fbf787",
43
+ "@flighthq/adjustments": "0.5.1-next.905.5fbf787",
44
+ "@flighthq/audio": "0.5.1-next.905.5fbf787",
45
+ "@flighthq/bitmap": "0.5.1-next.905.5fbf787",
46
+ "@flighthq/clip": "0.5.1-next.905.5fbf787",
47
+ "@flighthq/color": "0.5.1-next.905.5fbf787",
48
+ "@flighthq/compression": "0.5.1-next.905.5fbf787",
49
+ "@flighthq/effects": "0.5.1-next.905.5fbf787",
50
+ "@flighthq/geometry": "0.5.1-next.905.5fbf787",
51
+ "@flighthq/image": "0.5.1-next.905.5fbf787",
52
+ "@flighthq/image-codec": "0.5.1-next.905.5fbf787",
53
+ "@flighthq/importdiagnostics": "0.5.1-next.905.5fbf787",
54
+ "@flighthq/log": "0.5.1-next.905.5fbf787",
55
+ "@flighthq/math": "0.5.1-next.905.5fbf787",
56
+ "@flighthq/movieclip": "0.5.1-next.905.5fbf787",
57
+ "@flighthq/node": "0.5.1-next.905.5fbf787",
58
+ "@flighthq/path": "0.5.1-next.905.5fbf787",
59
+ "@flighthq/scene2d": "0.5.1-next.905.5fbf787",
60
+ "@flighthq/scene2d-resources": "0.5.1-next.905.5fbf787",
61
+ "@flighthq/shape": "0.5.1-next.905.5fbf787",
62
+ "@flighthq/text": "0.5.1-next.905.5fbf787",
63
+ "@flighthq/text-markup": "0.5.1-next.905.5fbf787",
64
+ "@flighthq/texture": "0.5.1-next.905.5fbf787",
65
+ "@flighthq/types": "0.5.1-next.905.5fbf787"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@flighthq/font": "*",
@@ -71,6 +71,9 @@ import {
71
71
  createScene2DFromSwf,
72
72
  createScene2DImportFromSwf,
73
73
  createScene2DSymbolFromSwf,
74
+ initializeSwfDocumentImport,
75
+ initializeTimelineAudioCue,
76
+ initializeTimelineStreamAudioCue,
74
77
  readSwfExportedSymbolNames,
75
78
  registerSwfScene2DDocumentImporter,
76
79
  } from './swfDocument';
@@ -4276,25 +4279,15 @@ describe('createScene2DSymbolFromSwf', () => {
4276
4279
  });
4277
4280
  });
4278
4281
 
4279
- describe('readSwfExportedSymbolNames', () => {
4280
- it('lists every exported linkage name, placed or not', () => {
4281
- expect(readSwfExportedSymbolNames(_exportedSymbolFile)).toEqual(['Layout']);
4282
- });
4283
-
4284
- it('reports an empty list rather than throwing for unreadable bytes', () => {
4285
- expect(readSwfExportedSymbolNames(new Uint8Array([1, 2, 3]))).toEqual([]);
4282
+ describe('initializeSwfDocumentImport', () => {
4283
+ it('is the construction initializer of createSwfDocumentImport', () => {
4284
+ expect(typeof initializeSwfDocumentImport).toBe('function');
4286
4285
  });
4287
4286
  });
4288
4287
 
4289
- describe('registerSwfScene2DDocumentImporter', () => {
4290
- it('adds an opt-in SWF codec without global registration', () => {
4291
- const registry = createScene2DDocumentImporterRegistry();
4292
- const source = createSwf([createTag(TAG_END)]);
4293
- expect(createScene2DDocumentFromBytes(source, registry)).toBeNull();
4294
-
4295
- registerSwfScene2DDocumentImporter(registry);
4296
-
4297
- expect(createScene2DDocumentFromBytes(source, registry)?.sourceKind).toBe('swf');
4288
+ describe('initializeTimelineAudioCue', () => {
4289
+ it('is the construction initializer of createTimelineAudioCue', () => {
4290
+ expect(typeof initializeTimelineAudioCue).toBe('function');
4298
4291
  });
4299
4292
  });
4300
4293
 
@@ -4682,3 +4675,30 @@ function morphWidth(shape: MorphShape): number {
4682
4675
 
4683
4676
  const PLACE_HAS_RATIO = 0x10;
4684
4677
  const TAG_DEFINE_MORPH_SHAPE = 46;
4678
+ describe('initializeTimelineStreamAudioCue', () => {
4679
+ it('is the construction initializer of createTimelineStreamAudioCue', () => {
4680
+ expect(typeof initializeTimelineStreamAudioCue).toBe('function');
4681
+ });
4682
+ });
4683
+
4684
+ describe('readSwfExportedSymbolNames', () => {
4685
+ it('lists every exported linkage name, placed or not', () => {
4686
+ expect(readSwfExportedSymbolNames(_exportedSymbolFile)).toEqual(['Layout']);
4687
+ });
4688
+
4689
+ it('reports an empty list rather than throwing for unreadable bytes', () => {
4690
+ expect(readSwfExportedSymbolNames(new Uint8Array([1, 2, 3]))).toEqual([]);
4691
+ });
4692
+ });
4693
+
4694
+ describe('registerSwfScene2DDocumentImporter', () => {
4695
+ it('adds an opt-in SWF codec without global registration', () => {
4696
+ const registry = createScene2DDocumentImporterRegistry();
4697
+ const source = createSwf([createTag(TAG_END)]);
4698
+ expect(createScene2DDocumentFromBytes(source, registry)).toBeNull();
4699
+
4700
+ registerSwfScene2DDocumentImporter(registry);
4701
+
4702
+ expect(createScene2DDocumentFromBytes(source, registry)?.sourceKind).toBe('swf');
4703
+ });
4704
+ });