cbor-x 1.6.5 → 1.6.6

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/index.d.ts CHANGED
@@ -47,7 +47,7 @@ export class Decoder {
47
47
  decode(messagePack: Buffer | Uint8Array): any
48
48
  decodeMultiple(messagePack: Buffer | Uint8Array, forEach?: (value: any) => any): [] | void
49
49
  }
50
- export function setMaxLimits(options: SizeLimitOptions): void
50
+ export function setSizeLimits(options: Partial<SizeLimitOptions>): void
51
51
  export function decode(messagePack: Buffer | Uint8Array): any
52
52
  export function decodeMultiple(messagePack: Buffer | Uint8Array, forEach?: (value: any) => any): [] | void
53
53
  export function addExtension<T, R>(extension: Extension<T, R>): void
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cbor-x",
3
3
  "author": "Kris Zyp",
4
- "version": "1.6.5",
4
+ "version": "1.6.6",
5
5
  "description": "Ultra-fast and conformant CBOR (RFC 8949) implementation with support for numerous tag extensions including records and structured cloning",
6
6
  "license": "MIT",
7
7
  "types": "./index.d.ts",