@hirosystems/clarinet-sdk-browser
Advanced tools
Comparing version 2.7.0-beta5 to 2.7.0-beta7
import { type SDK } from "@hirosystems/clarinet-sdk-wasm-browser"; | ||
import { type CallFn, type DeployContract, type GetDataVar, type GetMapEntry, type MineBlock, type Execute, type TransferSTX } from "../../common/src/sdkProxyHelpers.js"; | ||
/** @deprecated use `simnet.execute(command)` instead */ | ||
type RunSnippet = SDK["runSnippet"]; | ||
export type Simnet = { | ||
[K in keyof SDK]: K extends "callReadOnlyFn" | "callPublicFn" | "callPrivateFn" ? CallFn : K extends "execute" ? Execute : K extends "deployContract" ? DeployContract : K extends "transferSTX" ? TransferSTX : K extends "mineBlock" ? MineBlock : K extends "getDataVar" ? GetDataVar : K extends "getMapEntry" ? GetMapEntry : SDK[K]; | ||
[K in keyof SDK]: K extends "callReadOnlyFn" | "callPublicFn" | "callPrivateFn" ? CallFn : K extends "execute" ? Execute : K extends "runSnippet" ? RunSnippet : K extends "deployContract" ? DeployContract : K extends "transferSTX" ? TransferSTX : K extends "mineBlock" ? MineBlock : K extends "getDataVar" ? GetDataVar : K extends "getMapEntry" ? GetMapEntry : SDK[K]; | ||
}; | ||
@@ -9,1 +11,2 @@ export declare function getSessionProxy(): { | ||
}; | ||
export {}; |
{ | ||
"name": "@hirosystems/clarinet-sdk-browser", | ||
"version": "2.7.0-beta5", | ||
"version": "2.7.0-beta7", | ||
"description": "A SDK to interact with Clarity Smart Contracts in the browser", | ||
@@ -5,0 +5,0 @@ "homepage": "https://docs.hiro.so/clarinet/feature-guides/clarinet-js-sdk", |
Sorry, the diff of this file is not supported yet
22465
294