@andre1502/react-utilities 0.9.3 → 0.9.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/i18n.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var EnvironmentEnum = require('./EnvironmentEnum-BjXsfSRZ.js');
4
- var I18n = require('./I18n-CB7SyXYJ.js');
4
+ var I18n = require('./I18n-CrUfKIV0.js');
5
5
  require('cross-fetch');
6
6
 
7
7
 
package/dist/i18n.mjs CHANGED
@@ -1,4 +1,4 @@
1
1
  export { E as EnvironmentEnum } from './EnvironmentEnum-UcQ6Il1O.js';
2
- export { g as getV, i as initI18n } from './I18n-yXLN_hDO.js';
2
+ export { g as getV, i as initI18n } from './I18n-BXs9DtEN.js';
3
3
  import 'cross-fetch';
4
4
  //# sourceMappingURL=i18n.mjs.map
package/dist/index-rn.cjs CHANGED
@@ -29,7 +29,7 @@ require('@formatjs/intl-datetimeformat/locale-data/zh');
29
29
  require('@formatjs/intl-datetimeformat/polyfill');
30
30
  require('@formatjs/intl-datetimeformat/add-golden-tz.js');
31
31
  var EnvironmentEnum = require('./EnvironmentEnum-BjXsfSRZ.js');
32
- var I18n = require('./I18n-CB7SyXYJ.js');
32
+ var I18n = require('./I18n-CrUfKIV0.js');
33
33
  var ReactNative = require('./ReactNative-CqUrY2ZJ.js');
34
34
  require('@formatjs/intl-numberformat');
35
35
  require('cross-fetch');
package/dist/index-rn.mjs CHANGED
@@ -27,7 +27,7 @@ import '@formatjs/intl-datetimeformat/locale-data/zh';
27
27
  import '@formatjs/intl-datetimeformat/polyfill';
28
28
  import '@formatjs/intl-datetimeformat/add-golden-tz.js';
29
29
  export { E as EnvironmentEnum } from './EnvironmentEnum-UcQ6Il1O.js';
30
- export { g as getV, i as initI18n } from './I18n-yXLN_hDO.js';
30
+ export { g as getV, i as initI18n } from './I18n-BXs9DtEN.js';
31
31
  export { i as initSentry, r as recordAdditionalSentryHttp } from './ReactNative-mNnws-b5.js';
32
32
  import '@formatjs/intl-numberformat';
33
33
  import 'cross-fetch';
package/dist/index.cjs CHANGED
@@ -29,7 +29,7 @@ require('@formatjs/intl-datetimeformat/locale-data/zh');
29
29
  require('@formatjs/intl-datetimeformat/polyfill');
30
30
  require('@formatjs/intl-datetimeformat/add-golden-tz.js');
31
31
  var EnvironmentEnum = require('./EnvironmentEnum-BjXsfSRZ.js');
32
- var I18n = require('./I18n-CB7SyXYJ.js');
32
+ var I18n = require('./I18n-CrUfKIV0.js');
33
33
  var React = require('./React-qUl0CBmE.js');
34
34
  require('@formatjs/intl-numberformat');
35
35
  require('cross-fetch');
package/dist/index.mjs CHANGED
@@ -27,7 +27,7 @@ import '@formatjs/intl-datetimeformat/locale-data/zh';
27
27
  import '@formatjs/intl-datetimeformat/polyfill';
28
28
  import '@formatjs/intl-datetimeformat/add-golden-tz.js';
29
29
  export { E as EnvironmentEnum } from './EnvironmentEnum-UcQ6Il1O.js';
30
- export { g as getV, i as initI18n } from './I18n-yXLN_hDO.js';
30
+ export { g as getV, i as initI18n } from './I18n-BXs9DtEN.js';
31
31
  export { i as initSentry, r as recordAdditionalSentryHttp } from './React-BaJ1KfGF.js';
32
32
  import '@formatjs/intl-numberformat';
33
33
  import 'cross-fetch';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andre1502/react-utilities",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "module to combine common functions",
5
5
  "repository": {
6
6
  "type": "git",
package/src/I18n/I18n.ts CHANGED
@@ -106,10 +106,6 @@ const initI18n = (
106
106
  console.error(`Error when i18n init`, ex);
107
107
  return;
108
108
  }
109
-
110
- setInterval(() => {
111
- i18next.reloadResources();
112
- }, langCacheExpiredTimeMs);
113
109
  });
114
110
  }
115
111
  };