From 9dbd343dda4606b6837ede51d5d382d0c3debdbd Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Thu, 4 Apr 2024 12:47:18 +0200 Subject: [PATCH] fix: trigger interface upgrade for all packages --- packages/client/src/connection.js | 2 ++ packages/principal/src/lib.js | 1 + packages/transport/src/lib.js | 1 + packages/validator/src/lib.js | 1 - 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/client/src/connection.js b/packages/client/src/connection.js index 8e1db5e5..88ceaebe 100644 --- a/packages/client/src/connection.js +++ b/packages/client/src/connection.js @@ -26,6 +26,8 @@ class Connection { this.hasher = options.hasher || sha256 } /** + * Execute invocations. + * * @template {API.Capability} C * @template {API.Tuple>} I * @param {I} invocations diff --git a/packages/principal/src/lib.js b/packages/principal/src/lib.js index 5444f9c1..235fe6c4 100644 --- a/packages/principal/src/lib.js +++ b/packages/principal/src/lib.js @@ -5,4 +5,5 @@ export * from './multiformat.js' export const Verifier = ed25519.Verifier.or(RSA.Verifier) export const Signer = ed25519.or(RSA) +// exports export { ed25519, RSA, Absentee } diff --git a/packages/transport/src/lib.js b/packages/transport/src/lib.js index 000ffa5f..7e0f7aa5 100644 --- a/packages/transport/src/lib.js +++ b/packages/transport/src/lib.js @@ -1,3 +1,4 @@ +// top level exports export * as CAR from './car.js' export * as HTTP from './http.js' export * as UTF8 from './utf8.js' diff --git a/packages/validator/src/lib.js b/packages/validator/src/lib.js index 38b7a732..06048221 100644 --- a/packages/validator/src/lib.js +++ b/packages/validator/src/lib.js @@ -164,7 +164,6 @@ const resolveSources = async ({ delegation }, config) => { proofs.push(proof) } } - // In the second pass we attempt to proofs that were resolved and are aligned. for (const proof of proofs) { // If proof is not valid (expired, not active yet or has incorrect