brotli-compress
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -1,4 +0,2 @@ | ||
export interface IBrotliDecompressOptions { | ||
customDictionary?: Uint8Array; | ||
} | ||
import { IBrotliDecompressOptions } from './common'; | ||
/** | ||
@@ -5,0 +3,0 @@ * @type {function(!Uint8Array, Options=):!Uint8Array} |
@@ -1,5 +0,2 @@ | ||
export interface IBrotliCompressOptions { | ||
quality?: number; | ||
customDictionary?: Int8Array; | ||
} | ||
import { IBrotliCompressOptions } from './common'; | ||
export declare const compress: (input: Uint8Array, options?: IBrotliCompressOptions) => Promise<Uint8Array>; | ||
@@ -6,0 +3,0 @@ export declare const decompress: (input: Uint8Array) => Promise<Uint8Array>; |
{ | ||
"name": "brotli-compress", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "module": "index.mjs", |
@@ -37,6 +37,6 @@ # brotli-compress | ||
// it takes a Int8Array and returns a Int8Array | ||
// it takes a Uint8Array and returns a Uint8Array | ||
const compressed = await compress(oneBlockInput) | ||
// it takes a Int8Array and returns a Int8Array | ||
// it takes a Uint8Array and returns a Uint8Array | ||
const decompressed = await decompress(compressed) | ||
@@ -43,0 +43,0 @@ ``` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
4065300
11
15900