Skip to content

Commit

Permalink
Update dep for the microblogging app
Browse files Browse the repository at this point in the history
  • Loading branch information
iduartgomez committed Sep 26, 2023
1 parent 5917aed commit 9826b7d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 19 deletions.
36 changes: 20 additions & 16 deletions apps/freenet-microblogging/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/freenet-microblogging/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ panic = 'abort'
strip = true

[workspace.dependencies]
freenet-stdlib = { path = "../../stdlib/rust", default-features = false }
freenet-stdlib = { version = "0.0.5", default-features = false }

#[target.wasm32-unknown-unknown]
#rustflags = ["-C", "link-arg=--import-memory"]
4 changes: 2 additions & 2 deletions apps/freenet-microblogging/web/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
GetResponse,
HostError,
ContractKey,
LocutusWsApi,
FreenetWsApi,
PutResponse,
UpdateNotification,
UpdateResponse,
Expand Down Expand Up @@ -146,7 +146,7 @@ const handler = {
};

const API_URL = new URL(`ws://${location.host}/contract/command`);
const locutusApi = new LocutusWsApi(API_URL, handler);
const locutusApi = new FreenetWsApi(API_URL, handler);

async function loadState() {
const key = ContractKey.fromInstanceId(MODEL_CONTRACT);
Expand Down

0 comments on commit 9826b7d

Please sign in to comment.