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

@stacks/bns

Package Overview
Dependencies
Maintainers
8
Versions
629
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stacks/bns - npm Package Compare versions

Comparing version 2.0.0-beta.0 to 2.0.0-beta.1

3

dist/esm/index.js
import { Buffer } from '@stacks/common';
import { bufferCV, callReadOnlyFunction, ClarityType, cvToString, getAddressFromPrivateKey, getCVTypeString, hash160, makeRandomPrivKey, makeUnsignedContractCall, privateKeyToString, standardPrincipalCV, } from '@stacks/transactions';
import { AnchorMode, bufferCV, callReadOnlyFunction, ClarityType, cvToString, getAddressFromPrivateKey, getCVTypeString, hash160, makeRandomPrivKey, makeUnsignedContractCall, privateKeyToString, standardPrincipalCV, } from '@stacks/transactions';
import { bufferCVFromString, decodeFQN, getZonefileHash, uintCVFromBN } from './utils';

@@ -23,2 +23,3 @@ import { ChainID } from '@stacks/common';

network: options.network,
anchorMode: AnchorMode.Any,
};

@@ -25,0 +26,0 @@ return makeUnsignedContractCall(txOptions);

@@ -26,2 +26,3 @@ "use strict";

network: options.network,
anchorMode: transactions_1.AnchorMode.Any,
};

@@ -28,0 +29,0 @@ return transactions_1.makeUnsignedContractCall(txOptions);

{
"name": "@stacks/bns",
"version": "2.0.0-beta.0",
"version": "2.0.0-beta.1",
"description": "Library for working with the Stacks Blockchain Naming System BNS.",

@@ -43,3 +43,3 @@ "keywords": [

"@stacks/network": "^1.2.2",
"@stacks/transactions": "^2.0.0-beta.0",
"@stacks/transactions": "^2.0.0-beta.1",
"@types/bn.js": "^4.11.6",

@@ -66,3 +66,3 @@ "bn.js": "^4.12.0"

"unpkg": "dist/index.umd.js",
"gitHead": "6d58c4273399a3644351d0fa822d6b94091679c1"
"gitHead": "49425044179afac8fbedda2d57fe081950580bbd"
}

@@ -40,3 +40,4 @@ # `@stacks/bns`

// construct an unsigned bns register-name transaction
// note: builder functions build transactions with AnchorMode set to Any
const unsignedTX = await buildRegisterNameTX({ name, salt, zonefile, publicKey, network });
```
import { Buffer } from '@stacks/common';
import {
AnchorMode,
bufferCV,

@@ -81,2 +82,3 @@ callReadOnlyFunction,

network: options.network,
anchorMode: AnchorMode.Any,
};

@@ -83,0 +85,0 @@

Sorry, the diff of this file is not supported yet

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