@apps-in-toss/types 2.0.8 → 2.1.0

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/dist/index.d.cts CHANGED
@@ -270,7 +270,7 @@ declare class SetClipboardTextPermissionError extends PermissionError {
270
270
 
271
271
  type PermissionStatus = 'notDetermined' | 'denied' | 'allowed';
272
272
  type PermissionAccess = 'read' | 'write' | 'access';
273
- type PermissionName = 'clipboard' | 'contacts' | 'photos' | 'geolocation' | 'camera';
273
+ type PermissionName = 'clipboard' | 'contacts' | 'photos' | 'geolocation' | 'camera' | 'microphone';
274
274
  interface PermissionErrorConstructorParams {
275
275
  methodName: PermissionFunctionName;
276
276
  message: string;
package/dist/index.d.ts CHANGED
@@ -270,7 +270,7 @@ declare class SetClipboardTextPermissionError extends PermissionError {
270
270
 
271
271
  type PermissionStatus = 'notDetermined' | 'denied' | 'allowed';
272
272
  type PermissionAccess = 'read' | 'write' | 'access';
273
- type PermissionName = 'clipboard' | 'contacts' | 'photos' | 'geolocation' | 'camera';
273
+ type PermissionName = 'clipboard' | 'contacts' | 'photos' | 'geolocation' | 'camera' | 'microphone';
274
274
  interface PermissionErrorConstructorParams {
275
275
  methodName: PermissionFunctionName;
276
276
  message: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apps-in-toss/types",
3
3
  "type": "module",
4
- "version": "2.0.8",
4
+ "version": "2.1.0",
5
5
  "description": "Types for Apps In Toss",
6
6
  "scripts": {
7
7
  "typecheck": "tsc --noEmit",
@@ -2,7 +2,7 @@ import { PermissionFunctionName } from './nativeModules';
2
2
 
3
3
  export type PermissionStatus = 'notDetermined' | 'denied' | 'allowed';
4
4
  export type PermissionAccess = 'read' | 'write' | 'access';
5
- export type PermissionName = 'clipboard' | 'contacts' | 'photos' | 'geolocation' | 'camera';
5
+ export type PermissionName = 'clipboard' | 'contacts' | 'photos' | 'geolocation' | 'camera' | 'microphone';
6
6
 
7
7
  export interface PermissionErrorConstructorParams {
8
8
  methodName: PermissionFunctionName;