mixlea-utils-js 0.1.34 → 0.1.36
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 +1288 -1973
- package/dist/mixlea-utils-js.umd.js +2 -2
- package/dist/types/index.d.ts +0 -14
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -273,13 +273,6 @@ declare interface CommonEvent_2 {
|
|
|
273
273
|
|
|
274
274
|
export declare function compareSetDifference<T>(setA: Set<T>, setB: Set<T>): Set<T>;
|
|
275
275
|
|
|
276
|
-
/**
|
|
277
|
-
* 异步压缩文本并编码为 Base64,方便存数据库
|
|
278
|
-
* @param input 明文字符串
|
|
279
|
-
* @returns Base64 压缩字符串
|
|
280
|
-
*/
|
|
281
|
-
export declare function compressData(input: any): Promise<string>;
|
|
282
|
-
|
|
283
276
|
declare type ConfigStore = Record<string, any>;
|
|
284
277
|
|
|
285
278
|
export declare function convertWeightUnitToStandard(chineseWeight: string): string;
|
|
@@ -346,13 +339,6 @@ declare interface DebouncedFunc<T extends (...args: any[]) => any> {
|
|
|
346
339
|
flush: () => ReturnType<T> | undefined;
|
|
347
340
|
}
|
|
348
341
|
|
|
349
|
-
/**
|
|
350
|
-
* 异步从 Base64 解码并解压为原始文本
|
|
351
|
-
* @param base64 Base64 压缩字符串
|
|
352
|
-
* @returns 明文字符串
|
|
353
|
-
*/
|
|
354
|
-
export declare function decompressData(base64: string): Promise<string>;
|
|
355
|
-
|
|
356
342
|
/**
|
|
357
343
|
* XOR 解密(稳定输出原始内容)
|
|
358
344
|
* @param {string} encrypted - Base64 加密字符串
|