chayns-api 1.1.0-7 → 1.1.0-9

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/cjs/index.js CHANGED
@@ -12,6 +12,7 @@ var _exportNames = {
12
12
  withCompatMode: true,
13
13
  withHydrationBoundary: true,
14
14
  StaticChaynsApi: true,
15
+ loadComponent: true,
15
16
  DialogHandler: true,
16
17
  dialog: true
17
18
  };
@@ -58,6 +59,12 @@ Object.defineProperty(exports, "getScreenSize", {
58
59
  return _deviceHelper.getScreenSize;
59
60
  }
60
61
  });
62
+ Object.defineProperty(exports, "loadComponent", {
63
+ enumerable: true,
64
+ get: function () {
65
+ return _loadComponent.default;
66
+ }
67
+ });
61
68
  Object.defineProperty(exports, "withCompatMode", {
62
69
  enumerable: true,
63
70
  get: function () {
@@ -148,6 +155,7 @@ Object.keys(_constants).forEach(function (key) {
148
155
  });
149
156
  var _withHydrationBoundary = _interopRequireDefault(require("./components/withHydrationBoundary"));
150
157
  var _StaticChaynsApi = _interopRequireDefault(require("./wrapper/StaticChaynsApi"));
158
+ var _loadComponent = _interopRequireDefault(require("./host/module/utils/loadComponent"));
151
159
  var _DialogHandler = _interopRequireDefault(require("./handler/DialogHandler"));
152
160
  var _dialog = _interopRequireWildcard(require("./calls/dialogs/index"));
153
161
  exports.dialog = _dialog;
package/dist/esm/index.js CHANGED
@@ -11,6 +11,7 @@ export * from './components/withCompatMode';
11
11
  export * from './constants';
12
12
  export { default as withHydrationBoundary } from './components/withHydrationBoundary';
13
13
  export { default as StaticChaynsApi } from './wrapper/StaticChaynsApi';
14
+ export { default as loadComponent } from './host/module/utils/loadComponent';
14
15
  export { default as DialogHandler } from './handler/DialogHandler';
15
16
  import * as _dialog from './calls/dialogs/index';
16
17
  export { _dialog as dialog };
@@ -11,6 +11,7 @@ export * from './components/withCompatMode';
11
11
  export * from './constants';
12
12
  export { default as withHydrationBoundary } from './components/withHydrationBoundary';
13
13
  export { default as StaticChaynsApi } from './wrapper/StaticChaynsApi';
14
+ export { default as loadComponent } from './host/module/utils/loadComponent';
14
15
  export { default as DialogHandler } from './handler/DialogHandler';
15
16
  export * as dialog from './calls/dialogs/index';
16
17
  export * from './types/IChaynsReact';
package/package.json CHANGED
@@ -1,10 +1,17 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "1.1.0-7",
3
+ "version": "1.1.0-9",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
7
7
  "types": "dist/types/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "require": "./dist/cjs/index.js",
11
+ "import": "./dist/esm/index.js",
12
+ "types": "./dist/types/index.d.ts"
13
+ }
14
+ },
8
15
  "keywords": [
9
16
  "chayns",
10
17
  "chayns-toolkit",