@popgrids/embed 0.0.9 → 0.0.10

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/loader.js CHANGED
@@ -1 +1 @@
1
- (function(){var e=document.currentScript;if(e instanceof HTMLScriptElement&&e.dataset.key)if(e.closest(`head`))console.warn(`PopGrids: the embed script is in <head>, so there's nowhere to show the Grid. Move the script to where the Grid should appear, or add a <pop-grid> element there.`);else{let t=document.createElement(`pop-grid`);for(let{name:n,value:r}of Array.from(e.attributes))n.startsWith(`data-`)&&t.setAttribute(n,r);e.after(t)}var t=new URL(`..`,`https://cdn.popgrids.io/embed/0.0.9/embed.js`).href;if(!customElements.get(`pop-grid`)&&!document.querySelector(`script[type="module"][src^="${t}"]`)){let e=document.createElement(`script`);e.type=`module`,e.src=`https://cdn.popgrids.io/embed/0.0.9/embed.js`,document.head.append(e)}})();
1
+ (function(){var e=document.currentScript;if(e instanceof HTMLScriptElement&&e.dataset.key)if(e.closest(`head`))console.warn(`PopGrids: the embed script is in <head>, so there's nowhere to show the Grid. Move the script to where the Grid should appear, or add a <pop-grid> element there.`);else{let t=document.createElement(`pop-grid`);for(let{name:n,value:r}of Array.from(e.attributes))n.startsWith(`data-`)&&t.setAttribute(n,r);e.after(t)}var t=new URL(`..`,`https://cdn.popgrids.io/embed/0.0.10/embed.js`).href;if(!customElements.get(`pop-grid`)&&!document.querySelector(`script[type="module"][src^="${t}"]`)){let e=document.createElement(`script`);e.type=`module`,e.src=`https://cdn.popgrids.io/embed/0.0.10/embed.js`,document.head.append(e)}})();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@popgrids/embed",
3
3
  "description": "PopGrids embeddable discussion widget",
4
- "version": "0.0.9",
4
+ "version": "0.0.10",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "PopGrids",