From 7cd81422924c8544c85b5bf0caebc9cd2ce7a259 Mon Sep 17 00:00:00 2001 From: Jost Schulte Date: Wed, 9 Oct 2024 20:02:48 -0600 Subject: [PATCH] build: update deps to holochain 0.5.0-dev.0 (#277) --- CHANGELOG.md | 2 +- Cargo.lock | 76 +++++++++++++++++++++--------------------- Cargo.toml | 2 +- README.md | 4 +-- flake.lock | 16 ++++----- flake.nix | 2 +- package-lock.json | 10 +++--- package.json | 2 +- src/api/admin/types.ts | 2 +- 9 files changed, 58 insertions(+), 58 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c081c4e..86a75076 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Added ### Changed -- Update to Holochain 0.4.0-rc.0 +- Update to Holochain 0.5.0-dev.0 ### Fixed ### Removed diff --git a/Cargo.lock b/Cargo.lock index ea5e6a32..d477d31a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -470,9 +470,9 @@ checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" [[package]] name = "hdi" -version = "0.5.0-rc.0" +version = "0.6.0-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60c3e7a067ee10f42db15bee27fb44482f93a43ff2b131fee31ac4fd8f49ccc2" +checksum = "6c8af78e9b24538f22e7b10e9bd933d0ea3f77618a77b1011333aac6947b26b3" dependencies = [ "getrandom", "hdk_derive", @@ -488,9 +488,9 @@ dependencies = [ [[package]] name = "hdk" -version = "0.4.0-rc.0" +version = "0.5.0-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5d9305ed14e2dba02088e89a65d44294a701e35f715c9cd8692b70299666e86" +checksum = "173945f0aa24fb566921a6b36c9c148217f35e00dd185c98f793e9b1580104d1" dependencies = [ "getrandom", "hdi", @@ -508,9 +508,9 @@ dependencies = [ [[package]] name = "hdk_derive" -version = "0.4.0-rc.0" +version = "0.5.0-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4103bbeaec462f7f0643a418823dad035ed8e108d6d36322d6544f7565b5dbf5" +checksum = "6b0f3a32de97f3729ef6d1e47a9f8d589b46820dcdd356581c39fb44820ace1c" dependencies = [ "darling 0.14.4", "heck", @@ -536,9 +536,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "holo_hash" -version = "0.4.0-rc.0" +version = "0.5.0-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "190c060ed23f60135e8ba0ff08c77a7ca283af35cc4aadf321433bfade7bcf5b" +checksum = "e5dc048798bbb36c18131b96200a8fc506f11516c9ba3db2b9f1ad0cca3d6ea4" dependencies = [ "base64", "blake2b_simd", @@ -554,9 +554,9 @@ dependencies = [ [[package]] name = "holochain_integrity_types" -version = "0.4.0-rc.0" +version = "0.5.0-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55fd6b8aa759be57a51c6af632d81e50e3200ac10d38dd35e094c1ed957591b9" +checksum = "fd1a86905cce3b389c6d3424aae96045f62d72cf03ef863603176c883ff2e675" dependencies = [ "holo_hash", "holochain_secure_primitive", @@ -571,9 +571,9 @@ dependencies = [ [[package]] name = "holochain_nonce" -version = "0.4.0-rc.0" +version = "0.5.0-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1e9d716254b6d1eba405b5fc0f09dc8d4260482fa06dbe98a4c610b38fd83de" +checksum = "8ddfd5d439236f7851cafbb50675cc21b4e5bacc97b0940e0afbeb06ffd88e92" dependencies = [ "getrandom", "holochain_secure_primitive", @@ -582,9 +582,9 @@ dependencies = [ [[package]] name = "holochain_secure_primitive" -version = "0.4.0-rc.0" +version = "0.5.0-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3160015099d36ece72a40d78fe08033837dd5c8ea9cb23f01782986238a66480" +checksum = "82afd5d62bfd82248770c4e8a81af26a3f5f95950b87273e5e0e36c98140bc33" dependencies = [ "paste", "serde", @@ -618,9 +618,9 @@ dependencies = [ [[package]] name = "holochain_util" -version = "0.4.0-rc.0" +version = "0.5.0-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b36a8bd9f79cbe6de5fded86b9074c54081a97367660c466d25f5ac6841dc1" +checksum = "915b4b3ecd06e1770fe32d122a1f98dee059be8c5e5a30a97f09d04c35c89298" dependencies = [ "cfg-if", "colored", @@ -658,9 +658,9 @@ dependencies = [ [[package]] name = "holochain_zome_types" -version = "0.4.0-rc.0" +version = "0.5.0-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "073de2496e0f7d5ed28d2fe20b366a9d0d81c85bc420936de4a4ca4bcfd772a7" +checksum = "7be88023b8fc223869aa14387f27c41e6846dbf7f659a42a1607a804b3cb8bfc" dependencies = [ "derive_more", "holo_hash", @@ -755,18 +755,18 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "js-sys" -version = "0.3.70" +version = "0.3.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" +checksum = "0cb94a0ffd3f3ee755c20f7d8752f45cac88605a4dcf808abcff72873296ec7b" dependencies = [ "wasm-bindgen", ] [[package]] name = "kitsune_p2p_bin_data" -version = "0.4.0-rc.0" +version = "0.5.0-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdb7c39b8e0c7c2f37457ab7005903bda9c30d4d2f45d84c61776dc025863559" +checksum = "a5b4a76c0998aaa559a3018961e26421a660622a1826d26ac8890f99b4f50195" dependencies = [ "base64", "derive_more", @@ -779,9 +779,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_block" -version = "0.4.0-rc.0" +version = "0.5.0-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d331df99fe02990b7ae8c3767ea9437519a158e353905dea49a022f3511bee8" +checksum = "727bb87a87bfe40cb1b10bc0bfc470bf973792f6778542f3e6b88020489a2db2" dependencies = [ "kitsune_p2p_bin_data", "kitsune_p2p_timestamp", @@ -790,9 +790,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_dht_arc" -version = "0.4.0-rc.0" +version = "0.5.0-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a821f0daf7ac92fc4bcd59e4b121387756ca8a68fcfe87b7efeac863b5483ab" +checksum = "37e78ac45360e0652ab126402ce86f48daeda46cda3bd6b85355c2767f7752e0" dependencies = [ "derive_more", "gcollections", @@ -803,9 +803,9 @@ dependencies = [ [[package]] name = "kitsune_p2p_timestamp" -version = "0.4.0-rc.0" +version = "0.5.0-dev.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca09ee47fe55fd72e12b2af9fd91bce5e6e0db04ecaa156ca75dd901a019af80" +checksum = "528c144c80b366cf2dd2a8eee0d2f993bee281a1f51fa47a01b59c7ad92861a6" dependencies = [ "chrono", "serde", @@ -1309,9 +1309,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.93" +version = "0.2.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" +checksum = "ef073ced962d62984fb38a36e5fdc1a2b23c9e0e1fa0689bb97afa4202ef6887" dependencies = [ "cfg-if", "once_cell", @@ -1320,9 +1320,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.93" +version = "0.2.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" +checksum = "c4bfab14ef75323f4eb75fa52ee0a3fb59611977fd3240da19b2cf36ff85030e" dependencies = [ "bumpalo", "log", @@ -1335,9 +1335,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.93" +version = "0.2.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" +checksum = "a7bec9830f60924d9ceb3ef99d55c155be8afa76954edffbb5936ff4509474e7" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -1345,9 +1345,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.93" +version = "0.2.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" +checksum = "4c74f6e152a76a2ad448e223b0fc0b6b5747649c3d769cc6bf45737bf97d0ed6" dependencies = [ "proc-macro2", "quote", @@ -1358,9 +1358,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.93" +version = "0.2.94" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" +checksum = "a42f6c679374623f295a8623adfe63d9284091245c3504bde47c17a3ce2777d9" [[package]] name = "windows-core" diff --git a/Cargo.toml b/Cargo.toml index 1fd0730c..b0f7472a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,4 +7,4 @@ resolver = "2" opt-level = "z" [workspace.dependencies] -hdk = "0.4.0-rc.0" +hdk = "0.5.0-dev.0" diff --git a/README.md b/README.md index 90153eb4..e7b7e318 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,12 @@ A JavaScript client for the Holochain Conductor API (works with browsers as well ## Installation +**JS client v0.19.x** is compatible with **Holochain v0.5.x**. + **JS client v0.18.x** is compatible with **Holochain v0.4.x**. **JS client v0.17.x** is compatible with **Holochain v0.3.x**. -**JS client v0.16.x** is compatible with **Holochain v0.2.x**. - To install from NPM, run ```bash npm install --save-exact @holochain/client diff --git a/flake.lock b/flake.lock index bed30db6..e9680b09 100644 --- a/flake.lock +++ b/flake.lock @@ -70,16 +70,16 @@ "holochain": { "flake": false, "locked": { - "lastModified": 1728079169, - "narHash": "sha256-sbQiTsh5dhI8ioQIfYkdNsCQCCT+vef+RhXumvYiVQQ=", + "lastModified": 1728435929, + "narHash": "sha256-KhZVfzRfJiXswukigC7mteF43WdTlcJR9k8x3yeRbyk=", "owner": "holochain", "repo": "holochain", - "rev": "d2868417b921850206247595f0e00d6eaf1b84f2", + "rev": "f4c1eea0832aae1beb3fb02be92cb28dc639f4bf", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.4.0-rc.0", + "ref": "holochain-0.5.0-dev.0", "repo": "holochain", "type": "github" } @@ -96,16 +96,16 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1728325228, - "narHash": "sha256-On5Kto/s/mEqHm1QfJ1+5FSwkQw4E7ArHVj2ImO58t0=", + "lastModified": 1728501093, + "narHash": "sha256-V1So3W9hPdaEkQ2fHmrDv4JVtwY4gJ4kYWNmjfCHcX4=", "owner": "holochain", "repo": "holonix", - "rev": "6df6c63e5c06720289a7e7376deec94b620af470", + "rev": "6a9de675dfe4f04b6296955f0c4f841c6a8dc72c", "type": "github" }, "original": { "owner": "holochain", - "ref": "main-0.4", + "ref": "main", "repo": "holonix", "type": "github" } diff --git a/flake.nix b/flake.nix index e88f6bc3..be5d3c3d 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "Nix shell for Holochain app development"; inputs = { - holonix.url = "github:holochain/holonix?ref=main-0.4"; + holonix.url = "github:holochain/holonix?ref=main"; nixpkgs.follows = "holonix/nixpkgs"; }; diff --git a/package-lock.json b/package-lock.json index 4e6a2370..2090ab41 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@holochain/client", - "version": "0.18.0-rc.0", + "version": "0.19.0-dev.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@holochain/client", - "version": "0.18.0-rc.0", + "version": "0.19.0-dev.0", "license": "CAL-1.0", "dependencies": { "@bitgo/blake2b": "^3.2.4", @@ -939,9 +939,9 @@ } }, "node_modules/@types/node": { - "version": "22.7.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", - "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index d7bfa90d..5fcae73c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@holochain/client", - "version": "0.18.0-rc.0", + "version": "0.19.0-dev.0", "description": "A JavaScript client for the Holochain Conductor API", "author": "Holochain Foundation (https://holochain.org)", "license": "CAL-1.0", diff --git a/src/api/admin/types.ts b/src/api/admin/types.ts index 42bf4c05..e51c3961 100644 --- a/src/api/admin/types.ts +++ b/src/api/admin/types.ts @@ -220,7 +220,7 @@ export type RevokeAgentKeyRequest = { * * @public */ -export type RevokeAgentKeyResponse = Array<[CellId, string]>; +export type RevokeAgentKeyResponse = [CellId, string][]; /** * @public