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

ox

Package Overview
Dependencies
Maintainers
2
Versions
248
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ox - npm Package Compare versions

Comparing version 0.6.4 to 0.6.5

2

_cjs/version.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = '0.6.4';
exports.version = '0.6.5';
//# sourceMappingURL=version.js.map
/** @internal */
export const version = '0.6.4';
export const version = '0.6.5';
//# sourceMappingURL=version.js.map

@@ -8,3 +8,3 @@ import type * as BlsPoint from './BlsPoint.js';

/** Re-export of noble/curves BLS12-381 utilities. */
export declare const noble: import("@noble/curves/abstract/bls.js").CurveFn;
export declare const noble: import("@noble/curves/abstract/bls").CurveFn;
/**

@@ -11,0 +11,0 @@ * Aggregates a set of BLS points that are either on the G1 or G2 curves (ie. public keys or signatures).

@@ -8,7 +8,7 @@ import * as Bytes from './Bytes.js';

export declare const noble: Readonly<{
create: (hash: import("@noble/curves/abstract/utils.js").CHash) => import("@noble/curves/abstract/weierstrass.js").CurveFn;
CURVE: ReturnType<(curve: import("@noble/curves/abstract/weierstrass.js").CurveType) => Readonly<{
create: (hash: import("@noble/curves/abstract/utils").CHash) => import("@noble/curves/abstract/weierstrass").CurveFn;
CURVE: ReturnType<(curve: import("@noble/curves/abstract/weierstrass").CurveType) => Readonly<{
readonly nBitLength: number;
readonly nByteLength: number;
readonly Fp: import("@noble/curves/abstract/modular.js").IField<bigint>;
readonly Fp: import("@noble/curves/abstract/modular").IField<bigint>;
readonly n: bigint;

@@ -33,5 +33,5 @@ readonly h: bigint;

};
readonly isTorsionFree?: ((c: import("@noble/curves/abstract/weierstrass.js").ProjConstructor<bigint>, point: import("@noble/curves/abstract/weierstrass.js").ProjPointType<bigint>) => boolean) | undefined;
readonly clearCofactor?: ((c: import("@noble/curves/abstract/weierstrass.js").ProjConstructor<bigint>, point: import("@noble/curves/abstract/weierstrass.js").ProjPointType<bigint>) => import("@noble/curves/abstract/weierstrass.js").ProjPointType<bigint>) | undefined;
readonly hash: import("@noble/curves/abstract/utils.js").CHash;
readonly isTorsionFree?: ((c: import("@noble/curves/abstract/weierstrass").ProjConstructor<bigint>, point: import("@noble/curves/abstract/weierstrass").ProjPointType<bigint>) => boolean) | undefined;
readonly clearCofactor?: ((c: import("@noble/curves/abstract/weierstrass").ProjConstructor<bigint>, point: import("@noble/curves/abstract/weierstrass").ProjPointType<bigint>) => import("@noble/curves/abstract/weierstrass").ProjPointType<bigint>) | undefined;
readonly hash: import("@noble/curves/abstract/utils").CHash;
readonly hmac: (key: Uint8Array, ...messages: Uint8Array[]) => Uint8Array;

@@ -44,16 +44,16 @@ readonly randomBytes: (bytesLength?: number) => Uint8Array;

}>>;
getPublicKey: (privateKey: import("@noble/curves/abstract/utils.js").PrivKey, isCompressed?: boolean) => Uint8Array;
getSharedSecret: (privateA: import("@noble/curves/abstract/utils.js").PrivKey, publicB: import("@noble/curves/abstract/utils.js").Hex, isCompressed?: boolean) => Uint8Array;
sign: (msgHash: import("@noble/curves/abstract/utils.js").Hex, privKey: import("@noble/curves/abstract/utils.js").PrivKey, opts?: import("@noble/curves/abstract/weierstrass.js").SignOpts) => import("@noble/curves/abstract/weierstrass.js").RecoveredSignatureType;
verify: (signature: import("@noble/curves/abstract/utils.js").Hex | {
getPublicKey: (privateKey: import("@noble/curves/abstract/utils").PrivKey, isCompressed?: boolean) => Uint8Array;
getSharedSecret: (privateA: import("@noble/curves/abstract/utils").PrivKey, publicB: import("@noble/curves/abstract/utils").Hex, isCompressed?: boolean) => Uint8Array;
sign: (msgHash: import("@noble/curves/abstract/utils").Hex, privKey: import("@noble/curves/abstract/utils").PrivKey, opts?: import("@noble/curves/abstract/weierstrass").SignOpts) => import("@noble/curves/abstract/weierstrass").RecoveredSignatureType;
verify: (signature: import("@noble/curves/abstract/utils").Hex | {
r: bigint;
s: bigint;
}, msgHash: import("@noble/curves/abstract/utils.js").Hex, publicKey: import("@noble/curves/abstract/utils.js").Hex, opts?: import("@noble/curves/abstract/weierstrass.js").VerOpts) => boolean;
ProjectivePoint: import("@noble/curves/abstract/weierstrass.js").ProjConstructor<bigint>;
Signature: import("@noble/curves/abstract/weierstrass.js").SignatureConstructor;
}, msgHash: import("@noble/curves/abstract/utils").Hex, publicKey: import("@noble/curves/abstract/utils").Hex, opts?: import("@noble/curves/abstract/weierstrass").VerOpts) => boolean;
ProjectivePoint: import("@noble/curves/abstract/weierstrass").ProjConstructor<bigint>;
Signature: import("@noble/curves/abstract/weierstrass").SignatureConstructor;
utils: {
normPrivateKeyToScalar: (key: import("@noble/curves/abstract/utils.js").PrivKey) => bigint;
isValidPrivateKey(privateKey: import("@noble/curves/abstract/utils.js").PrivKey): boolean;
normPrivateKeyToScalar: (key: import("@noble/curves/abstract/utils").PrivKey) => bigint;
isValidPrivateKey(privateKey: import("@noble/curves/abstract/utils").PrivKey): boolean;
randomPrivateKey: () => Uint8Array;
precompute: (windowSize?: number, point?: import("@noble/curves/abstract/weierstrass.js").ProjPointType<bigint>) => import("@noble/curves/abstract/weierstrass.js").ProjPointType<bigint>;
precompute: (windowSize?: number, point?: import("@noble/curves/abstract/weierstrass").ProjPointType<bigint>) => import("@noble/curves/abstract/weierstrass").ProjPointType<bigint>;
};

@@ -60,0 +60,0 @@ }>;

@@ -10,7 +10,7 @@ import * as Address from './Address.js';

export declare const noble: Readonly<{
create: (hash: import("@noble/curves/abstract/utils.js").CHash) => import("@noble/curves/abstract/weierstrass.js").CurveFn;
CURVE: ReturnType<(curve: import("@noble/curves/abstract/weierstrass.js").CurveType) => Readonly<{
create: (hash: import("@noble/curves/abstract/utils").CHash) => import("@noble/curves/abstract/weierstrass").CurveFn;
CURVE: ReturnType<(curve: import("@noble/curves/abstract/weierstrass").CurveType) => Readonly<{
readonly nBitLength: number;
readonly nByteLength: number;
readonly Fp: import("@noble/curves/abstract/modular.js").IField<bigint>;
readonly Fp: import("@noble/curves/abstract/modular").IField<bigint>;
readonly n: bigint;

@@ -35,5 +35,5 @@ readonly h: bigint;

};
readonly isTorsionFree?: ((c: import("@noble/curves/abstract/weierstrass.js").ProjConstructor<bigint>, point: import("@noble/curves/abstract/weierstrass.js").ProjPointType<bigint>) => boolean) | undefined;
readonly clearCofactor?: ((c: import("@noble/curves/abstract/weierstrass.js").ProjConstructor<bigint>, point: import("@noble/curves/abstract/weierstrass.js").ProjPointType<bigint>) => import("@noble/curves/abstract/weierstrass.js").ProjPointType<bigint>) | undefined;
readonly hash: import("@noble/curves/abstract/utils.js").CHash;
readonly isTorsionFree?: ((c: import("@noble/curves/abstract/weierstrass").ProjConstructor<bigint>, point: import("@noble/curves/abstract/weierstrass").ProjPointType<bigint>) => boolean) | undefined;
readonly clearCofactor?: ((c: import("@noble/curves/abstract/weierstrass").ProjConstructor<bigint>, point: import("@noble/curves/abstract/weierstrass").ProjPointType<bigint>) => import("@noble/curves/abstract/weierstrass").ProjPointType<bigint>) | undefined;
readonly hash: import("@noble/curves/abstract/utils").CHash;
readonly hmac: (key: Uint8Array, ...messages: Uint8Array[]) => Uint8Array;

@@ -46,16 +46,16 @@ readonly randomBytes: (bytesLength?: number) => Uint8Array;

}>>;
getPublicKey: (privateKey: import("@noble/curves/abstract/utils.js").PrivKey, isCompressed?: boolean) => Uint8Array;
getSharedSecret: (privateA: import("@noble/curves/abstract/utils.js").PrivKey, publicB: import("@noble/curves/abstract/utils.js").Hex, isCompressed?: boolean) => Uint8Array;
sign: (msgHash: import("@noble/curves/abstract/utils.js").Hex, privKey: import("@noble/curves/abstract/utils.js").PrivKey, opts?: import("@noble/curves/abstract/weierstrass.js").SignOpts) => import("@noble/curves/abstract/weierstrass.js").RecoveredSignatureType;
verify: (signature: import("@noble/curves/abstract/utils.js").Hex | {
getPublicKey: (privateKey: import("@noble/curves/abstract/utils").PrivKey, isCompressed?: boolean) => Uint8Array;
getSharedSecret: (privateA: import("@noble/curves/abstract/utils").PrivKey, publicB: import("@noble/curves/abstract/utils").Hex, isCompressed?: boolean) => Uint8Array;
sign: (msgHash: import("@noble/curves/abstract/utils").Hex, privKey: import("@noble/curves/abstract/utils").PrivKey, opts?: import("@noble/curves/abstract/weierstrass").SignOpts) => import("@noble/curves/abstract/weierstrass").RecoveredSignatureType;
verify: (signature: import("@noble/curves/abstract/utils").Hex | {
r: bigint;
s: bigint;
}, msgHash: import("@noble/curves/abstract/utils.js").Hex, publicKey: import("@noble/curves/abstract/utils.js").Hex, opts?: import("@noble/curves/abstract/weierstrass.js").VerOpts) => boolean;
ProjectivePoint: import("@noble/curves/abstract/weierstrass.js").ProjConstructor<bigint>;
Signature: import("@noble/curves/abstract/weierstrass.js").SignatureConstructor;
}, msgHash: import("@noble/curves/abstract/utils").Hex, publicKey: import("@noble/curves/abstract/utils").Hex, opts?: import("@noble/curves/abstract/weierstrass").VerOpts) => boolean;
ProjectivePoint: import("@noble/curves/abstract/weierstrass").ProjConstructor<bigint>;
Signature: import("@noble/curves/abstract/weierstrass").SignatureConstructor;
utils: {
normPrivateKeyToScalar: (key: import("@noble/curves/abstract/utils.js").PrivKey) => bigint;
isValidPrivateKey(privateKey: import("@noble/curves/abstract/utils.js").PrivKey): boolean;
normPrivateKeyToScalar: (key: import("@noble/curves/abstract/utils").PrivKey) => bigint;
isValidPrivateKey(privateKey: import("@noble/curves/abstract/utils").PrivKey): boolean;
randomPrivateKey: () => Uint8Array;
precompute: (windowSize?: number, point?: import("@noble/curves/abstract/weierstrass.js").ProjPointType<bigint>) => import("@noble/curves/abstract/weierstrass.js").ProjPointType<bigint>;
precompute: (windowSize?: number, point?: import("@noble/curves/abstract/weierstrass").ProjPointType<bigint>) => import("@noble/curves/abstract/weierstrass").ProjPointType<bigint>;
};

@@ -62,0 +62,0 @@ }>;

/** @internal */
export declare const version = "0.6.4";
export declare const version = "0.6.5";
//# sourceMappingURL=version.d.ts.map
# ox
## 0.6.5
### Patch Changes
- [`0b5182f`](https://github.com/wevm/ox/commit/0b5182f94821715c227dc8b0c891d4548b30fa0e) Thanks [@jxom](https://github.com/jxom)! - Fixed build process for typedef generation.
## 0.6.4

@@ -4,0 +10,0 @@

{
"name": "ox",
"description": "Ethereum Standard Library",
"version": "0.6.4",
"version": "0.6.5",
"main": "./_cjs/index.js",

@@ -6,0 +6,0 @@ "module": "./_esm/index.js",

/** @internal */
export const version = '0.6.4'
export const version = '0.6.5'

Sorry, the diff of this file is not supported yet

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