Skip to content

Commit

Permalink
import buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
ququzone committed Oct 9, 2023
1 parent 76a6f86 commit 6f99e11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "smart-accounts",
"version": "0.1.4",
"version": "0.1.5",
"author": "ququzone <[email protected]>",
"license": "MIT",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/p256.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import crypto from 'crypto'
import { Buffer } from 'buffer'
import { bufferToHex, sha256 } from 'ethereumjs-util'
import { BytesLike, defaultAbiCoder } from 'ethers/lib/utils'
import { Signer } from './userop-builder'
Expand Down
1 change: 1 addition & 0 deletions test/secp256r1.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { expect } from 'chai'
import { ethers } from 'hardhat'
import { Buffer } from 'buffer'
// @ts-ignore
import ecPem from 'ec-pem'
import crypto from 'crypto'
Expand Down

0 comments on commit 6f99e11

Please sign in to comment.