chayns-api 2.4.1 → 2.4.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.
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.DefaultLoginDialogOptions = void 0;
7
+ const DefaultLoginDialogOptions = exports.DefaultLoginDialogOptions = {
8
+ type: "module",
9
+ system: {
10
+ scope: "chayns_login",
11
+ url: `https://login.chayns.net/v4/v2.remoteEntry.js`,
12
+ module: './Login'
13
+ },
14
+ minHeight: 200,
15
+ seamless: true,
16
+ dialogInput: {},
17
+ buttons: []
18
+ };
@@ -13,4 +13,15 @@ Object.keys(_hydrationContext).forEach(function (key) {
13
13
  return _hydrationContext[key];
14
14
  }
15
15
  });
16
+ });
17
+ var _DefaultLoginDialogOptions = require("./DefaultLoginDialogOptions");
18
+ Object.keys(_DefaultLoginDialogOptions).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _DefaultLoginDialogOptions[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function () {
24
+ return _DefaultLoginDialogOptions[key];
25
+ }
26
+ });
16
27
  });
@@ -0,0 +1,12 @@
1
+ export const DefaultLoginDialogOptions = {
2
+ type: "module",
3
+ system: {
4
+ scope: "chayns_login",
5
+ url: `https://login.chayns.net/v4/v2.remoteEntry.js`,
6
+ module: './Login'
7
+ },
8
+ minHeight: 200,
9
+ seamless: true,
10
+ dialogInput: {},
11
+ buttons: []
12
+ };
@@ -1 +1,2 @@
1
- export * from './hydrationContext';
1
+ export * from './hydrationContext';
2
+ export * from './DefaultLoginDialogOptions';
@@ -0,0 +1,12 @@
1
+ export declare const DefaultLoginDialogOptions: {
2
+ type: string;
3
+ system: {
4
+ scope: string;
5
+ url: string;
6
+ module: string;
7
+ };
8
+ minHeight: number;
9
+ seamless: boolean;
10
+ dialogInput: {};
11
+ buttons: never[];
12
+ };
@@ -1 +1,2 @@
1
1
  export * from './hydrationContext';
2
+ export * from './DefaultLoginDialogOptions';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",