@go1/go1-embedding-react-sdk 0.0.39 → 0.0.40

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.
@@ -23,6 +23,7 @@ export interface FeatureAttributeCommon {
23
23
  experience?: 'manager' | 'learner';
24
24
  shouldShowGo1FeedbackButton?: boolean;
25
25
  shouldShowSaveToPlaylistButton?: boolean;
26
+ featureName?: string;
26
27
  }
27
28
  interface FeatureAttributesPreviewCommon extends FeatureAttributeCommon {
28
29
  startWith1Player?: boolean;
@@ -73,5 +73,5 @@ function useGo1ContentView(props) {
73
73
  }
74
74
  exports.useGo1ContentView = useGo1ContentView;
75
75
  function Go1ContentView(iframeRef, iframeURL, iframeID, userProps) {
76
- return (React.createElement("iframe", { id: iframeID, ref: iframeRef, src: iframeURL.toString(), style: { border: 0, width: '100%', height: '100%' }, sandbox: 'allow-popups allow-popups-to-escape-sandbox allow-scripts allow-same-origin allow-forms', ...userProps }));
76
+ return (React.createElement("iframe", { id: iframeID, ref: iframeRef, src: iframeURL.toString(), style: { border: 0, width: '100%', height: '100%' }, sandbox: 'allow-popups allow-popups-to-escape-sandbox allow-scripts allow-same-origin allow-forms allow-top-navigation', ...userProps }));
77
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go1/go1-embedding-react-sdk",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "description": "A React library to embed Go1 content into your website.",
5
5
  "main": "dist/go1-embedding-react-sdk/src/index.js",
6
6
  "files": [