Skip to content

Commit 35401da

Browse files
committed
publish 0.0.3-rc1
1 parent cd7c274 commit 35401da

File tree

3 files changed

+22
-60
lines changed

3 files changed

+22
-60
lines changed

package-lock.json

+17-55
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@reclaimprotocol/attestor-core",
3-
"version": "4.0.0",
2+
"name": "@zkp2p/reclaim-witness-sdk",
3+
"version": "0.0.3-rc1",
44
"description": "",
55
"main": "lib/index",
66
"scripts": {
@@ -76,7 +76,7 @@
7676
"https-proxy-agent": "^7.0.5",
7777
"jsdom": "^24.1.3",
7878
"jsonpath-plus": "^10.2.0",
79-
"p-queue": "^8.0.1",
79+
"p-queue": "^6.6.2",
8080
"pino": "^9.5.0",
8181
"protobufjs": "^7.4.0",
8282
"re2": "^1.21.4",

src/utils/zk.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import { AttestorError } from 'src/utils/error'
2323
import { getPureCiphertext, getRecordIV, getZkAlgorithmForCipherSuite, uint8ArrayToStr } from 'src/utils/generics'
2424
import { logger as LOGGER } from 'src/utils/logger'
2525
import { binaryHashToStr, isFullyRedacted, isRedactionCongruent, REDACTION_CHAR_CODE } from 'src/utils/redactions'
26+
import PQueue = require('p-queue');
2627

2728
type GenerateZKChunkProofOpts = {
2829
key: Uint8Array
@@ -87,8 +88,7 @@ export async function makeZkProofGenerator(
8788
}: PrepareZKProofsOpts
8889
) {
8990

90-
const { default: PQueue } = await import('p-queue')
91-
const zkQueue = new PQueue({
91+
const zkQueue = new PQueue.default({
9292
concurrency: zkProofConcurrency,
9393
autoStart: true,
9494
})

0 commit comments

Comments
 (0)