diff --git a/cli/package.json b/cli/package.json index 62e04960..de0fce28 100644 --- a/cli/package.json +++ b/cli/package.json @@ -22,11 +22,11 @@ "@holochain-open-dev/stores": "0.400.0", "@holochain-open-dev/utils": "0.400.0", "@holochain/client": "^0.18.0", - "@lightningrodlabs/we-rust-utils": "0.400.0", + "@lightningrodlabs/we-rust-utils": "0.400.1", "@matthme/electron-updater": "6.3.0-alpha.1", "@msgpack/msgpack": "^2.8.0", "@sinclair/typebox": "0.33.12", - "@theweave/api": "0.4.0-alpha.2", + "@theweave/api": "0.4.0-alpha.3", "@theweave/moss-types": "0.3.0-alpha.2", "@theweave/utils": "0.3.0-alpha.2", "adm-zip": "0.5.14", diff --git a/dnas/assets/zomes/coordinator/assets/src/relations.rs b/dnas/assets/zomes/coordinator/assets/src/relations.rs index 4580e0b9..f6d6cb52 100644 --- a/dnas/assets/zomes/coordinator/assets/src/relations.rs +++ b/dnas/assets/zomes/coordinator/assets/src/relations.rs @@ -11,6 +11,7 @@ pub struct AssetRelationAndHash { pub src_wal: WAL, pub dst_wal: WAL, pub relation_hash: EntryHash, + pub created_at: Timestamp, } #[derive(Serialize, Deserialize, Clone, Debug)] @@ -19,6 +20,7 @@ pub struct AssetRelationWithTags { pub dst_wal: WAL, pub tags: Vec, pub relation_hash: EntryHash, + pub created_at: Timestamp, } #[derive(Serialize, Deserialize, SerializedBytes, Debug)] @@ -28,6 +30,9 @@ pub struct RelateAssetsInput { pub tags: Vec, } +/// Note that the WAL's context is an Option> and therefore needs to have been +/// encoded into that format client-side because a WAL in general can be any arbitrary +/// javascript object #[hdk_extern] pub fn add_asset_relation(input: RelateAssetsInput) -> ExternResult { let asset_relation = AssetRelation { @@ -37,10 +42,10 @@ pub fn add_asset_relation(input: RelateAssetsInput) -> ExternResult (), + let record = match get(relation_hash.clone(), GetOptions::default()) { + Ok(Some(r)) => r, _ => { - create_entry(&EntryTypes::AssetRelation(asset_relation.clone()))?; + let action_hash = create_entry(&EntryTypes::AssetRelation(asset_relation.clone()))?; let path = Path::from(ALL_ASSET_RELATIONS_ANCHOR); create_link( path.path_entry_hash()?, @@ -48,8 +53,11 @@ pub fn add_asset_relation(input: RelateAssetsInput) -> ExternResult ExternResult ExternResult<()> { src_wal: asset_relation.src_wal, dst_wal: asset_relation.dst_wal, relation_hash, + created_at: asset_relation_record.action().timestamp(), }, })?; @@ -353,7 +363,7 @@ pub fn get_all_asset_relations() -> ExternResult> { .map(|target| Ok(GetInput::new(target.into(), GetOptions::default()))) .collect::>>()?; - let records = HDK.with(|hdk| hdk.borrow().get(get_input))?; + let records: Vec> = HDK.with(|hdk| hdk.borrow().get(get_input))?; Ok(records .into_iter() @@ -368,6 +378,7 @@ pub fn get_all_asset_relations() -> ExternResult> { src_wal: a.src_wal, dst_wal: a.dst_wal, relation_hash: eh.clone(), + created_at: r.action().timestamp(), }), None => None, } @@ -407,6 +418,7 @@ pub fn get_outgoing_asset_relations_with_tags( dst_wal: asset_relation.dst_wal, tags, relation_hash: asset_relation.relation_hash, + created_at: asset_relation.created_at, }); } Ok(asset_relations_with_tags) @@ -425,7 +437,7 @@ pub fn get_outgoing_asset_relations(src_wal: WAL) -> ExternResult>>()?; - let records = HDK.with(|hdk| hdk.borrow().get(get_input))?; + let records: Vec> = HDK.with(|hdk| hdk.borrow().get(get_input))?; let mut asset_relations: Vec = Vec::new(); for maybe_record in records { if let Some(record) = maybe_record { @@ -449,6 +461,7 @@ pub fn get_outgoing_asset_relations(src_wal: WAL) -> ExternResult ExternResult>>()?; - let records = HDK.with(|hdk| hdk.borrow().get(get_input))?; + let records: Vec> = HDK.with(|hdk| hdk.borrow().get(get_input))?; let mut asset_relations: Vec = Vec::new(); for maybe_record in records { if let Some(record) = maybe_record { @@ -528,6 +542,7 @@ pub fn get_incoming_asset_relations(dst_wal: WAL) -> ExternResult>>()?; - let records = HDK.with(|hdk| hdk.borrow().get(get_input))?; + let records: Vec> = HDK.with(|hdk| hdk.borrow().get(get_input))?; let mut asset_relations: Vec = Vec::new(); for maybe_record in records { if let Some(record) = maybe_record { @@ -583,6 +598,7 @@ pub fn get_asset_relations_for_relationship_tag( "AssetRelation record has no entry hash".into() )))? .to_owned(), + created_at: record.action().timestamp(), }; asset_relations.push(asset_relation_and_hash) } diff --git a/example/ui/package.json b/example/ui/package.json index dbba82be..1be9fe2a 100644 --- a/example/ui/package.json +++ b/example/ui/package.json @@ -19,7 +19,7 @@ "@holochain-open-dev/stores": "0.400.0", "@holochain-open-dev/utils": "0.400.0", "@holochain/client": "^0.18.0", - "@theweave/api": "0.4.0-alpha.2", + "@theweave/api": "0.4.0-alpha.3", "@theweave/elements": "file:../../libs/elements", "@theweave/attachments": "file:../../libs/attachments", "@lit/context": "^1.0.1", diff --git a/example/ui/src/example-applet.ts b/example/ui/src/example-applet.ts index 4720d8b1..3f5d4b2a 100644 --- a/example/ui/src/example-applet.ts +++ b/example/ui/src/example-applet.ts @@ -99,7 +99,9 @@ export class ExampleApplet extends LitElement { if (!appInfo) throw new Error('AppInfo is null.'); const dnaHash = (appInfo.cell_info.forum[0] as any)[CellType.Provisioned] .cell_id[0]; - this.weaveClient!.assets.dragAsset({ hrl: [dnaHash, e.detail] }); + this.weaveClient!.assets.dragAsset({ + hrl: [dnaHash, e.detail], + }); }} > diff --git a/iframes/applet-iframe/package.json b/iframes/applet-iframe/package.json index 28693cc0..4927de87 100644 --- a/iframes/applet-iframe/package.json +++ b/iframes/applet-iframe/package.json @@ -9,7 +9,7 @@ "@holochain-open-dev/utils": "0.400.0", "@holochain-open-dev/stores": "0.400.0", "@holochain/client": "^0.18.0", - "@theweave/api": "0.4.0-alpha.2", + "@theweave/api": "0.4.0-alpha.3", "@theweave/utils": "0.3.0-alpha.2", "inline-module": "^0.6.1" }, diff --git a/libs/api/package.json b/libs/api/package.json index 572fe8f9..cdd6000b 100644 --- a/libs/api/package.json +++ b/libs/api/package.json @@ -1,6 +1,6 @@ { "name": "@theweave/api", - "version": "0.4.0-alpha.2", + "version": "0.4.0-alpha.3", "main": "./dist/index.js", "module": "./dist/index.js", "license": "MIT", diff --git a/libs/api/src/types.ts b/libs/api/src/types.ts index a750bd76..70da4696 100644 --- a/libs/api/src/types.ts +++ b/libs/api/src/types.ts @@ -568,15 +568,19 @@ export type GroupPermissionType = type: 'Ambiguous'; }; -export type WalAndTags = { - wal: WAL; +export type WalRelationAndTags = { relationHash: EntryHash; + /** + * Timestamp of when the asset relation to this WAL has been created + */ + createdAt: number; + wal: WAL; tags: string[]; }; export type AssetStoreContent = { - linkedTo: WalAndTags[]; - linkedFrom: WalAndTags[]; + linkedTo: WalRelationAndTags[]; + linkedFrom: WalRelationAndTags[]; tags: string[]; }; diff --git a/libs/attachments/package.json b/libs/attachments/package.json index 82b4a418..ffb5590d 100644 --- a/libs/attachments/package.json +++ b/libs/attachments/package.json @@ -22,7 +22,7 @@ "@holochain-open-dev/stores": "0.400.0", "@holochain-open-dev/utils": "0.400.0", "@holochain/client": "^0.18.0", - "@theweave/api": "0.4.0-alpha.2", + "@theweave/api": "0.4.0-alpha.3", "@theweave/elements": "0.4.0-alpha.1", "@lit/context": "^1.0.1", "@lit/localize": "^0.12.0", diff --git a/libs/elements/package.json b/libs/elements/package.json index ad8e231f..80468189 100644 --- a/libs/elements/package.json +++ b/libs/elements/package.json @@ -26,7 +26,7 @@ "@holochain-open-dev/stores": "0.400.0", "@holochain-open-dev/utils": "0.400.0", "@holochain/client": "^0.18.0", - "@theweave/api": "0.4.0-alpha.2", + "@theweave/api": "0.4.0-alpha.3", "@lit/context": "^1.0.1", "@lit/localize": "^0.12.0", "@mdi/js": "^7.2.0", diff --git a/package.json b/package.json index ac5e516b..d791189f 100644 --- a/package.json +++ b/package.json @@ -74,10 +74,10 @@ "@holochain-open-dev/stores": "0.400.0", "@holochain-open-dev/utils": "0.400.0", "@holochain/client": "^0.18.0", - "@theweave/api": "0.4.0-alpha.2", + "@theweave/api": "0.4.0-alpha.3", "@theweave/moss-types": "0.3.0-alpha.2", "@theweave/utils": "0.3.0-alpha.2", - "@lightningrodlabs/we-rust-utils": "0.400.0-rc.1", + "@lightningrodlabs/we-rust-utils": "0.400.1", "@matthme/electron-updater": "6.3.0-alpha.1", "@msgpack/msgpack": "^2.8.0", "@sinclair/typebox": "0.33.12", diff --git a/shared/group-client/package.json b/shared/group-client/package.json index 813a2e62..76bd7729 100644 --- a/shared/group-client/package.json +++ b/shared/group-client/package.json @@ -1,6 +1,6 @@ { "name": "@theweave/group-client", - "version": "0.2.0-alpha.1", + "version": "0.2.0-alpha.2", "main": "./dist/index.js", "module": "./dist/index.js", "license": "MIT", @@ -20,7 +20,7 @@ "@holochain/client": "^0.18.0", "@holochain-open-dev/utils": "0.400.0", "@msgpack/msgpack": "^2.7.2", - "@theweave/api": "0.4.0-alpha.2" + "@theweave/api": "0.4.0-alpha.3" }, "devDependencies": { "rimraf": "^3.0.2", diff --git a/shared/group-client/src/assetsClient.ts b/shared/group-client/src/assetsClient.ts index 17cfed41..0fc29505 100644 --- a/shared/group-client/src/assetsClient.ts +++ b/shared/group-client/src/assetsClient.ts @@ -1,5 +1,5 @@ import { ZomeClient } from '@holochain-open-dev/utils'; -import { EntryHash, AppClient, RoleName } from '@holochain/client'; +import { EntryHash, AppClient } from '@holochain/client'; import { WAL, WalAndTags } from '@theweave/api'; import { @@ -11,6 +11,7 @@ import { TagsToAssetInput, } from './types.js'; import { AsyncStatus, Unsubscriber, writable, Writable } from '@holochain-open-dev/stores'; +import { decode, encode } from '@msgpack/msgpack'; export type WalStoreContent = { linkedTo: WalAndTags[]; @@ -76,6 +77,7 @@ export class WalStore { wal: v.dst_wal, tags: v.tags, relationHash: v.relation_hash, + createdAt: v.created_at, })); this.walStore.set({ status: 'complete', @@ -99,14 +101,15 @@ export class AssetsClient extends ZomeClient { tags?: string[], ): Promise { let input: RelateAssetsInput = { - src_wal: srcWal, - dst_wal: dstWal, + src_wal: walEncodeContext(srcWal), + dst_wal: walEncodeContext(dstWal), tags: tags ? tags : [], }; - return this.callZome('add_asset_relation', input); + const assetRelationWithTags = await this.callZome('add_asset_relation', input); + return decodeAssetRelationWALs(assetRelationWithTags); } - async removeAssetRelation(relationHash: EntryHash): Promise { + async removeAssetRelation(relationHash: EntryHash): Promise { return this.callZome('remove_asset_relation', relationHash); } @@ -125,24 +128,40 @@ export class AssetsClient extends ZomeClient { } async getOutgoingAssetRelations(srcWal: WAL): Promise { - return this.callZome('get_outgoing_asset_relations', srcWal); + const assetRelations = await this.callZome( + 'get_outgoing_asset_relations', + walEncodeContext(srcWal), + ); + return decodeAssetRelationsWALs(assetRelations); } async getOutgoingAssetRelationsWithTags(srcWal: WAL): Promise { - return this.callZome('get_outgoing_asset_relations_with_tags', srcWal); + const assetRelations = await this.callZome( + 'get_outgoing_asset_relations_with_tags', + walEncodeContext(srcWal), + ); + return decodeAssetRelationsWALs(assetRelations); } async getIncomingAssetRelations(srcWal: WAL): Promise { - return this.callZome('get_outgoing_asset_relations', srcWal); + const assetRelations = await this.callZome( + 'get_incoming_asset_relations', + walEncodeContext(srcWal), + ); + return decodeAssetRelationsWALs(assetRelations); } async getIncomingAssetRelationsWithTags(srcWal: WAL): Promise { - return this.callZome('get_incoming_asset_relations_with_tags', srcWal); + const assetRelations = await this.callZome( + 'get_incoming_asset_relations_with_tags', + walEncodeContext(srcWal), + ); + return decodeAssetRelationsWALs(assetRelations); } async addTagsToAsset(wal: WAL, tags: string[]): Promise { const input: TagsToAssetInput = { - wal, + wal: walEncodeContext(wal), tags, }; return this.callZome('add_tags_to_asset', input); @@ -150,20 +169,66 @@ export class AssetsClient extends ZomeClient { async removeTagsFromAsset(wal: WAL, tags: string[]): Promise { return this.callZome('remove_tags_from_asset', { - wal, + wal: walEncodeContext(wal), tags, }); } async getTagsForAsset(wal: WAL): Promise { - return this.callZome('get_tags_for_asset', wal); + return this.callZome('get_tags_for_asset', walEncodeContext(wal)); } async getAllRelationsForWal(wal: WAL): Promise { - return this.callZome('get_all_relations_for_wal', wal); + return this.callZome('get_all_relations_for_wal', walEncodeContext(wal)); } async batchGetAllRelationsForWal(wals: WAL[]): Promise { - return this.callZome('batch_get_all_relations_for_wal', wals); + return this.callZome('batch_get_all_relations_for_wal', walsEncodeContext(wals)); } } + +/** + * Converts a WAL to a WAL with the same context but msgpack encoded + * + * @param wal + * @returns + */ +function walEncodeContext(wal: WAL): WAL { + return { + hrl: wal.hrl, + context: wal.context ? encode(wal.context) : undefined, + }; +} + +/** + * Converts a WAL to a WAL with the same context but msgpack decoded + * + * @param wal + * @returns + */ +function walDecodeContext(wal: WAL): WAL { + return { + hrl: wal.hrl, + context: wal.context ? decode(wal.context) : undefined, + }; +} + +function walsEncodeContext(wals: WAL[]): WAL[] { + return wals.map((wal) => walEncodeContext(wal)); +} + +function decodeAssetRelationsWALs( + relationsWithTags: AssetRelationWithTags[], +): AssetRelationWithTags[] { + return relationsWithTags.map((relationWithTags) => decodeAssetRelationWALs(relationWithTags)); +} + +function decodeAssetRelationWALs(relationWithTags: AssetRelationWithTags): AssetRelationWithTags { + return { + src_wal: walDecodeContext(relationWithTags.src_wal), + dst_wal: walDecodeContext(relationWithTags.dst_wal), + tags: relationWithTags.tags, + relation_hash: relationWithTags.relation_hash, + created_at: relationWithTags.created_at, + }; +} diff --git a/shared/group-client/src/types.ts b/shared/group-client/src/types.ts index d5617c25..6eb7d8c1 100644 --- a/shared/group-client/src/types.ts +++ b/shared/group-client/src/types.ts @@ -7,7 +7,7 @@ import { EntryHash, Timestamp, } from '@holochain/client'; -import { AppletHash, AppletId, WAL } from '@theweave/api'; +import { AppletId, WAL } from '@theweave/api'; export interface RelatedGroup { group_profile: GroupProfile; @@ -187,6 +187,7 @@ export type AssetRelationAndHash = { src_wal: WAL; dst_wal: WAL; relation_hash: EntryHash; + created_at: number; }; export type AssetRelationWithTags = { @@ -194,6 +195,7 @@ export type AssetRelationWithTags = { dst_wal: WAL; tags: string[]; relation_hash: EntryHash; + created_at: number; }; export type RelateAssetsInput = { diff --git a/shared/types/package.json b/shared/types/package.json index 08915dfe..169ffd78 100644 --- a/shared/types/package.json +++ b/shared/types/package.json @@ -18,7 +18,7 @@ "type": "module", "dependencies": { "@holochain/client": "^0.18.0", - "@theweave/api": "0.4.0-alpha.2", + "@theweave/api": "0.4.0-alpha.3", "@sinclair/typebox": "0.33.12" }, "devDependencies": { diff --git a/shared/utils/package.json b/shared/utils/package.json index 1ea085de..014f1f48 100644 --- a/shared/utils/package.json +++ b/shared/utils/package.json @@ -18,7 +18,7 @@ "type": "module", "dependencies": { "@holochain/client": "^0.18.0", - "@theweave/api": "0.4.0-alpha.2", + "@theweave/api": "0.4.0-alpha.3", "@theweave/moss-types": "0.3.0-alpha.2", "@msgpack/msgpack": "^2.7.2", "compare-versions": "6.1.1", diff --git a/src/renderer/package.json b/src/renderer/package.json index fc7ac334..8126e3f7 100644 --- a/src/renderer/package.json +++ b/src/renderer/package.json @@ -12,10 +12,10 @@ "@holochain-open-dev/profiles": "0.400.0", "@holochain-open-dev/stores": "0.400.0", "@holochain-open-dev/utils": "0.400.0", - "@theweave/api": "0.4.0-alpha.2", + "@theweave/api": "0.4.0-alpha.3", "@theweave/elements": "0.4.0-alpha.1", "@theweave/utils": "0.3.0-alpha.2", - "@theweave/group-client": "0.2.0-alpha.1", + "@theweave/group-client": "0.2.0-alpha.2", "@lit/context": "^1.0.1", "@lit-labs/task": "^1.1.2", "@lit/localize": "^0.12.0", diff --git a/src/renderer/src/applets/applet-host.ts b/src/renderer/src/applets/applet-host.ts index fe3fe48c..7ba4751e 100644 --- a/src/renderer/src/applets/applet-host.ts +++ b/src/renderer/src/applets/applet-host.ts @@ -700,6 +700,7 @@ export async function handleAppletIframeMessage( if (groupStores.size === 0) { throw new Error('No associated group found for the provided WAL.'); } + console.log('### removing asset relation'); return Promise.all( Array.from(groupStores.values()).map((groupStore) => groupStore.assetsClient.removeAssetRelation(message.relationHash), diff --git a/src/renderer/src/groups/group-store.ts b/src/renderer/src/groups/group-store.ts index 378ea25d..76b4952b 100644 --- a/src/renderer/src/groups/group-store.ts +++ b/src/renderer/src/groups/group-store.ts @@ -356,6 +356,7 @@ export class GroupStore { break; } case 'AssetRelationRemoved': { + console.log('AssetRelationRemoved: signal: ', signal); const srcWalStringified = stringifyWal(signal.relation.src_wal); const dstWalStringified = stringifyWal(signal.relation.dst_wal); const srcStoreAndSubscribers = this._assetStores[srcWalStringified]; @@ -449,6 +450,7 @@ export class GroupStore { break; } case 'RelationTagsRemoved': { + console.log('RelationTagsRemoved: signal: ', signal); const srcWalStringified = stringifyWal(signal.src_wal); const dstWalStringified = stringifyWal(signal.dst_wal); const srcStoreAndSubscribers = this._assetStores[srcWalStringified]; diff --git a/tests/package.json b/tests/package.json index e473806e..1a5683ae 100644 --- a/tests/package.json +++ b/tests/package.json @@ -11,8 +11,8 @@ "@holochain/client": "^0.18.0", "@holochain/tryorama": "0.17.0-rc.0", "@holochain-open-dev/utils": "0.400.0", - "@theweave/group-client": "0.2.0-alpha.1", - "@theweave/api": "0.4.0-alpha.2", + "@theweave/group-client": "0.2.0-alpha.2", + "@theweave/api": "0.4.0-alpha.3", "typescript": "^4.9.4", "vitest": "^0.28.4" }, diff --git a/versions.json b/versions.json index c49a2ea7..0af235fe 100644 --- a/versions.json +++ b/versions.json @@ -7,7 +7,7 @@ "lairVersion": "0.5.3", "packages": { "@theweave/cli": "0.13.0-rc.0", - "@theweave/api": "0.4.0-alpha.2", + "@theweave/api": "0.4.0-alpha.3", "@theweave/elements": "0.4.0-alpha.1" } }, diff --git a/wdocker/package.json b/wdocker/package.json index dc97c9a1..be247f3c 100644 --- a/wdocker/package.json +++ b/wdocker/package.json @@ -19,12 +19,12 @@ "@folder/xdg": "4.0.1", "@holochain/client": "^0.18.0", "@inquirer/prompts": "6.0.1", - "@lightningrodlabs/we-rust-utils": "0.400.0-rc.1", + "@lightningrodlabs/we-rust-utils": "0.400.1", "@msgpack/msgpack": "^2.8.0", "@sinclair/typebox": "0.33.12", - "@theweave/api": "0.4.0-alpha.2", + "@theweave/api": "0.4.0-alpha.3", "@theweave/utils": "0.3.0-alpha.2", - "@theweave/group-client": "0.2.0-alpha.1", + "@theweave/group-client": "0.2.0-alpha.2", "bufferutil": "4.0.8", "cli-table": "0.3.11", "commander": "11.1.0", diff --git a/yarn.lock b/yarn.lock index 4456fb06..f941c541 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2196,40 +2196,40 @@ resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils-darwin-arm64/-/we-rust-utils-darwin-arm64-0.400.0-rc.0.tgz#8a159c4d9893dab9e9c7dd7605e2252c46d1e52f" integrity sha512-ZXCIqllu1poOA4LDgjV3q4aNsC+QkrzrkNWXeaPQlXLyG7w6LnBRTTcyDpIa4+jOA0r3AYigahGY3Itm+JLdKA== -"@lightningrodlabs/we-rust-utils-darwin-arm64@0.400.0-rc.1": - version "0.400.0-rc.1" - resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils-darwin-arm64/-/we-rust-utils-darwin-arm64-0.400.0-rc.1.tgz#b43ee7dd47dfe7696cab9fd5bda7adf07948c297" - integrity sha512-ZrvfCdorPV+F1X+hdEO/ZdU1dPrHkS3LMbZc31lqMSNvas6+ndmnrWJ62L67RcI+Yh/DNKhYV6i7Ou4Si5p6HA== +"@lightningrodlabs/we-rust-utils-darwin-arm64@0.400.1": + version "0.400.1" + resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils-darwin-arm64/-/we-rust-utils-darwin-arm64-0.400.1.tgz#4c024f18326dee2b7ed8cb9bba4503be579693e4" + integrity sha512-gBmkFmioy8oXN5iQySGzZq8tjfJ2SGs6X9flp3vsbYgX1gtIqFSUTsdxJz+ZjIzxsH2Jvj8Kz++/wGVuT09dPg== "@lightningrodlabs/we-rust-utils-darwin-x64@0.400.0-rc.0": version "0.400.0-rc.0" resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils-darwin-x64/-/we-rust-utils-darwin-x64-0.400.0-rc.0.tgz#15492a985ae0615c23c7a49087e64feb725f8511" integrity sha512-FQWoHKKi9mmzyO9bB4rh7q6yhnPvxS5H2Gf3tdlVG4a0YKMmZ8a/t32dYvminh7DzokwcsmEbxE0x13K7SL4iA== -"@lightningrodlabs/we-rust-utils-darwin-x64@0.400.0-rc.1": - version "0.400.0-rc.1" - resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils-darwin-x64/-/we-rust-utils-darwin-x64-0.400.0-rc.1.tgz#5ed96082fac2d04be8211c3c8b14d31276b3a5b9" - integrity sha512-lzyBjEeFxrYy8eviVlOg2e1m6nHJCNwnwFtJgg880b/BbMKDPP2hDLm10yIu0SOCdxaLXJRt4nKE16oiQm5hwA== +"@lightningrodlabs/we-rust-utils-darwin-x64@0.400.1": + version "0.400.1" + resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils-darwin-x64/-/we-rust-utils-darwin-x64-0.400.1.tgz#4518eed480e2e6edd94d2e5625706f7aa29e62c1" + integrity sha512-sBagev9/+YKR7wLYMOBUyZZzWMgZDieTnT7fiP5AGM1iwJ2CLMgAIQ0xiaYQFDCQ3rLg7tUdX+2iMxLrtTtQ/w== "@lightningrodlabs/we-rust-utils-linux-x64-gnu@0.400.0-rc.0": version "0.400.0-rc.0" resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils-linux-x64-gnu/-/we-rust-utils-linux-x64-gnu-0.400.0-rc.0.tgz#f7736a8c522590db3395f8e504f541f068e41c44" integrity sha512-BJ0iBqxIM6lmbz1MMQ5gqBXXkarMpIrjxEeMy5IDS+tvAEdP7h+6olVsvumiRBhmB6CLwiBzwu4D0EthgbNxaQ== -"@lightningrodlabs/we-rust-utils-linux-x64-gnu@0.400.0-rc.1": - version "0.400.0-rc.1" - resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils-linux-x64-gnu/-/we-rust-utils-linux-x64-gnu-0.400.0-rc.1.tgz#84388e6a74658dc99766ff1f5478e7a4873e8256" - integrity sha512-AsWFWK75e8k40g1aE5UZdsk62la8KVBzL+SQsfiIg4ss5NimwtHNJfzIs1jwUjTg1Blee3e1nt5igVMuOiscyg== +"@lightningrodlabs/we-rust-utils-linux-x64-gnu@0.400.1": + version "0.400.1" + resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils-linux-x64-gnu/-/we-rust-utils-linux-x64-gnu-0.400.1.tgz#9cdeb4b895c0486e30203bdac5de226132cf5587" + integrity sha512-KirgXwKi75mtVGnUzj4aYUN9US0yNM+Az0+vAD8rubPSysHV+47HL1GWLAOHqHwvQ0fT6VWOKB4qSkngJP2b7A== "@lightningrodlabs/we-rust-utils-win32-x64-msvc@0.400.0-rc.0": version "0.400.0-rc.0" resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils-win32-x64-msvc/-/we-rust-utils-win32-x64-msvc-0.400.0-rc.0.tgz#4bd15789425305061a8449de6eefea07bb47a192" integrity sha512-Wc5Jo1C9YG/6EP1TEFDuFHoDkxvQG6X5RtLA120zj35W9Ll0Hwhkxd6wBknCYZQNjKhsuqKwTgKM5bpC97tc7w== -"@lightningrodlabs/we-rust-utils-win32-x64-msvc@0.400.0-rc.1": - version "0.400.0-rc.1" - resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils-win32-x64-msvc/-/we-rust-utils-win32-x64-msvc-0.400.0-rc.1.tgz#a4f5abe189ed1228810cc15197637238b434c9e6" - integrity sha512-UvBhvLVLiDwojgh8knJ8GOoRAJTz0D6aWfmoAQ0tC9cU90WMcN+8ZMC/nLqwuqqpxQEJ55Z34+Hfm6r7LKh0nQ== +"@lightningrodlabs/we-rust-utils-win32-x64-msvc@0.400.1": + version "0.400.1" + resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils-win32-x64-msvc/-/we-rust-utils-win32-x64-msvc-0.400.1.tgz#2113e12e73f10b5498b184580f96985477bf914c" + integrity sha512-t/p+Nzt+LpIJqo4oM6ofO0Kj51ptWQWzisWX3/5Ch+NDUaKZp3RODzLok+pM1vvoxsL+eyt3MaOLo5oNC8UgUg== "@lightningrodlabs/we-rust-utils@0.400.0-rc.0": version "0.400.0-rc.0" @@ -2241,15 +2241,15 @@ "@lightningrodlabs/we-rust-utils-linux-x64-gnu" "0.400.0-rc.0" "@lightningrodlabs/we-rust-utils-win32-x64-msvc" "0.400.0-rc.0" -"@lightningrodlabs/we-rust-utils@0.400.0-rc.1": - version "0.400.0-rc.1" - resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils/-/we-rust-utils-0.400.0-rc.1.tgz#24bbef3e372ac1bfbe1b802ca55454458462f918" - integrity sha512-W0/gLf5Eg9tePOPRMpjw4sKHEcq8P39ucOlMQrDawPRD0rhdAXr5OAGMNMlvT4fAIOgcwyEyoAwDRu/vdTOqkg== +"@lightningrodlabs/we-rust-utils@0.400.1": + version "0.400.1" + resolved "https://registry.yarnpkg.com/@lightningrodlabs/we-rust-utils/-/we-rust-utils-0.400.1.tgz#d2417b7bdb3abffe4d39710a497b74a6d4e35e99" + integrity sha512-Dv86gqeVHg+RATe5LO3uVdElqU2SgQxD8PMc3Ao+g2CQRK/RBc5ls2CGAxFDoTlTFJgVpqT65I6BSgayCIeU7g== optionalDependencies: - "@lightningrodlabs/we-rust-utils-darwin-arm64" "0.400.0-rc.1" - "@lightningrodlabs/we-rust-utils-darwin-x64" "0.400.0-rc.1" - "@lightningrodlabs/we-rust-utils-linux-x64-gnu" "0.400.0-rc.1" - "@lightningrodlabs/we-rust-utils-win32-x64-msvc" "0.400.0-rc.1" + "@lightningrodlabs/we-rust-utils-darwin-arm64" "0.400.1" + "@lightningrodlabs/we-rust-utils-darwin-x64" "0.400.1" + "@lightningrodlabs/we-rust-utils-linux-x64-gnu" "0.400.1" + "@lightningrodlabs/we-rust-utils-win32-x64-msvc" "0.400.1" "@lion/accordion@^0.9.0": version "0.9.0" @@ -3146,7 +3146,7 @@ "@material/web" "=1.0.0-pre.9" "@mdi/js" "^7.2.0" "@shoelace-style/shoelace" "^2.19.0" - "@theweave/api" "0.4.0-alpha.1" + "@theweave/api" "0.4.0-alpha.2" "@theweave/elements" "0.4.0-alpha.1" lit "^3.0.2" @@ -3195,7 +3195,7 @@ "@lit/localize" "^0.12.0" "@mdi/js" "^7.2.0" "@shoelace-style/shoelace" "^2.19.0" - "@theweave/api" "0.4.0-alpha.1" + "@theweave/api" "0.4.0-alpha.2" js-base64 "^3.7.5" lit "^3.0.2"