@orderly.network/trading-points 2.0.1 → 2.0.2

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.js CHANGED
@@ -1928,9 +1928,10 @@ var localeJsonLoaders = {
1928
1928
  [i18n.LocaleEnum.nl]: () => import('./nl-N2TAD2ZS.js'),
1929
1929
  [i18n.LocaleEnum.tc]: () => import('./tc-YJF75WGL.js')
1930
1930
  };
1931
- var resources = async (lang, _ns) => {
1931
+ i18n.registerDefaultResource(LocaleMessages);
1932
+ var resources = (lang, _ns) => {
1932
1933
  if (lang === i18n.LocaleEnum.en) {
1933
- return LocaleMessages;
1934
+ return Promise.resolve(LocaleMessages);
1934
1935
  }
1935
1936
  const loader = localeJsonLoaders[lang];
1936
1937
  return i18n.importLocaleJsonModule(loader);