wasm-webp 0.0.2 → 0.1.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.
Binary file
package/dist/index.d.ts CHANGED
@@ -38,3 +38,4 @@ export declare const decodeAnimation: (
38
38
  data: Uint8Array,
39
39
  hasAlpha: boolean
40
40
  ) => Promise<Nullable<DecodedWebPAnimationFrame[]>>
41
+ export type * from './types'
package/dist/types.d.ts CHANGED
@@ -6,6 +6,7 @@ export interface WebPConfig {
6
6
  export interface WebPAnimationFrame {
7
7
  data: Uint8Array
8
8
  duration: number
9
+ config?: WebPConfig
9
10
  }
10
11
 
11
12
  export interface DecodedWebPAnimationFrame extends WebPAnimationFrame {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wasm-webp",
3
- "version": "0.0.2",
3
+ "version": "0.1.0",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",