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

slopes

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slopes - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

2

package.json
{
"name": "slopes",
"version": "1.3.1",
"version": "1.3.2",
"description": "AVA Platform JS Library",

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

@@ -671,2 +671,5 @@ /**

/**
* @ignore
*/
protected _cleanAddressArray(addresses:Array<string> | Array<Buffer>, caller:string):Array<string> {

@@ -699,5 +702,6 @@ let addrs:Array<string> = [];

super(core, baseurl);
this.blockchainID = blockchainID
let netid:number = core.getNetworkID();
if(netid in Defaults.network && this.blockchainID in Defaults.network[netid]){
let alias = Defaults.network[netid][this.blockchainID].alias;
if(netid in Defaults.network && blockchainID in Defaults.network[netid]){
let alias = Defaults.network[netid][blockchainID].alias;
this.keychain = new AVMKeyChain(alias);

@@ -707,3 +711,2 @@ } else {

}
this.blockchainID = blockchainID
}

@@ -710,0 +713,0 @@ }

@@ -114,6 +114,14 @@ /**

/**
* Class for creating initial output states used in asset creation
*/
export class InitialStates {
protected fxs:{[fxid:number]:Array<Output>} = {};
addOutput(out:Output, fxid:number):void {
/**
*
* @param out The output state to add to the collection
* @param fxid The FxID that will be used for this output, default AVMConstants.SECPFXID
*/
addOutput(out:Output, fxid:number = AVMConstants.SECPFXID):void {
if(!(fxid in this.fxs)){

@@ -120,0 +128,0 @@ this.fxs[fxid] = [];

@@ -331,2 +331,5 @@ /**

send: (username: string, password: string, assetID: string | Buffer, amount: number | BN, to: string, from: Buffer[] | string[]) => Promise<string>;
/**
* @ignore
*/
protected _cleanAddressArray(addresses: Array<string> | Array<Buffer>, caller: string): Array<string>;

@@ -333,0 +336,0 @@ /**

@@ -60,2 +60,5 @@ /**

}
/**
* Class for creating initial output states used in asset creation
*/
export declare class InitialStates {

@@ -65,3 +68,8 @@ protected fxs: {

};
addOutput(out: Output, fxid: number): void;
/**
*
* @param out The output state to add to the collection
* @param fxid The FxID that will be used for this output, default AVMConstants.SECPFXID
*/
addOutput(out: Output, fxid?: number): void;
fromBuffer(bytes: Buffer, offset: number): number;

@@ -68,0 +76,0 @@ toBuffer(): Buffer;

@@ -113,2 +113,5 @@ "use strict";

};
/**
* Class for creating initial output states used in asset creation
*/
class InitialStates {

@@ -118,3 +121,8 @@ constructor() {

}
addOutput(out, fxid) {
/**
*
* @param out The output state to add to the collection
* @param fxid The FxID that will be used for this output, default AVMConstants.SECPFXID
*/
addOutput(out, fxid = AVMConstants.SECPFXID) {
if (!(fxid in this.fxs)) {

@@ -195,2 +203,2 @@ this.fxs[fxid] = [];

;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBpcy9hdm0vdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQTs7R0FFRztBQUNILG9DQUErQjtBQUMvQiw2Q0FBMkM7QUFDM0Msa0RBQXVCO0FBQ3ZCLG9FQUE0QztBQUM1Qyx1Q0FBbUU7QUFFbkU7O0dBRUc7QUFDSCxJQUFJLFFBQVEsR0FBWSxrQkFBUSxDQUFDLFdBQVcsRUFBRSxDQUFDO0FBRS9DOztHQUVHO0FBQ0gsTUFBYSxNQUFPLFNBQVEsY0FBTTtJQWlCOUI7O09BRUc7SUFDSDtRQUNJLEtBQUssRUFBRSxDQUFDO1FBbEJaOztXQUVHO1FBQ0gsY0FBUyxHQUFHLENBQUMsT0FBYyxFQUFFLEVBQUU7WUFDM0IsSUFBSSxDQUFDLE1BQU0sR0FBRyxPQUFPLENBQUM7UUFDMUIsQ0FBQyxDQUFBO1FBRUQ7O1dBRUc7UUFDSCxjQUFTLEdBQUcsR0FBVSxFQUFFO1l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ZXN1bHRbZnhpZF0gPSBbXTtcbiAgICAgICAgICAgIGxldCBzdGF0ZWxlbmJ1ZmY6QnVmZmVyID0gYmludG9vbHMuY29weUZyb20oYnl0ZXMsIG9mZnNldCwgb2Zmc2V0ICsgNCk7XG4gICAgICAgICAgICBvZmZzZXQgKz0gNDtcbiAgICAgICAgICAgIGxldCBzdGF0ZWxlbjpudW1iZXIgPSBzdGF0ZWxlbmJ1ZmYucmVhZFVJbnQzMkJFKDApO1xuICAgICAgICAgICAgZm9yKGxldCBqID0gMDsgaiA8IHN0YXRlbGVuOyBqKyspe1xuICAgICAgICAgICAgICAgIGxldCBhYnVmZjpCdWZmZXIgPSBiaW50b29scy5jb3B5RnJvbShieXRlcywgb2Zmc2V0KTtcbiAgICAgICAgICAgICAgICBsZXQgb3V0Ok91dHB1dCA9IG5ldyBTZWNwT3V0QmFzZSgpO1xuICAgICAgICAgICAgICAgIG91dC5mcm9tQnVmZmVyKGFidWZmKVxuICAgICAgICAgICAgICAgIGxldCBvdXRidWZmOkJ1ZmZlciA9IG91dC50b0J1ZmZlcigpO1xuICAgICAgICAgICAgICAgIG9mZnNldCArPSBvdXRidWZmLmxlbmd0aDtcbiAgICAgICAgICAgICAgICByZXN1bHRbZnhpZF0ucHVzaChvdXQpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHRoaXMuZnhzID0gcmVzdWx0O1xuICAgICAgICByZXR1cm4gb2Zmc2V0XG4gICAgfVxuXG4gICAgdG9CdWZmZXIoKTpCdWZmZXIge1xuICAgICAgICBsZXQgYnVmZjpBcnJheTxCdWZmZXI+ID0gW107XG4gICAgICAgIGxldCBrZXlzOkFycmF5PG51bWJlcj4gPSBPYmplY3Qua2V5cyh0aGlzLmZ4cykubWFwKGsgPT4gcGFyc2VJbnQoaykpLnNvcnQoKTtcbiAgICAgICAgbGV0IGtsZW46QnVmZmVyID0gQnVmZmVyLmFsbG9jKDQpO1xuICAgICAgICBrbGVuLndyaXRlVUludDMyQk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JFUlJPUlwiOyAvL2dlbmVyYXRlIGVycm9yIGZvciB0ZXN0aW5nXG5cbi8qKlxuICogRnVuY3Rpb24gcHJvdmlkaW5nIHRoZSBjdXJyZW50IFVOSVggdGltZSB1c2luZyBhIHtAbGluayBodHRwczovL2dpdGh1Yi5jb20vaW5kdXRueS9ibi5qcy98Qk59XG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBVbml4Tm93KCk6Qk4ge1xuICAgIHJldHVybiBuZXcgQk4oTWF0aC5yb3VuZCgobmV3IERhdGUoKSkuZ2V0VGltZSgpIC8gMTAwMCkpO1xufTsiXX0=

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

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

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