diff --git a/Cargo.lock b/Cargo.lock
index 340c6dae9..5e41ba717 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3027,7 +3027,7 @@ dependencies = [
[[package]]
name = "holochain_scaffolding_cli"
-version = "0.4000.0-rc.2"
+version = "0.4000.0-rc.3"
dependencies = [
"anyhow",
"build-fs-tree",
diff --git a/Cargo.toml b/Cargo.toml
index 47e90fad2..9ae67ce93 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "holochain_scaffolding_cli"
-version = "0.4000.0-rc.2"
+version = "0.4000.0-rc.3"
description = "CLI to easily generate and modify holochain apps"
license = "CAL-1.0"
homepage = "https://developer.holochain.org"
diff --git a/templates/ui-frameworks/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/Create{{pascal_case entry_type.name}}.svelte.hbs b/templates/ui-frameworks/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/Create{{pascal_case entry_type.name}}.svelte.hbs
index cd1c9eae6..a0c7a6edf 100644
--- a/templates/ui-frameworks/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/Create{{pascal_case entry_type.name}}.svelte.hbs
+++ b/templates/ui-frameworks/svelte/entry-type/ui/src/{{dna_role_name}}/{{coordinator_zome_manifest.name}}/Create{{pascal_case entry_type.name}}.svelte.hbs
@@ -1,7 +1,7 @@
diff --git a/templates/ui-frameworks/svelte/web-app/ui/src/contexts.ts.hbs b/templates/ui-frameworks/svelte/web-app/ui/src/contexts.ts.hbs
index 9f41a2624..76cade143 100644
--- a/templates/ui-frameworks/svelte/web-app/ui/src/contexts.ts.hbs
+++ b/templates/ui-frameworks/svelte/web-app/ui/src/contexts.ts.hbs
@@ -1 +1,7 @@
-export const clientContext = 'AppClient';
\ No newline at end of file
+import { type AppClient } from "@holochain/client";
+
+export const clientContext = "AppClient";
+
+export type ClientContext = {
+ getClient: () => Promise;
+};
\ No newline at end of file