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

@dydxprotocol/starkex-lib

Package Overview
Dependencies
Maintainers
10
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dydxprotocol/starkex-lib - npm Package Compare versions

Comparing version 1.0.5 to 1.1.0

build/src/lib/crypto-cpp/crypto-cpp.d.ts

1

build/src/keys.d.ts
/// <reference types="node" />
/// <reference types="ref-napi" />
import { KeyPairWithYCoordinate } from './types';

@@ -3,0 +4,0 @@ /**

export * from './crypto';
export { pedersenCpp, verifySignatureCpp } from './crypto-cpp';
export { starkEc } from './starkware';
export { factToCondition, normalizeHex32, } from './util';

7

build/src/lib/index.js

@@ -13,4 +13,7 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizeHex32 = exports.factToCondition = exports.starkEc = void 0;
exports.normalizeHex32 = exports.factToCondition = exports.starkEc = exports.verifySignatureCpp = exports.pedersenCpp = void 0;
__exportStar(require("./crypto"), exports);
var crypto_cpp_1 = require("./crypto-cpp");
Object.defineProperty(exports, "pedersenCpp", { enumerable: true, get: function () { return crypto_cpp_1.pedersenCpp; } });
Object.defineProperty(exports, "verifySignatureCpp", { enumerable: true, get: function () { return crypto_cpp_1.verifySignatureCpp; } });
var starkware_1 = require("./starkware");

@@ -21,2 +24,2 @@ Object.defineProperty(exports, "starkEc", { enumerable: true, get: function () { return starkware_1.starkEc; } });

Object.defineProperty(exports, "normalizeHex32", { enumerable: true, get: function () { return util_1.normalizeHex32; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7QUFBQSwyQ0FBeUI7QUFDekIseUNBQXNDO0FBQTdCLG9HQUFBLE9BQU8sT0FBQTtBQUNoQiwrQkFHZ0I7QUFGZCx1R0FBQSxlQUFlLE9BQUE7QUFDZixzR0FBQSxjQUFjLE9BQUEifQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7QUFBQSwyQ0FBeUI7QUFDekIsMkNBQStEO0FBQXRELHlHQUFBLFdBQVcsT0FBQTtBQUFFLGdIQUFBLGtCQUFrQixPQUFBO0FBQ3hDLHlDQUFzQztBQUE3QixvR0FBQSxPQUFPLE9BQUE7QUFDaEIsK0JBR2dCO0FBRmQsdUdBQUEsZUFBZSxPQUFBO0FBQ2Ysc0dBQUEsY0FBYyxPQUFBIn0=
/// <reference types="node" />
/// <reference types="ref-napi" />
import BN from 'bn.js';

@@ -3,0 +4,0 @@ /**

{
"name": "@dydxprotocol/starkex-lib",
"version": "1.0.5",
"version": "1.1.0",
"description": "Cryptographic functions for use with StarkEx",
"main": "build/src/index.js",
"scripts": {
"build": "rm -rf build/ && npm run compile",
"build": "rm -rf build/ && npm run compile && npm run copy-files",
"compile:watch": "npm run compile -- --watch",
"compile": "tsc",
"copy-files": "copyfiles ./**/*.so build/",
"coverage": "NODE_ENV=test nyc --reporter=lcovonly mocha 'build/__tests__/**/*.test.js'",

@@ -31,5 +32,7 @@ "fix": "npm run lint -- --fix",

"big.js": "6.0.3",
"bigint-buffer": "^1.1.5",
"bip39": "^3.0.3",
"bn.js": "5.1.3",
"ethereum-cryptography": "^0.1.3",
"ffi-napi": "^3.1.0",
"hash.js": "^1.1.7"

@@ -39,4 +42,6 @@ },

"@dydxprotocol/node-service-base-dev": "0.0.11",
"@types/ffi-napi": "^4.0.4",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^9.0.10",
"copyfiles": "^2.4.1",
"expect": "^26.6.2",

@@ -43,0 +48,0 @@ "mocha": "^8.2.1",

export * from './crypto';
export { pedersenCpp, verifySignatureCpp } from './crypto-cpp';
export { starkEc } from './starkware';

@@ -3,0 +4,0 @@ export {

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