@sfutureapps/db-sdk 0.3.0 → 0.3.2

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/README.md +3 -11
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -1,18 +1,10 @@
1
- # @sfuture/db-js
1
+ # @sfutureapps/db-sdk
2
2
 
3
- Supabase-like JS SDK for ThinkPHP DB Gateway (MySQL)
4
-
5
- ## Install (local)
6
- - copy this folder
7
- - run:
8
- ```bash
9
- npm i
10
- npm run build
11
- ```
3
+ JS SDK for ThinkPHP DB Gateway (MySQL)
12
4
 
13
5
  ## Create client
14
6
  ```ts
15
- import { createClient } from "@sfuture/db-js";
7
+ import { createClient } from "@sfutureapps/db-sdk";
16
8
 
17
9
  const db = createClient("https://yourdomain.com", {
18
10
  accessToken: () => localStorage.getItem("token"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfutureapps/db-sdk",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
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
- "sfutureApps"
36
+ "sFutureApps",
37
+ "sfutureapps.com"
37
38
  ]
38
39
  }