@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.browser.mjs
CHANGED
|
@@ -14349,6 +14349,7 @@ async function openIframe(uri, callbacks = {}, { mountTargetSelector } = {}) {
|
|
|
14349
14349
|
const iframe = document.createElement('iframe');
|
|
14350
14350
|
iframe.id = POPUP_ELEMENT_ID;
|
|
14351
14351
|
iframe.src = uri;
|
|
14352
|
+
iframe.setAttribute('allow', 'clipboard-write');
|
|
14352
14353
|
document.body.classList.add(BODY_CLASS);
|
|
14353
14354
|
showIframeLoader();
|
|
14354
14355
|
appendToContainer(iframe);
|
|
@@ -14375,6 +14376,7 @@ async function openIframeWithPost(url, postData, callbacks = {}, { mountTargetSe
|
|
|
14375
14376
|
const iframe = document.createElement('iframe');
|
|
14376
14377
|
iframe.id = POPUP_ELEMENT_ID;
|
|
14377
14378
|
iframe.name = iframeName;
|
|
14379
|
+
iframe.setAttribute('allow', 'clipboard-write');
|
|
14378
14380
|
const form = document.createElement('form');
|
|
14379
14381
|
form.method = 'POST';
|
|
14380
14382
|
form.action = url;
|