New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hirosystems/clarinet-sdk-browser

Package Overview
Dependencies
Maintainers
4
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.7.0-beta3 to 2.7.0-beta4

9

dist/esm/browser/src/sdkProxy.js

@@ -25,9 +25,4 @@ import { Cl } from "@stacks/transactions";

const runSnippet = (snippet) => {
const response = session[prop](snippet);
if (response.startsWith("0x")) {
return Cl.deserialize(response);
}
else {
return response;
}
const response = session.runSnippet(snippet);
return parseTxResponse(response);
};

@@ -34,0 +29,0 @@ return runSnippet;

@@ -68,4 +68,4 @@ import { ClarityValue } from "@stacks/transactions";

export type MineBlock = (txs: Array<Tx>) => ParsedTransactionResult[];
export type RunSnippet = (snippet: string) => ParsedTransactionResult;
export type GetDataVar = (contract: string, dataVar: string) => ClarityValue;
export type GetMapEntry = (contract: string, mapName: string, mapKey: ClarityValue) => ClarityValue;
export type RunSnippet = (snippet: string) => ClarityValue | string;
{
"name": "@hirosystems/clarinet-sdk-browser",
"version": "2.7.0-beta3",
"version": "2.7.0-beta4",
"description": "A SDK to interact with Clarity Smart Contracts in the browser",

@@ -8,3 +8,3 @@ "homepage": "https://docs.hiro.so/clarinet/feature-guides/clarinet-js-sdk",

"type": "git",
"url": "https://github.com/hirosystems/clarinet"
"url": "git+https://github.com/hirosystems/clarinet.git"
},

@@ -32,5 +32,5 @@ "files": [

"dependencies": {
"@hirosystems/clarinet-sdk-wasm-browser": "^2.7.0-beta2",
"@hirosystems/clarinet-sdk-wasm-browser": "^2.7.0-beta3",
"@stacks/transactions": "^6.13.0"
}
}

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