@clairejs/client 3.4.4 → 3.4.6

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 CHANGED
@@ -1,5 +1,14 @@
1
1
  ## Change Log
2
2
 
3
+ #### 3.4.6:
4
+
5
+ - update RouterConfig to allow arbitrary field
6
+ - update packages
7
+
8
+ #### 3.4.5:
9
+
10
+ - fix Translator awaitingTranslations
11
+
3
12
  #### 3.4.4:
4
13
 
5
14
  - update claire core
@@ -10,4 +10,5 @@ export interface RouterConfig {
10
10
  middleware?: AbstractConstructor<AbstractViewMiddleware>[];
11
11
  children?: RouterConfig[];
12
12
  redirect?: string;
13
+ [key: string]: any;
13
14
  }
@@ -39,7 +39,7 @@ export class Translator {
39
39
  for (const resolver of this.translationLoadings[lang] || []) {
40
40
  resolver();
41
41
  }
42
- this.translationLoadings[lang] = [];
42
+ this.translationLoadings[lang] = null;
43
43
  }
44
44
  else {
45
45
  let resolver = () => { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clairejs/client",
3
- "version": "3.4.4",
3
+ "version": "3.4.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",