diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 2fbec42..8a6b889 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartmanifest', - version: '2.0.1', + version: '2.0.2', description: 'a module for creating web app manifests' } diff --git a/ts/index.ts b/ts/index.ts index ea40b58..aa5fda2 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -12,6 +12,7 @@ export interface ISmartManifestConstructorOptions { src: string; type: string; sizes: string; + purpose?: 'any' | 'maskable' | 'monochrome'; }>; related_applications?: Array<{ platform: 'play' | string; @@ -35,6 +36,7 @@ const defaultConstructorOptions: ISmartManifestConstructorOptions = { src: '/assetbroker/manifest/icon-large.png', type: 'image/png', sizes: '1024x1024', + purpose: 'any', }, { src: '/assetbroker/manifest/icon-144x144.png', diff --git a/tsconfig.json b/tsconfig.json index 0e331cc..f5fa78c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,7 @@ "target": "ES2022", "module": "ES2022", "moduleResolution": "nodenext", - "esModuleInterop": true + "esModuleInterop": true, + "verbatimModuleSyntax": true, } }