mnfst-types 0.1.8 → 0.1.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mnfst-types",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Generate TypeScript types for a Manifest project from manifest.json and sample data",
5
5
  "type": "module",
6
6
  "bin": {
@@ -342,7 +342,14 @@ export interface ManifestHaptics {
342
342
  /** `$biometric` from the device plugin. */
343
343
  export interface ManifestBiometric {
344
344
  available(): Promise<boolean>;
345
- verify(opts?: Record<string, unknown>): Promise<unknown>;
345
+ verify(opts?: {
346
+ reason?: string;
347
+ title?: string;
348
+ subtitle?: string;
349
+ cancelTitle?: string;
350
+ fallbackTitle?: string;
351
+ allowDeviceCredential?: boolean;
352
+ }): Promise<{ verified: boolean; error?: string; code?: string }>;
346
353
  }
347
354
 
348
355
  /** `$camera` from the device plugin. */