From 06068123f7eee19dfb4b9bb8ec39dcfa3ccfb4e2 Mon Sep 17 00:00:00 2001 From: Chad Ostrowski <221614+chadoh@users.noreply.github.com> Date: Thu, 3 Oct 2024 11:30:53 -0400 Subject: [PATCH] fix(cli): Client init: don't specify publicKey The typings encourage you to omit the parameter altogether, rather than explicitly setting it to `undefined`. --- crates/loam-cli/src/commands/build/clients.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/loam-cli/src/commands/build/clients.rs b/crates/loam-cli/src/commands/build/clients.rs index 5716bdd5..c215b582 100644 --- a/crates/loam-cli/src/commands/build/clients.rs +++ b/crates/loam-cli/src/commands/build/clients.rs @@ -245,7 +245,6 @@ export default new Client.Client({{ networkPassphrase: '{network}', contractId: '{contract_id}', rpcUrl,{allow_http} - publicKey: undefined, }}); "# );