From 9be1f72fd47d35d86209d797116c611d74ba33dc Mon Sep 17 00:00:00 2001 From: Ludo Galabru Date: Tue, 22 Jun 2021 21:47:28 -0400 Subject: [PATCH] fix: update clarity ts imports (v0.13) --- README.md | 2 +- examples/counter/scripts/abi.ts | 2 +- examples/counter/tests/counter_test.ts | 2 +- src/generators/contract.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a3e3631de..f46ace4cf 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ command: $ clarinet test ``` -You can review the available testing commands in the [Deno Clarity library](https://deno.land/x/clarinet@v0.6.0/index.ts). +You can review the available testing commands in the [Deno Clarity library](https://deno.land/x/clarinet@v0.13.0/index.ts). ### Load contracts in a console diff --git a/examples/counter/scripts/abi.ts b/examples/counter/scripts/abi.ts index 4279f6c0c..b5c4b9c97 100644 --- a/examples/counter/scripts/abi.ts +++ b/examples/counter/scripts/abi.ts @@ -1,4 +1,4 @@ -import { Clarinet, Contract, Account, StacksNode } from 'https://deno.land/x/clarinet@v0.12.0/index.ts'; +import { Clarinet, Contract, Account, StacksNode } from 'https://deno.land/x/clarinet@v0.13.0/index.ts'; Clarinet.run({ async fn(accounts: Map, contracts: Map, node: StacksNode) { diff --git a/examples/counter/tests/counter_test.ts b/examples/counter/tests/counter_test.ts index 90cbb3d58..ebf2e807e 100644 --- a/examples/counter/tests/counter_test.ts +++ b/examples/counter/tests/counter_test.ts @@ -1,4 +1,4 @@ -import { Clarinet, Tx, Chain, Account, Contract, types } from 'https://deno.land/x/clarinet@v0.12.0/index.ts'; +import { Clarinet, Tx, Chain, Account, Contract, types } from 'https://deno.land/x/clarinet@v0.13.0/index.ts'; import { assertEquals } from "https://deno.land/std@0.90.0/testing/asserts.ts"; Clarinet.test({ diff --git a/src/generators/contract.rs b/src/generators/contract.rs index c55470be4..b5ceeff5d 100644 --- a/src/generators/contract.rs +++ b/src/generators/contract.rs @@ -66,7 +66,7 @@ impl GetChangesForNewContract { fn create_template_test(&mut self) { let content = format!( r#" -import {{ Clarinet, Tx, Chain, Account, types }} from 'https://deno.land/x/clarinet@v0.12.0/index.ts'; +import {{ Clarinet, Tx, Chain, Account, types }} from 'https://deno.land/x/clarinet@v0.13.0/index.ts'; import {{ assertEquals }} from 'https://deno.land/std@0.90.0/testing/asserts.ts'; Clarinet.test({{