@sfutureapps/db-sdk 0.3.18 → 0.3.20

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/client.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfutureapps/db-sdk",
3
- "version": "0.3.18",
3
+ "version": "0.3.20",
4
4
  "description": "SfutureApps JS SDK for ThinkPHP DB Gateway (MySQL)",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/client.js CHANGED
@@ -162,7 +162,6 @@ export default async function post({ endpoint, data, params } = {}) {
162
162
 
163
163
  const headers = {
164
164
  "Content-Type": "application/x-www-form-urlencoded",
165
- Accept: "application/json",
166
165
  ...(API_KEY ? { "X-API-Key": API_KEY } : {}),
167
166
  };
168
167