grab 0.1.4 → 0.1.5

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.
@@ -1 +1 @@
1
- 'use strict';var chunk2LFTY2FS_cjs=require('../chunk-2LFTY2FS.cjs');Object.defineProperty(exports,"DEFAULT_THEME",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.j}});Object.defineProperty(exports,"copyContent",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.d}});Object.defineProperty(exports,"formatElementInfo",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.c}});Object.defineProperty(exports,"generateSnippet",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.e}});Object.defineProperty(exports,"getStack",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.b}});Object.defineProperty(exports,"init",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.o}});Object.defineProperty(exports,"isInstrumentationActive",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.a}});
1
+ 'use strict';var chunkU4UZRA7E_cjs=require('../chunk-U4UZRA7E.cjs');Object.defineProperty(exports,"DEFAULT_THEME",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.j}});Object.defineProperty(exports,"copyContent",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.d}});Object.defineProperty(exports,"formatElementInfo",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.c}});Object.defineProperty(exports,"generateSnippet",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.e}});Object.defineProperty(exports,"getStack",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.b}});Object.defineProperty(exports,"init",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.o}});Object.defineProperty(exports,"isInstrumentationActive",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.a}});
@@ -1 +1 @@
1
- export{j as DEFAULT_THEME,d as copyContent,c as formatElementInfo,e as generateSnippet,b as getStack,o as init,a as isInstrumentationActive}from'../chunk-K236UQQU.js';
1
+ export{j as DEFAULT_THEME,d as copyContent,c as formatElementInfo,e as generateSnippet,b as getStack,o as init,a as isInstrumentationActive}from'../chunk-PT2X5XI4.js';
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- 'use strict';var chunk2LFTY2FS_cjs=require('./chunk-2LFTY2FS.cjs');/**
1
+ 'use strict';var chunkU4UZRA7E_cjs=require('./chunk-U4UZRA7E.cjs');/**
2
2
  * @license MIT
3
3
  *
4
4
  * Copyright (c) 2025 Aiden Bai
@@ -6,4 +6,4 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- var e=null,R=()=>typeof window>"u"?e:window.__REACT_GRAB__??e??null,g=t=>{e=t,typeof window<"u"&&(t?window.__REACT_GRAB__=t:delete window.__REACT_GRAB__);};typeof window<"u"&&(window.__REACT_GRAB__?e=window.__REACT_GRAB__:(e=chunk2LFTY2FS_cjs.o(),window.__REACT_GRAB__=e),window.dispatchEvent(new CustomEvent("react-grab:init",{detail:e})));Object.defineProperty(exports,"DEFAULT_THEME",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.j}});Object.defineProperty(exports,"captureElementScreenshot",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.g}});Object.defineProperty(exports,"combineBounds",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.f}});Object.defineProperty(exports,"commentPlugin",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.n}});Object.defineProperty(exports,"copyHtmlPlugin",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.l}});Object.defineProperty(exports,"copyImageToClipboard",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.h}});Object.defineProperty(exports,"formatElementInfo",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.c}});Object.defineProperty(exports,"generateSnippet",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.e}});Object.defineProperty(exports,"getStack",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.b}});Object.defineProperty(exports,"init",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.o}});Object.defineProperty(exports,"isInstrumentationActive",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.a}});Object.defineProperty(exports,"isScreenshotSupported",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.i}});Object.defineProperty(exports,"openPlugin",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.m}});Object.defineProperty(exports,"screenshotPlugin",{enumerable:true,get:function(){return chunk2LFTY2FS_cjs.k}});exports.getGlobalApi=R;exports.setGlobalApi=g;
9
+ var e=null,R=()=>typeof window>"u"?e:window.__REACT_GRAB__??e??null,g=t=>{e=t,typeof window<"u"&&(t?window.__REACT_GRAB__=t:delete window.__REACT_GRAB__);};typeof window<"u"&&(window.__REACT_GRAB__?e=window.__REACT_GRAB__:(e=chunkU4UZRA7E_cjs.o(),window.__REACT_GRAB__=e),window.dispatchEvent(new CustomEvent("react-grab:init",{detail:e})));Object.defineProperty(exports,"DEFAULT_THEME",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.j}});Object.defineProperty(exports,"captureElementScreenshot",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.g}});Object.defineProperty(exports,"combineBounds",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.f}});Object.defineProperty(exports,"commentPlugin",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.n}});Object.defineProperty(exports,"copyHtmlPlugin",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.l}});Object.defineProperty(exports,"copyImageToClipboard",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.h}});Object.defineProperty(exports,"formatElementInfo",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.c}});Object.defineProperty(exports,"generateSnippet",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.e}});Object.defineProperty(exports,"getStack",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.b}});Object.defineProperty(exports,"init",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.o}});Object.defineProperty(exports,"isInstrumentationActive",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.a}});Object.defineProperty(exports,"isScreenshotSupported",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.i}});Object.defineProperty(exports,"openPlugin",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.m}});Object.defineProperty(exports,"screenshotPlugin",{enumerable:true,get:function(){return chunkU4UZRA7E_cjs.k}});exports.getGlobalApi=R;exports.setGlobalApi=g;