skapi-js 1.0.159 → 1.0.161
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 +3 -4
- package/dist/skapi.js +1 -1
- package/dist/skapi.js.map +1 -1
- package/dist/skapi.module.js +1 -1
- package/dist/skapi.module.js.map +1 -1
- package/js/main/skapi.js +3 -5
- package/js/main/skapi.js.map +1 -1
- package/js/methods/database.js +1 -2
- package/js/methods/database.js.map +1 -1
- package/js/methods/user.d.ts +0 -1
- package/js/methods/user.js +21 -40
- package/js/methods/user.js.map +1 -1
- package/js/utils/network.js +0 -2
- package/js/utils/network.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Skapi
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
Serverless backend API Library for HTML Frontend.
|
|
4
|
+
Build fullstack web applications directly from your HTML without backend engineering.
|
|
5
5
|
|
|
6
6
|
### Compatible with both vanilla HTML and SPA projects
|
|
7
7
|
|
|
@@ -65,9 +65,8 @@ Then, import the library into your main JavaScript file.
|
|
|
65
65
|
import { Skapi } from 'skapi-js';
|
|
66
66
|
const skapi = new Skapi('service_id', 'owner_id');
|
|
67
67
|
|
|
68
|
+
// Export the skapi instance, so you can use it in other components
|
|
68
69
|
export { skapi }
|
|
69
|
-
|
|
70
|
-
// Now you can import skapi from anywhere in your project.
|
|
71
70
|
```
|
|
72
71
|
|
|
73
72
|
### 3. Test your connection
|