diff options
| author | akiyamn | 2023-09-24 23:22:21 +1000 |
|---|---|---|
| committer | akiyamn | 2023-09-24 23:22:21 +1000 |
| commit | 4e87195739f2a5d9a05451b48773c8afdc680765 (patch) | |
| tree | 9cba501844a4a11dcbdffc4050ed8189561c55ed /node_modules/blake3-wasm/dist/wasm/browser | |
| download | price-tracker-worker-4e87195739f2a5d9a05451b48773c8afdc680765.tar.gz price-tracker-worker-4e87195739f2a5d9a05451b48773c8afdc680765.zip | |
Initial commit (by create-cloudflare CLI)
Diffstat (limited to 'node_modules/blake3-wasm/dist/wasm/browser')
| -rw-r--r-- | node_modules/blake3-wasm/dist/wasm/browser/blake3_js.d.ts | 51 | ||||
| -rw-r--r-- | node_modules/blake3-wasm/dist/wasm/browser/blake3_js.js | 2 | ||||
| -rw-r--r-- | node_modules/blake3-wasm/dist/wasm/browser/blake3_js_bg.wasm | bin | 0 -> 34398 bytes | |||
| -rw-r--r-- | node_modules/blake3-wasm/dist/wasm/browser/package.json | 12 |
4 files changed, 65 insertions, 0 deletions
diff --git a/node_modules/blake3-wasm/dist/wasm/browser/blake3_js.d.ts b/node_modules/blake3-wasm/dist/wasm/browser/blake3_js.d.ts new file mode 100644 index 0000000..963531e --- /dev/null +++ b/node_modules/blake3-wasm/dist/wasm/browser/blake3_js.d.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** +* @param {Uint8Array} data +* @param {Uint8Array} out +*/ +export function hash(data: Uint8Array, out: Uint8Array): void; +/** +* @returns {Blake3Hash} +*/ +export function create_hasher(): Blake3Hash; +/** +* @param {Uint8Array} key_slice +* @returns {Blake3Hash} +*/ +export function create_keyed(key_slice: Uint8Array): Blake3Hash; +/** +* @param {string} context +* @returns {Blake3Hash} +*/ +export function create_derive(context: string): Blake3Hash; +/** +*/ +export class Blake3Hash { + free(): void; +/** +* @returns {HashReader} +*/ + reader(): HashReader; +/** +* @param {Uint8Array} input_bytes +*/ + update(input_bytes: Uint8Array): void; +/** +* @param {Uint8Array} out +*/ + digest(out: Uint8Array): void; +} +/** +*/ +export class HashReader { + free(): void; +/** +* @param {Uint8Array} bytes +*/ + fill(bytes: Uint8Array): void; +/** +* @param {BigInt} position +*/ + set_position(position: BigInt): void; +} diff --git a/node_modules/blake3-wasm/dist/wasm/browser/blake3_js.js b/node_modules/blake3-wasm/dist/wasm/browser/blake3_js.js new file mode 100644 index 0000000..da7aaed --- /dev/null +++ b/node_modules/blake3-wasm/dist/wasm/browser/blake3_js.js @@ -0,0 +1,2 @@ +import * as wasm from "./blake3_js_bg.wasm"; +export * from "./blake3_js_bg.js";
\ No newline at end of file diff --git a/node_modules/blake3-wasm/dist/wasm/browser/blake3_js_bg.wasm b/node_modules/blake3-wasm/dist/wasm/browser/blake3_js_bg.wasm Binary files differnew file mode 100644 index 0000000..a26488d --- /dev/null +++ b/node_modules/blake3-wasm/dist/wasm/browser/blake3_js_bg.wasm diff --git a/node_modules/blake3-wasm/dist/wasm/browser/package.json b/node_modules/blake3-wasm/dist/wasm/browser/package.json new file mode 100644 index 0000000..509802f --- /dev/null +++ b/node_modules/blake3-wasm/dist/wasm/browser/package.json @@ -0,0 +1,12 @@ +{ + "name": "blake3-js", + "version": "0.1.0", + "files": [ + "blake3_js_bg.wasm", + "blake3_js.js", + "blake3_js.d.ts" + ], + "module": "blake3_js.js", + "types": "blake3_js.d.ts", + "sideEffects": false +}
\ No newline at end of file |
