diff --git a/README.md b/README.md index 7308bbd..c0dd67e 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,14 @@ After installation, you can import the library: ```js import OverlayAPI from 'ffxiv-overlay-api'; +import { OverlayAPI } from 'ffxiv-overlay-api'; // also works const overlay = new OverlayAPI(); + +// use static tool functions directly +OverlayAPI.isCEFSharp(); +// import tool functions +import { isCEFSharp } from 'ffxiv-overlay-api'; +isCEFSharp(); ``` Then you can add bunch of different listeners. diff --git a/package-lock.json b/package-lock.json index 46e42ff..42e3af8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ffxiv-overlay-api", - "version": "4.1.0", + "version": "4.1.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ffxiv-overlay-api", - "version": "4.1.0", + "version": "4.1.1", "license": "MIT", "devDependencies": { "@typescript-eslint/eslint-plugin": "~5.5.0", diff --git a/package.json b/package.json index 6adc068..603d2d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ffxiv-overlay-api", - "version": "4.1.0", + "version": "4.1.1", "description": "Build your own modern FFXIV overlay with npm & TypeScript support.", "keywords": [ "ffxiv", diff --git a/src/index.ts b/src/index.ts index 63dcac2..1a21f16 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,10 +3,12 @@ import OverlayAPI from './overlay'; window.OverlayAPI = OverlayAPI; - export { OverlayAPI }; export default OverlayAPI; +export { default as mergeCombatant } from './modules/mergeCombatant'; +export { default as isCEFSharp } from './modules/isCEFSharp'; + export type { JobType, EncounterData,