diff --git a/examples/integration-scripts/package-lock.json b/examples/integration-scripts/package-lock.json index f9155760..7ff33420 100644 --- a/examples/integration-scripts/package-lock.json +++ b/examples/integration-scripts/package-lock.json @@ -20,7 +20,6 @@ } }, "../..": { - "name": "signify-ts", "version": "0.1.1", "license": "Apache-2.0", "dependencies": { @@ -40,6 +39,7 @@ "xregexp": "^5.1.0" }, "devDependencies": { + "@mermaid-js/mermaid-cli": "^10.3.0", "@size-limit/preset-small-lib": "^5.0.4", "@types/lodash": "^4.14.185", "@types/node": "^18.11.18", @@ -47,10 +47,13 @@ "@types/urlsafe-base64": "^1.0.28", "husky": "^7.0.2", "jest": "^29.3.1", + "jsdoc": "^4.0.2", + "minami": "^1.2.3", "size-limit": "^5.0.4", "ts-migrate": "^0.1.23", "tsdx": "^0.14.1", "tslib": "^2.3.1", + "typedoc": "^0.24.8", "typescript": "^4.9.4" } }, diff --git a/src/keri/core/eventing.ts b/src/keri/core/eventing.ts index d63da57e..e219d852 100644 --- a/src/keri/core/eventing.ts +++ b/src/keri/core/eventing.ts @@ -148,7 +148,9 @@ export function rotate({ } let newitsetdiff = new Set([...witset].filter(x => cutset.has(x))) - let newitset = new Set([...newitsetdiff, ..._adds]) + let newitset = new Set() + newitsetdiff.forEach(newitset.add, newitset) + addset.forEach(newitset.add, newitset) if (newitset.size != (witset.size - cutset.size + addset.size)) { throw new Error(`Invalid member combination among wits = ${wits}, cuts = ${cuts}, and adds = ${adds}.`)