@transifex/native 3.0.0 → 3.2.1
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/README.md +83 -0
- package/dist/browser.native.js +2 -2
- package/dist/browser.native.js.map +1 -1
- package/dist/node.native.d.ts +20 -0
- package/dist/node.native.js +2 -2
- package/dist/node.native.js.map +1 -1
- package/package.json +1 -1
- package/src/TxNative.js +116 -1
- package/src/index.d.ts +20 -0
- package/src/utils.js +14 -0
package/dist/node.native.d.ts
CHANGED
|
@@ -7,4 +7,24 @@ declare module '@transifex/native' {
|
|
|
7
7
|
export const ThrowErrorPolicy: any;
|
|
8
8
|
export const MessageFormatRenderer: any;
|
|
9
9
|
export const createNativeInstance: any;
|
|
10
|
+
|
|
11
|
+
// Events
|
|
12
|
+
export const FETCHING_TRANSLATIONS = 'FETCHING_TRANSLATIONS';
|
|
13
|
+
export const TRANSLATIONS_FETCHED = 'TRANSLATIONS_FETCHED';
|
|
14
|
+
export const TRANSLATIONS_FETCH_FAILED = 'TRANSLATIONS_FETCH_FAILED';
|
|
15
|
+
export const LOCALE_CHANGED = 'LOCALE_CHANGED';
|
|
16
|
+
export const FETCHING_LOCALES = 'FETCHING_LOCALES';
|
|
17
|
+
export const LOCALES_FETCHED = 'LOCALES_FETCHED';
|
|
18
|
+
export const LOCALES_FETCH_FAILED = 'LOCALES_FETCH_FAILED';
|
|
19
|
+
export const onEvent: any;
|
|
20
|
+
export const offEvent: any;
|
|
21
|
+
export const sendEvent: any;
|
|
22
|
+
|
|
23
|
+
// Utils
|
|
24
|
+
export const escape: any;
|
|
25
|
+
export const isString: any;
|
|
26
|
+
export const generateHashedKey: any;
|
|
27
|
+
export const generateKey: any;
|
|
28
|
+
export const isPluralized: any;
|
|
29
|
+
export const normalizeLocale: any;
|
|
10
30
|
}
|