@base44-preview/sdk 0.8.11-pr.63.10884cf → 0.8.11-pr.64.91ff6ae
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/dist/modules/entities.js +0 -7
- package/package.json +6 -4
package/dist/modules/entities.js
CHANGED
|
@@ -32,13 +32,6 @@ export function createEntitiesModule(axios, appId) {
|
|
|
32
32
|
*/
|
|
33
33
|
function createEntityHandler(axios, appId, entityName) {
|
|
34
34
|
const baseURL = `/apps/${appId}/entities/${entityName}`;
|
|
35
|
-
const isDevMode = new URLSearchParams(window.location.search).get("use_dev_table") === "true";
|
|
36
|
-
axios.interceptors.request.use((config) => {
|
|
37
|
-
var _a;
|
|
38
|
-
config.headers = (_a = config.headers) !== null && _a !== void 0 ? _a : {};
|
|
39
|
-
config.headers["X-Dev-Mode"] = String(isDevMode);
|
|
40
|
-
return config;
|
|
41
|
-
});
|
|
42
35
|
return {
|
|
43
36
|
// List entities with optional pagination and sorting
|
|
44
37
|
async list(sort, limit, skip, fields) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@base44-preview/sdk",
|
|
3
|
-
"version": "0.8.11-pr.
|
|
3
|
+
"version": "0.8.11-pr.64.91ff6ae",
|
|
4
4
|
"description": "JavaScript SDK for Base44 API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -32,15 +32,18 @@
|
|
|
32
32
|
"@types/hast": "^3.0.4",
|
|
33
33
|
"@types/node": "^25.0.1",
|
|
34
34
|
"@types/unist": "^3.0.3",
|
|
35
|
+
"@typescript-eslint/parser": "^8.51.0",
|
|
35
36
|
"@vitest/coverage-istanbul": "^1.0.0",
|
|
36
37
|
"@vitest/coverage-v8": "^1.0.0",
|
|
37
38
|
"@vitest/ui": "^1.0.0",
|
|
38
39
|
"dotenv": "^16.3.1",
|
|
39
|
-
"eslint": "^
|
|
40
|
+
"eslint": "^9.39.2",
|
|
41
|
+
"eslint-plugin-import": "^2.32.0",
|
|
40
42
|
"nock": "^13.4.0",
|
|
41
43
|
"typedoc": "^0.28.14",
|
|
42
44
|
"typedoc-plugin-markdown": "^4.9.0",
|
|
43
45
|
"typescript": "^5.3.2",
|
|
46
|
+
"typescript-eslint": "^8.51.0",
|
|
44
47
|
"vitest": "^1.6.1"
|
|
45
48
|
},
|
|
46
49
|
"keywords": [
|
|
@@ -57,6 +60,5 @@
|
|
|
57
60
|
"bugs": {
|
|
58
61
|
"url": "https://github.com/base44/sdk/issues"
|
|
59
62
|
},
|
|
60
|
-
"homepage": "https://github.com/base44/sdk#readme"
|
|
61
|
-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
63
|
+
"homepage": "https://github.com/base44/sdk#readme"
|
|
62
64
|
}
|