@flighthq/bitmapfont-formats 0.5.1-next.704.19c91ec → 0.5.1-next.730.f29a5aa

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/bitmapfont-formats`.
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/bitmapfont-formats@0.5.1-next.704.19c91ec](https://github.com/flighthq/flight/tree/19c91ec3e569d6b3b471682726465a79fba9f8cb/packages/bitmapfont-formats)
17
- - [License](https://github.com/flighthq/flight/blob/19c91ec3e569d6b3b471682726465a79fba9f8cb/LICENSE.md)
16
+ - [Source for @flighthq/bitmapfont-formats@0.5.1-next.730.f29a5aa](https://github.com/flighthq/flight/tree/f29a5aab5db192284ce5cadf08ffae2649a598ea/packages/bitmapfont-formats)
17
+ - [License](https://github.com/flighthq/flight/blob/f29a5aab5db192284ce5cadf08ffae2649a598ea/LICENSE.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flighthq/bitmapfont-formats",
3
- "version": "0.5.1-next.704.19c91ec",
3
+ "version": "0.5.1-next.730.f29a5aa",
4
4
  "author": "Joshua Granick and other contributors",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,10 +38,10 @@
38
38
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@flighthq/bitmapfont": "0.5.1-next.704.19c91ec",
42
- "@flighthq/importdiagnostics": "0.5.1-next.704.19c91ec",
43
- "@flighthq/types": "0.5.1-next.704.19c91ec",
44
- "@flighthq/xml": "0.5.1-next.704.19c91ec"
41
+ "@flighthq/bitmapfont": "0.5.1-next.730.f29a5aa",
42
+ "@flighthq/importdiagnostics": "0.5.1-next.730.f29a5aa",
43
+ "@flighthq/types": "0.5.1-next.730.f29a5aa",
44
+ "@flighthq/xml": "0.5.1-next.730.f29a5aa"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@flighthq/textureatlas": "*",
@@ -6,7 +6,7 @@ import {
6
6
  getBitmapFontPage,
7
7
  } from '@flighthq/bitmapfont/contract';
8
8
  import { createTextureAtlas, createTextureAtlasFromImageResource } from '@flighthq/textureatlas/contract';
9
- import type { BitmapFontParseOptions, Image, ImportDiagnostic, TextureAtlas } from '@flighthq/types/contract';
9
+ import type { BitmapFontParseOptions, ImageResource, ImportDiagnostic, TextureAtlas } from '@flighthq/types/contract';
10
10
  import { describe, expect, it } from 'vitest';
11
11
 
12
12
  import { formatBitmapFontFnt, parseBitmapFontFnt } from './bitmapFontFnt';
@@ -138,8 +138,8 @@ describe('parseBitmapFontFnt', () => {
138
138
  });
139
139
 
140
140
  it('resolves every page of a multi-page font and routes each glyph to the right page image', () => {
141
- const image0 = {} as Image;
142
- const image1 = {} as Image;
141
+ const image0 = {} as ImageResource;
142
+ const image1 = {} as ImageResource;
143
143
  const page0 = createTextureAtlasFromImageResource(image0);
144
144
  const page1 = createTextureAtlasFromImageResource(image1);
145
145
  const seen: Array<[number, string]> = [];