chayns-api 1.0.51 → 1.0.53

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.
@@ -19,7 +19,7 @@ class ErrorBoundary extends _react.default.Component {
19
19
  };
20
20
  }
21
21
  componentDidCatch(error, errorInfo) {
22
- console.warn(error, errorInfo);
22
+ console.error(error, errorInfo);
23
23
  }
24
24
  render() {
25
25
  if (this.state.hasError) {
@@ -544,6 +544,11 @@ class AppWrapper {
544
544
  }
545
545
  async init() {
546
546
  this.values = this.mapOldApiToNew(await this.appCall(18));
547
+ this.appCall(66, {
548
+ enabled: true
549
+ }, value => {
550
+ this.mapOldApiToNew(value);
551
+ });
547
552
  return undefined;
548
553
  }
549
554
  getSSRData() {
@@ -12,7 +12,7 @@ export default class ErrorBoundary extends React.Component {
12
12
  };
13
13
  }
14
14
  componentDidCatch(error, errorInfo) {
15
- console.warn(error, errorInfo);
15
+ console.error(error, errorInfo);
16
16
  }
17
17
  render() {
18
18
  if (this.state.hasError) {
@@ -542,6 +542,11 @@ export class AppWrapper {
542
542
  }
543
543
  async init() {
544
544
  this.values = this.mapOldApiToNew(await this.appCall(18));
545
+ this.appCall(66, {
546
+ enabled: true
547
+ }, value => {
548
+ this.mapOldApiToNew(value);
549
+ });
545
550
  return undefined;
546
551
  }
547
552
  getSSRData() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "1.0.51",
3
+ "version": "1.0.53",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",