wraplet 0.31.0 → 0.32.0

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.
@@ -5,7 +5,7 @@ export declare class StorageWrapper<D extends Record<string, unknown>> implement
5
5
  private defaults;
6
6
  private validators;
7
7
  [KeyValueStorageSymbol]: true;
8
- constructor(storage: KeyValueStorage<D>, defaults: D, validators: StorageValidators<D>);
8
+ constructor(storage: KeyValueStorage<Partial<D>>, defaults: D, validators: StorageValidators<D>);
9
9
  has(key: keyof D): Promise<boolean>;
10
10
  get<T extends keyof D>(key: T): Promise<D[T]>;
11
11
  getMultiple<T extends keyof D>(keys: T[]): Promise<Pick<D, T>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wraplet",
3
- "version": "0.31.0",
3
+ "version": "0.32.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
File without changes