mixlea-utils-js 0.1.31 → 0.1.33
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/mixlea-utils-js.js +771 -757
- package/dist/mixlea-utils-js.umd.js +2 -2
- package/dist/types/index.d.ts +8 -8
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -274,11 +274,11 @@ declare interface CommonEvent_2 {
|
|
|
274
274
|
export declare function compareSetDifference<T>(setA: Set<T>, setB: Set<T>): Set<T>;
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
|
-
*
|
|
277
|
+
* 异步压缩文本并编码为 Base64,方便存数据库
|
|
278
|
+
* @param input 明文字符串
|
|
279
|
+
* @returns Base64 压缩字符串
|
|
278
280
|
*/
|
|
279
|
-
export declare function compressData(input: any
|
|
280
|
-
encryptKey: string;
|
|
281
|
-
}): Promise<string>;
|
|
281
|
+
export declare function compressData(input: any): Promise<string>;
|
|
282
282
|
|
|
283
283
|
declare type ConfigStore = Record<string, any>;
|
|
284
284
|
|
|
@@ -347,11 +347,11 @@ declare interface DebouncedFunc<T extends (...args: any[]) => any> {
|
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
/**
|
|
350
|
-
* 异步从
|
|
350
|
+
* 异步从 Base64 解码并解压为原始文本
|
|
351
|
+
* @param base64 Base64 压缩字符串
|
|
352
|
+
* @returns 明文字符串
|
|
351
353
|
*/
|
|
352
|
-
export declare function decompressData(base64: string
|
|
353
|
-
encryptKey: string;
|
|
354
|
-
}): Promise<string>;
|
|
354
|
+
export declare function decompressData(base64: string): Promise<string>;
|
|
355
355
|
|
|
356
356
|
/**
|
|
357
357
|
* XOR 解密(稳定输出原始内容)
|