mirror of
https://github.com/UneBaguette/blake3.wasm.git
synced 2026-08-07 00:00:16 +02:00
feat: add webpack export condition and init type declaration
bump to 0.6.5
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4
|
||||||
with:
|
with:
|
||||||
node-version: '24.15.0'
|
node-version: '24.16.0'
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
|
||||||
- name: Install wasm-pack
|
- name: Install wasm-pack
|
||||||
|
|||||||
Generated
+1
-1
@@ -57,7 +57,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "blake3-wasm-rs"
|
name = "blake3-wasm-rs"
|
||||||
version = "0.6.3"
|
version = "0.6.5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"blake3",
|
"blake3",
|
||||||
"hex",
|
"hex",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "blake3-wasm-rs"
|
name = "blake3-wasm-rs"
|
||||||
version = "0.6.3"
|
version = "0.6.5"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
authors = ["Thomas <[email protected]>"]
|
authors = ["Thomas <[email protected]>"]
|
||||||
|
|||||||
@@ -52,7 +52,8 @@ build-all:
|
|||||||
exports: { '.': {\
|
exports: { '.': {\
|
||||||
types: './index.d.ts',\
|
types: './index.d.ts',\
|
||||||
node: { require: './node/$(CRATE).js', import: './node-esm/index.mjs' },\
|
node: { require: './node/$(CRATE).js', import: './node-esm/index.mjs' },\
|
||||||
import: './bundler/$(CRATE).js',\
|
webpack: './bundler/$(CRATE).js',\
|
||||||
|
import: './web/$(CRATE).js',\
|
||||||
default: './web/$(CRATE).js'\
|
default: './web/$(CRATE).js'\
|
||||||
}},\
|
}},\
|
||||||
files: ['bundler/', 'web/', 'node/', 'node-esm/', 'index.js', 'index.d.ts', '$(CRATE)_bg.wasm', '$(CRATE)_bg.js', 'README.md', 'LICENSE'],\
|
files: ['bundler/', 'web/', 'node/', 'node-esm/', 'index.js', 'index.d.ts', '$(CRATE)_bg.wasm', '$(CRATE)_bg.js', 'README.md', 'LICENSE'],\
|
||||||
|
|||||||
Vendored
+4
-1
@@ -1,4 +1,7 @@
|
|||||||
// SPDX-License-Identifier: MIT OR Apache-2.0
|
// SPDX-License-Identifier: MIT OR Apache-2.0
|
||||||
// Copyright 2026 Thomas <[email protected]>
|
// Copyright 2026 Thomas <[email protected]>
|
||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
export { Hasher, deriveKey, hash, hashXof, keyedHash } from './bundler/blake3_wasm_rs';
|
export { Hasher, deriveKey, hash, hashXof, keyedHash } from './bundler/blake3_wasm_rs';
|
||||||
|
|
||||||
|
export type * from './web/blake3_wasm_rs.d.ts';
|
||||||
|
export type { default } from './web/blake3_wasm_rs.d.ts';
|
||||||
Reference in New Issue
Block a user