Skip to content

Commit

Permalink
update to beta3 sdk and add stream.close
Browse files Browse the repository at this point in the history
  • Loading branch information
nickchomey committed Feb 5, 2025
1 parent db86a47 commit 5a7b9c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/typescript/deno-sw/src/hello-world.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function getHelloWorldHtml() {
}
</script>
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].2/bundles/datastar.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/[email protected].3/bundles/datastar.js"></script>
</head>
<body class="bg-white dark:bg-gray-900 text-lg max-w-xl mx-auto my-16">
<div data-signals-delay="400" class="bg-white dark:bg-gray-800 text-gray-500 dark:text-gray-400 rounded-lg px-6 py-8 ring shadow-xl ring-gray-900/5 space-y-2">
Expand Down
1 change: 1 addition & 0 deletions examples/typescript/deno/deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Deno.serve({
);
await new Promise(resolve => setTimeout(resolve, reader.signals.delay));
}
stream.close();
});
}

Expand Down

0 comments on commit 5a7b9c5

Please sign in to comment.