feat: enhance logging capabilities and update query options in sdk-typescript

- Introduced a new logging system with adjustable log levels (debug, info, warn, error).
- Updated query options to include a logLevel parameter for controlling verbosity.
- Refactored existing code to utilize the new logging system for better error handling and debugging.
- Cleaned up unused code and improved the structure of the SDK.
This commit is contained in:
mingholy.lmh
2025-11-26 21:37:40 +08:00
parent 49dc84ac0e
commit 769a438fa4
16 changed files with 552 additions and 143 deletions

View File

@@ -0,0 +1,14 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./dist",
"module": "ESNext",
"moduleResolution": "bundler",
"declaration": true,
"declarationMap": false,
"sourceMap": false,
"emitDeclarationOnly": true
},
"include": ["src/**/*.ts"],
"exclude": ["node_modules", "dist", "test", "**/*.test.ts", "**/*.spec.ts"]
}