-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
138 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
{ | ||
"name": "silk-wasm", | ||
"description": "Tencent silk encoder for Node.js and browser", | ||
"version": "3.3.4", | ||
"version": "3.4.0", | ||
"main": "lib/index.cjs", | ||
"module": "lib/index.mjs", | ||
"typings": "lib/index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/idanran/silk-wasm.git" | ||
"url": "git+https://github.com/idranme/silk-wasm.git" | ||
}, | ||
"author": "idanran <[email protected]>", | ||
"license": "MIT", | ||
"files": [ | ||
"lib" | ||
|
@@ -29,10 +28,13 @@ | |
"codec" | ||
], | ||
"devDependencies": { | ||
"@types/node": "^20.11.30", | ||
"@types/node": "^20.12.7", | ||
"esbuild": "^0.20.2", | ||
"typescript": "^5.4.3", | ||
"typescript": "^5.4.5", | ||
"wav-file-decoder": "^1.0.3" | ||
}, | ||
"packageManager": "[email protected]" | ||
} | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": ">=16.14.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// TypeScript bindings for emscripten-generated code. Automatically generated at compile time. | ||
declare namespace RuntimeExports { | ||
let HEAPF64: any; | ||
let HEAP_DATA_VIEW: any; | ||
let HEAP8: any; | ||
let HEAPU8: any; | ||
let HEAP16: any; | ||
let HEAPU16: any; | ||
let HEAP32: any; | ||
let HEAPU32: any; | ||
let HEAP64: any; | ||
let HEAPU64: any; | ||
} | ||
interface WasmModule { | ||
} | ||
|
||
interface EmbindModule { | ||
silk_encode(_0: ArrayBuffer|Uint8Array|Uint8ClampedArray|Int8Array|string, _1: number, _2: number, _3: any): number; | ||
silk_decode(_0: ArrayBuffer|Uint8Array|Uint8ClampedArray|Int8Array|string, _1: number, _2: number, _3: any): number; | ||
} | ||
export type MainModule = WasmModule & typeof RuntimeExports & EmbindModule; | ||
export default function MainModuleFactory (options?: unknown): Promise<MainModule>; |
Oops, something went wrong.