Rename bn to bn254
This commit is contained in:
parent
7199f113c6
commit
6316643f51
@ -90,7 +90,7 @@ import { p384 } from '@noble/curves/p384';
|
|||||||
import { p521 } from '@noble/curves/p521';
|
import { p521 } from '@noble/curves/p521';
|
||||||
import { pallas, vesta } from '@noble/curves/pasta';
|
import { pallas, vesta } from '@noble/curves/pasta';
|
||||||
import { bls12_381 } from '@noble/curves/bls12-381';
|
import { bls12_381 } from '@noble/curves/bls12-381';
|
||||||
import { bn254 } from '@noble/curves/bn';
|
import { bn254 } from '@noble/curves/bn254';
|
||||||
import { jubjub } from '@noble/curves/jubjub';
|
import { jubjub } from '@noble/curves/jubjub';
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -99,10 +99,10 @@
|
|||||||
"import": "./esm/bls12-381.js",
|
"import": "./esm/bls12-381.js",
|
||||||
"default": "./bls12-381.js"
|
"default": "./bls12-381.js"
|
||||||
},
|
},
|
||||||
"./bn": {
|
"./bn254": {
|
||||||
"types": "./bn.d.ts",
|
"types": "./bn254.d.ts",
|
||||||
"import": "./esm/bn.js",
|
"import": "./esm/bn254.js",
|
||||||
"default": "./bn.js"
|
"default": "./bn254.js"
|
||||||
},
|
},
|
||||||
"./ed25519": {
|
"./ed25519": {
|
||||||
"types": "./ed25519.d.ts",
|
"types": "./ed25519.d.ts",
|
||||||
|
@ -12,7 +12,7 @@ import { secp256k1 } from '../esm/secp256k1.js';
|
|||||||
import { ed25519, ed25519ctx, ed25519ph, x25519 } from '../esm/ed25519.js';
|
import { ed25519, ed25519ctx, ed25519ph, x25519 } from '../esm/ed25519.js';
|
||||||
import { ed448, ed448ph } from '../esm/ed448.js';
|
import { ed448, ed448ph } from '../esm/ed448.js';
|
||||||
import { pallas, vesta } from '../esm/pasta.js';
|
import { pallas, vesta } from '../esm/pasta.js';
|
||||||
import { bn254 } from '../esm/bn.js';
|
import { bn254 } from '../esm/bn254.js';
|
||||||
import { jubjub } from '../esm/jubjub.js';
|
import { jubjub } from '../esm/jubjub.js';
|
||||||
import { bls12_381 } from '../esm/bls12-381.js';
|
import { bls12_381 } from '../esm/bls12-381.js';
|
||||||
import { default as wyche_curves } from './wycheproof/ec_prime_order_curves_test.json' assert { type: 'json' };
|
import { default as wyche_curves } from './wycheproof/ec_prime_order_curves_test.json' assert { type: 'json' };
|
||||||
|
Loading…
Reference in New Issue
Block a user