@paper-design/shaders 0.0.71 → 0.0.73

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 +0,0 @@
1
- export declare function getEmptyPixel(): HTMLImageElement | undefined;
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/get-empty-pixel.ts"],
4
- "sourcesContent": ["export function getEmptyPixel(): HTMLImageElement | undefined {\n if (typeof window === 'undefined') {\n console.warn('Paper Shaders: can\u2019t create an image on the server');\n return undefined;\n }\n\n const img = new Image();\n img.src = emptyPixel;\n return img;\n}\n\nconst emptyPixel = 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==';\n"],
5
- "mappings": ";;;;;AAAO,SAAS,gBAA8C;AAC5D,MAAI,OAAO,WAAW,aAAa;AACjC,YAAQ,KAAK,yDAAoD;AACjE,WAAO;AAAA,EACT;AAEA,QAAM,MAAM,IAAI,MAAM;AACtB,MAAI,MAAM;AACV,SAAO;AACT;AAEA,MAAM,aAAa;",
6
- "names": []
7
- }