@dydxprotocol/starkex-lib
Advanced tools
Comparing version 1.0.5 to 1.1.0
/// <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'; |
@@ -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 { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
973113
136
11515
9
10
2
+ Addedbigint-buffer@^1.1.5
+ Addedffi-napi@^3.1.0
+ Addedbigint-buffer@1.1.5(transitive)
+ Addedbindings@1.5.0(transitive)
+ Addeddebug@3.2.74.3.7(transitive)
+ Addedffi-napi@3.1.0(transitive)
+ Addedfile-uri-to-path@1.0.0(transitive)
+ Addedget-symbol-from-current-process-h@1.0.2(transitive)
+ Addedget-uv-event-loop-napi-h@1.0.6(transitive)
+ Addedms@2.1.3(transitive)
+ Addedref-napi@2.1.2(transitive)
+ Addedref-struct-di@1.1.1(transitive)