@livetiles/reach-plugin-types 0.5.0-preview.180 → 0.5.0-preview.182

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +10 -9
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -5762,11 +5762,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
5762
5762
  export { PushClient };
5763
5763
  }
5764
5764
  declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5765
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5766
- export class MobileHybridStorage implements StoragePlugin {
5765
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
5766
+ export class MobileHybridStorage implements PreferencesPlugin {
5767
5767
  private pluginStorage;
5768
5768
  private static memoryStorage;
5769
- constructor(pluginStorage: StoragePlugin);
5769
+ constructor(pluginStorage: PreferencesPlugin);
5770
5770
  get(options: {
5771
5771
  key: string;
5772
5772
  }): Promise<any>;
@@ -5778,7 +5778,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5778
5778
  key: string;
5779
5779
  }): Promise<void>;
5780
5780
  clear(): Promise<void>;
5781
- keys(): Promise<import("@capacitor/storage").KeysResult>;
5781
+ keys(): Promise<import("@capacitor/preferences").KeysResult>;
5782
5782
  private static updateInMemoryStorage;
5783
5783
  configure(options: ConfigureOptions): Promise<void>;
5784
5784
  migrate(): Promise<MigrateResult>;
@@ -5814,7 +5814,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
5814
5814
  export const mockStatusBarPlugin: StatusBarPlugin;
5815
5815
  }
5816
5816
  declare module "libs/shared/util/capacitor/src/WebDevice" {
5817
- import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
5817
+ import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
5818
5818
  import { PluginListenerHandle } from '@capacitor/core';
5819
5819
  export class WebDeviceFallback implements DevicePlugin {
5820
5820
  addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
@@ -5823,6 +5823,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
5823
5823
  getId(): Promise<DeviceId>;
5824
5824
  getBatteryInfo(): Promise<BatteryInfo>;
5825
5825
  getLanguageCode(): Promise<GetLanguageCodeResult>;
5826
+ getLanguageTag(): Promise<LanguageTag>;
5826
5827
  }
5827
5828
  }
5828
5829
  declare module "libs/shared/util/capacitor/src/WebNetwork" {
@@ -5839,8 +5840,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
5839
5840
  }
5840
5841
  }
5841
5842
  declare module "libs/shared/util/capacitor/src/WebStorage" {
5842
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5843
- export class WebStorage implements StoragePlugin {
5843
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
5844
+ export class WebStorage implements PreferencesPlugin {
5844
5845
  storage: Storage;
5845
5846
  get(options: {
5846
5847
  key: string;
@@ -5874,14 +5875,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
5874
5875
  import { SharePlugin } from '@capacitor/share';
5875
5876
  import { SplashScreenPlugin } from '@capacitor/splash-screen';
5876
5877
  import { StatusBarPlugin } from '@capacitor/status-bar';
5877
- import { StoragePlugin } from '@capacitor/storage';
5878
+ import { PreferencesPlugin } from '@capacitor/preferences';
5878
5879
  import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
5879
5880
  import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
5880
5881
  import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
5881
5882
  import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
5882
5883
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
5883
5884
  export interface CondensePluginRegistry {
5884
- Storage: StoragePlugin;
5885
+ Storage: PreferencesPlugin;
5885
5886
  Device: DevicePlugin;
5886
5887
  App: AppPlugin;
5887
5888
  Keyboard: KeyboardPlugin;
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.180",
7
+ "version": "0.5.0-preview.182",
8
8
  "dependencies": {}
9
9
  }