chayns-api 2.6.6 → 2.6.8

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.
@@ -52,6 +52,7 @@ const initModuleFederationSharing = ({
52
52
  globalThis.moduleFederationRuntime = {
53
53
  loadRemote: instance.loadRemote.bind(instance),
54
54
  registerRemotes: instance.registerRemotes.bind(instance),
55
+ loadShareSync: instance.loadShareSync.bind(instance),
55
56
  getInstance: () => instance
56
57
  };
57
58
  globalThis.moduleFederationScopes = {
@@ -45,6 +45,7 @@ export const initModuleFederationSharing = ({
45
45
  globalThis.moduleFederationRuntime = {
46
46
  loadRemote: instance.loadRemote.bind(instance),
47
47
  registerRemotes: instance.registerRemotes.bind(instance),
48
+ loadShareSync: instance.loadShareSync.bind(instance),
48
49
  getInstance: () => instance
49
50
  };
50
51
  globalThis.moduleFederationScopes = {
@@ -5,6 +5,7 @@ import { GeoLocation } from '../types/IChaynsReact';
5
5
  export declare const useGeoLocationListener: () => (value: {
6
6
  timeout?: number;
7
7
  silent?: boolean;
8
+ enableHighAccuracy?: boolean;
8
9
  }, callback: (result: GeoLocation) => void) => () => void;
9
10
  /**
10
11
  * @category Hooks
@@ -356,6 +356,7 @@ export interface ChaynsReactFunctions {
356
356
  addGeoLocationListener: (value: {
357
357
  timeout?: number;
358
358
  silent?: boolean;
359
+ enableHighAccuracy?: boolean;
359
360
  }, callback: (geoLocation: GeoLocation) => void) => Promise<number>;
360
361
  addScrollListener: (value: {
361
362
  throttle?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "2.6.6",
3
+ "version": "2.6.8",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",