@rpcbase/client 0.91.0 → 0.92.0

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.
Files changed (2) hide show
  1. package/i18next.js +2 -2
  2. package/package.json +1 -1
package/i18next.js CHANGED
@@ -11,7 +11,7 @@ import {RB_DEFAULT_LOCALE, RB_SUPPORTED_LOCALES} from "env"
11
11
  const LOCALE_KEY = "rb.i18n_locale"
12
12
 
13
13
  const DEFAULT_LOCALE = RB_DEFAULT_LOCALE || "en"
14
- const SUPPORTED_LOCALES = !!RB_SUPPORTED_LOCALES ? RB_SUPPORTED_LOCALES.split(",").map((l) => l.trim()) || ["en"]
14
+ const SUPPORTED_LOCALES = !!RB_SUPPORTED_LOCALES ? RB_SUPPORTED_LOCALES.split(",").map((l) => l.trim()) : ["en"]
15
15
 
16
16
  // https://github.com/i18next/i18next-browser-languageDetector
17
17
 
@@ -22,7 +22,7 @@ if (!locale) {
22
22
  }
23
23
 
24
24
  // Do not call this code directly, it is injected from babel-plugin-i18next-client by the bundler
25
- export default (backendFn) => {
25
+ export default () => {
26
26
 
27
27
  i18n
28
28
  .use(ChainedBackend)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/client",
3
- "version": "0.91.0",
3
+ "version": "0.92.0",
4
4
  "scripts": {
5
5
  "build-firebase": "webpack -c firebase/webpack.config.js",
6
6
  "build": "yarn build-firebase",