@livetiles/reach-plugin-types 0.4.29 → 0.4.30

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
@@ -5730,11 +5730,11 @@ declare module "libs/shared/util/capacitor-plugins/push-client/src/index" {
5730
5730
  export { PushClient };
5731
5731
  }
5732
5732
  declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5733
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5734
- export class MobileHybridStorage implements StoragePlugin {
5733
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
5734
+ export class MobileHybridStorage implements PreferencesPlugin {
5735
5735
  private pluginStorage;
5736
5736
  private static memoryStorage;
5737
- constructor(pluginStorage: StoragePlugin);
5737
+ constructor(pluginStorage: PreferencesPlugin);
5738
5738
  get(options: {
5739
5739
  key: string;
5740
5740
  }): Promise<any>;
@@ -5746,7 +5746,7 @@ declare module "libs/shared/util/capacitor/src/MobileHybridStorage" {
5746
5746
  key: string;
5747
5747
  }): Promise<void>;
5748
5748
  clear(): Promise<void>;
5749
- keys(): Promise<import("@capacitor/storage").KeysResult>;
5749
+ keys(): Promise<import("@capacitor/preferences").KeysResult>;
5750
5750
  private static updateInMemoryStorage;
5751
5751
  configure(options: ConfigureOptions): Promise<void>;
5752
5752
  migrate(): Promise<MigrateResult>;
@@ -5782,7 +5782,7 @@ declare module "libs/shared/util/capacitor/src/mocks/MockStatusBarPlugin" {
5782
5782
  export const mockStatusBarPlugin: StatusBarPlugin;
5783
5783
  }
5784
5784
  declare module "libs/shared/util/capacitor/src/WebDevice" {
5785
- import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult } from '@capacitor/device';
5785
+ import { BatteryInfo, DeviceId, DeviceInfo, DevicePlugin, GetLanguageCodeResult, LanguageTag } from '@capacitor/device';
5786
5786
  import { PluginListenerHandle } from '@capacitor/core';
5787
5787
  export class WebDeviceFallback implements DevicePlugin {
5788
5788
  addListener(_eventName: string, _listenerFunc: Function): PluginListenerHandle;
@@ -5791,6 +5791,7 @@ declare module "libs/shared/util/capacitor/src/WebDevice" {
5791
5791
  getId(): Promise<DeviceId>;
5792
5792
  getBatteryInfo(): Promise<BatteryInfo>;
5793
5793
  getLanguageCode(): Promise<GetLanguageCodeResult>;
5794
+ getLanguageTag(): Promise<LanguageTag>;
5794
5795
  }
5795
5796
  }
5796
5797
  declare module "libs/shared/util/capacitor/src/WebNetwork" {
@@ -5807,8 +5808,8 @@ declare module "libs/shared/util/capacitor/src/WebNetwork" {
5807
5808
  }
5808
5809
  }
5809
5810
  declare module "libs/shared/util/capacitor/src/WebStorage" {
5810
- import { ConfigureOptions, MigrateResult, StoragePlugin } from '@capacitor/storage';
5811
- export class WebStorage implements StoragePlugin {
5811
+ import { ConfigureOptions, MigrateResult, PreferencesPlugin } from '@capacitor/preferences';
5812
+ export class WebStorage implements PreferencesPlugin {
5812
5813
  storage: Storage;
5813
5814
  get(options: {
5814
5815
  key: string;
@@ -5842,14 +5843,14 @@ declare module "libs/shared/util/capacitor/src/PluginLoader" {
5842
5843
  import { SharePlugin } from '@capacitor/share';
5843
5844
  import { SplashScreenPlugin } from '@capacitor/splash-screen';
5844
5845
  import { StatusBarPlugin } from '@capacitor/status-bar';
5845
- import { StoragePlugin } from '@capacitor/storage';
5846
+ import { PreferencesPlugin } from '@capacitor/preferences';
5846
5847
  import { AppInfoPlugin } from "libs/shared/util/capacitor-plugins/app-info/src/index";
5847
5848
  import { MsalClientPlugin } from "libs/shared/util/capacitor-plugins/msal-client/src/index";
5848
5849
  import { OpenIdClientPlugin } from "libs/shared/util/capacitor-plugins/openid-client/src/index";
5849
5850
  import { PushClientPlugin } from "libs/shared/util/capacitor-plugins/push-client/src/index";
5850
5851
  import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
5851
5852
  export interface CondensePluginRegistry {
5852
- Storage: StoragePlugin;
5853
+ Storage: PreferencesPlugin;
5853
5854
  Device: DevicePlugin;
5854
5855
  App: AppPlugin;
5855
5856
  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.4.29",
7
+ "version": "0.4.30",
8
8
  "dependencies": {}
9
9
  }