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

@near-js/wallet-account

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@near-js/wallet-account - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

6

lib/near.d.ts

@@ -59,2 +59,8 @@ /**

jsvmAccountId?: string;
/**
* Backward-compatibility for older versions
*/
deps?: {
keyStore: KeyStore;
};
}

@@ -61,0 +67,0 @@ /**

3

lib/near.js

@@ -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": {

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