@lovrabet/sdk 1.1.23-beta.0 → 1.1.23-beta.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/dist/index.js +1 -1
- package/dist/src/api/index.d.ts +1 -2
- package/package.json +2 -2
package/dist/src/api/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { HttpClient } from "../http/http-client";
|
|
2
2
|
import type { SqlExecuteResult } from "./types";
|
|
3
|
-
import { getUserList } from "./get-user-list";
|
|
4
3
|
/**
|
|
5
4
|
* API 命名空间 - 管理通用 API 调用(SQL、Function 等)
|
|
6
5
|
*
|
|
@@ -50,6 +49,6 @@ export declare class ApiNamespace {
|
|
|
50
49
|
*/
|
|
51
50
|
executeSql<T = Record<string, any>>(sqlCode: string | number, params?: Record<string, string | number>): Promise<SqlExecuteResult<T>>;
|
|
52
51
|
user: {
|
|
53
|
-
getList:
|
|
52
|
+
getList: () => Promise<import("./get-user-list").User[]>;
|
|
54
53
|
};
|
|
55
54
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lovrabet/sdk",
|
|
3
|
-
"version": "1.1.23-beta.
|
|
3
|
+
"version": "1.1.23-beta.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test:coverage": "vitest run --coverage",
|
|
27
27
|
"test:watch": "vitest watch",
|
|
28
28
|
"types": "npx tsc --emitDeclarationOnly --declaration --outDir dist index.ts",
|
|
29
|
-
"beta-release": "bun run build && sh scripts/update-beta-version.sh && git push && git push origin --tag && bun publish",
|
|
29
|
+
"beta-release": "bun run build && sh scripts/update-beta-version.sh && git push && git push origin --tag && bun publish --tag beta",
|
|
30
30
|
"release": "bun run build && sh scripts/update-latest-version.sh && git push && git push origin --tag && bun publish"
|
|
31
31
|
},
|
|
32
32
|
"files": [
|