@heyputer/puter.js 2.1.8 → 2.1.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/README.md +10 -1
- package/dist/puter.cjs +2 -2
- package/index.d.ts +2 -1
- package/package.json +4 -3
- package/src/modules/Perms.js +16 -9
- package/types/modules/ai.d.ts +124 -0
- package/types/modules/apps.d.ts +62 -0
- package/types/modules/auth.d.ts +48 -0
- package/types/modules/debug.d.ts +3 -0
- package/types/modules/drivers.d.ts +21 -0
- package/types/modules/filesystem.d.ts +104 -0
- package/types/modules/fs-item.d.ts +57 -0
- package/types/modules/hosting.d.ts +23 -0
- package/types/modules/kv.d.ts +34 -0
- package/types/modules/networking.d.ts +33 -0
- package/types/modules/os.d.ts +12 -0
- package/types/modules/perms.d.ts +23 -0
- package/types/modules/threads.d.ts +27 -0
- package/types/modules/ui.d.ts +146 -0
- package/types/modules/util.d.ts +12 -0
- package/types/modules/workers.d.ts +26 -0
- package/types/puter.d.ts +101 -0
- package/types/shared.d.ts +39 -0
package/README.md
CHANGED
|
@@ -88,6 +88,15 @@ puter.ai.chat('What color was Napoleon\'s white horse?').then(response => {
|
|
|
88
88
|
|
|
89
89
|
<br>
|
|
90
90
|
|
|
91
|
+
## Starter Templates
|
|
92
|
+
|
|
93
|
+
You can also use one of the following templates:
|
|
94
|
+
|
|
95
|
+
- Client-side projects: [Angular](https://github.com/HeyPuter/angular), [React](https://github.com/HeyPuter/react), [Next.js](https://github.com/HeyPuter/next.js), [Vue.js](https://github.com/HeyPuter/vue.js), [Vanilla.js](https://github.com/HeyPuter/vanilla.js)
|
|
96
|
+
- Node.js + Express: [Node.js + Express template](https://github.com/HeyPuter/node.js-express.js)
|
|
97
|
+
|
|
98
|
+
<br>
|
|
99
|
+
|
|
91
100
|
## Setting Custom Origins
|
|
92
101
|
By default puter.js uses the official Puter API and GUI origins. You can customize these origins by setting global variables before importing the SDK like so:
|
|
93
102
|
|
|
@@ -115,4 +124,4 @@ import {puter} from '@heyputer/puter.js'; // or however you import it for your e
|
|
|
115
124
|
|
|
116
125
|
## License
|
|
117
126
|
|
|
118
|
-
Apache-2.0
|
|
127
|
+
Apache-2.0
|