andoncloud-sdk 1.7.12 → 1.7.13

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.ts CHANGED
@@ -430,6 +430,8 @@ declare module 'andoncloud-sdk' {
430
430
 
431
431
  export const registerServiceWorker: (config: ServiceWorkerConfig) => void;
432
432
 
433
+ export const registerTranslations: (locales: InitOptions['resources']) => void;
434
+
433
435
  export const captureException: typeof Sentry.captureException;
434
436
 
435
437
  export const Checkbox: React.FC<CheckboxProps>;
@@ -1,2 +1,3 @@
1
1
  export default i18n;
2
+ export function registerTranslations(locales: any): void;
2
3
  import i18n from "i18next";
@@ -49,5 +49,6 @@ export function getLocale(): string;
49
49
  import toast from "react-hot-toast";
50
50
  import { fetch } from "./app/utils/fetch";
51
51
  import { registerServiceWorker } from "./app/utils/service-worker";
52
+ import { registerTranslations } from "./app/i18n";
52
53
  import { captureException } from "@sentry/browser/build/npm/types-ts3.8/exports";
53
- export { AccessBlocker, AccessGuard, App, Checkbox, Container, Radio, RadioGroup, sidePanelDefaultProps, withAccessGuard, getDisplayMode, updateParentHeaderTitle, resetParentHeaderTitle, updateParentHeaderLeadingText, resetParentHeaderLeadingText, updateParentHeaderStyles, resetParentHeaderContent, resetParentHeaderStyles, updateParentHeaderContent, useAccess, useHeaderContentEvent, useDisplay, useFeatures, usePermissions, useStore, useLogin, useLoginStatus, toast as notify, fetch, registerServiceWorker, captureException };
54
+ export { AccessBlocker, AccessGuard, App, Checkbox, Container, Radio, RadioGroup, sidePanelDefaultProps, withAccessGuard, getDisplayMode, updateParentHeaderTitle, resetParentHeaderTitle, updateParentHeaderLeadingText, resetParentHeaderLeadingText, updateParentHeaderStyles, resetParentHeaderContent, resetParentHeaderStyles, updateParentHeaderContent, useAccess, useHeaderContentEvent, useDisplay, useFeatures, usePermissions, useStore, useLogin, useLoginStatus, toast as notify, fetch, registerServiceWorker, registerTranslations, captureException };
@@ -1 +1 @@
1
- export declare const LIBRARY_VERSION = "1.7.12";
1
+ export declare const LIBRARY_VERSION = "1.7.13";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "andoncloud-sdk",
3
- "version": "1.7.12",
3
+ "version": "1.7.13",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "source": "src/index.js",