Comparing version 1.3.8 to 1.3.9
{ | ||
"name": "slopes", | ||
"version": "1.3.8", | ||
"version": "1.3.9", | ||
"description": "AVA Platform JS Library", | ||
@@ -5,0 +5,0 @@ "main": "typings/src/index.js", |
@@ -12,2 +12,3 @@ /** | ||
import DB from './utils/db'; | ||
import { Defaults } from './utils/types'; | ||
@@ -60,3 +61,3 @@ /** | ||
* @param networkid Sets the NetworkID of the class. Default 2 | ||
* @param avmChainID Sets the blockchainID for the AVM. Default "HD8HEwNKTXRBcVUqvQW2LRu9izqej91xzGmXATF4KMMV6LLm7" | ||
* @param avmChainID Sets the blockchainID for the AVM. Will try to auto-detect, otherwise default "HD8HEwNKTXRBcVUqvQW2LRu9izqej91xzGmXATF4KMMV6LLm7" | ||
* @param skipinit Skips creating the APIs | ||
@@ -68,3 +69,7 @@ */ | ||
if(typeof avmChainID === 'undefined' || !avmChainID){ | ||
chainid = "HD8HEwNKTXRBcVUqvQW2LRu9izqej91xzGmXATF4KMMV6LLm7"; | ||
if(networkID in Defaults.network){ | ||
chainid = Defaults.network[networkID]["avm"].blockchainID | ||
} else { | ||
chainid = "HD8HEwNKTXRBcVUqvQW2LRu9izqej91xzGmXATF4KMMV6LLm7"; | ||
} | ||
} | ||
@@ -71,0 +76,0 @@ if(typeof networkID === 'number' && networkID >= 0){ |
@@ -45,3 +45,3 @@ /** | ||
* @param networkid Sets the NetworkID of the class. Default 2 | ||
* @param avmChainID Sets the blockchainID for the AVM. Default "HD8HEwNKTXRBcVUqvQW2LRu9izqej91xzGmXATF4KMMV6LLm7" | ||
* @param avmChainID Sets the blockchainID for the AVM. Will try to auto-detect, otherwise default "HD8HEwNKTXRBcVUqvQW2LRu9izqej91xzGmXATF4KMMV6LLm7" | ||
* @param skipinit Skips creating the APIs | ||
@@ -48,0 +48,0 @@ */ |
@@ -35,2 +35,3 @@ "use strict"; | ||
exports.DB = db_1.default; | ||
const types_1 = require("./utils/types"); | ||
/** | ||
@@ -53,3 +54,3 @@ * Slopes is middleware for interacting with AVA node RPC APIs. | ||
* @param networkid Sets the NetworkID of the class. Default 2 | ||
* @param avmChainID Sets the blockchainID for the AVM. Default "HD8HEwNKTXRBcVUqvQW2LRu9izqej91xzGmXATF4KMMV6LLm7" | ||
* @param avmChainID Sets the blockchainID for the AVM. Will try to auto-detect, otherwise default "HD8HEwNKTXRBcVUqvQW2LRu9izqej91xzGmXATF4KMMV6LLm7" | ||
* @param skipinit Skips creating the APIs | ||
@@ -85,3 +86,8 @@ */ | ||
if (typeof avmChainID === 'undefined' || !avmChainID) { | ||
chainid = "HD8HEwNKTXRBcVUqvQW2LRu9izqej91xzGmXATF4KMMV6LLm7"; | ||
if (networkID in types_1.Defaults.network) { | ||
chainid = types_1.Defaults.network[networkID]["avm"].blockchainID; | ||
} | ||
else { | ||
chainid = "HD8HEwNKTXRBcVUqvQW2LRu9izqej91xzGmXATF4KMMV6LLm7"; | ||
} | ||
} | ||
@@ -118,9 +124,9 @@ if (typeof networkID === 'number' && networkID >= 0) { | ||
exports.SelectUTXOClass = utxos_1.SelectUTXOClass; | ||
var types_1 = require("./apis/avm/types"); | ||
exports.SigIdx = types_1.SigIdx; | ||
exports.Signature = types_1.Signature; | ||
exports.UnixNow = types_1.UnixNow; | ||
exports.Address = types_1.Address; | ||
exports.AVMConstants = types_1.AVMConstants; | ||
exports.InitialStates = types_1.InitialStates; | ||
var types_2 = require("./apis/avm/types"); | ||
exports.SigIdx = types_2.SigIdx; | ||
exports.Signature = types_2.Signature; | ||
exports.UnixNow = types_2.UnixNow; | ||
exports.Address = types_2.Address; | ||
exports.AVMConstants = types_2.AVMConstants; | ||
exports.InitialStates = types_2.InitialStates; | ||
var outputs_1 = require("./apis/avm/outputs"); | ||
@@ -138,2 +144,2 @@ exports.SecpOutput = outputs_1.SecpOutput; | ||
exports.AVMKeyChain = keychain_1.AVMKeyChain; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VS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hcyBQbGF0Zm9ybX07XG5leHBvcnQge0FkbWluQVBJIGFzIEFkbWlufTtcblxuXG4iXX0= |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9888248
16703
1