@membranehq/sdk 0.22.1 → 0.22.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.
- package/dist/bundle.js +2 -0
- package/dist/bundle.js.map +1 -1
- package/dist/index.browser.js +2 -0
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +2 -0
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.js +2 -0
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +2 -0
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.node.js
CHANGED
|
@@ -14370,6 +14370,7 @@ async function openIframe(uri, callbacks = {}, { mountTargetSelector } = {}) {
|
|
|
14370
14370
|
const iframe = document.createElement('iframe');
|
|
14371
14371
|
iframe.id = POPUP_ELEMENT_ID;
|
|
14372
14372
|
iframe.src = uri;
|
|
14373
|
+
iframe.setAttribute('allow', 'clipboard-write');
|
|
14373
14374
|
document.body.classList.add(BODY_CLASS);
|
|
14374
14375
|
showIframeLoader();
|
|
14375
14376
|
appendToContainer(iframe);
|
|
@@ -14396,6 +14397,7 @@ async function openIframeWithPost(url, postData, callbacks = {}, { mountTargetSe
|
|
|
14396
14397
|
const iframe = document.createElement('iframe');
|
|
14397
14398
|
iframe.id = POPUP_ELEMENT_ID;
|
|
14398
14399
|
iframe.name = iframeName;
|
|
14400
|
+
iframe.setAttribute('allow', 'clipboard-write');
|
|
14399
14401
|
const form = document.createElement('form');
|
|
14400
14402
|
form.method = 'POST';
|
|
14401
14403
|
form.action = url;
|