@relicx_/kernel 1.1.45 → 1.1.47

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.
Files changed (3) hide show
  1. package/index.d.ts +4 -3
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -189,6 +189,7 @@ interface IRedisInterface {
189
189
  }
190
190
  declare class RedisConnection extends DBConnection implements IRedisInterface {
191
191
  private m_conn;
192
+ private m_clustermode;
192
193
  constructor(cfg: any);
193
194
  Get(key: string): Promise<string>;
194
195
  Set(key: string, value: string, ttl?: number): Promise<boolean>;
@@ -304,9 +305,9 @@ declare class GameApplication extends Module {
304
305
  }
305
306
 
306
307
  declare class EncryptFile {
307
- static EncryptBuffer(buffer: Buffer, key: string): Buffer;
308
- static DecryptBuffer(buffer: Buffer, key: string): Buffer;
309
- static LoadFile(path: string, key?: string): Buffer;
308
+ static EncryptBuffer(buffer: Buffer, key: string): Buffer<ArrayBufferLike>;
309
+ static DecryptBuffer(buffer: Buffer, key: string): Buffer<ArrayBufferLike>;
310
+ static LoadFile(path: string, key?: string): Buffer<ArrayBufferLike>;
310
311
  static LoadFileString(path: string): string;
311
312
  static LoadFileMD5(path: string): string;
312
313
  static SaveFile(path: string, key: string, data: Buffer): void;