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

tiny-secp256k1

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-secp256k1 - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

lib/cjs/index.cjs

5

lib/wasm_loader.js
import { readFileSync } from "fs";
import { URL } from "url";
import { path } from "./wasm_path.js";
import * as rand from "./rand.js";
import * as validate_error from "./validate_error.js";
const { pathname } = new URL("secp256k1.wasm", import.meta.url);
const binary = readFileSync(pathname);
const binary = readFileSync(path("secp256k1.wasm"));
const imports = {

@@ -8,0 +7,0 @@ "./rand.js": rand,

14

package.json
{
"name": "tiny-secp256k1",
"version": "2.1.0",
"version": "2.1.1",
"description": "A tiny secp256k1 JS",

@@ -15,3 +15,13 @@ "homepage": "https://github.com/bitcoinjs/tiny-secp256k1#readme",

"type": "module",
"main": "./lib/index.js",
"exports": {
".": {
"node": {
"module": "./lib/index.js",
"require": "./lib/cjs/index.cjs",
"import": "./lib/index.js"
},
"browser": "./lib/index.js",
"default": "./lib/index.js"
}
},
"browser": {

@@ -18,0 +28,0 @@ "./lib/rand.js": "./lib/rand.browser.js",

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