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.4.1 to 1.4.2

2

package.json
{
"name": "slopes",
"version": "1.4.1",
"version": "1.4.2",
"description": "AVA Platform JS Library",

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

@@ -60,3 +60,3 @@ /**

* @param networkid Sets the NetworkID of the class. Default 12345
* @param avmChainID Sets the blockchainID for the AVM. Will try to auto-detect, otherwise default "m383Jyn4z9kYmyMamjHwoExocRRV7ondsci862bbv1FSrqvH9"
* @param avmChainID Sets the blockchainID for the AVM. Will try to auto-detect, otherwise default "4R5p2RXDGLqaifZE4hHWH9owe34pfoBULn1DrQTWivjg8o4aH"
* @param skipinit Skips creating the APIs

@@ -71,3 +71,3 @@ */

} else {
chainid = "m383Jyn4z9kYmyMamjHwoExocRRV7ondsci862bbv1FSrqvH9";
chainid = "4R5p2RXDGLqaifZE4hHWH9owe34pfoBULn1DrQTWivjg8o4aH";
}

@@ -74,0 +74,0 @@ }

@@ -45,3 +45,3 @@ /**

* @param networkid Sets the NetworkID of the class. Default 12345
* @param avmChainID Sets the blockchainID for the AVM. Will try to auto-detect, otherwise default "m383Jyn4z9kYmyMamjHwoExocRRV7ondsci862bbv1FSrqvH9"
* @param avmChainID Sets the blockchainID for the AVM. Will try to auto-detect, otherwise default "4R5p2RXDGLqaifZE4hHWH9owe34pfoBULn1DrQTWivjg8o4aH"
* @param skipinit Skips creating the APIs

@@ -48,0 +48,0 @@ */

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

* @param networkid Sets the NetworkID of the class. Default 12345
* @param avmChainID Sets the blockchainID for the AVM. Will try to auto-detect, otherwise default "m383Jyn4z9kYmyMamjHwoExocRRV7ondsci862bbv1FSrqvH9"
* @param avmChainID Sets the blockchainID for the AVM. Will try to auto-detect, otherwise default "4R5p2RXDGLqaifZE4hHWH9owe34pfoBULn1DrQTWivjg8o4aH"
* @param skipinit Skips creating the APIs

@@ -89,3 +89,3 @@ */

else {
chainid = "m383Jyn4z9kYmyMamjHwoExocRRV7ondsci862bbv1FSrqvH9";
chainid = "4R5p2RXDGLqaifZE4hHWH9owe34pfoBULn1DrQTWivjg8o4aH";
}

@@ -142,2 +142,2 @@ }

exports.AVMKeyChain = keychain_1.AVMKeyChain;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBQUE7O0dBRUc7QUFDSCxzREFBa0M7QUFvRjFCLHFCQXBGRCxnQkFBVSxDQW9GQztBQW5GbEIsOERBQThDO0FBdUd2QixtQkF2R2hCLGFBQVcsQ0F1R2E7QUF0Ry9CLDhEQUE4QztBQXVHdkIsbUJBdkdoQixhQUFXLENBdUdhO0FBdEcvQix5REFBb0M7QUFvR2xCLGNBcEdYLGFBQU0sQ0FvR1E7QUFuR3JCLDJEQUF3QztBQXNHcEIsZ0JBdEdiLGFBQVEsQ0FzR1U7QUFyR3pCLHlEQUEyQztBQThFbkMsOEJBQVM7QUE3RWpCLGdFQUF3QztBQTJFaEMsbUJBM0VELGtCQUFRLENBMkVDO0FBMUVoQixvREFBNEI7QUEyRXBCLGFBM0VELFlBQUUsQ0EyRUM7QUExRVYseUNBQXlDO0FBRXpDOzs7Ozs7OztHQVFHO0FBQ0gsTUFBYSxNQUFPLFNBQVEsZ0JBQVU7SUE4QmxDOzs7Ozs7Ozs7T0FTRztJQUNILFlBQVksRUFBUyxFQUFFLElBQVcsRUFBRSxXQUFrQixNQUFNLEVBQUUsWUFBbUIsS0FBSyxFQUFFLGFBQW9CLFNBQVMsRUFBRSxXQUF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yb20gJy4vYXBpcy9hdm0vaW5wdXRzJztcdFxuZXhwb3J0IHtBVk1LZXlQYWlyLCBBVk1LZXlDaGFpbn0gZnJvbSAnLi9hcGlzL2F2bS9rZXljaGFpbic7XG5cbmV4cG9ydCB7QVZNQVBJIGFzIEFWTX07XG5leHBvcnQge0tleXN0b3JlQVBJIGFzIEtleXN0b3JlfTtcbmV4cG9ydCB7UGxhdGZvcm1BUEkgYXMgUGxhdGZvcm19O1xuZXhwb3J0IHtBZG1pbkFQSSBhcyBBZG1pbn07XG5cblxuIl19

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