Socket
Socket
Sign inDemoInstall

near-api-js

Package Overview
Dependencies
Maintainers
7
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

near-api-js - npm Package Compare versions

Comparing version 4.1.0-next.4 to 5.0.0-next.5

dist/near-api-js.js

2

browser-exports.js

@@ -1,1 +0,1 @@

window.nearApi = require('./lib/commonjs/browser-index');
window.nearApi = require('./lib/commonjs/browser-index.cjs');
{
"name": "near-api-js",
"description": "JavaScript library to interact with NEAR Protocol via RPC API",
"version": "4.1.0-next.4",
"version": "5.0.0-next.5",
"repository": {

@@ -11,3 +11,3 @@ "type": "git",

"main": "lib/esm/index.js",
"browser": "lib/commonjs/browser-index.js",
"browser": "lib/commonjs/browser-index.cjs",
"types": "lib/esm/index.d.ts",

@@ -20,13 +20,13 @@ "type": "module",

"near-abi": "0.1.1",
"@near-js/crypto": "1.3.0-next.4",
"@near-js/accounts": "1.3.0-next.4",
"@near-js/keystores": "0.1.0-next.4",
"@near-js/keystores-browser": "0.1.0-next.4",
"@near-js/providers": "0.3.0-next.4",
"@near-js/keystores-node": "0.1.0-next.4",
"@near-js/signers": "0.2.0-next.4",
"@near-js/transactions": "1.3.0-next.4",
"@near-js/types": "0.3.0-next.4",
"@near-js/utils": "0.3.0-next.4",
"@near-js/wallet-account": "1.3.0-next.4"
"@near-js/accounts": "1.3.0-next.5",
"@near-js/crypto": "1.3.0-next.5",
"@near-js/keystores": "0.1.0-next.5",
"@near-js/keystores-browser": "0.1.0-next.5",
"@near-js/keystores-node": "0.1.0-next.5",
"@near-js/providers": "0.3.0-next.5",
"@near-js/signers": "0.2.0-next.5",
"@near-js/transactions": "1.3.0-next.5",
"@near-js/types": "0.3.0-next.5",
"@near-js/utils": "0.3.0-next.5",
"@near-js/wallet-account": "1.3.0-next.5"
},

@@ -36,3 +36,2 @@ "devDependencies": {

"@types/node": "20.0.0",
"browserify": "16.2.3",
"bs58": "4.0.0",

@@ -42,5 +41,3 @@ "buffer": "6.0.3",

"concurrently": "7.3.0",
"danger": "11.1.1",
"danger-plugin-yarn": "1.3.2",
"esbuild": "^0.21.5",
"esbuild": "0.23.0",
"in-publish": "2.0.0",

@@ -55,3 +52,4 @@ "jest": "29.7.0",

"ts-jest": "29.1.5",
"uglifyify": "5.0.1",
"util": "^0.12.5",
"build": "0.0.0",
"tsconfig": "0.0.0"

@@ -65,3 +63,3 @@ },

"path": "dist/near-api-js.min.js",
"maxSize": "250kB"
"maxSize": "150kB"
}

@@ -85,6 +83,6 @@ ]

"bundle:minified": "esbuild browser-exports.js --bundle --minify --outfile=dist/near-api-js.min.js --define:global=window --inject:esbuild.inject.js",
"compile": "tsc -p ./tsconfig.json",
"compile:cjs": "tsc -p ./tsconfig.cjs.json",
"compile:esm": "tsc -p ./tsconfig.json",
"compile:cjs": "tsc -p ./tsconfig.cjs.json && cjsify ./lib/commonjs",
"dev": "pnpm compile -w",
"build": "pnpm compile && pnpm compile:cjs && pnpm bundle:all",
"build": "pnpm compile:esm && pnpm compile:cjs && pnpm dist",
"test": "jest --passWithNoTests",

@@ -91,0 +89,0 @@ "lint": "concurrently \"pnpm:lint:*(!fix) --no-error-on-unmatched-pattern\"",

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