@maiyunnet/kebab 7.1.1 → 7.1.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.
package/index.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * --- 本文件用来定义每个目录实体地址的常量 ---
6
6
  */
7
7
  /** --- 当前系统版本号 --- */
8
- export declare const VER = "7.1.1";
8
+ export declare const VER = "7.1.2";
9
9
  /** --- 框架根目录,以 / 结尾 --- */
10
10
  export declare const ROOT_PATH: string;
11
11
  export declare const LIB_PATH: string;
package/index.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * --- 本文件用来定义每个目录实体地址的常量 ---
7
7
  */
8
8
  /** --- 当前系统版本号 --- */
9
- export const VER = '7.1.1';
9
+ export const VER = '7.1.2';
10
10
  // --- 服务端用的路径 ---
11
11
  const imu = decodeURIComponent(import.meta.url).replace('file://', '').replace(/^\/(\w:)/, '$1');
12
12
  /** --- /xxx/xxx --- */
package/lib/kv.d.ts CHANGED
@@ -282,7 +282,11 @@ export declare class Kv {
282
282
  * @param ctrEtc 控制器或配置信息
283
283
  * @param oetc 可用来覆盖 ctr 的一些选项,如 index
284
284
  */
285
- export declare function get(ctrEtc: sCtr.Ctr | kebab.IConfigKv, oetc?: kebab.IConfigKv): Kv;
285
+ export declare function get(ctrEtc: sCtr.Ctr | kebab.IConfigKv, oetc?: {
286
+ 'index'?: number;
287
+ 'user'?: string;
288
+ 'pwd'?: string;
289
+ }): Kv;
286
290
  /** --- 连接信息 --- */
287
291
  export interface IConnectionInfo {
288
292
  'host': string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maiyunnet/kebab",
3
- "version": "7.1.1",
3
+ "version": "7.1.2",
4
4
  "description": "Simple, easy-to-use, and fully-featured Node.js framework that is ready-to-use out of the box.",
5
5
  "type": "module",
6
6
  "keywords": [