@photon-os/sdk 1.0.0-alpha.3 → 1.0.0-alpha.4

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.mts CHANGED
@@ -107,6 +107,9 @@ type OperatingSystemAPI = {
107
107
  devices_unsubscribe: () => Promise<void>;
108
108
  };
109
109
 
110
+ type PermissionType = "devices";
111
+ type PermissionStatus = "granted" | "denied" | "not_requested";
112
+
110
113
  declare class AccountManager {
111
114
  private os;
112
115
  constructor(os: OS);
@@ -209,4 +212,4 @@ declare class OS {
209
212
 
210
213
  declare const VERSION = "1.0.0";
211
214
 
212
- export { type AppBundleId, type AppDefinition, type AppLaunchResult, type DeviceMessage, type DeviceMessageCallback, type LinkingCode, OS, type OSConfig, type OperatingSystemAPI, type PhotonUser, type PreferenceValue, type RunningAppInstance, type SLDevice, type SecondLifeAccount, type SendMessageResult, type Unsubscribe, VERSION };
215
+ export { type AppBundleId, type AppDefinition, type AppLaunchResult, type DeviceMessage, type DeviceMessageCallback, type LinkingCode, OS, type OSConfig, type OperatingSystemAPI, type PermissionStatus, type PermissionType, type PhotonUser, type PreferenceValue, type RunningAppInstance, type SLDevice, type SecondLifeAccount, type SendMessageResult, type Unsubscribe, VERSION };
package/dist/index.d.ts CHANGED
@@ -107,6 +107,9 @@ type OperatingSystemAPI = {
107
107
  devices_unsubscribe: () => Promise<void>;
108
108
  };
109
109
 
110
+ type PermissionType = "devices";
111
+ type PermissionStatus = "granted" | "denied" | "not_requested";
112
+
110
113
  declare class AccountManager {
111
114
  private os;
112
115
  constructor(os: OS);
@@ -209,4 +212,4 @@ declare class OS {
209
212
 
210
213
  declare const VERSION = "1.0.0";
211
214
 
212
- export { type AppBundleId, type AppDefinition, type AppLaunchResult, type DeviceMessage, type DeviceMessageCallback, type LinkingCode, OS, type OSConfig, type OperatingSystemAPI, type PhotonUser, type PreferenceValue, type RunningAppInstance, type SLDevice, type SecondLifeAccount, type SendMessageResult, type Unsubscribe, VERSION };
215
+ export { type AppBundleId, type AppDefinition, type AppLaunchResult, type DeviceMessage, type DeviceMessageCallback, type LinkingCode, OS, type OSConfig, type OperatingSystemAPI, type PermissionStatus, type PermissionType, type PhotonUser, type PreferenceValue, type RunningAppInstance, type SLDevice, type SecondLifeAccount, type SendMessageResult, type Unsubscribe, VERSION };