react-native-intlayer 9.4.2 → 9.4.4
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/types/configMetroIntlayer.d.ts +2 -3
- package/dist/types/configMetroIntlayer.d.ts.map +1 -1
- package/dist/types/intlayerPolyfill.d.ts +1 -2
- package/dist/types/intlayerPolyfill.d.ts.map +1 -1
- package/dist/types/intlayerProvider.d.ts +2 -3
- package/dist/types/intlayerProvider.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -14,7 +14,7 @@ type MetroConfig = ReturnType<typeof getDefaultConfig>;
|
|
|
14
14
|
*
|
|
15
15
|
* > Note: `configMetroIntlayerSync` does not build intlayer dictionaries on server start. Use `configMetroIntlayer` for that.
|
|
16
16
|
*/
|
|
17
|
-
declare const configMetroIntlayerSync: (baseConfig?: MetroConfig) => MetroConfig;
|
|
17
|
+
export declare const configMetroIntlayerSync: (baseConfig?: MetroConfig) => MetroConfig;
|
|
18
18
|
/**
|
|
19
19
|
* // metro.config.js
|
|
20
20
|
* const { getDefaultConfig } = require("expo/metro-config");
|
|
@@ -29,7 +29,6 @@ declare const configMetroIntlayerSync: (baseConfig?: MetroConfig) => MetroConfig
|
|
|
29
29
|
*
|
|
30
30
|
* > Note: `configMetroIntlayer` builds intlayer dictionaries on server start. Use `configMetroIntlayerSync` instead if you want to skip that.
|
|
31
31
|
*/
|
|
32
|
-
declare const configMetroIntlayer: (baseConfig?: MetroConfig) => Promise<MetroConfig>;
|
|
32
|
+
export declare const configMetroIntlayer: (baseConfig?: MetroConfig) => Promise<MetroConfig>;
|
|
33
33
|
//#endregion
|
|
34
|
-
export { configMetroIntlayer, configMetroIntlayerSync };
|
|
35
34
|
//# sourceMappingURL=configMetroIntlayer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configMetroIntlayer.d.ts","names":[],"sources":["../../src/configMetroIntlayer.ts"],"mappings":";;KAgCK,cAAc,kBAAkB;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"configMetroIntlayer.d.ts","names":[],"sources":["../../src/configMetroIntlayer.ts"],"mappings":";;KAgCK,cAAc,kBAAkB;;;;;;;;;;;;;;qBAexB,0BAAuB,aACrB,gBACZ;;;;;;;;;;;;;;;qBAyKU,sBAAmB,aACjB,gBACZ,QAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intlayerPolyfill.d.ts","names":[],"sources":["../../src/intlayerPolyfill.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"intlayerPolyfill.d.ts","names":[],"sources":["../../src/intlayerPolyfill.ts"],"mappings":";qBAsCa"}
|
|
@@ -7,7 +7,7 @@ import { IntlayerProviderProps as IntlayerProviderProps$1 } from "react-intlayer
|
|
|
7
7
|
* options are omitted because they are not applicable in a React Native
|
|
8
8
|
* environment.
|
|
9
9
|
*/
|
|
10
|
-
type IntlayerProviderProps = Omit<IntlayerProviderProps$1, 'disableEditor' | 'isCookieEnabled'>;
|
|
10
|
+
export type IntlayerProviderProps = Omit<IntlayerProviderProps$1, 'disableEditor' | 'isCookieEnabled'>;
|
|
11
11
|
/**
|
|
12
12
|
* Provider component that wraps your application and provides the Intlayer context.
|
|
13
13
|
*
|
|
@@ -27,7 +27,6 @@ type IntlayerProviderProps = Omit<IntlayerProviderProps$1, 'disableEditor' | 'is
|
|
|
27
27
|
* );
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
|
-
declare const IntlayerProvider: ({ children, ...props }: IntlayerProviderProps) => import("react").JSX.Element;
|
|
30
|
+
export declare const IntlayerProvider: ({ children, ...props }: IntlayerProviderProps) => import("react").JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
|
-
export { IntlayerProvider, IntlayerProviderProps };
|
|
33
32
|
//# sourceMappingURL=intlayerProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intlayerProvider.d.ts","names":[],"sources":["../../src/intlayerProvider.tsx"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"intlayerProvider.d.ts","names":[],"sources":["../../src/intlayerProvider.tsx"],"mappings":";;;;;;;;;YAeY,wBAAwB,KAClC;;;;;;;;;;;;;;;;;;;;qBAuBW,qBAAgB,aAAA,SAG1B,0CAAqB,IAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-intlayer",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A React Native plugin for seamless internationalization (i18n), providing locale detection, redirection, and environment-based configuration",
|
|
6
6
|
"keywords": [
|
|
@@ -114,11 +114,11 @@
|
|
|
114
114
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
115
115
|
},
|
|
116
116
|
"dependencies": {
|
|
117
|
-
"@intlayer/config": "9.4.
|
|
118
|
-
"@intlayer/core": "9.4.
|
|
119
|
-
"@intlayer/engine": "9.4.
|
|
120
|
-
"@intlayer/types": "9.4.
|
|
121
|
-
"react-intlayer": "9.4.
|
|
117
|
+
"@intlayer/config": "9.4.4",
|
|
118
|
+
"@intlayer/core": "9.4.4",
|
|
119
|
+
"@intlayer/engine": "9.4.4",
|
|
120
|
+
"@intlayer/types": "9.4.4",
|
|
121
|
+
"react-intlayer": "9.4.4"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
124
124
|
"@types/node": "26.4.1",
|
|
@@ -130,9 +130,9 @@
|
|
|
130
130
|
"metro-resolver": "0.87.0",
|
|
131
131
|
"react": ">=18.0.0",
|
|
132
132
|
"rimraf": "6.1.3",
|
|
133
|
-
"tsdown": "0.
|
|
133
|
+
"tsdown": "0.23.0",
|
|
134
134
|
"typescript": "7.0.2",
|
|
135
|
-
"vitest": "
|
|
135
|
+
"vitest": "5.0.0"
|
|
136
136
|
},
|
|
137
137
|
"peerDependencies": {
|
|
138
138
|
"expo": ">=52",
|