Skip to content

Commit

Permalink
Export fixes in navigator
Browse files Browse the repository at this point in the history
  • Loading branch information
chocolatkey committed Nov 22, 2024
1 parent 0ea843e commit 891e8dd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions navigator/CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.3.3] - 2024-11-22

### Added

- Fix export of `sML` utility to be named
- Add export of `FrameBlobBuilder` utility

## [1.3.2] - 2024-11-22

### Added
Expand Down
1 change: 1 addition & 0 deletions navigator/src/epub/frame/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from "./FrameBlobBuilder";
export * from "./FrameComms";
export * from "./FrameManager";
export * from "./FramePoolManager";
2 changes: 1 addition & 1 deletion navigator/src/epub/fxl/FXLCoordinator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import sML from "../../helpers/sML";
import { sML } from "../../helpers/sML";

export interface Point {
X: number;
Expand Down
5 changes: 3 additions & 2 deletions navigator/src/helpers/sML.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ declare interface UAFlags {
LINE: number[];
}

class sML {
class sMLFactory {
OS: OSFlags;
UA: UAFlags;
Env!: string[];
Expand Down Expand Up @@ -117,4 +117,5 @@ class sML {
}
}

export default (new sML);
const sML = new sMLFactory();
export { sML };

0 comments on commit 891e8dd

Please sign in to comment.