Skip to content

Commit

Permalink
fix(playground): add missing historical argument (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm authored Dec 14, 2024
1 parent e65b65d commit d67776b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playground/events.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
let cconfig = new ClientConfig(config.rpcUrl, config.toriiUrl, config.relayUrl, config.worldAddress);
const client = await createClient(cconfig);

const is_historical = false;

let events = await client.getEventMessages({
limit: 10,
offset: 0,
Expand All @@ -43,12 +45,10 @@
models: []
}
}
});
}, is_historical);

updateManager.displayUpdate('fetch', events);

const is_historical = false;

const subscription = await client.onEventMessageUpdated(
[
{
Expand Down

0 comments on commit d67776b

Please sign in to comment.