@playruo/embed 1.2.0 → 1.2.1

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/index.cjs CHANGED
@@ -320,11 +320,13 @@ var PlayruoEmbed = ({
320
320
  {
321
321
  ref: iframeRef,
322
322
  src,
323
- allow: "fullscreen *; autoplay *; gamepad *; clipboard-write *; web-share *; encrypted-media *; accelerometer *; gyroscope *",
323
+ allow: "cross-origin-isolated; fullscreen *; autoplay *; gamepad *; clipboard-write *; web-share *; encrypted-media *; accelerometer *; gyroscope *",
324
+ allowFullScreen: true,
324
325
  className: "w-full h-[70vh] rounded-lg border",
325
326
  ...{ credentialless: "true" },
326
327
  sandbox: "allow-same-origin allow-scripts allow-popups allow-forms allow-presentation allow-top-navigation allow-modals allow-pointer-lock",
327
328
  title: "Playruo",
329
+ referrerPolicy: "strict-origin-when-cross-origin",
328
330
  style: {
329
331
  position: showIframe ? void 0 : "absolute",
330
332
  top: showIframe ? void 0 : -9999,
package/dist/index.js CHANGED
@@ -291,11 +291,13 @@ var PlayruoEmbed = ({
291
291
  {
292
292
  ref: iframeRef,
293
293
  src,
294
- allow: "fullscreen *; autoplay *; gamepad *; clipboard-write *; web-share *; encrypted-media *; accelerometer *; gyroscope *",
294
+ allow: "cross-origin-isolated; fullscreen *; autoplay *; gamepad *; clipboard-write *; web-share *; encrypted-media *; accelerometer *; gyroscope *",
295
+ allowFullScreen: true,
295
296
  className: "w-full h-[70vh] rounded-lg border",
296
297
  ...{ credentialless: "true" },
297
298
  sandbox: "allow-same-origin allow-scripts allow-popups allow-forms allow-presentation allow-top-navigation allow-modals allow-pointer-lock",
298
299
  title: "Playruo",
300
+ referrerPolicy: "strict-origin-when-cross-origin",
299
301
  style: {
300
302
  position: showIframe ? void 0 : "absolute",
301
303
  top: showIframe ? void 0 : -9999,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playruo/embed",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "React SDK to embed Playruo with postMessage API.",
5
5
  "license": "MIT",
6
6
  "type": "module",