Skip to content

Commit

Permalink
use latest wasm-secp256k1
Browse files Browse the repository at this point in the history
  • Loading branch information
samantehrani committed Jan 18, 2025
1 parent cd4bd5d commit 7220b7d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 18 deletions.
21 changes: 6 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"node": ">=18"
},
"dependencies": {
"@solar-republic/wasm-secp256k1": "^0.4.2",
"@arweave/wasm-secp256k1": "^0.0.4",
"arconnect": "^0.4.2",
"asn1.js": "^5.4.1",
"base64-js": "^1.5.1",
Expand Down
4 changes: 2 additions & 2 deletions src/common/lib/crypto/keys/secp256k1.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ByteLens, initWasmSecp256k1 } from "@samantehrani/wasm-secp256k1";
import type { Secp256k1, SignatureAndRecovery } from "@samantehrani/wasm-secp256k1";
import { ByteLens, initWasmSecp256k1 } from "@arweave/wasm-secp256k1";
import type { Secp256k1, SignatureAndRecovery } from "@arweave/wasm-secp256k1";
import { KeyType, PrivateKey, PublicKey, SerializationParams, SigningParams, VerifyingParams } from "./interface";
import { bufferTob64Url, b64UrlToBuffer } from "../../utils";

Expand Down

0 comments on commit 7220b7d

Please sign in to comment.