@portal-hq/web 3.0.2 → 3.1.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.
- package/lib/commonjs/index.js +1 -3
- package/lib/commonjs/mpc/index.js +1 -1
- package/lib/esm/index.js +1 -3
- package/lib/esm/mpc/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -3
- package/src/mpc/index.ts +1 -1
- package/types.d.ts +0 -1
package/lib/commonjs/index.js
CHANGED
|
@@ -21,9 +21,7 @@ class Portal {
|
|
|
21
21
|
// Required
|
|
22
22
|
rpcConfig,
|
|
23
23
|
// Optional
|
|
24
|
-
apiKey, authToken, authUrl, autoApprove = false, gdrive, passkey, host = 'web.portalhq.io', mpcVersion = 'v6', mpcHost = 'mpc-client.portalhq.io', featureFlags = {
|
|
25
|
-
optimized: false,
|
|
26
|
-
}, }) {
|
|
24
|
+
apiKey, authToken, authUrl, autoApprove = false, gdrive, passkey, host = 'web.portalhq.io', mpcVersion = 'v6', mpcHost = 'mpc-client.portalhq.io', featureFlags = {}, }) {
|
|
27
25
|
this.ready = false;
|
|
28
26
|
this.errorCallbacks = [];
|
|
29
27
|
this.readyCallbacks = [];
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.MpcErrorCodes = exports.MpcError = void 0;
|
|
13
13
|
const errors_1 = require("./errors");
|
|
14
14
|
const index_1 = require("../index");
|
|
15
|
-
const WEB_SDK_VERSION = '3.0
|
|
15
|
+
const WEB_SDK_VERSION = '3.1.0';
|
|
16
16
|
class Mpc {
|
|
17
17
|
constructor({ portal }) {
|
|
18
18
|
this.configureIframe = () => {
|
package/lib/esm/index.js
CHANGED
|
@@ -15,9 +15,7 @@ class Portal {
|
|
|
15
15
|
// Required
|
|
16
16
|
rpcConfig,
|
|
17
17
|
// Optional
|
|
18
|
-
apiKey, authToken, authUrl, autoApprove = false, gdrive, passkey, host = 'web.portalhq.io', mpcVersion = 'v6', mpcHost = 'mpc-client.portalhq.io', featureFlags = {
|
|
19
|
-
optimized: false,
|
|
20
|
-
}, }) {
|
|
18
|
+
apiKey, authToken, authUrl, autoApprove = false, gdrive, passkey, host = 'web.portalhq.io', mpcVersion = 'v6', mpcHost = 'mpc-client.portalhq.io', featureFlags = {}, }) {
|
|
21
19
|
this.ready = false;
|
|
22
20
|
this.errorCallbacks = [];
|
|
23
21
|
this.readyCallbacks = [];
|
package/lib/esm/mpc/index.js
CHANGED
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import { PortalMpcError } from './errors';
|
|
11
11
|
import { BackupMethods } from '../index';
|
|
12
|
-
const WEB_SDK_VERSION = '3.0
|
|
12
|
+
const WEB_SDK_VERSION = '3.1.0';
|
|
13
13
|
class Mpc {
|
|
14
14
|
constructor({ portal }) {
|
|
15
15
|
this.configureIframe = () => {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/src/mpc/index.ts
CHANGED