diff --git a/examples/test-app/CHANGELOG.md b/examples/test-app/CHANGELOG.md index 12bc8e1..e38b798 100644 --- a/examples/test-app/CHANGELOG.md +++ b/examples/test-app/CHANGELOG.md @@ -1,5 +1,12 @@ # test-app +## 1.0.7 + +### Patch Changes + +- Updated dependencies + - @parcnet-js/app-connector@0.0.6 + ## 1.0.6 ### Patch Changes diff --git a/examples/test-app/package.json b/examples/test-app/package.json index c6a3180..4a77997 100644 --- a/examples/test-app/package.json +++ b/examples/test-app/package.json @@ -1,6 +1,6 @@ { "name": "test-app", - "version": "1.0.6", + "version": "1.0.7", "private": true, "type": "module", "scripts": { diff --git a/packages/app-connector/CHANGELOG.md b/packages/app-connector/CHANGELOG.md index c414cc3..6aa4e95 100644 --- a/packages/app-connector/CHANGELOG.md +++ b/packages/app-connector/CHANGELOG.md @@ -1,5 +1,11 @@ # @parcnet-js/app-connector +## 0.0.6 + +### Patch Changes + +- Allow storage access API requests from iframes + ## 0.0.5 ### Patch Changes diff --git a/packages/app-connector/package.json b/packages/app-connector/package.json index 4da3dd8..bb74337 100644 --- a/packages/app-connector/package.json +++ b/packages/app-connector/package.json @@ -1,6 +1,6 @@ { "name": "@parcnet-js/app-connector", - "version": "0.0.5", + "version": "0.0.6", "license": "GPL-3.0-or-later", "type": "module", "main": "dist/index.cjs", diff --git a/packages/app-connector/src/adapters/iframe.ts b/packages/app-connector/src/adapters/iframe.ts index 26c8735..4d11291 100644 --- a/packages/app-connector/src/adapters/iframe.ts +++ b/packages/app-connector/src/adapters/iframe.ts @@ -94,7 +94,7 @@ export function connect( const iframe = document.createElement("iframe"); const sandboxAttr = document.createAttribute("sandbox"); sandboxAttr.value = - "allow-same-origin allow-scripts allow-popups allow-modals allow-forms"; + "allow-same-origin allow-scripts allow-popups allow-modals allow-forms allow-storage-access-by-user-activation"; iframe.attributes.setNamedItem(sandboxAttr); iframe.style.borderWidth = "0px"; iframe.style.width = "100%";