New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nearlib

Package Overview
Dependencies
Maintainers
5
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nearlib - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

54

API.md

@@ -7,3 +7,2 @@ # API

- [require](#require)
- [KeyPair](#keypair)

@@ -28,2 +27,3 @@ - [getPublicKey](#getpublickey)

- [Examples](#examples-5)
- [BrowserLocalStorageKeystore](#browserlocalstoragekeystore)
- [Account](#account)

@@ -44,27 +44,29 @@ - [Parameters](#parameters-3)

- [Examples](#examples-10)
- [getAccountDetails](#getaccountdetails)
- [Parameters](#parameters-8)
- [Near](#near)
- [Parameters](#parameters-8)
- [Parameters](#parameters-9)
- [callViewFunction](#callviewfunction)
- [Parameters](#parameters-9)
- [Parameters](#parameters-10)
- [Examples](#examples-11)
- [scheduleFunctionCall](#schedulefunctioncall)
- [Parameters](#parameters-10)
- [Parameters](#parameters-11)
- [Examples](#examples-12)
- [deployContract](#deploycontract)
- [Parameters](#parameters-11)
- [Parameters](#parameters-12)
- [Examples](#examples-13)
- [getTransactionStatus](#gettransactionstatus)
- [Parameters](#parameters-12)
- [Parameters](#parameters-13)
- [Examples](#examples-14)
- [waitForTransactionResult](#waitfortransactionresult)
- [Parameters](#parameters-13)
- [Parameters](#parameters-14)
- [Examples](#examples-15)
- [loadContract](#loadcontract)
- [Parameters](#parameters-14)
- [Parameters](#parameters-15)
- [Examples](#examples-16)
- [createDefaultConfig](#createdefaultconfig)
- [Parameters](#parameters-15)
- [Parameters](#parameters-16)
- [Examples](#examples-17)
- [WalletAccessKey](#walletaccesskey)
- [Parameters](#parameters-16)
- [Parameters](#parameters-17)
- [Examples](#examples-18)

@@ -76,9 +78,9 @@ - [isSignedIn](#issignedin)

- [requestSignIn](#requestsignin)
- [Parameters](#parameters-17)
- [Parameters](#parameters-18)
- [signOut](#signout)
- [Examples](#examples-21)
- [signBuffer](#signbuffer)
- [Parameters](#parameters-18)
- [Parameters](#parameters-19)
- [WalletAccount](#walletaccount)
- [Parameters](#parameters-19)
- [Parameters](#parameters-20)
- [Examples](#examples-22)

@@ -90,13 +92,10 @@ - [isSignedIn](#issignedin-1)

- [requestSignIn](#requestsignin-1)
- [Parameters](#parameters-20)
- [Parameters](#parameters-21)
- [Examples](#examples-25)
- [\_completeSignInWithAccessKey](#_completesigninwithaccesskey)
- [signOut](#signout-1)
- [Examples](#examples-26)
- [signBuffer](#signbuffer-1)
- [Parameters](#parameters-21)
- [Parameters](#parameters-22)
## require
Wallet based account and signer that uses external wallet through the iframe to sign transactions.
## KeyPair

@@ -213,2 +212,6 @@

## BrowserLocalStorageKeystore
Wallet based account and signer that uses external wallet through the iframe to sign transactions.
## Account

@@ -314,2 +317,10 @@

### getAccountDetails
Returns full details for a given account.
#### Parameters
- `accountId` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** id of the account to look up
## Near

@@ -549,2 +560,3 @@

- `walletBaseUrl` (optional, default `'https://wallet.nearprotocol.com'`)
- `keyStore` (optional, default `new BrowserLocalStorageKeystore()`)

@@ -603,2 +615,6 @@ ### Examples

### \_completeSignInWithAccessKey
Complete sign in for a given account id and public key. To be invoked by the app when getting a callback from the wallet.
### signOut

@@ -605,0 +621,0 @@

{
"name": "nearlib",
"description": "Javascript library to interact with near blockchain",
"version": "0.7.2",
"version": "0.7.3",
"repository": {

@@ -40,2 +40,3 @@ "type": "git",

"fix": "eslint . --fix",
"prepare": "npm run build && npm run doc",
"doc": "documentation readme near.js account.js wallet-account.js wallet-access-key.js signing/key_pair.js -f md --shallow --section=API --readme-file=API.md"

@@ -42,0 +43,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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