@heyputer/puter.js 2.0.3 → 2.0.4
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/package.json +1 -1
- package/src/index.js +1 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -701,6 +701,7 @@ const puterInit = (function() {
|
|
|
701
701
|
|
|
702
702
|
export const puter = puterInit();
|
|
703
703
|
export default puter;
|
|
704
|
+
globalThis.puter = puter;
|
|
704
705
|
|
|
705
706
|
globalThis.addEventListener && globalThis.addEventListener('message', async (event) => {
|
|
706
707
|
// if the message is not from Puter, then ignore it
|