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

scrypt-ts

Package Overview
Dependencies
Maintainers
2
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrypt-ts - npm Package Compare versions

Comparing version 0.1.5-beta.19 to 0.1.5-beta.20

1

dist/bsv/wallets/test-wallet.d.ts

@@ -17,2 +17,3 @@ import { Signer, SignatureRequest, SignatureResponse, SignTransactionOptions } from "../abstract-signer";

get addresses(): string[];
pushPrivateKey(privateKey: bsv.PrivateKey | bsv.PrivateKey[]): void;
getDefaultAddress(): Promise<bsv.Address>;

@@ -19,0 +20,0 @@ getDefaultPubKey(): Promise<bsv.PublicKey>;

@@ -92,2 +92,7 @@ "use strict";

});
TestWallet.prototype.pushPrivateKey = function (privateKey) {
var _a;
var keys = privateKey instanceof Array ? privateKey : [privateKey];
(_a = this._privateKeys).push.apply(_a, keys);
};
TestWallet.prototype.getDefaultAddress = function () {

@@ -94,0 +99,0 @@ return Promise.resolve(this._defaultPrivateKey.toAddress());

2

dist/smart-contract/builtins/types.d.ts

@@ -16,3 +16,3 @@ import { Bytes, AbstractContract, Int } from "scryptlib";

* Converts a literal to ByteString.
* If isUtf8 is false, then `str` should be in the format of hex literal, i.e. `/^([0-9a-fA-F]{2})*$/`
* If not passing `isUtf8`, then `str` should be in the format of hex literal, i.e. `/^([0-9a-fA-F]{2})*$/`
* Otherwise, `str` should be in the format of utf8 literal, i.e. `hello world`

@@ -19,0 +19,0 @@ * @param {string} str literal string, can be hex literal or utf8 literal, depends on isUtf8 marker

@@ -19,3 +19,3 @@ "use strict";

* Converts a literal to ByteString.
* If isUtf8 is false, then `str` should be in the format of hex literal, i.e. `/^([0-9a-fA-F]{2})*$/`
* If not passing `isUtf8`, then `str` should be in the format of hex literal, i.e. `/^([0-9a-fA-F]{2})*$/`
* Otherwise, `str` should be in the format of utf8 literal, i.e. `hello world`

@@ -22,0 +22,0 @@ * @param {string} str literal string, can be hex literal or utf8 literal, depends on isUtf8 marker

{
"name": "scrypt-ts",
"version": "0.1.5-beta.19",
"version": "0.1.5-beta.20",
"description": "A toolset for building sCrypt smart contract applications on Bitcoin SV network written in typescript.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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