Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hirosystems/clarinet-sdk-wasm

Package Overview
Dependencies
Maintainers
4
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hirosystems/clarinet-sdk-wasm - npm Package Compare versions

Comparing version 2.6.0-beta2 to 2.6.0

19

clarinet_sdk.d.ts

@@ -46,4 +46,5 @@ /* tslint:disable */

* @param {Function} fs_request
* @param {SDKOptions | undefined} [options]
*/
constructor(fs_request: Function);
constructor(fs_request: Function, options?: SDKOptions);
/**

@@ -164,2 +165,18 @@ * @param {string} cwd

*/
export class SDKOptions {
free(): void;
/**
* @param {boolean} track_costs
* @param {boolean} track_coverage
*/
constructor(track_costs: boolean, track_coverage: boolean);
/**
*/
trackCosts: boolean;
/**
*/
trackCoverage: boolean;
}
/**
*/
export class SessionReport {

@@ -166,0 +183,0 @@ free(): void;

@@ -270,3 +270,3 @@ let imports = {};

}
function __wbg_adapter_169(arg0, arg1, arg2, arg3) {
function __wbg_adapter_174(arg0, arg1, arg2, arg3) {
wasm.wasm_bindgen__convert__closures__invoke2_mut__h2d78d70b7078fa90(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));

@@ -431,5 +431,11 @@ }

* @param {Function} fs_request
* @param {SDKOptions | undefined} [options]
*/
constructor(fs_request) {
const ret = wasm.sdk_new(addHeapObject(fs_request));
constructor(fs_request, options) {
let ptr0 = 0;
if (!isLikeNone(options)) {
_assertClass(options, SDKOptions);
ptr0 = options.__destroy_into_raw();
}
const ret = wasm.sdk_new(addHeapObject(fs_request), ptr0);
this.__wbg_ptr = ret >>> 0;

@@ -845,2 +851,58 @@ return this;

const SDKOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
? { register: () => {}, unregister: () => {} }
: new FinalizationRegistry(ptr => wasm.__wbg_sdkoptions_free(ptr >>> 0));
/**
*/
class SDKOptions {
__destroy_into_raw() {
const ptr = this.__wbg_ptr;
this.__wbg_ptr = 0;
SDKOptionsFinalization.unregister(this);
return ptr;
}
free() {
const ptr = this.__destroy_into_raw();
wasm.__wbg_sdkoptions_free(ptr);
}
/**
* @returns {boolean}
*/
get trackCosts() {
const ret = wasm.__wbg_get_sdkoptions_trackCosts(this.__wbg_ptr);
return ret !== 0;
}
/**
* @param {boolean} arg0
*/
set trackCosts(arg0) {
wasm.__wbg_set_sdkoptions_trackCosts(this.__wbg_ptr, arg0);
}
/**
* @returns {boolean}
*/
get trackCoverage() {
const ret = wasm.__wbg_get_sdkoptions_trackCoverage(this.__wbg_ptr);
return ret !== 0;
}
/**
* @param {boolean} arg0
*/
set trackCoverage(arg0) {
wasm.__wbg_set_sdkoptions_trackCoverage(this.__wbg_ptr, arg0);
}
/**
* @param {boolean} track_costs
* @param {boolean} track_coverage
*/
constructor(track_costs, track_coverage) {
const ret = wasm.sdkoptions_new(track_costs, track_coverage);
this.__wbg_ptr = ret >>> 0;
return this;
}
}
module.exports.SDKOptions = SDKOptions;
const SessionReportFinalization = (typeof FinalizationRegistry === 'undefined')

@@ -1097,12 +1159,2 @@ ? { register: () => {}, unregister: () => {} }

module.exports.__wbindgen_cb_drop = function(arg0) {
const obj = takeObject(arg0).original;
if (obj.cnt-- == 1) {
obj.a = 0;
return true;
}
const ret = false;
return ret;
};
module.exports.__wbindgen_string_get = function(arg0, arg1) {

@@ -1122,2 +1174,12 @@ const obj = getObject(arg1);

module.exports.__wbindgen_cb_drop = function(arg0) {
const obj = takeObject(arg0).original;
if (obj.cnt-- == 1) {
obj.a = 0;
return true;
}
const ret = false;
return ret;
};
module.exports.__wbg_new_abda76e883ba8a5f = function() {

@@ -1441,3 +1503,3 @@ const ret = new Error();

try {
return __wbg_adapter_169(a, state0.b, arg0, arg1);
return __wbg_adapter_174(a, state0.b, arg0, arg1);
} finally {

@@ -1536,4 +1598,4 @@ state0.a = a;

module.exports.__wbindgen_closure_wrapper2525 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 721, __wbg_adapter_44);
module.exports.__wbindgen_closure_wrapper2556 = function(arg0, arg1, arg2) {
const ret = makeMutClosure(arg0, arg1, 741, __wbg_adapter_44);
return addHeapObject(ret);

@@ -1540,0 +1602,0 @@ };

2

package.json
{
"name": "@hirosystems/clarinet-sdk-wasm",
"description": "The core lib that powers @hirosystems/clarinet-sdk",
"version": "2.6.0-beta2",
"version": "2.6.0",
"license": "GPL-3.0",

@@ -6,0 +6,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc