@hirosystems/clarinet-sdk-browser
Advanced tools
Comparing version 2.12.0-beta1 to 2.12.0-beta2
import init, { SDK } from "@hirosystems/clarinet-sdk-wasm-browser"; | ||
import { httpClient } from "../../common/src/httpClient.js"; | ||
import { getSessionProxy } from "./sdkProxy.js"; | ||
@@ -15,4 +16,4 @@ import { defaultVfs } from "./defaultVfs.js"; | ||
const vfs = virtualFileSystem ? virtualFileSystem : defaultVfs; | ||
return new Proxy(new SDK(vfs), getSessionProxy()); | ||
return new Proxy(new SDK(vfs, httpClient), getSessionProxy()); | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@hirosystems/clarinet-sdk-browser", | ||
"version": "2.12.0-beta1", | ||
"version": "2.12.0-beta2", | ||
"description": "A SDK to interact with Clarity Smart Contracts in the browser", | ||
@@ -31,5 +31,6 @@ "homepage": "https://www.hiro.so/clarinet", | ||
"dependencies": { | ||
"@hirosystems/clarinet-sdk-wasm-browser": "2.12.0-beta1", | ||
"@stacks/transactions": "^6.13.0" | ||
"@hirosystems/clarinet-sdk-wasm-browser": "2.12.0-beta2", | ||
"@stacks/transactions": "^6.13.0", | ||
"sync-request": "^6.1.0" | ||
} | ||
} |
@@ -30,3 +30,3 @@ # Clarinet SDK for the Web | ||
const simnet = await initSimnet(); | ||
await simnet.initEmtpySession(); | ||
await simnet.initEmptySession(); | ||
simnet.runSnippet("(+ 1 2)") | ||
@@ -33,0 +33,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23708
18
306
3
+ Addedsync-request@^6.1.0
+ Added@hirosystems/clarinet-sdk-wasm-browser@2.12.0-beta2(transitive)
+ Added@types/concat-stream@1.6.1(transitive)
+ Added@types/form-data@0.0.33(transitive)
+ Added@types/node@10.17.608.10.66(transitive)
+ Added@types/qs@6.9.17(transitive)
+ Addedasap@2.0.6(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedconcat-stream@1.6.2(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedform-data@2.5.2(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.7(transitive)
+ Addedget-port@3.2.0(transitive)
+ Addedget-proto@1.0.1(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhttp-basic@8.1.3(transitive)
+ Addedhttp-response-object@3.0.2(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedobject-inspect@1.13.3(transitive)
+ Addedparse-cache-control@1.0.1(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedpromise@8.3.0(transitive)
+ Addedqs@6.13.1(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedsafe-buffer@5.1.25.2.1(transitive)
+ Addedside-channel@1.1.0(transitive)
+ Addedside-channel-list@1.0.0(transitive)
+ Addedside-channel-map@1.0.1(transitive)
+ Addedside-channel-weakmap@1.0.2(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedsync-request@6.1.0(transitive)
+ Addedsync-rpc@1.3.6(transitive)
+ Addedthen-request@6.0.2(transitive)
+ Addedtypedarray@0.0.6(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
- Removed@hirosystems/clarinet-sdk-wasm-browser@2.12.0-beta1(transitive)