Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Clarity Playground

Run Clarity code in the browser with the
[Clarinet SDK](https://www.npmjs.com/package/@hirosystems/clarinet-sdk-browser).
[Clarinet SDK](https://www.npmjs.com/package/@stacks/clarinet-sdk-browser).

The playground gives access to the [Simnet](https://docs.hiro.so/clarinet/networks) in the browser.
It's possible to:
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h1>clarity playground</h1>
<script type="importmap">
{
"imports": {
"@hirosystems/clarinet-sdk-browser": "https://esm.sh/@hirosystems/clarinet-sdk-browser@3.8.1",
"@stacks/clarinet-sdk-browser": "https://esm.sh/@stacks/clarinet-sdk-browser@3.9.1",
"@stacks/transactions": "https://esm.sh/@stacks/[email protected]",
"monaco-editor": "https://cdn.jsdelivr.net/npm/[email protected]/+esm",
"monaco-editor-textmate": "https://esm.sh/[email protected]",
Expand Down
38 changes: 19 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "",
"license": "GPL-3.0",
"devDependencies": {
"@hirosystems/clarinet-sdk-browser": "3.8.1",
"@stacks/clarinet-sdk-browser": "3.9.1",
"@stacks/transactions": "7.2.0",
"monaco-editor": "0.52.0",
"monaco-editor-textmate": "4.0.0",
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/simnet-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let deployed = false;
// @ts-ignore
globalThis.window = globalThis;

/** @import { Simnet } from "@hirosystems/clarinet-sdk-browser" */
/** @import { Simnet } from "@stacks/clarinet-sdk-browser" */
/** @import { InitOptions } from "./simnet" */

/** @type {Simnet | null} */
Expand Down Expand Up @@ -76,7 +76,7 @@ function postClarityResult(value, classes) {
export async function initClarinetSDK(options) {
const { initSimnet, SDK } = await import(
// @ts-ignore
"https://esm.sh/@hirosystems/clarinet-sdk-browser@latest"
"https://esm.sh/@stacks/clarinet-sdk-browser@latest"
);

// init simnet
Expand Down