scryptlib
Advanced tools
Comparing version 2.1.15 to 2.1.16
# CHANGELOG | ||
## 2.1.16 | ||
- update bsv to fix change amount error when using a uncompressed public key. | ||
## 2.1.15 | ||
@@ -5,0 +8,0 @@ |
@@ -0,0 +0,0 @@ import { ABIEntity } from './compilerWrapper'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { LibraryEntity, ParamEntity } from '.'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Argument, ParamEntity, TypeResolver } from '.'; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function getPlatformScryptc(): string; | ||
export declare function findCompiler(): string | undefined; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export { buildContractClass, compile, compileAsync, compileContract, doCompileAsync, getPreimage, signTx, handleCompilerOutput, compileContractAsync, CompilingSettings, CompileResult } from './internal'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export * from './utils'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { AsmVarValues, SupportedParamType, TxContext, FileUri, ScryptType, Bytes, DebugLaunch, Arguments, TypeResolver, Argument, VerifyError } from './internal'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare enum SymbolType { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Bool, Bytes, Int, SupportedParamType } from './scryptTypes'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { AbstractContract, Arguments, bsv } from '.'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Argument, Arguments, LibraryEntity, ParamEntity, StructEntity } from '.'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "scryptlib", | ||
"version": "2.1.15", | ||
"version": "2.1.16", | ||
"description": "Javascript SDK for integration of Bitcoin SV Smart Contracts written in sCrypt language.", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -1047,3 +1047,3 @@ /* eslint-disable @typescript-eslint/ban-types */ | ||
static fromWIF(str: string): PrivateKey; | ||
static fromRandom(network?: string | Networks.Type): PrivateKey; | ||
static fromRandom(netowrk?: string): PrivateKey; | ||
static fromBuffer(buf: Buffer, network: Networks.Type): PrivateKey; | ||
@@ -1480,2 +1480,2 @@ static fromHex(hex: string, network: Networks.Type): PrivateKey; | ||
} | ||
} | ||
} |
@@ -235,3 +235,3 @@ 'use strict' | ||
* | ||
* @param {string|Network=} network - Network | ||
* @param {string=} network - Either "livenet" or "testnet" | ||
* @returns {PrivateKey} A new valid instance of PrivateKey | ||
@@ -238,0 +238,0 @@ */ |
@@ -94,6 +94,6 @@ 'use strict' | ||
// 1 public key size (OP_PUSHDATA) | ||
// 33 compressed public key | ||
// 65 uncompressed public key | ||
// | ||
// 4 sequence number | ||
PublicKeyHashInput.SCRIPT_MAX_SIZE = 108 | ||
PublicKeyHashInput.SCRIPT_MAX_SIZE = 140 | ||
@@ -100,0 +100,0 @@ PublicKeyHashInput.prototype._estimateSize = function () { |
@@ -0,0 +0,0 @@ const bignumber_js_1 = require('bignumber.js'); |
974451
23770