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

@near-eth/client

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@near-eth/client - npm Package Compare versions

Comparing version 0.2.1 to 1.0.0

6

dist/index.js

@@ -215,7 +215,3 @@ "use strict";

catch (e) {
await storage.update(transfer, {
status: status.FAILED,
errors: [...transfer.errors, e.message]
});
throw e;
console.error(e);
}

@@ -222,0 +218,0 @@ }

3

dist/utils.js

@@ -138,2 +138,5 @@ "use strict";

// decimals defaults to 18 for old transfers in state that didn't record transfer.decimals
if (!n) {
return new decimal_js_1.Decimal(0);
}
return new decimal_js_1.Decimal(n).dividedBy(10 ** decimals);

@@ -140,0 +143,0 @@ }

{
"name": "@near-eth/client",
"version": "0.2.1",
"version": "1.0.0",
"license": "(MIT AND Apache-2.0)",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -181,3 +181,3 @@ `@near-eth/client` – the Rainbow Bridge client library 🌈🌉

```html
<form id="sendErc20ToNear>
<form id="sendErc20ToNear">
<input id="erc20Address" />

@@ -184,0 +184,0 @@ <input id="amount" />

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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