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

scrypt-ts

Package Overview
Dependencies
Maintainers
3
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 1.3.6 to 1.3.7

6

CHANGELOG.md
# CHANGELOG
## 1.3.7
- fix `this.debug.diffOutputs(outputs: ByteString)` issue.
## 1.3.5

@@ -4,0 +10,0 @@

0

dist/bsv/abstract-provider.d.ts

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { bsv } from 'scryptlib';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { PublicKey, Transaction } from "bsv";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { PublicKey, Transaction } from "bsv";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="chrome" />

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Provider } from "../../abstract-provider";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { bsv } from "scryptlib";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { bsv } from 'scryptlib';

@@ -0,0 +0,0 @@ "use strict";

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

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { bsv } from "scryptlib";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Action } from "../../core/action";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { bsv } from "scryptlib";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Action } from "../../core/action";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { bsv } from "scryptlib";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { bsv } from "scryptlib";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Action } from "../../core/action";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { SmartContract } from "../../smart-contract/contract";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Action } from "../../core/action";

@@ -0,0 +0,0 @@ import { Action } from "../../core/action";

@@ -0,0 +0,0 @@ export interface UtxoSpentEvent {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=utxoSpent.event.js.map

@@ -0,0 +0,0 @@ import { Action } from "./action";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { RequestMethod } from "./request-controller";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=action.js.map

@@ -0,0 +0,0 @@ export declare class Config {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { ActionResolver } from "./action-resolver";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Config } from "./config";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Config } from './config';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface JSONResponseEnvelope<T> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=types.js.map

@@ -0,0 +0,0 @@ import { BsvApi } from "./apis/bsv-api";

@@ -0,0 +0,0 @@ "use strict";

"use strict";
//# sourceMappingURL=types.js.map
import { bsv } from "scryptlib";
export declare function getTransaction(network: bsv.Networks.Network, txId: string): Promise<bsv.Transaction>;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { prop, method } from './smart-contract/decorators';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { bsv } from "scryptlib";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Networks } from "bsv";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Networks } from "bsv";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export { WhatsonchainProvider } from './whatsonchain-provider';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Provider, TransactionResponse, UtxoQueryOptions } from "../bsv/abstract-provider";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Networks } from "bsv";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Networks } from "bsv";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Networks } from "bsv";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Networks } from "bsv";

@@ -0,0 +0,0 @@ "use strict";

2

dist/smart-contract/builtins/functions.d.ts
import { SigHashType, Ripemd160, Sha256, Sha1 } from "scryptlib";
import { PubKey, Sig, PubKeyHash, OpCodeType, SigHashPreimage, PrivKey, ByteString, FixedArray } from "./types";
export { and, xor, or, invert, getSortedItem, sizeOfOrdinal } from "scryptlib";
export { and, xor, or, invert, getSortedItem } from "scryptlib";
/**

@@ -5,0 +5,0 @@ * Returns a section of a ByteString.

"use strict";
// build-in function
Object.defineProperty(exports, "__esModule", { value: true });
exports.Constants = exports.Tx = exports.VarIntWriter = exports.VarIntReader = exports.SigHash = exports.Utils = exports.OpCode = exports.asm = exports.rshift = exports.lshift = exports.assert = exports.hash256 = exports.hash160 = exports.sha256 = exports.sha1 = exports.ripemd160 = exports.within = exports.max = exports.min = exports.abs = exports.exit = exports.reverseByteString = exports.len = exports.byteString2Int = exports.int2ByteString = exports.fill = exports.slice = exports.sizeOfOrdinal = exports.getSortedItem = exports.invert = exports.or = exports.xor = exports.and = void 0;
exports.Constants = exports.Tx = exports.VarIntWriter = exports.VarIntReader = exports.SigHash = exports.Utils = exports.OpCode = exports.asm = exports.rshift = exports.lshift = exports.assert = exports.hash256 = exports.hash160 = exports.sha256 = exports.sha1 = exports.ripemd160 = exports.within = exports.max = exports.min = exports.abs = exports.exit = exports.reverseByteString = exports.len = exports.byteString2Int = exports.int2ByteString = exports.fill = exports.slice = exports.getSortedItem = exports.invert = exports.or = exports.xor = exports.and = void 0;
const scryptlib_1 = require("scryptlib");

@@ -14,3 +14,2 @@ const types_1 = require("./types");

Object.defineProperty(exports, "getSortedItem", { enumerable: true, get: function () { return scryptlib_2.getSortedItem; } });
Object.defineProperty(exports, "sizeOfOrdinal", { enumerable: true, get: function () { return scryptlib_2.sizeOfOrdinal; } });
/**

@@ -17,0 +16,0 @@ * Returns a section of a ByteString.

@@ -0,0 +0,0 @@ import { AbstractContract } from "scryptlib/dist";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { SupportedParamType, AbstractContract } from "scryptlib/dist";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { ByteString } from "./types";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Flavor } from "scryptlib";

@@ -0,0 +0,0 @@ "use strict";

import "reflect-metadata";
import { bsv, Artifact, PubKeyHash, VerifyResult, CallData, AsmVarValues, Inscription } from "scryptlib";
import { bsv, Artifact, PubKeyHash, VerifyResult, CallData, AsmVarValues } from "scryptlib";
import { ByteString, PrivKey, PubKey, Sig, SigHashPreimage, SigHashType } from "./builtins/types";

@@ -520,5 +520,3 @@ import { Provider, TransactionResponse } from "../bsv/abstract-provider";

private static autoPayfee;
/** ordinal */
setOrdinal(inscription: Inscription | null): void;
}
export {};

@@ -0,0 +0,0 @@ import { SigHashType } from "scryptlib";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import "reflect-metadata";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { bsv } from "scryptlib";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=contract-call.js.map
export * from './contract-call';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { bsv } from 'scryptlib';

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

}
return value;
}, 4);

@@ -257,3 +258,3 @@ }

if (scryptlib_2.AbstractContract.isStateful(contract)) {
result = result + `\n\nState: ${diffState(contractOutputs_, txContextOutputs_)}`;
result = result + `\n\nStates: ${diffState(contractOutputs_, txContextOutputs_)}`;
}

@@ -260,0 +261,0 @@ return result;

export declare function throwUnInitializing(name: string): void;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { bsv } from "scryptlib";

@@ -0,0 +0,0 @@ "use strict";

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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