From 18dead21b7aacc68802a277bbd82918a4b57bab6 Mon Sep 17 00:00:00 2001 From: "guillem.cordoba" Date: Tue, 28 May 2024 17:23:54 +0200 Subject: [PATCH] Updated to 0.3.1-rc --- .github/workflows/build-and-cache.yaml | 18 +- Cargo.toml | 6 +- flake.lock | 342 ++++++++++++----------- package.json | 2 +- pnpm-lock.yaml | 118 ++++---- tests/package.json | 6 +- ui/custom-elements.json | 14 +- ui/package.json | 10 +- ui/src/elements/my-notifications-list.ts | 12 +- zomes/coordinator/notifications/zome.nix | 72 +++-- 10 files changed, 304 insertions(+), 296 deletions(-) diff --git a/.github/workflows/build-and-cache.yaml b/.github/workflows/build-and-cache.yaml index a6fc9162..85be50d4 100644 --- a/.github/workflows/build-and-cache.yaml +++ b/.github/workflows/build-and-cache.yaml @@ -34,18 +34,18 @@ jobs: env: CACHIX_AUTH_TOKEN: "${{ secrets.DARKSOIL_CACHIX_AUTH_TOKEN }}" run: | - nix build -L .#notifications_integrity.meta.debug - cachix push darksoil-studio $(nix path-info .#notifications_integrity.meta.debug) - cachix pin darksoil-studio notifications_integrity_debug $(nix path-info .#notifications_integrity.meta.debug) - nix build -L .#notifications_integrity cachix push darksoil-studio $(nix path-info .#notifications_integrity) - cachix pin darksoil-studio notifications_integrity $(nix path-info .#notifications_integrity) + cachix pin darksoil-studio notifications_integrity_debug $(nix path-info .#notifications_integrity) - nix build -L .#notifications.meta.debug - cachix push darksoil-studio $(nix path-info .#notifications.meta.debug) - cachix pin darksoil-studio notifications_debug $(nix path-info .#notifications.meta.debug) + nix build -L .#notifications_integrity.meta.release + cachix push darksoil-studio $(nix path-info .#notifications_integrity.meta.release) + cachix pin darksoil-studio notifications_integrity $(nix path-info .#notifications_integrity.meta.release) nix build -L .#notifications cachix push darksoil-studio $(nix path-info .#notifications) - cachix pin darksoil-studio notifications$(nix path-info .#notifications) + cachix pin darksoil-studio notifications_debug $(nix path-info .#notifications) + + nix build -L .#notifications.meta.release + cachix push darksoil-studio $(nix path-info .#notifications.meta.release) + cachix pin darksoil-studio notifications$(nix path-info .#notifications.meta.release) diff --git a/Cargo.toml b/Cargo.toml index 1df22c0f..88987398 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,10 +9,10 @@ members = ["zomes/coordinator/*", "zomes/integrity/*"] resolver = "2" [workspace.dependencies] -holochain = { version = "0.3.0-beta-dev.48", default-features = false, features = [ +holochain = { version = "0.3.0-rc", default-features = false, features = [ "test_utils", ] } -hdi = "0.4.0-beta-dev.36" -hdk = "0.3.0-beta-dev.41" +hdi = "0.4.1-rc" +hdk = "0.3.1-rc" serde = "1.0.193" diff --git a/flake.lock b/flake.lock index b2009aa8..97906c36 100644 --- a/flake.lock +++ b/flake.lock @@ -209,16 +209,17 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1714864355, - "narHash": "sha256-uXNW6bapWFfkYIkK1EagydSrFMqycOYEDSq75GmUpjk=", + "lastModified": 1716569590, + "narHash": "sha256-5eDbq8TuXFGGO3mqJFzhUbt5zHVTf5zilQoyW5jnJwo=", "owner": "ipetkov", "repo": "crane", - "rev": "442a7a6152f49b907e73206dc8e1f46a61e8e873", + "rev": "109987da061a1bf452f435f1653c47511587d919", "type": "github" }, "original": { "owner": "ipetkov", "repo": "crane", + "rev": "109987da061a1bf452f435f1653c47511587d919", "type": "github" } }, @@ -270,16 +271,17 @@ "nixpkgs": "nixpkgs_4" }, "locked": { - "lastModified": 1713979152, - "narHash": "sha256-apdecPuh8SOQnkEET/kW/UcfjCRb8JbV5BKjoH+DcP4=", + "lastModified": 1716569590, + "narHash": "sha256-5eDbq8TuXFGGO3mqJFzhUbt5zHVTf5zilQoyW5jnJwo=", "owner": "ipetkov", "repo": "crane", - "rev": "a5eca68a2cf11adb32787fc141cddd29ac8eb79c", + "rev": "109987da061a1bf452f435f1653c47511587d919", "type": "github" }, "original": { "owner": "ipetkov", "repo": "crane", + "rev": "109987da061a1bf452f435f1653c47511587d919", "type": "github" } }, @@ -920,11 +922,11 @@ "versions": "versions" }, "locked": { - "lastModified": 1715079199, - "narHash": "sha256-x4SQ5u6KumRhIaNAkigBYWgvHTR9sPYKsi68iebFisU=", + "lastModified": 1716907622, + "narHash": "sha256-9h7ntomzsED4XMCT+7TvX4sr1KFbYhbqOUg8F92jrog=", "owner": "holochain-open-dev", "repo": "infrastructure", - "rev": "2ddc14df21e42cb3cb9a5d832eb0f13fa0267fc2", + "rev": "72f80eab19851900fff323d24e24395464ad7aaa", "type": "github" }, "original": { @@ -947,11 +949,11 @@ "versions": "versions_2" }, "locked": { - "lastModified": 1714396487, - "narHash": "sha256-NhtToT3aNno1YXjczEIxVvGc9cXfB1amtYDchUnWL6Y=", + "lastModified": 1716906440, + "narHash": "sha256-qVLklcgsUISguOlMRsfvZXHV5htrtvfPfZ1CUTZxK2U=", "owner": "holochain-open-dev", "repo": "infrastructure", - "rev": "6c0acb8a777719a49458126023e324c319ebc119", + "rev": "b9d094cfe5ff4be49f9a24fafd55b2e47267739f", "type": "github" }, "original": { @@ -1000,11 +1002,11 @@ ] }, "locked": { - "lastModified": 1714997624, - "narHash": "sha256-eCM6JEukjMdjFwjBm/FEKRUvBZIzGYE0gP71EWHs4lE=", + "lastModified": 1716791521, + "narHash": "sha256-r61xvor+5x0jgsIS7etgx+1qnyhQxbiVAr10ag9apjo=", "owner": "holochain", "repo": "holochain", - "rev": "993e875c10204870644a73125d63fb13b1f1070b", + "rev": "c0069133a4ac088a28ba228f8cab6722fb32a00d", "type": "github" }, "original": { @@ -1058,11 +1060,11 @@ ] }, "locked": { - "lastModified": 1714139924, - "narHash": "sha256-FiiDtPapNS57zxFvzQC1RFXTgVratKP6/lLE5VrEGhc=", + "lastModified": 1716456243, + "narHash": "sha256-VFL7wHUD1S6wYtnTzDH7LLskEH1WWKWVdkVL7Azll4g=", "owner": "holochain", "repo": "holochain", - "rev": "0275e13d832a210b856f6374218c484bade651f6", + "rev": "0ba81254837d0f2ea7ddf4185e8eba547c0eb8a6", "type": "github" }, "original": { @@ -1074,16 +1076,16 @@ "holochain_11": { "flake": false, "locked": { - "lastModified": 1713315590, - "narHash": "sha256-hWeNAq+F1rAoYulPFqpQOo0cjeMZVvKXLohnP0MOc9Y=", + "lastModified": 1715735100, + "narHash": "sha256-l0X+rEQqKUnCgXajbN1Sob9uyPXvU6/zieiwu/fcgdQ=", "owner": "holochain", "repo": "holochain", - "rev": "d8715775f359211b7031f4bdca1cc89db679ed10", + "rev": "75da69b6cd08b23abefbfaec7c80de6ff762cbf8", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.3.0-beta-dev.46", + "ref": "holochain-0.4.0-dev.3", "repo": "holochain", "type": "github" } @@ -1091,16 +1093,16 @@ "holochain_12": { "flake": false, "locked": { - "lastModified": 1714046698, - "narHash": "sha256-vGOWRJXR64qXRe4MCg13xNyww904KPFvYZIQyRhuPsU=", + "lastModified": 1715896367, + "narHash": "sha256-jRxb8HsXUV7Fba3hMCL+TycbvF7v+JT53eIryZPu878=", "owner": "holochain", "repo": "holochain", - "rev": "b48562aa081b1dd177ec43035650262fbdb40d0e", + "rev": "9f293072c41bd053e9cd88f746a456ee1dee1990", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.3.0-beta-dev.48", + "ref": "holochain-0.3.1-rc.0", "repo": "holochain", "type": "github" } @@ -1108,16 +1110,16 @@ "holochain_2": { "flake": false, "locked": { - "lastModified": 1714046698, - "narHash": "sha256-vGOWRJXR64qXRe4MCg13xNyww904KPFvYZIQyRhuPsU=", + "lastModified": 1715896367, + "narHash": "sha256-jRxb8HsXUV7Fba3hMCL+TycbvF7v+JT53eIryZPu878=", "owner": "holochain", "repo": "holochain", - "rev": "b48562aa081b1dd177ec43035650262fbdb40d0e", + "rev": "9f293072c41bd053e9cd88f746a456ee1dee1990", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.3.0-beta-dev.48", + "ref": "holochain-0.3.1-rc.0", "repo": "holochain", "type": "github" } @@ -1157,11 +1159,11 @@ ] }, "locked": { - "lastModified": 1715075584, - "narHash": "sha256-AZbckXdtu526rjCP+CNhLBmPFs2tKVwfvhvmKBDuH4c=", + "lastModified": 1716899478, + "narHash": "sha256-jE6KyiPhlyxKAW5OluBbzGInPbvDQhHYC5OpalcEMvQ=", "owner": "holochain", "repo": "holochain", - "rev": "de729662e1d0812ef008bf56fde2c0cfcc3c5232", + "rev": "89d064c9d85d1ea87daf7cb0036428722ec6adff", "type": "github" }, "original": { @@ -1215,11 +1217,11 @@ ] }, "locked": { - "lastModified": 1714389570, - "narHash": "sha256-qnbAGp3hu1IlegoHtstS6UObUFR7SZQOnxyeZcCStXs=", + "lastModified": 1716791521, + "narHash": "sha256-r61xvor+5x0jgsIS7etgx+1qnyhQxbiVAr10ag9apjo=", "owner": "holochain", "repo": "holochain", - "rev": "b2c2de05036d4705cc29f639cabe33accb814039", + "rev": "c0069133a4ac088a28ba228f8cab6722fb32a00d", "type": "github" }, "original": { @@ -1231,16 +1233,16 @@ "holochain_5": { "flake": false, "locked": { - "lastModified": 1714046698, - "narHash": "sha256-vGOWRJXR64qXRe4MCg13xNyww904KPFvYZIQyRhuPsU=", + "lastModified": 1715896367, + "narHash": "sha256-jRxb8HsXUV7Fba3hMCL+TycbvF7v+JT53eIryZPu878=", "owner": "holochain", "repo": "holochain", - "rev": "b48562aa081b1dd177ec43035650262fbdb40d0e", + "rev": "9f293072c41bd053e9cd88f746a456ee1dee1990", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.3.0-beta-dev.48", + "ref": "holochain-0.3.1-rc.0", "repo": "holochain", "type": "github" } @@ -1285,11 +1287,11 @@ ] }, "locked": { - "lastModified": 1714408217, - "narHash": "sha256-lc93HR/e9Eth+KdQk0NCBeneK25AtQrUB4XB0/HoBNQ=", + "lastModified": 1716899478, + "narHash": "sha256-jE6KyiPhlyxKAW5OluBbzGInPbvDQhHYC5OpalcEMvQ=", "owner": "holochain", "repo": "holochain", - "rev": "8a2c00958dabd1fb0a9dd109c67341f3526c1479", + "rev": "89d064c9d85d1ea87daf7cb0036428722ec6adff", "type": "github" }, "original": { @@ -1301,16 +1303,16 @@ "holochain_7": { "flake": false, "locked": { - "lastModified": 1714046698, - "narHash": "sha256-vGOWRJXR64qXRe4MCg13xNyww904KPFvYZIQyRhuPsU=", + "lastModified": 1715896367, + "narHash": "sha256-jRxb8HsXUV7Fba3hMCL+TycbvF7v+JT53eIryZPu878=", "owner": "holochain", "repo": "holochain", - "rev": "b48562aa081b1dd177ec43035650262fbdb40d0e", + "rev": "9f293072c41bd053e9cd88f746a456ee1dee1990", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.3.0-beta-dev.48", + "ref": "holochain-0.3.1-rc.0", "repo": "holochain", "type": "github" } @@ -1352,11 +1354,11 @@ "versions": "versions_4" }, "locked": { - "lastModified": 1714631474, - "narHash": "sha256-kkv8/cW469QUduP1jCWvsz9gaFyQHuAklWRGFczpLt4=", + "lastModified": 1716791521, + "narHash": "sha256-r61xvor+5x0jgsIS7etgx+1qnyhQxbiVAr10ag9apjo=", "owner": "holochain", "repo": "holochain", - "rev": "2f493b76b3d37bebd27f93f6a5375f6390446dae", + "rev": "c0069133a4ac088a28ba228f8cab6722fb32a00d", "type": "github" }, "original": { @@ -1368,16 +1370,16 @@ "holochain_9": { "flake": false, "locked": { - "lastModified": 1714046698, - "narHash": "sha256-vGOWRJXR64qXRe4MCg13xNyww904KPFvYZIQyRhuPsU=", + "lastModified": 1715896367, + "narHash": "sha256-jRxb8HsXUV7Fba3hMCL+TycbvF7v+JT53eIryZPu878=", "owner": "holochain", "repo": "holochain", - "rev": "b48562aa081b1dd177ec43035650262fbdb40d0e", + "rev": "9f293072c41bd053e9cd88f746a456ee1dee1990", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.3.0-beta-dev.48", + "ref": "holochain-0.3.1-rc.0", "repo": "holochain", "type": "github" } @@ -1487,11 +1489,11 @@ "launcher": { "flake": false, "locked": { - "lastModified": 1714396970, - "narHash": "sha256-I/Vpxtg8cwhrrD5JugEgE4Qk8fZR6VewGm5FX69vbm0=", + "lastModified": 1716406557, + "narHash": "sha256-6eWndYspznXKYIJcuPCWFZ3lxdh7TrlEUGP1zaE5Mgs=", "owner": "holochain", "repo": "launcher", - "rev": "b96d5aa790bf0da0a8f0c44741276f7f9c4b6b41", + "rev": "f20844aa5041432547c55176d71e67b32e302f77", "type": "github" }, "original": { @@ -1504,16 +1506,16 @@ "launcher_2": { "flake": false, "locked": { - "lastModified": 1714385528, - "narHash": "sha256-3ZGDC9zx/bqOgYOdImq6yWfZsbxx+B8yzzD8zsztG1U=", + "lastModified": 1716406557, + "narHash": "sha256-6eWndYspznXKYIJcuPCWFZ3lxdh7TrlEUGP1zaE5Mgs=", "owner": "holochain", "repo": "launcher", - "rev": "afe234041e27c1d8486bfaa4af270a033e9a1c9f", + "rev": "f20844aa5041432547c55176d71e67b32e302f77", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-weekly", + "ref": "holochain-0.3", "repo": "launcher", "type": "github" } @@ -1521,16 +1523,16 @@ "launcher_3": { "flake": false, "locked": { - "lastModified": 1714385528, - "narHash": "sha256-3ZGDC9zx/bqOgYOdImq6yWfZsbxx+B8yzzD8zsztG1U=", + "lastModified": 1716406557, + "narHash": "sha256-6eWndYspznXKYIJcuPCWFZ3lxdh7TrlEUGP1zaE5Mgs=", "owner": "holochain", "repo": "launcher", - "rev": "afe234041e27c1d8486bfaa4af270a033e9a1c9f", + "rev": "f20844aa5041432547c55176d71e67b32e302f77", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-weekly", + "ref": "holochain-0.3", "repo": "launcher", "type": "github" } @@ -1538,11 +1540,11 @@ "launcher_4": { "flake": false, "locked": { - "lastModified": 1714396970, - "narHash": "sha256-I/Vpxtg8cwhrrD5JugEgE4Qk8fZR6VewGm5FX69vbm0=", + "lastModified": 1716406557, + "narHash": "sha256-6eWndYspznXKYIJcuPCWFZ3lxdh7TrlEUGP1zaE5Mgs=", "owner": "holochain", "repo": "launcher", - "rev": "b96d5aa790bf0da0a8f0c44741276f7f9c4b6b41", + "rev": "f20844aa5041432547c55176d71e67b32e302f77", "type": "github" }, "original": { @@ -1555,11 +1557,11 @@ "launcher_5": { "flake": false, "locked": { - "lastModified": 1713340250, - "narHash": "sha256-J8dcl4TiUB93/08oO2Bh0qG6Qi+udbm6JrmPB92NZyU=", + "lastModified": 1715106263, + "narHash": "sha256-a7iQ8pKGz6fghJrtXq0Xamp57GE8Hd3w5YQASzz5Wlk=", "owner": "holochain", "repo": "launcher", - "rev": "f7b7aabd3c3ef16edd391b0b94c4223a2de98d5b", + "rev": "92bd39e1c66912d61c35c4725d7b106959888670", "type": "github" }, "original": { @@ -1572,11 +1574,11 @@ "launcher_6": { "flake": false, "locked": { - "lastModified": 1714396970, - "narHash": "sha256-I/Vpxtg8cwhrrD5JugEgE4Qk8fZR6VewGm5FX69vbm0=", + "lastModified": 1716406557, + "narHash": "sha256-6eWndYspznXKYIJcuPCWFZ3lxdh7TrlEUGP1zaE5Mgs=", "owner": "holochain", "repo": "launcher", - "rev": "b96d5aa790bf0da0a8f0c44741276f7f9c4b6b41", + "rev": "f20844aa5041432547c55176d71e67b32e302f77", "type": "github" }, "original": { @@ -1802,11 +1804,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1714906307, - "narHash": "sha256-UlRZtrCnhPFSJlDQE7M0eyhgvuuHBTe1eJ9N9AQlJQ0=", + "lastModified": 1716293225, + "narHash": "sha256-pU9ViBVE3XYb70xZx+jK6SEVphvt7xMTbm6yDIF4xPs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "25865a40d14b3f9cf19f19b924e2ab4069b09588", + "rev": "3eaeaeb6b1e08a016380c279f8846e0bd8808916", "type": "github" }, "original": { @@ -1817,11 +1819,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1714906307, - "narHash": "sha256-UlRZtrCnhPFSJlDQE7M0eyhgvuuHBTe1eJ9N9AQlJQ0=", + "lastModified": 1716293225, + "narHash": "sha256-pU9ViBVE3XYb70xZx+jK6SEVphvt7xMTbm6yDIF4xPs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "25865a40d14b3f9cf19f19b924e2ab4069b09588", + "rev": "3eaeaeb6b1e08a016380c279f8846e0bd8808916", "type": "github" }, "original": { @@ -1832,11 +1834,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1713349283, - "narHash": "sha256-2bjFu3+1zPWZPPGqF+7rumTvEwmdBHBhjPva/AMSruQ=", + "lastModified": 1714656196, + "narHash": "sha256-kjQkA98lMcsom6Gbhw8SYzmwrSo+2nruiTcTZp5jK7o=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2e359fb3162c85095409071d131e08252d91a14f", + "rev": "94035b482d181af0a0f8f77823a790b256b7c3cc", "type": "github" }, "original": { @@ -1848,11 +1850,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1714253743, - "narHash": "sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc=", + "lastModified": 1716293225, + "narHash": "sha256-pU9ViBVE3XYb70xZx+jK6SEVphvt7xMTbm6yDIF4xPs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "58a1abdbae3217ca6b702f03d3b35125d88a2994", + "rev": "3eaeaeb6b1e08a016380c279f8846e0bd8808916", "type": "github" }, "original": { @@ -1863,11 +1865,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1714253743, - "narHash": "sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc=", + "lastModified": 1716293225, + "narHash": "sha256-pU9ViBVE3XYb70xZx+jK6SEVphvt7xMTbm6yDIF4xPs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "58a1abdbae3217ca6b702f03d3b35125d88a2994", + "rev": "3eaeaeb6b1e08a016380c279f8846e0bd8808916", "type": "github" }, "original": { @@ -1878,11 +1880,11 @@ }, "nixpkgs_7": { "locked": { - "lastModified": 1714253743, - "narHash": "sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc=", + "lastModified": 1716293225, + "narHash": "sha256-pU9ViBVE3XYb70xZx+jK6SEVphvt7xMTbm6yDIF4xPs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "58a1abdbae3217ca6b702f03d3b35125d88a2994", + "rev": "3eaeaeb6b1e08a016380c279f8846e0bd8808916", "type": "github" }, "original": { @@ -1893,11 +1895,11 @@ }, "nixpkgs_8": { "locked": { - "lastModified": 1714076141, - "narHash": "sha256-Drmja/f5MRHZCskS6mvzFqxEaZMeciScCTFxWVLqWEY=", + "lastModified": 1716293225, + "narHash": "sha256-pU9ViBVE3XYb70xZx+jK6SEVphvt7xMTbm6yDIF4xPs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "7bb2ccd8cdc44c91edba16c48d2c8f331fb3d856", + "rev": "3eaeaeb6b1e08a016380c279f8846e0bd8808916", "type": "github" }, "original": { @@ -2014,11 +2016,11 @@ "versions": "versions_3" }, "locked": { - "lastModified": 1714492814, - "narHash": "sha256-CYhXO1Wnt4xcgTOYC3aBQc/FhjXSmt7oXRYOhjmNDYw=", + "lastModified": 1716907510, + "narHash": "sha256-ujvqMet8bnKmZS5y//XyyO5FvlzrWH9/YGRlGKFBAc4=", "owner": "holochain-open-dev", "repo": "profiles", - "rev": "81a42479e30778d273a985bd82b8715c40116a7d", + "rev": "f95cd9b627a308dcac016b47df960dbb24b741b8", "type": "github" }, "original": { @@ -2127,11 +2129,11 @@ ] }, "locked": { - "lastModified": 1714961776, - "narHash": "sha256-LiIxWRKbm1DZ+7l1a6FMmIO8leQx5yrRLIApCMai1DY=", + "lastModified": 1716776264, + "narHash": "sha256-fYzMk5o//g5Wt1g0FyOC8/XVllbGdVdzdylXxcanakU=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "f3b20ea4131408ea585bddb1f41f91c4de9499cf", + "rev": "8ef3f6a8f5af867ab5f75fc86fbd934a6351820b", "type": "github" }, "original": { @@ -2149,11 +2151,11 @@ ] }, "locked": { - "lastModified": 1714961776, - "narHash": "sha256-LiIxWRKbm1DZ+7l1a6FMmIO8leQx5yrRLIApCMai1DY=", + "lastModified": 1716862669, + "narHash": "sha256-7oTPM9lcdwiI1cpRC313B+lHawocgpY5F07N+Rbm5Uk=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "f3b20ea4131408ea585bddb1f41f91c4de9499cf", + "rev": "47b2d15658b37716393b2463a019000dbd6ce4bc", "type": "github" }, "original": { @@ -2171,11 +2173,11 @@ ] }, "locked": { - "lastModified": 1715048276, - "narHash": "sha256-SqWSTvCjNBBnV/WIQdaxVi5V9H3VJ7cOJAxPQdR1TBY=", + "lastModified": 1716776264, + "narHash": "sha256-fYzMk5o//g5Wt1g0FyOC8/XVllbGdVdzdylXxcanakU=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "b037d65c988421b54024e62691eace4f2fe623bc", + "rev": "8ef3f6a8f5af867ab5f75fc86fbd934a6351820b", "type": "github" }, "original": { @@ -2195,11 +2197,11 @@ ] }, "locked": { - "lastModified": 1714356894, - "narHash": "sha256-W6Mss7AG6bnFT1BqRApHXvLXBrFOu7V0+EUe9iML30s=", + "lastModified": 1716776264, + "narHash": "sha256-fYzMk5o//g5Wt1g0FyOC8/XVllbGdVdzdylXxcanakU=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "d9b44509b4064f0a3fc9c7c92a603861f52fbedc", + "rev": "8ef3f6a8f5af867ab5f75fc86fbd934a6351820b", "type": "github" }, "original": { @@ -2218,11 +2220,11 @@ ] }, "locked": { - "lastModified": 1714356894, - "narHash": "sha256-W6Mss7AG6bnFT1BqRApHXvLXBrFOu7V0+EUe9iML30s=", + "lastModified": 1716862669, + "narHash": "sha256-7oTPM9lcdwiI1cpRC313B+lHawocgpY5F07N+Rbm5Uk=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "d9b44509b4064f0a3fc9c7c92a603861f52fbedc", + "rev": "47b2d15658b37716393b2463a019000dbd6ce4bc", "type": "github" }, "original": { @@ -2241,11 +2243,11 @@ ] }, "locked": { - "lastModified": 1714356894, - "narHash": "sha256-W6Mss7AG6bnFT1BqRApHXvLXBrFOu7V0+EUe9iML30s=", + "lastModified": 1716776264, + "narHash": "sha256-fYzMk5o//g5Wt1g0FyOC8/XVllbGdVdzdylXxcanakU=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "d9b44509b4064f0a3fc9c7c92a603861f52fbedc", + "rev": "8ef3f6a8f5af867ab5f75fc86fbd934a6351820b", "type": "github" }, "original": { @@ -2264,11 +2266,11 @@ ] }, "locked": { - "lastModified": 1714616033, - "narHash": "sha256-JcWAjIDl3h0bE/pII0emeHwokTeBl+SWrzwrjoRu7a0=", + "lastModified": 1716776264, + "narHash": "sha256-fYzMk5o//g5Wt1g0FyOC8/XVllbGdVdzdylXxcanakU=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "3e416d5067ba31ff8ac31eeb763e4388bdf45089", + "rev": "8ef3f6a8f5af867ab5f75fc86fbd934a6351820b", "type": "github" }, "original": { @@ -2288,11 +2290,11 @@ ] }, "locked": { - "lastModified": 1714097613, - "narHash": "sha256-044xbpBszupqN3nl/CGOCJtTQ4O6Aca81mJpX45i8/I=", + "lastModified": 1716430594, + "narHash": "sha256-vdVzaGD5p+KG7XHepIeX5rUPmdzEcF2w6rhqfr0SNkI=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "2a42c742ab04b61d9b2f1edf392842cf9f27ebfd", + "rev": "ee0db3aeebafeaada2b98d076de6d314b4c8682e", "type": "github" }, "original": { @@ -2304,11 +2306,11 @@ "scaffolding": { "flake": false, "locked": { - "lastModified": 1714147981, - "narHash": "sha256-PIWouOg4W2jVFjsHexAqOCdnwy6gQgll7kWRHssiid0=", + "lastModified": 1716370784, + "narHash": "sha256-iCsenLqNBpKDfGGZuXbxH0BYjgrG5Me8dvzan7VIQ5Q=", "owner": "holochain", "repo": "scaffolding", - "rev": "6582621e73b5127ed863b13f5648d9a333542623", + "rev": "b4b1e0f8298551c44e99d3897eedd995b4b54314", "type": "github" }, "original": { @@ -2321,16 +2323,16 @@ "scaffolding_2": { "flake": false, "locked": { - "lastModified": 1713363855, - "narHash": "sha256-Y9KsDAjlZZab07NL7pI1izxLOYT4BWYTx1h9DilW8Fk=", + "lastModified": 1716370784, + "narHash": "sha256-iCsenLqNBpKDfGGZuXbxH0BYjgrG5Me8dvzan7VIQ5Q=", "owner": "holochain", "repo": "scaffolding", - "rev": "9ac485d52122b92bd2988a8fea1a8e4d9a18c3a1", + "rev": "b4b1e0f8298551c44e99d3897eedd995b4b54314", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-weekly", + "ref": "holochain-0.3", "repo": "scaffolding", "type": "github" } @@ -2338,16 +2340,16 @@ "scaffolding_3": { "flake": false, "locked": { - "lastModified": 1713363855, - "narHash": "sha256-Y9KsDAjlZZab07NL7pI1izxLOYT4BWYTx1h9DilW8Fk=", + "lastModified": 1716370784, + "narHash": "sha256-iCsenLqNBpKDfGGZuXbxH0BYjgrG5Me8dvzan7VIQ5Q=", "owner": "holochain", "repo": "scaffolding", - "rev": "9ac485d52122b92bd2988a8fea1a8e4d9a18c3a1", + "rev": "b4b1e0f8298551c44e99d3897eedd995b4b54314", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-weekly", + "ref": "holochain-0.3", "repo": "scaffolding", "type": "github" } @@ -2368,11 +2370,11 @@ "scaffolding": "scaffolding_6" }, "locked": { - "lastModified": 1715078975, - "narHash": "sha256-GzC2X+GdWNEvz999z2HRTasD+mR6m69b/77h7IbhVbQ=", + "lastModified": 1716899261, + "narHash": "sha256-Obdz15gIi0eZHgh85KskgZCWZ8UfWaBokQKv62npgag=", "owner": "holochain-open-dev", "repo": "templates", - "rev": "6d80a888f7b7e3d4f250c851b1d942fdb1467ac2", + "rev": "1a372f69aa68b8bf6617593bab15c3ae2752ffff", "type": "github" }, "original": { @@ -2384,11 +2386,11 @@ "scaffolding_5": { "flake": false, "locked": { - "lastModified": 1714147981, - "narHash": "sha256-PIWouOg4W2jVFjsHexAqOCdnwy6gQgll7kWRHssiid0=", + "lastModified": 1716370784, + "narHash": "sha256-iCsenLqNBpKDfGGZuXbxH0BYjgrG5Me8dvzan7VIQ5Q=", "owner": "holochain", "repo": "scaffolding", - "rev": "6582621e73b5127ed863b13f5648d9a333542623", + "rev": "b4b1e0f8298551c44e99d3897eedd995b4b54314", "type": "github" }, "original": { @@ -2410,11 +2412,11 @@ "versions": "versions_5" }, "locked": { - "lastModified": 1714147981, - "narHash": "sha256-PIWouOg4W2jVFjsHexAqOCdnwy6gQgll7kWRHssiid0=", + "lastModified": 1716496525, + "narHash": "sha256-DB4KmZ5rVXcEiet843ivQuT9iB1JHuzIUl45ZBjPJXg=", "owner": "holochain", "repo": "scaffolding", - "rev": "6582621e73b5127ed863b13f5648d9a333542623", + "rev": "d99193b228a4ff972987ded190886d8dddc374bf", "type": "github" }, "original": { @@ -2426,11 +2428,11 @@ "scaffolding_7": { "flake": false, "locked": { - "lastModified": 1713363855, - "narHash": "sha256-Y9KsDAjlZZab07NL7pI1izxLOYT4BWYTx1h9DilW8Fk=", + "lastModified": 1716239903, + "narHash": "sha256-ODy5wH8kAXRRM05qlGVah0R3p04H6JxQMlRk/IrZGEk=", "owner": "holochain", "repo": "scaffolding", - "rev": "9ac485d52122b92bd2988a8fea1a8e4d9a18c3a1", + "rev": "4b2116e27fcbf7bd56a121598e0b798461badf09", "type": "github" }, "original": { @@ -2443,11 +2445,11 @@ "scaffolding_8": { "flake": false, "locked": { - "lastModified": 1714147981, - "narHash": "sha256-PIWouOg4W2jVFjsHexAqOCdnwy6gQgll7kWRHssiid0=", + "lastModified": 1716370784, + "narHash": "sha256-iCsenLqNBpKDfGGZuXbxH0BYjgrG5Me8dvzan7VIQ5Q=", "owner": "holochain", "repo": "scaffolding", - "rev": "6582621e73b5127ed863b13f5648d9a333542623", + "rev": "b4b1e0f8298551c44e99d3897eedd995b4b54314", "type": "github" }, "original": { @@ -2586,11 +2588,11 @@ }, "locked": { "dir": "versions/0_3_rc", - "lastModified": 1714997624, - "narHash": "sha256-eCM6JEukjMdjFwjBm/FEKRUvBZIzGYE0gP71EWHs4lE=", + "lastModified": 1716791521, + "narHash": "sha256-r61xvor+5x0jgsIS7etgx+1qnyhQxbiVAr10ag9apjo=", "owner": "holochain", "repo": "holochain", - "rev": "993e875c10204870644a73125d63fb13b1f1070b", + "rev": "c0069133a4ac088a28ba228f8cab6722fb32a00d", "type": "github" }, "original": { @@ -2608,16 +2610,16 @@ "scaffolding": "scaffolding_2" }, "locked": { - "dir": "versions/weekly", - "lastModified": 1714389570, - "narHash": "sha256-qnbAGp3hu1IlegoHtstS6UObUFR7SZQOnxyeZcCStXs=", + "dir": "versions/0_3_rc", + "lastModified": 1716791521, + "narHash": "sha256-r61xvor+5x0jgsIS7etgx+1qnyhQxbiVAr10ag9apjo=", "owner": "holochain", "repo": "holochain", - "rev": "b2c2de05036d4705cc29f639cabe33accb814039", + "rev": "c0069133a4ac088a28ba228f8cab6722fb32a00d", "type": "github" }, "original": { - "dir": "versions/weekly", + "dir": "versions/0_3_rc", "owner": "holochain", "repo": "holochain", "type": "github" @@ -2631,16 +2633,16 @@ "scaffolding": "scaffolding_3" }, "locked": { - "dir": "versions/weekly", - "lastModified": 1714408217, - "narHash": "sha256-lc93HR/e9Eth+KdQk0NCBeneK25AtQrUB4XB0/HoBNQ=", + "dir": "versions/0_3_rc", + "lastModified": 1716899478, + "narHash": "sha256-jE6KyiPhlyxKAW5OluBbzGInPbvDQhHYC5OpalcEMvQ=", "owner": "holochain", "repo": "holochain", - "rev": "8a2c00958dabd1fb0a9dd109c67341f3526c1479", + "rev": "89d064c9d85d1ea87daf7cb0036428722ec6adff", "type": "github" }, "original": { - "dir": "versions/weekly", + "dir": "versions/0_3_rc", "owner": "holochain", "repo": "holochain", "type": "github" @@ -2655,11 +2657,11 @@ }, "locked": { "dir": "versions/0_3_rc", - "lastModified": 1715245761, - "narHash": "sha256-AerPs2KeBMTAPnLHWDrBlUeDTAK63Ff8hdYJii/6UyM=", + "lastModified": 1716899478, + "narHash": "sha256-jE6KyiPhlyxKAW5OluBbzGInPbvDQhHYC5OpalcEMvQ=", "owner": "holochain", "repo": "holochain", - "rev": "55f4b8f5a4300f6ae082282d2061d1ad5c87488e", + "rev": "89d064c9d85d1ea87daf7cb0036428722ec6adff", "type": "github" }, "original": { @@ -2678,11 +2680,11 @@ }, "locked": { "dir": "versions/weekly", - "lastModified": 1714139924, - "narHash": "sha256-FiiDtPapNS57zxFvzQC1RFXTgVratKP6/lLE5VrEGhc=", + "lastModified": 1716456243, + "narHash": "sha256-VFL7wHUD1S6wYtnTzDH7LLskEH1WWKWVdkVL7Azll4g=", "owner": "holochain", "repo": "holochain", - "rev": "0275e13d832a210b856f6374218c484bade651f6", + "rev": "0ba81254837d0f2ea7ddf4185e8eba547c0eb8a6", "type": "github" }, "original": { @@ -2701,11 +2703,11 @@ }, "locked": { "dir": "versions/0_3_rc", - "lastModified": 1715075584, - "narHash": "sha256-AZbckXdtu526rjCP+CNhLBmPFs2tKVwfvhvmKBDuH4c=", + "lastModified": 1716899478, + "narHash": "sha256-jE6KyiPhlyxKAW5OluBbzGInPbvDQhHYC5OpalcEMvQ=", "owner": "holochain", "repo": "holochain", - "rev": "de729662e1d0812ef008bf56fde2c0cfcc3c5232", + "rev": "89d064c9d85d1ea87daf7cb0036428722ec6adff", "type": "github" }, "original": { diff --git a/package.json b/package.json index 06d862d4..6ffb1649 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "build:happ": "nix build -L .#notifications_test_app.meta.debug -o workdir/notifications_test-debug.happ" }, "devDependencies": { - "@holochain-playground/cli": "^0.1.1", + "@holochain-playground/cli": "^0.300.0-rc", "@trivago/prettier-plugin-sort-imports": "^4.3.0", "@eslint/js": "^9.0.0", "concurrently": "^6.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7e5b56f6..d55160e7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^9.0.0 version: 9.1.1 '@holochain-playground/cli': - specifier: ^0.1.1 - version: 0.1.1 + specifier: ^0.300.0-rc + version: 0.300.0-rc.0 '@trivago/prettier-plugin-sort-imports': specifier: ^4.3.0 version: 4.3.0(prettier@3.2.5) @@ -78,14 +78,14 @@ importers: tests: dependencies: '@holochain-open-dev/signals': - specifier: ^0.300.0-dev.7 - version: 0.300.0-dev.7(@types/react@18.2.79) + specifier: ^0.300.0-rc + version: 0.300.0-rc.1(@types/react@18.2.79) '@holochain-open-dev/utils': - specifier: ^0.300.0-dev.2 - version: 0.300.0-dev.2 + specifier: ^0.300.0-rc + version: 0.300.0-rc.0 '@holochain/client': - specifier: ^0.17.0-dev.12 - version: 0.17.0-dev.12 + specifier: ^0.17.0-rc + version: 0.17.0-rc.0 '@holochain/tryorama': specifier: ^v0.16.0-dev.6 version: 0.16.0-dev.6 @@ -102,20 +102,20 @@ importers: ui: dependencies: '@holochain-open-dev/elements': - specifier: ^0.300.0-dev.1 - version: 0.300.0-dev.1(@types/react@18.2.79) + specifier: ^0.300.0-rc + version: 0.300.0-rc.0(@types/react@18.2.79) '@holochain-open-dev/profiles': - specifier: github:holochain-open-dev/profiles#81a42479e30778d273a985bd82b8715c40116a7d&path:ui - version: github.com/holochain-open-dev/profiles/81a42479e30778d273a985bd82b8715c40116a7d#path:ui(@types/react@18.2.79) + specifier: github:holochain-open-dev/profiles#f95cd9b627a308dcac016b47df960dbb24b741b8&path:ui + version: github.com/holochain-open-dev/profiles/f95cd9b627a308dcac016b47df960dbb24b741b8#path:ui(@types/react@18.2.79) '@holochain-open-dev/signals': - specifier: ^0.300.0-dev.7 - version: 0.300.0-dev.7(@types/react@18.2.79) + specifier: ^0.300.0-rc + version: 0.300.0-rc.1(@types/react@18.2.79) '@holochain-open-dev/utils': - specifier: ^0.300.0-dev.2 - version: 0.300.0-dev.2 + specifier: ^0.300.0-rc + version: 0.300.0-rc.0 '@holochain/client': - specifier: ^0.17.0-dev.12 - version: 0.17.0-dev.12 + specifier: ^0.17.0-rc + version: 0.17.0-rc.0 '@lit/context': specifier: ^1.0.0 version: 1.1.1 @@ -661,11 +661,11 @@ packages: /@holochain-open-dev/elements@0.300.0-dev.0: resolution: {integrity: sha512-oyfnkg4hksQazQN4AVShgL3Hzg2GJEmQeE3z0G8cN5y4+0n3/eCfQsrtvZO4l+Xo01BH9llVRk6LC6EVsMP2Uw==} - /@holochain-open-dev/elements@0.300.0-dev.1: - resolution: {integrity: sha512-wjwUp2j9dZAm39K5pl+2SA5PzwY7s+8eouoBjzOoWuAQhSvzdyBw8r7mdUlnQlc+U6R+nwt2mz4Hl48XEa3p0g==} + /@holochain-open-dev/elements@0.300.0-rc.0: + resolution: {integrity: sha512-b26ZChbZ6qmAZjwzHSOyRmCOdBQ7vy/9+MedvQEuiIpAjz5KGdtKfbkMAz4M2GgQwLPVBYS66Gdct6mGVvwkyw==} - /@holochain-open-dev/signals@0.300.0-dev.7: - resolution: {integrity: sha512-DG1dTbWeGjnqu9Q5vFLChAZE3gVUsL5PBHMEuKc0f32bfe8BrPvNsk4QOwtmvVHUDsS6okYph/p4/hOLqsN+5g==} + /@holochain-open-dev/signals@0.300.0-rc.1: + resolution: {integrity: sha512-2f8nYnzIW9eioF1S8R+6jpr0O4Z2I4d5+dKLQoIOklOdtmaaMqk7HltPbD3Np1S9Uj+2nPaNYHNWdSS4G4fSGg==} /@holochain-open-dev/stores@0.300.0-dev.0: resolution: {integrity: sha512-s6knLTAfVHUYR7Y8HYiLL9JJtr86b2kBQDQVfyDNLcSdf7kwJUjNbza8ZozQ1ON9IDvVC7+LMiQ87H3oJihU0g==} @@ -673,21 +673,21 @@ packages: /@holochain-open-dev/utils@0.300.0-dev.0: resolution: {integrity: sha512-sqpnfK3xh5ufMD98HHOhVH2iUnJ+xbe87BWLnJ9g3iQ/Dkp7yeM22HanBV8GKw5lr8CPgOKKlJ1EQ+q8eGGXag==} - /@holochain-open-dev/utils@0.300.0-dev.2: - resolution: {integrity: sha512-V4kwnfnVrxg35tiRebijDl8SCTJ7f+icIK7Apbwy5DwOOfdNH9/MinvkHP9ef26i6QooBuxlvwaLh0PvKgwegQ==} + /@holochain-open-dev/utils@0.300.0-rc.0: + resolution: {integrity: sha512-D1mqrpnWnJPnEceGzxzCjo3xe4ADgpTd+CX+F4+HZpyWkxUIIFiQIpjm6i0HO+WmEJblvLWXSN5xG1neC1UU0g==} - /@holochain-playground/cli@0.1.1: - resolution: {integrity: sha512-JbapAe+uBaec52rTePjdlP0mq3zQhJG/hrdbCd+eecZLA3cXWEGgISR5YwLtx6udN+0ghCDH4U6KILjPiwWZMg==} + /@holochain-playground/cli@0.300.0-rc.0: + resolution: {integrity: sha512-8LBZHl6u1NRdbltNxmxfBZCpg8KBH0xvsQJzv0+Gc7kBgtP186bISVoGlugyx8IqK3nxI7mi5J9mGZfqhjIfHQ==} hasBin: true - /@holochain/client@0.17.0-dev.12: - resolution: {integrity: sha512-aEOkD4wtFeHAv5AiEkBfsiGeAujCyQf1yfvmtcdERnv73zgZhxCiZ0ZrEi46kdJhRHMXX/1Qkqo6VY8afrepfQ==} - engines: {node: '>=18.0.0 || >=20.0.0'} - /@holochain/client@0.17.0-dev.9: resolution: {integrity: sha512-/s4TiMAliB5XUEgs/lWVfx1xAXsjtkKDSd7cveWuHKUf2BiZ+eqk1Mt1UMXrkILAwpSpdFLknDHM7rNhXlk2nQ==} engines: {node: '>=18.0.0 || >=20.0.0'} + /@holochain/client@0.17.0-rc.0: + resolution: {integrity: sha512-DyoAe6Gf7Atpn5f+WO8Lj08G4Vfu5p5U9PuUlOkm5gjfwTxHU6rOTAmdEWz1QcA2Yne3cmUj+qqpofTSVqB/Eg==} + engines: {node: '>=18.0.0 || >=20.0.0'} + /@holochain/serialization@0.1.0-beta-rc.3: resolution: {integrity: sha512-DJx4V2KXHVLciyOGjOYKTM/JLBpBEZ3RsPIRCgf7qmwhQdxXvhi2p+oFFRD51yUT5uC1/MzIVeJCl/R60PwFbw==} @@ -1219,8 +1219,8 @@ packages: /assertion-error@1.1.0: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} - /async-signals@0.1.7: - resolution: {integrity: sha512-4P9JU/yw20g1KYHB1jGwTDInwlirvQSe8FlGy4L17WvI1saQiLVfv19C6pyCFcNejaOvxYPams9F0rR/vy+Q8A==} + /async-signals@0.1.9: + resolution: {integrity: sha512-vjnpA/wVOzMxYDHAyfB2hIB4G9Cu8YfrSK7IJJHFZctACUPjS6+kAEKKnBHB09ClHh/IO1FZ0WSc2a3g5gfseg==} /async@2.6.4: resolution: {integrity: sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==} @@ -2973,10 +2973,10 @@ packages: name: '@holochain-open-dev/profiles' version: 0.300.0-dev.0 - github.com/holochain-open-dev/profiles/81a42479e30778d273a985bd82b8715c40116a7d#path:ui: - resolution: {path: ui, tarball: https://codeload.github.com/holochain-open-dev/profiles/tar.gz/81a42479e30778d273a985bd82b8715c40116a7d} + github.com/holochain-open-dev/profiles/f95cd9b627a308dcac016b47df960dbb24b741b8#path:ui: + resolution: {path: ui, tarball: https://codeload.github.com/holochain-open-dev/profiles/tar.gz/f95cd9b627a308dcac016b47df960dbb24b741b8} name: '@holochain-open-dev/profiles' - version: 0.300.0-dev.0 + version: 0.300.0-rc.0 snapshots: @@ -3518,7 +3518,7 @@ snapshots: dependencies: '@holo-host/identicon': 0.1.0 '@holochain-open-dev/stores': 0.300.0-dev.0(@types/react@18.2.79) - '@holochain/client': 0.17.0-dev.12 + '@holochain/client': 0.17.0-rc.0 '@lit/localize': 0.12.1 '@mdi/js': 7.4.47 '@shoelace-style/shoelace': 2.15.0(@types/react@18.2.79) @@ -3533,10 +3533,10 @@ snapshots: - utf-8-validate dev: true - /@holochain-open-dev/elements@0.300.0-dev.1(@types/react@18.2.79): + /@holochain-open-dev/elements@0.300.0-rc.0(@types/react@18.2.79): dependencies: '@holo-host/identicon': 0.1.0 - '@holochain/client': 0.17.0-dev.12 + '@holochain/client': 0.17.0-rc.0 '@lit/localize': 0.12.1 '@mdi/js': 7.4.47 '@shoelace-style/shoelace': 2.15.0(@types/react@18.2.79) @@ -3551,12 +3551,12 @@ snapshots: - utf-8-validate dev: false - /@holochain-open-dev/signals@0.300.0-dev.7(@types/react@18.2.79): + /@holochain-open-dev/signals@0.300.0-rc.1(@types/react@18.2.79): dependencies: - '@holochain-open-dev/utils': 0.300.0-dev.2 - '@holochain/client': 0.17.0-dev.12 + '@holochain-open-dev/utils': 0.300.0-rc.0 + '@holochain/client': 0.17.0-rc.0 '@shoelace-style/shoelace': 2.15.0(@types/react@18.2.79) - async-signals: 0.1.7 + async-signals: 0.1.9 lit-signal-watcher: 0.1.0 signal-polyfill: 0.1.0 transitivePeerDependencies: @@ -3569,7 +3569,7 @@ snapshots: dependencies: '@alenaksu/json-viewer': 2.0.1 '@holochain-open-dev/utils': 0.300.0-dev.0 - '@holochain/client': 0.17.0-dev.12 + '@holochain/client': 0.17.0-rc.0 '@scoped-elements/cytoscape': 0.2.0 '@shoelace-style/shoelace': 2.15.0(@types/react@18.2.79) lit: 3.1.3 @@ -3583,7 +3583,7 @@ snapshots: /@holochain-open-dev/utils@0.300.0-dev.0: dependencies: - '@holochain/client': 0.17.0-dev.12 + '@holochain/client': 0.17.0-rc.0 '@msgpack/msgpack': 2.8.0 blakejs: 1.2.1 emittery: 1.0.3 @@ -3594,9 +3594,9 @@ snapshots: - utf-8-validate dev: true - /@holochain-open-dev/utils@0.300.0-dev.2: + /@holochain-open-dev/utils@0.300.0-rc.0: dependencies: - '@holochain/client': 0.17.0-dev.12 + '@holochain/client': 0.17.0-rc.0 '@msgpack/msgpack': 2.8.0 blakejs: 1.2.1 emittery: 1.0.3 @@ -3607,14 +3607,15 @@ snapshots: - utf-8-validate dev: false - /@holochain-playground/cli@0.1.1: + /@holochain-playground/cli@0.300.0-rc.0: dev: true - /@holochain/client@0.17.0-dev.12: + /@holochain/client@0.17.0-dev.9: dependencies: '@bitgo/blake2b': 3.2.4 '@holochain/serialization': 0.1.0-beta-rc.3 '@msgpack/msgpack': 2.8.0 + '@tauri-apps/api': 1.5.3 emittery: 1.0.3 isomorphic-ws: 5.0.0(ws@8.16.0) js-base64: 3.7.7 @@ -3624,13 +3625,13 @@ snapshots: transitivePeerDependencies: - bufferutil - utf-8-validate + dev: true - /@holochain/client@0.17.0-dev.9: + /@holochain/client@0.17.0-rc.0: dependencies: '@bitgo/blake2b': 3.2.4 '@holochain/serialization': 0.1.0-beta-rc.3 '@msgpack/msgpack': 2.8.0 - '@tauri-apps/api': 1.5.3 emittery: 1.0.3 isomorphic-ws: 5.0.0(ws@8.16.0) js-base64: 3.7.7 @@ -3640,13 +3641,12 @@ snapshots: transitivePeerDependencies: - bufferutil - utf-8-validate - dev: true /@holochain/serialization@0.1.0-beta-rc.3: {} /@holochain/tryorama@0.16.0-dev.6: dependencies: - '@holochain/client': 0.17.0-dev.12 + '@holochain/client': 0.17.0-rc.0 get-port: 6.1.2 lodash: 4.17.21 uuid: 8.3.2 @@ -4319,7 +4319,7 @@ snapshots: /assertion-error@1.1.0: dev: false - /async-signals@0.1.7: + /async-signals@0.1.9: dependencies: lit: 3.1.3 signal-polyfill: 0.1.0 @@ -6615,13 +6615,13 @@ snapshots: - utf-8-validate dev: true - github.com/holochain-open-dev/profiles/81a42479e30778d273a985bd82b8715c40116a7d#path:ui(@types/react@18.2.79): - id: github.com/holochain-open-dev/profiles/81a42479e30778d273a985bd82b8715c40116a7d#path:ui + github.com/holochain-open-dev/profiles/f95cd9b627a308dcac016b47df960dbb24b741b8#path:ui(@types/react@18.2.79): + id: github.com/holochain-open-dev/profiles/f95cd9b627a308dcac016b47df960dbb24b741b8#path:ui dependencies: - '@holochain-open-dev/elements': 0.300.0-dev.1(@types/react@18.2.79) - '@holochain-open-dev/signals': 0.300.0-dev.7(@types/react@18.2.79) - '@holochain-open-dev/utils': 0.300.0-dev.2 - '@holochain/client': 0.17.0-dev.12 + '@holochain-open-dev/elements': 0.300.0-rc.0(@types/react@18.2.79) + '@holochain-open-dev/signals': 0.300.0-rc.1(@types/react@18.2.79) + '@holochain-open-dev/utils': 0.300.0-rc.0 + '@holochain/client': 0.17.0-rc.0 '@lit/context': 1.1.1 '@lit/localize': 0.12.1 '@mdi/js': 7.4.47 diff --git a/tests/package.json b/tests/package.json index 7bf5b4e4..8f63860a 100644 --- a/tests/package.json +++ b/tests/package.json @@ -6,10 +6,10 @@ }, "dependencies": { "@msgpack/msgpack": "^2.7.0", - "@holochain/client": "^0.17.0-dev.12", + "@holochain/client": "^0.17.0-rc", "@holochain/tryorama": "^v0.16.0-dev.6", - "@holochain-open-dev/signals": "^0.300.0-dev.7", - "@holochain-open-dev/utils": "^0.300.0-dev.2", + "@holochain-open-dev/signals": "^0.300.0-rc", + "@holochain-open-dev/utils": "^0.300.0-rc", "typescript": "^5.4.5", "vitest": "^1.4.0" }, diff --git a/ui/custom-elements.json b/ui/custom-elements.json index 845ca246..78766f44 100644 --- a/ui/custom-elements.json +++ b/ui/custom-elements.json @@ -457,7 +457,7 @@ { "kind": "field", "name": "readNotifications$", - "default": "new AsyncComputed(() => {\n\t\tconst readNotificationsLinks = this.readNotificationsLinks$.get();\n\t\tconst undismissedNotifications = this.undismissedNotificationsLinks$.get();\n\t\tif (readNotificationsLinks.status !== 'completed')\n\t\t\treturn readNotificationsLinks;\n\t\tif (undismissedNotifications.status !== 'completed')\n\t\t\treturn undismissedNotifications;\n\n\t\t/** Aggregate the read notification hashes and filter them by whether they've been dismissed */\n\n\t\tconst allReadNotificationsHashes = uniquify(\n\t\t\tArray.from([] as ActionHash[]).concat(\n\t\t\t\t...readNotificationsLinks.value.map(\n\t\t\t\t\tlink => decode(link.tag) as ActionHash[],\n\t\t\t\t),\n\t\t\t),\n\t\t);\n\n\t\tconst undismissedNotificationsHashes = undismissedNotifications.value.map(\n\t\t\tl => encodeHashToBase64(l.target),\n\t\t);\n\n\t\tconst notificationsHashes = allReadNotificationsHashes.filter(hash =>\n\t\t\tundismissedNotificationsHashes.includes(encodeHashToBase64(hash)),\n\t\t);\n\n\t\t/* If a notification was persistent and has been read but was deleted (usually by someone else performing the action that the notification required), then we dismiss the notification */\n\n\t\tconst deletes = joinAsync(\n\t\t\tnotificationsHashes.map(hash =>\n\t\t\t\tthis.notifications.get(hash).deletes$.get(),\n\t\t\t),\n\t\t);\n\t\tconst entries = joinAsync(\n\t\t\tnotificationsHashes.map(hash =>\n\t\t\t\tthis.notifications.get(hash).entry$.get(),\n\t\t\t),\n\t\t);\n\t\tif (entries.status !== 'completed') return entries;\n\t\tif (deletes.status !== 'completed') return deletes;\n\n\t\tconst nonDeletedNotificationHashes: ActionHash[] = [];\n\t\tconst notificationsToDismiss: ActionHash[] = [];\n\n\t\tfor (let i = 0; i < notificationsHashes.length; i++) {\n\t\t\tif (!entries.value[i].entry.persistent || deletes.value[i].length === 0) {\n\t\t\t\tnonDeletedNotificationHashes.push(notificationsHashes[i]);\n\t\t\t} else {\n\t\t\t\tnotificationsToDismiss.push(notificationsHashes[i]);\n\t\t\t}\n\t\t}\n\n\t\tif (notificationsToDismiss.length > 0) {\n\t\t\tthis.client.dismissNotifications(notificationsToDismiss);\n\t\t}\n\n\t\tconst value = slice(this.notifications, nonDeletedNotificationHashes);\n\t\treturn {\n\t\t\tstatus: 'completed',\n\t\t\tvalue,\n\t\t};\n\t})" + "default": "new AsyncComputed(() => {\n\t\tconst readNotificationsLinks = this.readNotificationsLinks$.get();\n\t\tconst undismissedNotifications = this.undismissedNotificationsLinks$.get();\n\t\tif (readNotificationsLinks.status !== 'completed')\n\t\t\treturn readNotificationsLinks;\n\t\tif (undismissedNotifications.status !== 'completed')\n\t\t\treturn undismissedNotifications;\n\n\t\t/** Aggregate the read notification hashes and filter them by whether they've been dismissed */\n\n\t\tconst allReadNotificationsHashes = uniquify(\n\t\t\tArray.from([] as ActionHash[]).concat(\n\t\t\t\t...readNotificationsLinks.value.map(\n\t\t\t\t\tlink => decode(link.tag) as ActionHash[],\n\t\t\t\t),\n\t\t\t),\n\t\t);\n\n\t\tconst undismissedNotificationsHashes = undismissedNotifications.value.map(\n\t\t\tl => encodeHashToBase64(l.target),\n\t\t);\n\n\t\tconst notificationsHashes = allReadNotificationsHashes.filter(hash =>\n\t\t\tundismissedNotificationsHashes.includes(encodeHashToBase64(hash)),\n\t\t);\n\n\t\t/* If a notification was persistent and has been read but was deleted (usually by someone else performing the action that the notification required), then we dismiss the notification */\n\n\t\t// const deletes = joinAsync(\n\t\t// \tnotificationsHashes.map(hash =>\n\t\t// \t\tthis.notifications.get(hash).deletes$.get(),\n\t\t// \t),\n\t\t// );\n\t\t// const entries = joinAsync(\n\t\t// \tnotificationsHashes.map(hash =>\n\t\t// \t\tthis.notifications.get(hash).entry$.get(),\n\t\t// \t),\n\t\t// );\n\t\t// if (entries.status !== 'completed') return entries;\n\t\t// if (deletes.status !== 'completed') return deletes;\n\n\t\t// const nonDeletedNotificationHashes: ActionHash[] = [];\n\t\t// const notificationsToDismiss: ActionHash[] = [];\n\n\t\t// for (let i = 0; i < notificationsHashes.length; i++) {\n\t\t// \tif (!entries.value[i].entry.persistent || deletes.value[i].length === 0) {\n\t\t// \t\tnonDeletedNotificationHashes.push(notificationsHashes[i]);\n\t\t// \t} else {\n\t\t// \t\tnotificationsToDismiss.push(notificationsHashes[i]);\n\t\t// \t}\n\t\t// }\n\n\t\t// if (notificationsToDismiss.length > 0) {\n\t\t// \tthis.client.dismissNotifications(notificationsToDismiss);\n\t\t// }\n\n\t\tconst value = slice(this.notifications, notificationsHashes);\n\t\treturn {\n\t\t\tstatus: 'completed',\n\t\t\tvalue,\n\t\t};\n\t})" }, { "kind": "field", @@ -472,6 +472,12 @@ "kind": "field", "name": "dismissedNotifications$", "default": "new AsyncComputed(() => {\n\t\tconst deletedLinks = this.deletedNotificationsLinks$.get();\n\t\tif (deletedLinks.status !== 'completed') return deletedLinks;\n\n\t\tconst value = slice(\n\t\t\tthis.notifications,\n\t\t\tdeletedLinks.value.map(l => l[0].hashed.content.target_address),\n\t\t);\n\n\t\treturn {\n\t\t\tstatus: 'completed',\n\t\t\tvalue,\n\t\t};\n\t})" + }, + { + "kind": "field", + "name": "notificationsByTypeAndGroup", + "default": "new LazyMap(\n\t\t(notificationType: string) =>\n\t\t\tnew LazyMap((notificationGroup: string) => ({\n\t\t\t\tread$: new AsyncComputed(() => {\n\t\t\t\t\tconst notifications = this.readNotifications$.get();\n\t\t\t\t\tif (notifications.status !== 'completed') return notifications;\n\n\t\t\t\t\tconst entries = joinAsyncMap(\n\t\t\t\t\t\tmapValues(notifications.value, n => n.entry$.get()),\n\t\t\t\t\t);\n\t\t\t\t\tif (entries.status !== 'completed') return entries;\n\n\t\t\t\t\tconst value = pickBy(\n\t\t\t\t\t\tentries.value,\n\t\t\t\t\t\tn =>\n\t\t\t\t\t\t\tn.entry.notification_type === notificationType &&\n\t\t\t\t\t\t\tn.entry.notification_group === notificationGroup,\n\t\t\t\t\t);\n\n\t\t\t\t\treturn {\n\t\t\t\t\t\tstatus: 'completed',\n\t\t\t\t\t\tvalue,\n\t\t\t\t\t};\n\t\t\t\t}),\n\t\t\t\tunread$: new AsyncComputed(() => {\n\t\t\t\t\tconst notifications = this.unreadNotifications$.get();\n\t\t\t\t\tif (notifications.status !== 'completed') return notifications;\n\n\t\t\t\t\tconst entries = joinAsyncMap(\n\t\t\t\t\t\tmapValues(notifications.value, n => n.entry$.get()),\n\t\t\t\t\t);\n\t\t\t\t\tif (entries.status !== 'completed') return entries;\n\n\t\t\t\t\tconst value = pickBy(\n\t\t\t\t\t\tentries.value,\n\t\t\t\t\t\tn =>\n\t\t\t\t\t\t\tn.entry.notification_type === notificationType &&\n\t\t\t\t\t\t\tn.entry.notification_group === notificationGroup,\n\t\t\t\t\t);\n\n\t\t\t\t\treturn {\n\t\t\t\t\t\tstatus: 'completed',\n\t\t\t\t\t\tvalue,\n\t\t\t\t\t};\n\t\t\t\t}),\n\t\t\t})),\n\t)", + "description": "Helpers for consuming UIs" } ] } @@ -554,6 +560,12 @@ "text": "boolean" } }, + { + "name": "persistent", + "type": { + "text": "boolean" + } + }, { "name": "notificationGroup", "type": { diff --git a/ui/package.json b/ui/package.json index 8419bc09..06190c35 100644 --- a/ui/package.json +++ b/ui/package.json @@ -29,11 +29,11 @@ "./locales/*": "./locales/*" }, "dependencies": { - "@holochain-open-dev/elements": "^0.300.0-dev.1", - "@holochain-open-dev/profiles": "github:holochain-open-dev/profiles#81a42479e30778d273a985bd82b8715c40116a7d&path:ui", - "@holochain-open-dev/signals": "^0.300.0-dev.7", - "@holochain-open-dev/utils": "^0.300.0-dev.2", - "@holochain/client": "^0.17.0-dev.12", + "@holochain-open-dev/elements": "^0.300.0-rc", + "@holochain-open-dev/profiles": "github:holochain-open-dev/profiles#f95cd9b627a308dcac016b47df960dbb24b741b8&path:ui", + "@holochain-open-dev/signals": "^0.300.0-rc", + "@holochain-open-dev/utils": "^0.300.0-rc", + "@holochain/client": "^0.17.0-rc", "@lit/context": "^1.0.0", "@lit/localize": "^0.12.0", "@mdi/js": "^7.2.0", diff --git a/ui/src/elements/my-notifications-list.ts b/ui/src/elements/my-notifications-list.ts index c658e46d..e7628149 100644 --- a/ui/src/elements/my-notifications-list.ts +++ b/ui/src/elements/my-notifications-list.ts @@ -75,9 +75,9 @@ export class MyNotifications extends SignalWatcher(LitElement) { 'align-items': 'center', })} @click=${() => - this.notificationsStore.notificationsTypes[ - notificationGroup.notificationType - ].onClick(notificationGroup.group)} + this.notificationsStore.notificationsConfig.groups.onClick( + notificationGroup.group, + )} > ${singleNotification ? html`