react-iiif-vault 1.2.6 → 1.2.7

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/bundle.d.ts CHANGED
@@ -1353,7 +1353,7 @@ declare function LanguageProvider(props: {
1353
1353
  children: ReactNode;
1354
1354
  }): react_jsx_runtime.JSX.Element;
1355
1355
  declare function TransliterationProvider(props: {
1356
- convert: null | ((input: string) => string);
1356
+ convert: null | ((input: string, targetLang: string) => string);
1357
1357
  children: ReactNode;
1358
1358
  }): react_jsx_runtime.JSX.Element;
1359
1359
  declare function useTransliteration(): ((input: string, targetLang: string) => string) | null;
package/dist/index.d.cts CHANGED
@@ -986,7 +986,7 @@ declare function LanguageProvider(props: {
986
986
  children: ReactNode;
987
987
  }): react_jsx_runtime.JSX.Element;
988
988
  declare function TransliterationProvider(props: {
989
- convert: null | ((input: string) => string);
989
+ convert: null | ((input: string, targetLang: string) => string);
990
990
  children: ReactNode;
991
991
  }): react_jsx_runtime.JSX.Element;
992
992
  declare function useTransliteration(): ((input: string, targetLang: string) => string) | null;
package/dist/index.d.ts CHANGED
@@ -986,7 +986,7 @@ declare function LanguageProvider(props: {
986
986
  children: ReactNode;
987
987
  }): react_jsx_runtime.JSX.Element;
988
988
  declare function TransliterationProvider(props: {
989
- convert: null | ((input: string) => string);
989
+ convert: null | ((input: string, targetLang: string) => string);
990
990
  children: ReactNode;
991
991
  }): react_jsx_runtime.JSX.Element;
992
992
  declare function useTransliteration(): ((input: string, targetLang: string) => string) | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-iiif-vault",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",