@meshconnect/web-link-sdk 2.0.3 → 2.0.4
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/Link.js +4 -4
- package/cjs/Link.js +4 -4
- package/cjs/utils/version.js +1 -1
- package/package.json +2 -2
- package/utils/version.d.ts +1 -1
- package/utils/version.js +1 -1
package/Link.js
CHANGED
@@ -106,11 +106,11 @@ function eventsListener(event) {
|
|
106
106
|
break;
|
107
107
|
}
|
108
108
|
case 'loaded': {
|
109
|
+
(_k = iframeElement().contentWindow) === null || _k === void 0 ? void 0 : _k.postMessage({
|
110
|
+
type: 'meshSDKSpecs',
|
111
|
+
payload: __assign({}, sdkSpecs)
|
112
|
+
}, (iframeUrlObject === null || iframeUrlObject === void 0 ? void 0 : iframeUrlObject.origin) || 'https://web.meshconnect.com');
|
109
113
|
if (currentOptions === null || currentOptions === void 0 ? void 0 : currentOptions.accessTokens) {
|
110
|
-
(_k = iframeElement().contentWindow) === null || _k === void 0 ? void 0 : _k.postMessage({
|
111
|
-
type: 'meshSDKSpecs',
|
112
|
-
payload: __assign({}, sdkSpecs)
|
113
|
-
}, (iframeUrlObject === null || iframeUrlObject === void 0 ? void 0 : iframeUrlObject.origin) || 'https://web.meshconnect.com');
|
114
114
|
(_l = iframeElement().contentWindow) === null || _l === void 0 ? void 0 : _l.postMessage({ type: 'frontAccessTokens', payload: currentOptions.accessTokens }, (iframeUrlObject === null || iframeUrlObject === void 0 ? void 0 : iframeUrlObject.origin) || 'https://web.meshconnect.com');
|
115
115
|
}
|
116
116
|
if (currentOptions === null || currentOptions === void 0 ? void 0 : currentOptions.transferDestinationTokens) {
|
package/cjs/Link.js
CHANGED
@@ -109,11 +109,11 @@ function eventsListener(event) {
|
|
109
109
|
break;
|
110
110
|
}
|
111
111
|
case 'loaded': {
|
112
|
+
(_k = iframeElement().contentWindow) === null || _k === void 0 ? void 0 : _k.postMessage({
|
113
|
+
type: 'meshSDKSpecs',
|
114
|
+
payload: __assign({}, sdk_specs_1.sdkSpecs)
|
115
|
+
}, (iframeUrlObject === null || iframeUrlObject === void 0 ? void 0 : iframeUrlObject.origin) || 'https://web.meshconnect.com');
|
112
116
|
if (currentOptions === null || currentOptions === void 0 ? void 0 : currentOptions.accessTokens) {
|
113
|
-
(_k = iframeElement().contentWindow) === null || _k === void 0 ? void 0 : _k.postMessage({
|
114
|
-
type: 'meshSDKSpecs',
|
115
|
-
payload: __assign({}, sdk_specs_1.sdkSpecs)
|
116
|
-
}, (iframeUrlObject === null || iframeUrlObject === void 0 ? void 0 : iframeUrlObject.origin) || 'https://web.meshconnect.com');
|
117
117
|
(_l = iframeElement().contentWindow) === null || _l === void 0 ? void 0 : _l.postMessage({ type: 'frontAccessTokens', payload: currentOptions.accessTokens }, (iframeUrlObject === null || iframeUrlObject === void 0 ? void 0 : iframeUrlObject.origin) || 'https://web.meshconnect.com');
|
118
118
|
}
|
119
119
|
if (currentOptions === null || currentOptions === void 0 ? void 0 : currentOptions.transferDestinationTokens) {
|
package/cjs/utils/version.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@meshconnect/web-link-sdk",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.4",
|
4
4
|
"description": "A client-side JS library for integrating with Mesh Connect",
|
5
5
|
"license": "MIT",
|
6
6
|
"repository": "https://github.com/FrontFin/mesh-web-sdk.git",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
"jest-environment-jsdom": "^29.7.0"
|
21
21
|
},
|
22
22
|
"dependencies": {
|
23
|
-
"@meshconnect/node-api": "^2.0.
|
23
|
+
"@meshconnect/node-api": "^2.0.4"
|
24
24
|
},
|
25
25
|
"jest": {
|
26
26
|
"preset": "ts-jest",
|
package/utils/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const sdkVersion = "2.0.
|
1
|
+
export declare const sdkVersion = "2.0.4";
|
package/utils/version.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export var sdkVersion = '2.0.
|
1
|
+
export var sdkVersion = '2.0.4';
|