@near-js/wallet-account
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -59,2 +59,8 @@ /** | ||
jsvmAccountId?: string; | ||
/** | ||
* Backward-compatibility for older versions | ||
*/ | ||
deps?: { | ||
keyStore: KeyStore; | ||
}; | ||
} | ||
@@ -61,0 +67,0 @@ /** |
@@ -36,2 +36,3 @@ "use strict"; | ||
constructor(config) { | ||
var _a; | ||
this.config = config; | ||
@@ -41,3 +42,3 @@ this.connection = accounts_1.Connection.fromConfig({ | ||
provider: { type: 'JsonRpcProvider', args: { url: config.nodeUrl, headers: config.headers } }, | ||
signer: config.signer || { type: 'InMemorySigner', keyStore: config.keyStore }, | ||
signer: config.signer || { type: 'InMemorySigner', keyStore: config.keyStore || ((_a = config.deps) === null || _a === void 0 ? void 0 : _a.keyStore) }, | ||
jsvmAccountId: config.jsvmAccountId || `jsvm.${config.networkId}` | ||
@@ -44,0 +45,0 @@ }); |
{ | ||
"name": "@near-js/wallet-account", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Dependencies for the NEAR API JavaScript client in the browser", | ||
@@ -12,9 +12,9 @@ "main": "lib/index.js", | ||
"borsh": "^0.7.0", | ||
"@near-js/accounts": "0.1.1", | ||
"@near-js/crypto": "0.0.3", | ||
"@near-js/keystores": "0.0.3", | ||
"@near-js/signers": "0.0.3", | ||
"@near-js/transactions": "0.1.0", | ||
"@near-js/types": "0.0.3", | ||
"@near-js/utils": "0.0.3" | ||
"@near-js/accounts": "0.1.2", | ||
"@near-js/crypto": "0.0.4", | ||
"@near-js/keystores": "0.0.4", | ||
"@near-js/signers": "0.0.4", | ||
"@near-js/transactions": "0.1.1", | ||
"@near-js/types": "0.0.4", | ||
"@near-js/utils": "0.0.4" | ||
}, | ||
@@ -21,0 +21,0 @@ "devDependencies": { |
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
34763
711
+ Added@near-js/accounts@0.1.2(transitive)
+ Added@near-js/crypto@0.0.4(transitive)
+ Added@near-js/keystores@0.0.4(transitive)
+ Added@near-js/providers@0.0.5(transitive)
+ Added@near-js/signers@0.0.4(transitive)
+ Added@near-js/transactions@0.1.1(transitive)
+ Added@near-js/types@0.0.4(transitive)
+ Added@near-js/utils@0.0.4(transitive)
- Removed@near-js/accounts@0.1.1(transitive)
- Removed@near-js/crypto@0.0.3(transitive)
- Removed@near-js/keystores@0.0.3(transitive)
- Removed@near-js/providers@0.0.4(transitive)
- Removed@near-js/signers@0.0.3(transitive)
- Removed@near-js/transactions@0.1.0(transitive)
- Removed@near-js/types@0.0.3(transitive)
- Removed@near-js/utils@0.0.3(transitive)
Updated@near-js/accounts@0.1.2
Updated@near-js/crypto@0.0.4
Updated@near-js/keystores@0.0.4
Updated@near-js/signers@0.0.4
Updated@near-js/transactions@0.1.1
Updated@near-js/types@0.0.4
Updated@near-js/utils@0.0.4