Skip to content

Commit

Permalink
chore: Bump wnfs-wasm and wnfs to version 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus23 committed Mar 8, 2024
1 parent 0dd6d17 commit b7bbebb
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 4 deletions.
4 changes: 4 additions & 0 deletions wnfs-wasm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.2.2 (2023-03-08)

* Allow overwriting `putBlock` in the `BlockStore` interface ([#409](https://github.com/wnfs-wg/rs-wnfs/pull/409))

## 0.2.1 (2023-02-28)

* Added `getSize` method to `PublicFile` and `PrivateFile`
Expand Down
4 changes: 2 additions & 2 deletions wnfs-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wnfs-wasm"
version = "0.2.1"
version = "0.2.2"
description = "WebNative Filesystem API (WebAssembly)"
keywords = ["wnfs", "wasm", "webnative", "ipfs", "decentralisation"]
categories = [
Expand Down Expand Up @@ -30,7 +30,7 @@ rand_core = "0.6"
wasm-bindgen = { version = "0.2.87", optional = true, features = ["serde-serialize"] }
wasm-bindgen-futures = { version = "0.4", optional = true }
web-sys = { version = "0.3", optional = true }
wnfs = { path = "../wnfs", version = "=0.2.1" }
wnfs = { path = "../wnfs", version = "=0.2.2" }
wnfs-nameaccumulator = { path = "../wnfs-nameaccumulator", version = "=0.2.0" }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion wnfs-wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"The Fission Authors"
],
"description": "WebNative Filesystem API (WebAssembly)",
"version": "0.2.1",
"version": "0.2.2",
"license": "Apache-2.0",
"homepage": "https://fission.codes",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions wnfs-wasm/src/fs/blockstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface BlockStore {
putBlockKeyed(cid: Uint8Array, bytes: Uint8Array): Promise<void>;
getBlock(cid: Uint8Array): Promise<Uint8Array | undefined>;
hasBlock(cid: Uint8Array): Promise<boolean>;
putBlock?(bytes: Uint8Array, codec: number): Promise<Uint8Array>;
}
"#;

Expand Down
4 changes: 4 additions & 0 deletions wnfs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.2.2 (2023-03-08)

* Remove leftover println debugging ([#406](https://github.com/wnfs-wg/rs-wnfs/pull/406))

## 0.2.1 (2023-02-28)

* Added `PublicFile::size` and `PrivateFile::size` functions
Expand Down
2 changes: 1 addition & 1 deletion wnfs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wnfs"
version = "0.2.1"
version = "0.2.2"
description = "WebNative filesystem core implementation"
keywords = ["wnfs", "webnative", "ipfs", "decentralisation"]
categories = [
Expand Down

0 comments on commit b7bbebb

Please sign in to comment.