@zenweb/cache 4.1.0 → 4.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.1.1] - 2023-8-18
4
+ 增加 normalKey number 参数
5
+
3
6
  ## [4.1.0] - 2023-8-18
4
7
  增加 normalKey 方法
5
8
 
package/dist/utils.d.ts CHANGED
@@ -21,4 +21,4 @@ export declare function runRedisScript(redis: Redis, hash: string, script: strin
21
21
  * 生成一个参数缓存key
22
22
  * - 多个元素用 : 连接
23
23
  */
24
- export declare function normalKey(...key: (string | object)[]): string;
24
+ export declare function normalKey(...key: (string | number | object)[]): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenweb/cache",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Zenweb Cache module",
5
5
  "exports": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",