@sfutureapps/db-sdk 0.3.0 → 0.3.1
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 +2 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @sfutureapps/db-sdk
|
|
2
2
|
|
|
3
3
|
Supabase-like JS SDK for ThinkPHP DB Gateway (MySQL)
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ npm run build
|
|
|
12
12
|
|
|
13
13
|
## Create client
|
|
14
14
|
```ts
|
|
15
|
-
import { createClient } from "@
|
|
15
|
+
import { createClient } from "@sfutureapps/db-sdk";
|
|
16
16
|
|
|
17
17
|
const db = createClient("https://yourdomain.com", {
|
|
18
18
|
accessToken: () => localStorage.getItem("token"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sfutureapps/db-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "SfutureApps JS SDK for ThinkPHP DB Gateway (MySQL)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"orm",
|
|
34
34
|
"js",
|
|
35
35
|
"typescript",
|
|
36
|
-
"
|
|
36
|
+
"sFutureApps",
|
|
37
|
+
"sfutureapps.com"
|
|
37
38
|
]
|
|
38
39
|
}
|