diff --git a/playground/entities.html b/playground/entities.html index 99ea997..9f8c6b5 100644 --- a/playground/entities.html +++ b/playground/entities.html @@ -1,76 +1,76 @@ - - + - + - + - + - + run().catch((error) => { + console.error(error); + updateManager.displayUpdate("error", error.toString()); + }); - \ No newline at end of file + console.log("a"); + + + diff --git a/playground/events.html b/playground/events.html index be54721..0ae8fa3 100644 --- a/playground/events.html +++ b/playground/events.html @@ -21,14 +21,12 @@ await init(); let config = { - rpcUrl: 'http://localhost:5050', toriiUrl: 'http://localhost:8080', relayUrl: '', worldAddress: '0x064613f376f05242dfcc9fe360fa2ce1fdd6b00b1ce73dae2ea649ea118fd9be' } - let cconfig = new ClientConfig(config.rpcUrl, config.toriiUrl, config.relayUrl, config.worldAddress); - const client = await createClient(cconfig); + const client = await createClient(config); const is_historical = false; diff --git a/playground/tokens.html b/playground/tokens.html new file mode 100644 index 0000000..1424748 --- /dev/null +++ b/playground/tokens.html @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + \ No newline at end of file