@hirosystems/clarinet-sdk-wasm
Advanced tools
Comparing version 2.7.0-beta12 to 2.7.0-beta15
/* tslint:disable */ | ||
/* eslint-disable */ | ||
type EpochString = "2.0" | "2.05" | "2.1" | "2.2" | "2.3" | "2.4" | "2.5" | "3.0" | ||
export type EpochString = "2.0" | "2.05" | "2.1" | "2.2" | "2.3" | "2.4" | "2.5" | "3.0" | ||
@@ -101,3 +101,3 @@ type Atom = { | ||
type StacksEpochId = | ||
export type StacksEpochId = | ||
| "Epoch10" | ||
@@ -113,5 +113,5 @@ | "Epoch20" | ||
type ClarityVersion = "Clarity1" | "Clarity2" | "Clarity3"; | ||
export type ClarityVersion = "Clarity1" | "Clarity2" | "Clarity3"; | ||
type IContractInterface = { | ||
export type IContractInterface = { | ||
functions: ContractInterfaceFunction[]; | ||
@@ -169,2 +169,6 @@ variables: ContractInterfaceVariable[]; | ||
/** | ||
* @returns {EpochString} | ||
*/ | ||
static getDefaultEpoch(): EpochString; | ||
/** | ||
* @returns {Promise<void>} | ||
@@ -171,0 +175,0 @@ */ |
@@ -270,3 +270,3 @@ let imports = {}; | ||
} | ||
function __wbg_adapter_179(arg0, arg1, arg2, arg3) { | ||
function __wbg_adapter_180(arg0, arg1, arg2, arg3) { | ||
wasm.wasm_bindgen__convert__closures__invoke2_mut__h5b5768d1820d3851(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); | ||
@@ -444,2 +444,9 @@ } | ||
/** | ||
* @returns {EpochString} | ||
*/ | ||
static getDefaultEpoch() { | ||
const ret = wasm.sdk_getDefaultEpoch(); | ||
return takeObject(ret); | ||
} | ||
/** | ||
* @returns {Promise<void>} | ||
@@ -1586,3 +1593,3 @@ */ | ||
try { | ||
return __wbg_adapter_179(a, state0.b, arg0, arg1); | ||
return __wbg_adapter_180(a, state0.b, arg0, arg1); | ||
} finally { | ||
@@ -1681,3 +1688,3 @@ state0.a = a; | ||
module.exports.__wbindgen_closure_wrapper2587 = function(arg0, arg1, arg2) { | ||
module.exports.__wbindgen_closure_wrapper2590 = function(arg0, arg1, arg2) { | ||
const ret = makeMutClosure(arg0, arg1, 741, __wbg_adapter_44); | ||
@@ -1684,0 +1691,0 @@ return addHeapObject(ret); |
{ | ||
"name": "@hirosystems/clarinet-sdk-wasm", | ||
"description": "The core lib that powers @hirosystems/clarinet-sdk", | ||
"version": "2.7.0-beta12", | ||
"version": "2.7.0-beta15", | ||
"license": "GPL-3.0", | ||
@@ -6,0 +6,0 @@ "repository": { |
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
8091408
1877