@web3api/ethereum-plugin-js
Advanced tools
Comparing version 0.0.1-prealpha.16 to 0.0.1-prealpha.17
@@ -6,5 +6,6 @@ import { Connection as ConnectionOverride } from "./types"; | ||
export { Address, AccountIndex, EthereumSigner, EthereumProvider, ConnectionConfig, ConnectionConfigs, }; | ||
export declare type EthereumConfig = ConnectionConfigs & { | ||
export interface EthereumConfig { | ||
networks: ConnectionConfigs; | ||
defaultNetwork?: string; | ||
}; | ||
} | ||
export declare class EthereumPlugin extends Plugin { | ||
@@ -11,0 +12,0 @@ private _connections; |
@@ -63,3 +63,3 @@ "use strict"; | ||
var _this = _super.call(this) || this; | ||
_this._connections = Connection_1.Connection.fromConfigs(config); | ||
_this._connections = Connection_1.Connection.fromConfigs(config.networks); | ||
// Assign the default network (mainnet if not provided) | ||
@@ -66,0 +66,0 @@ if (config.defaultNetwork) { |
{ | ||
"name": "@web3api/ethereum-plugin-js", | ||
"description": "Web3API Ethereum Javascript Plugin", | ||
"version": "0.0.1-prealpha.16", | ||
"version": "0.0.1-prealpha.17", | ||
"license": "MIT", | ||
@@ -25,3 +25,3 @@ "repository": { | ||
"@ethersproject/providers": "5.0.7", | ||
"@web3api/core-js": "0.0.1-prealpha.16", | ||
"@web3api/core-js": "0.0.1-prealpha.17", | ||
"ethers": "5.0.7" | ||
@@ -37,3 +37,3 @@ }, | ||
}, | ||
"gitHead": "aaf7976cbf55a2cc716cf675eaa38a3e720aebe7", | ||
"gitHead": "92f9d151e3e99e3e40bc8dda8262231d56a93872", | ||
"publishConfig": { | ||
@@ -40,0 +40,0 @@ "access": "public" |
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
32877
450
+ Added@web3api/core-js@0.0.1-prealpha.17(transitive)
+ Added@web3api/manifest-schema@0.0.1-prealpha.17(transitive)
- Removed@web3api/core-js@0.0.1-prealpha.16(transitive)
- Removed@web3api/manifest-schema@0.0.1-prealpha.16(transitive)