@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyputer/puter.js",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Puter.js - A JavaScript library for interacting with Puter services.",
5
5
  "main": "src/index.js",
6
6
  "types": "index.d.ts",
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