@aeriajs/common 0.0.61 → 0.0.63

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.
@@ -1,3 +1,3 @@
1
1
  import * as BSON from 'bson';
2
2
  export declare const serialize: (object: BSON.Document, options?: BSON.SerializeOptions | undefined) => string;
3
- export declare const deserialize: <T extends string>(buffer: T) => BSON.Document;
3
+ export declare const deserialize: <TValue>(buffer: ReturnType<typeof serialize>) => TValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/common",
3
- "version": "0.0.61",
3
+ "version": "0.0.63",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -31,7 +31,7 @@
31
31
  "bson": "^6.5.0"
32
32
  },
33
33
  "peerDependencies": {
34
- "@aeriajs/types": "^0.0.57",
34
+ "@aeriajs/types": "^0.0.58",
35
35
  "bson": "^6.5.0"
36
36
  },
37
37
  "scripts": {