From eb3a413ebd93c7a238a7c1a7e7b843c8d8d5f29a Mon Sep 17 00:00:00 2001 From: pallavicoder Date: Tue, 30 Apr 2024 15:55:02 +0530 Subject: [PATCH 01/20] feat:add invitation did for reuse connection Signed-off-by: pallavicoder --- Dockerfile | 9 +- ...=> @credo-ts+core+0.5.1+001+initial.patch} | 2 +- ...o-ts+core+0.5.1+002+reuse-connection.patch | 856 ++++++++++++++++++ .../multi-tenancy/MultiTenancyController.ts | 109 ++- .../outofband/OutOfBandController.ts | 46 +- src/controllers/types.ts | 3 + src/routes/routes.ts | 29 +- src/routes/swagger.json | 96 +- 8 files changed, 1085 insertions(+), 65 deletions(-) rename patches/{@credo-ts+core+0.5.0.patch => @credo-ts+core+0.5.1+001+initial.patch} (98%) create mode 100644 patches/@credo-ts+core+0.5.1+002+reuse-connection.patch diff --git a/Dockerfile b/Dockerfile index c9f23ad8..d7b7fc01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,10 +9,6 @@ # # Only needed to build indy-sdk # build-essential -# # nodejs -# # RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash -# # RUN /bin/bash -c "source /root/.nvm/nvm.sh && nvm install 18 && nvm use 18" - # RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - # # yarn @@ -23,6 +19,10 @@ # RUN apt-get update -y && apt-get install -y --allow-unauthenticated \ # nodejs +# # install depdencies +# RUN apt-get update -y && apt-get install -y --allow-unauthenticated \ +# nodejs + # # Install yarn seperately due to `no-install-recommends` to skip nodejs install # RUN apt-get install -y --no-install-recommends yarn @@ -77,4 +77,3 @@ COPY --from=builder /app/patches ./patches # Set entry point ENTRYPOINT ["node", "./bin/afj-rest.js", "start"] - diff --git a/patches/@credo-ts+core+0.5.0.patch b/patches/@credo-ts+core+0.5.1+001+initial.patch similarity index 98% rename from patches/@credo-ts+core+0.5.0.patch rename to patches/@credo-ts+core+0.5.1+001+initial.patch index 7350b168..c67f4eda 100644 --- a/patches/@credo-ts+core+0.5.0.patch +++ b/patches/@credo-ts+core+0.5.1+001+initial.patch @@ -47,4 +47,4 @@ index e0384d9..0a669fb 100644 + messageType: string; [key: string]: unknown; } - export interface OutboundPackage { + export interface OutboundPackage { \ No newline at end of file diff --git a/patches/@credo-ts+core+0.5.1+002+reuse-connection.patch b/patches/@credo-ts+core+0.5.1+002+reuse-connection.patch new file mode 100644 index 00000000..092e01c9 --- /dev/null +++ b/patches/@credo-ts+core+0.5.1+002+reuse-connection.patch @@ -0,0 +1,856 @@ +diff --git a/node_modules/@credo-ts/core/build/agent/Agent.js b/node_modules/@credo-ts/core/build/agent/Agent.js +index d0a26e8..c80ba74 100644 +--- a/node_modules/@credo-ts/core/build/agent/Agent.js ++++ b/node_modules/@credo-ts/core/build/agent/Agent.js +@@ -112,6 +112,7 @@ class Agent extends BaseAgent_1.BaseAgent { + .receiveMessage(e.payload.message, { + connection: e.payload.connection, + contextCorrelationId: e.payload.contextCorrelationId, ++ receivedAt: e.payload.receivedAt, + }) + .catch((error) => { + this.logger.error('Failed to process message', { error }); +diff --git a/node_modules/@credo-ts/core/build/agent/Agent.js.map b/node_modules/@credo-ts/core/build/agent/Agent.js.map +index 4899ecb..51c0f0e 100644 +--- a/node_modules/@credo-ts/core/build/agent/Agent.js.map ++++ b/node_modules/@credo-ts/core/build/agent/Agent.js.map +@@ -1 +1 @@ +-{"version":3,"file":"Agent.js","sourceRoot":"","sources":["../../src/agent/Agent.ts"],"names":[],"mappings":";;;AASA,+BAA8B;AAC9B,8CAAqD;AAErD,4CAA+C;AAC/C,sCAAgD;AAChD,qDAAiD;AACjD,oCAAqC;AACrC,wCAA8C;AAC9C,wCAAqG;AAErG,+CAA2C;AAC3C,iDAAgE;AAChE,2CAAuC;AACvC,6CAAyC;AACzC,uDAAmD;AACnD,iDAA6C;AAC7C,qCAA0C;AAC1C,uDAAmD;AACnD,qEAAiE;AACjE,uDAAmD;AACnD,mDAA+C;AAC/C,yDAAqD;AACrD,uCAAqE;AAQrE,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AAC,UAAU,EAAE;YACf,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAA;YAC7E,wFAAwF;YACxF,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,EAAE,kBAAkB,EAAE,KAAK,EAAE,CAAC,CAAA;YAEvF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA;YAC7C,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,mBAAmB,EAAE;gBAChG,OAAO;aACR,CAAC,CAAA;YACF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,gCAAgC,EAAE,EAAE,mBAAmB,EAAE,CAAC,CAAA;YAE5E,IAAI,CAAC,aAAa,EAAE;gBAClB,MAAM,IAAI,kBAAU,CAAC,8CAA8C,CAAC,CAAA;aACrE;YAED,OAAO,IAAI,CAAC,WAAW,CAAC,qBAAqB,CAAC,aAAa,CAAC,EAAE,CAAC,CAAA;SAChE;QAED,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE;YACvB,OAAO,IAAI,CAAC,WAAW,CAAC,qBAAqB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAA;SAC7D;QACD,OAAO,UAAU,CAAA;IACnB,CAAC;CACF;AAhND,sBAgNC"} +\ No newline at end of file ++{"version":3,"file":"Agent.js","sourceRoot":"","sources":["../../src/agent/Agent.ts"],"names":[],"mappings":";;;AASA,+BAA8B;AAC9B,8CAAqD;AAErD,4CAA+C;AAC/C,sCAAgD;AAChD,qDAAiD;AACjD,oCAAqC;AACrC,wCAA8C;AAC9C,wCAAqG;AAErG,+CAA2C;AAC3C,iDAAgE;AAChE,2CAAuC;AACvC,6CAAyC;AACzC,uDAAmD;AACnD,iDAA6C;AAC7C,qCAA0C;AAC1C,uDAAmD;AACnD,qEAAiE;AACjE,uDAAmD;AACnD,mDAA+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AAC,oBAAoB,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;QAE3G,IAAI,CAAC,UAAU,EAAE;YACf,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAA;YAC7E,wFAAwF;YACxF,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,EAAE,kBAAkB,EAAE,KAAK,EAAE,CAAC,CAAA;YAEvF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA;YAC7C,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,mBAAmB,EAAE;gBAChG,OAAO;aACR,CAAC,CAAA;YACF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,gCAAgC,EAAE,EAAE,mBAAmB,EAAE,CAAC,CAAA;YAE5E,IAAI,CAAC,aAAa,EAAE;gBAClB,MAAM,IAAI,kBAAU,CAAC,8CAA8C,CAAC,CAAA;aACrE;YAED,OAAO,IAAI,CAAC,WAAW,CAAC,qBAAqB,CAAC,aAAa,CAAC,EAAE,CAAC,CAAA;SAChE;QAED,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE;YACvB,OAAO,IAAI,CAAC,WAAW,CAAC,qBAAqB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAA;SAC7D;QACD,OAAO,UAAU,CAAA;IACnB,CAAC;CACF;AAjND,sBAiNC"} +\ No newline at end of file +diff --git a/node_modules/@credo-ts/core/build/agent/Dispatcher.js b/node_modules/@credo-ts/core/build/agent/Dispatcher.js +index 66d8a6b..c1cea4d 100644 +--- a/node_modules/@credo-ts/core/build/agent/Dispatcher.js ++++ b/node_modules/@credo-ts/core/build/agent/Dispatcher.js +@@ -87,6 +87,7 @@ let Dispatcher = class Dispatcher { + payload: { + message, + connection, ++ receivedAt: messageContext.receivedAt, + }, + }); + } +diff --git a/node_modules/@credo-ts/core/build/agent/Dispatcher.js.map b/node_modules/@credo-ts/core/build/agent/Dispatcher.js.map +index cfab13a..af98bfa 100644 +--- a/node_modules/@credo-ts/core/build/agent/Dispatcher.js.map ++++ b/node_modules/@credo-ts/core/build/agent/Dispatcher.js.map +@@ -1 +1 @@ +-{"version":3,"file":"Dispatcher.js","sourceRoot":"","sources":["../../src/agent/Dispatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAIA,4CAA+C;AAC/C,oDAAgD;AAEhD,wCAA+C;AAC/C,sDAAuD;AAEvD,qGAAiG;AACjG,iDAA6C;AAC7C,qCAA0C;AAC1C,qEAAiE;AACjE,mDAA+C;AAC/C,qCAAiD;AAEjD,IACM,UAAU,GADhB,MACM,UAAU;IAMd,YACE,aAA4B,EAC5B,YAA0B,EAC1B,sBAA8C,EACb,MAAc;QAE/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAA;QACpD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAEM,KAAK,CAAC,QAAQ,CAAC,cAAqC;QACzD,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,GAAG,cAAc,CAAA;QACrF,MAAM,cAAc,GAAG,IAAI,CAAC,sBAAsB,CAAC,wBAAwB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;QAEzF,IAAI,CAAC,cAAc,EAAE;YACnB,MAAM,IAAI,uBAAU,CAAC,gCAAgC,OAAO,CAAC,IAAI,SAAS,CAAC,CAAA;SAC5E;QAED,IAAI,eAA4D,CAAA;QAEhE,IAAI;YACF,eAAe,GAAG,MAAM,cAAc,CAAC,MAAM,CAAC,cAAc,CAAC,CAAA;SAC9D;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,oBAAoB,GAAG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Ae,CAAC,qBAAqB,GAAG,cAAc,CAAA;aACvD;YAED,MAAM,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,eAAe,CAAC,CAAA;SACtD;QACD,wDAAwD;QACxD,IAAI,CAAC,YAAY,CAAC,IAAI,CAA6B,YAAY,EAAE;YAC/D,IAAI,EAAE,wBAAe,CAAC,qBAAqB;YAC3C,OAAO,EAAE;gBACP,OAAO;gBACP,UAAU;aACX;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AApFK,UAAU;IADf,IAAA,oBAAU,GAAE;IAWR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAHjB,6BAAa;QACd,2BAAY;QACF,+CAAsB;GAT5C,UAAU,CAoFf;AAEQ,gCAAU"} +\ No newline at end of file ++{"version":3,"file":"Dispatcher.js","sourceRoot":"","sources":["../../src/agent/Dispatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAIA,4CAA+C;AAC/C,oDAAgD;AAEhD,wCAA+C;AAC/C,sDAAuD;AAEvD,qGAAiG;AACjG,iDAA6C;AAC7C,qCAA0C;AAC1C,qEAAiE;AACjE,mDAA+C;AAC/C,qCAAiD;AAEjD,IACM,UAAU,GADhB,MACM,UAAU;IAMd,YACE,aAA4B,EAC5B,YAA0B,EAC1B,sBAA8C,EACb,MAAc;QAE/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAA;QACpD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAEM,KAAK,CAAC,QAAQ,CAAC,cAAqC;QACzD,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,GAAG,cAAc,CAAA;QACrF,MAAM,cAAc,GAAG,IAAI,CAAC,sBAAsB,CAAC,wBAAwB,CAAC,OAAO,C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AAS,CAAE,WAAW;oBACjC,YAAY,EAAE,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,WAAW;oBACvC,YAAY,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,EAAE;iBAC7B,CAAC,CAAA;gBAEF,MAAM,KAAK,CAAA;aACZ;SACF;QAED,IAAI,eAAe,EAAE;YACnB,0DAA0D;YAC1D,IAAI,CAAC,eAAe,CAAC,qBAAqB,EAAE;gBAC1C,eAAe,CAAC,qBAAqB,GAAG,cAAc,CAAA;aACvD;YAED,MAAM,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,eAAe,CAAC,CAAA;SACtD;QACD,wDAAwD;QACxD,IAAI,CAAC,YAAY,CAAC,IAAI,CAA6B,YAAY,EAAE;YAC/D,IAAI,EAAE,wBAAe,CAAC,qBAAqB;YAC3C,OAAO,EAAE;gBACP,OAAO;gBACP,UAAU;gBACV,UAAU,EAAE,cAAc,CAAC,UAAU;aACtC;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AArFK,UAAU;IADf,IAAA,oBAAU,GAAE;IAWR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAHjB,6BAAa;QACd,2BAAY;QACF,+CAAsB;GAT5C,UAAU,CAqFf;AAEQ,gCAAU"} +\ No newline at end of file +diff --git a/node_modules/@credo-ts/core/build/agent/EnvelopeService.js b/node_modules/@credo-ts/core/build/agent/EnvelopeService.js +index 0238d59..12261a9 100644 +--- a/node_modules/@credo-ts/core/build/agent/EnvelopeService.js ++++ b/node_modules/@credo-ts/core/build/agent/EnvelopeService.js +@@ -32,14 +32,12 @@ let EnvelopeService = class EnvelopeService { + let encryptedMessage = await agentContext.wallet.pack(message, recipientKeysBase58, senderKeyBase58 !== null && senderKeyBase58 !== void 0 ? senderKeyBase58 : undefined); + // If the message has routing keys (mediator) pack for each mediator + for (const routingKeyBase58 of routingKeysBase58) { +- console.log(`message['@type']`, JSON.stringify(message['@type'])) + const forwardMessage = new messages_1.ForwardMessage({ + // Forward to first recipient key + to: recipientKeysBase58[0], + message: encryptedMessage, + }); + recipientKeysBase58 = [routingKeyBase58]; +- forwardMessage["messageType"] = message['@type']; + this.logger.debug('Forward message created', forwardMessage); + const forwardJson = forwardMessage.toJSON({ + useDidSovPrefixWhereAllowed: agentContext.config.useDidSovPrefixWhereAllowed, +diff --git a/node_modules/@credo-ts/core/build/agent/Events.d.ts b/node_modules/@credo-ts/core/build/agent/Events.d.ts +index 1df8984..24f2b78 100644 +--- a/node_modules/@credo-ts/core/build/agent/Events.d.ts ++++ b/node_modules/@credo-ts/core/build/agent/Events.d.ts +@@ -22,6 +22,7 @@ export interface AgentMessageReceivedEvent extends BaseEvent { + message: unknown; + connection?: ConnectionRecord; + contextCorrelationId?: string; ++ receivedAt?: Date; + }; + } + export interface AgentMessageProcessedEvent extends BaseEvent { +@@ -29,6 +30,7 @@ export interface AgentMessageProcessedEvent extends BaseEvent { + payload: { + message: AgentMessage; + connection?: ConnectionRecord; ++ receivedAt?: Date; + }; + } + export interface AgentMessageSentEvent extends BaseEvent { +diff --git a/node_modules/@credo-ts/core/build/agent/MessageReceiver.d.ts b/node_modules/@credo-ts/core/build/agent/MessageReceiver.d.ts +index 80f3761..35cae42 100644 +--- a/node_modules/@credo-ts/core/build/agent/MessageReceiver.d.ts ++++ b/node_modules/@credo-ts/core/build/agent/MessageReceiver.d.ts +@@ -29,10 +29,11 @@ export declare class MessageReceiver { + * + * @param inboundMessage the message to receive and handle + */ +- receiveMessage(inboundMessage: unknown, { session, connection, contextCorrelationId, }?: { ++ receiveMessage(inboundMessage: unknown, { session, connection, contextCorrelationId, receivedAt, }?: { + session?: TransportSession; + connection?: ConnectionRecord; + contextCorrelationId?: string; ++ receivedAt?: Date; + }): Promise; + private receivePlaintextMessage; + private receiveEncryptedMessage; +diff --git a/node_modules/@credo-ts/core/build/agent/MessageReceiver.js b/node_modules/@credo-ts/core/build/agent/MessageReceiver.js +index e74b6dd..e351edf 100644 +--- a/node_modules/@credo-ts/core/build/agent/MessageReceiver.js ++++ b/node_modules/@credo-ts/core/build/agent/MessageReceiver.js +@@ -56,7 +56,7 @@ let MessageReceiver = class MessageReceiver { + * + * @param inboundMessage the message to receive and handle + */ +- async receiveMessage(inboundMessage, { session, connection, contextCorrelationId, } = {}) { ++ async receiveMessage(inboundMessage, { session, connection, contextCorrelationId, receivedAt, } = {}) { + this.logger.debug(`Agent received message`); + // Find agent context for the inbound message + const agentContext = await this.agentContextProvider.getContextForInboundMessage(inboundMessage, { +@@ -64,10 +64,10 @@ let MessageReceiver = class MessageReceiver { + }); + try { + if (this.isEncryptedMessage(inboundMessage)) { +- await this.receiveEncryptedMessage(agentContext, inboundMessage, session); ++ await this.receiveEncryptedMessage(agentContext, inboundMessage, session, receivedAt); + } + else if (this.isPlaintextMessage(inboundMessage)) { +- await this.receivePlaintextMessage(agentContext, inboundMessage, connection); ++ await this.receivePlaintextMessage(agentContext, inboundMessage, connection, receivedAt); + } + else { + throw new error_1.CredoError('Unable to parse incoming message: unrecognized format'); +@@ -78,12 +78,12 @@ let MessageReceiver = class MessageReceiver { + await agentContext.endSession(); + } + } +- async receivePlaintextMessage(agentContext, plaintextMessage, connection) { ++ async receivePlaintextMessage(agentContext, plaintextMessage, connection, receivedAt) { + const message = await this.transformAndValidate(agentContext, plaintextMessage); +- const messageContext = new models_1.InboundMessageContext(message, { connection, agentContext }); ++ const messageContext = new models_1.InboundMessageContext(message, { connection, agentContext, receivedAt }); + await this.dispatcher.dispatch(messageContext); + } +- async receiveEncryptedMessage(agentContext, encryptedMessage, session) { ++ async receiveEncryptedMessage(agentContext, encryptedMessage, session, receivedAt) { + const decryptedMessage = await this.decryptMessage(agentContext, encryptedMessage); + const { plaintextMessage, senderKey, recipientKey } = decryptedMessage; + this.logger.info(`Received message with type '${plaintextMessage['@type']}', recipient key ${recipientKey === null || recipientKey === void 0 ? void 0 : recipientKey.fingerprint} and sender key ${senderKey === null || senderKey === void 0 ? void 0 : senderKey.fingerprint}`, plaintextMessage); +@@ -97,6 +97,7 @@ let MessageReceiver = class MessageReceiver { + senderKey, + recipientKey, + agentContext, ++ receivedAt, + }); + // We want to save a session if there is a chance of returning outbound message via inbound transport. + // That can happen when inbound message has `return_route` set to `all` or `thread`. +diff --git a/node_modules/@credo-ts/core/build/agent/MessageReceiver.js.map b/node_modules/@credo-ts/core/build/agent/MessageReceiver.js.map +index 6fd94b7..81627e1 100644 +--- a/node_modules/@credo-ts/core/build/agent/MessageReceiver.js.map ++++ b/node_modules/@credo-ts/core/build/agent/MessageReceiver.js.map +@@ -1 +1 @@ +-{"version":3,"file":"MessageReceiver.js","sourceRoot":"","sources":["../../src/agent/MessageReceiver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,4CAA+C;AAC/C,oCAAqC;AAErC,wDAA0D;AAC1D,gEAA0G;AAC1G,wCAA+C;AAC/C,sCAAkD;AAClD,8DAA0D;AAC1D,sDAAiH;AAEjH,6CAAyC;AACzC,uDAAmD;AACnD,qEAAiE;AACjE,mDAA+C;AAC/C,yDAAqD;AAErD,qCAAwE;AAGjE,IAAM,eAAe,GAArB,MAAM,eAAe;IAW1B,YACE,eAAgC,EAChC,gBAAkC,EAClC,aAA4B,EAC5B,iBAAoC,EACpC,UAAsB,EACtB,sBAA8C,EACC,oBAA0C,EACxD,MAAc;QAVzC,uBAAkB,GAAuB,EAAE,CAAA;QAYjD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM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C7B,cAAc,EAAE,gBAAgB,CAAC,KAAK,CAAC;SACxC,CAAC,CAAA;QACF,MAAM,sBAAsB,GAAG,IAAI,+BAAsB,CAAC,oBAAoB,EAAE,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC,CAAA;QAC7G,IAAI,sBAAsB,EAAE;YAC1B,MAAM,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAA;SAC7D;IACH,CAAC;CACF,CAAA;AA9QY,eAAe;IAD3B,IAAA,oBAAU,GAAE;IAmBR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,oBAAoB,CAAC,CAAA;IAC7C,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAPf,iCAAe;QACd,mCAAgB;QACnB,6BAAa;QACT,+BAAiB;QACxB,uBAAU;QACE,+CAAsB;GAjBrC,eAAe,CA8Q3B;AA9QY,0CAAe"} +\ No newline at end of file ++{"version":3,"file":"MessageReceiver.js","sourceRoot":"","sources":["../../src/agent/MessageReceiver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,4CAA+C;AAC/C,oCAAqC;AAErC,wDAA0D;AAC1D,gEAA0G;AAC1G,wCAA+C;AAC/C,sCAAkD;AAClD,8DAA0D;AAC1D,sDAAiH;AAEjH,6CAAyC;AACzC,uDAAmD;AACnD,qEAAiE;AACjE,mDAA+C;AAC/C,yDAAqD;AAErD,qCAAwE;AAGjE,IAAM,eAAe,GAArB,MAAM,eAAe;IAW1B,YACE,eAAgC,EAChC,gBAAkC,EAClC,aAA4B,EAC5B,iBAAoC,EACpC,UAAsB,EACtB,sBAA8C,EACC,oBAA0C,EACxD,MAAc;QAVzC,uBAAkB,GAAuB,EAAE,CAAA;QAYjD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,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C,sCAAoB,EAAE,WAAW,CAAC,EAAE;YAC3D,MAAM,IAAI,kBAAU,CAAC,6DAA6D,OAAO,EAAE,CAAC,CAAA;SAC7F;QACD,MAAM,oBAAoB,GAAG,IAAI,sCAAoB,CAAC;YACpD,WAAW,EAAE;gBACX,EAAE,EAAE,OAAO;gBACX,IAAI,EAAE,qCAAmB,CAAC,mBAAmB;aAC9C;SACF,CAAC,CAAA;QACF,oBAAoB,CAAC,SAAS,CAAC;YAC7B,cAAc,EAAE,gBAAgB,CAAC,KAAK,CAAC;SACxC,CAAC,CAAA;QACF,MAAM,sBAAsB,GAAG,IAAI,+BAAsB,CAAC,oBAAoB,EAAE,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC,CAAA;QAC7G,IAAI,sBAAsB,EAAE;YAC1B,MAAM,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAA;SAC7D;IACH,CAAC;CACF,CAAA;AAvRY,eAAe;IAD3B,IAAA,oBAAU,GAAE;IAmBR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,oBAAoB,CAAC,CAAA;IAC7C,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAPf,iCAAe;QACd,mCAAgB;QACnB,6BAAa;QACT,+BAAiB;QACxB,uBAAU;QACE,+CAAsB;GAjBrC,eAAe,CAuR3B;AAvRY,0CAAe"} +\ No newline at end of file +diff --git a/node_modules/@credo-ts/core/build/agent/models/InboundMessageContext.d.ts b/node_modules/@credo-ts/core/build/agent/models/InboundMessageContext.d.ts +index 36f4c4b..5b0e3a3 100644 +--- a/node_modules/@credo-ts/core/build/agent/models/InboundMessageContext.d.ts ++++ b/node_modules/@credo-ts/core/build/agent/models/InboundMessageContext.d.ts +@@ -8,6 +8,7 @@ export interface MessageContextParams { + senderKey?: Key; + recipientKey?: Key; + agentContext: AgentContext; ++ receivedAt?: Date; + } + export declare class InboundMessageContext { + message: T; +@@ -15,6 +16,7 @@ export declare class InboundMessageContext 0) { + const inlineServices = outOfBandRecord.outOfBandInvitation.getInlineServices(); + services = inlineServices.map((service) => { + var _a, _b; +@@ -194,6 +194,10 @@ let DidExchangeProtocol = class DidExchangeProtocol { + }); + }); + } ++ else { ++ // We don't support using a did from the OOB invitation services currently, in this case we always pass routing to this method ++ throw new error_1.CredoError('No routing provided, and no inline services found in out of band invitation. When using did services in out of band invitation, make sure to provide routing information for rotation.'); ++ } + // Use the same num algo for response as received in request + const numAlgo = (0, dids_1.isValidPeerDid)(theirDid) + ? (0, dids_1.getNumAlgoFromPeerDid)(theirDid) +diff --git a/node_modules/@credo-ts/core/build/modules/connections/DidExchangeProtocol.js.map b/node_modules/@credo-ts/core/build/modules/connections/DidExchangeProtocol.js.map +index d82e96c..7e0adcf 100644 +--- a/node_modules/@credo-ts/core/build/modules/connections/DidExchangeProtocol.js.map ++++ b/node_modules/@credo-ts/core/build/modules/connections/DidExchangeProtocol.js.map +@@ -1 +1 @@ +-{"version":3,"file":"DidExchangeProtocol.js","sourceRoot":"","sources":["../../../src/modules/connections/DidExchangeProtocol.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,+CAAkD;AAClD,yCAA2C;AAC3C,wDAAoD;AACpD,+CAA6D;AAC7D,+CAAqD;AACrD,uEAAmF;AACnF,uCAAwC;AAExC,2CAAkD;AAClD,uCAA8D;AAC9D,yDAAqD;AACrD,iEAA6D;AAC7D,+CAAsD;AACtD,kCAQgB;AAChB,sDAAsE;AACtE,gDAAkD;AAClD,6CAAuD;AACvD,mDAAkD;AAClD,+DAA2D;AAC3D,iEAA6D;AAC7D,yDAA8E;AAE9E,uEAAmE;AACnE,uEAAmE;AACnE,qCAAwF;AACxF,yCAA8G;AAC9G,qCAA+E;AAC/E,yCAA8C;AAC9C,gDAA8G;AAavG,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAM9B,YACE,iBAAoC,EACpC,aAA4B,EAC5B,UAAsB,EACW,MAAc;QAE/C,IAAI,C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C,uCAA8B,CAAC,kBAAkB;gBACnD,CAAC,CAAC,uCAA8B,CAAC,mBAAmB,CAAA;YACxD,MAAM,IAAI,sCAA6B,CAAC,oCAAoC,EAAE,EAAE,WAAW,EAAE,CAAC,CAAA;SAC/F;QAED,OAAO,WAAW,CAAA;IACpB,CAAC;CACF,CAAA;AAlmBY,mBAAmB;IAD/B,IAAA,oBAAU,GAAE;IAWR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAHb,4BAAiB;QACrB,0BAAa;QAChB,uBAAU;GATb,mBAAmB,CAkmB/B;AAlmBY,kDAAmB"} +\ No newline at end of file ++{"version":3,"file":"DidExchangeProtocol.js","sourceRoot":"","sources":["../../../src/modules/connections/DidExchangeProtocol.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,+CAAkD;AAClD,yCAA2C;AAC3C,wDAAoD;AACpD,+CAA6D;AAC7D,+CAAqD;AACrD,uEAAmF;AACnF,uCAAwC;AAExC,2CAAkD;AAClD,uCAA8D;AAC9D,yDAAqD;AACrD,iEAA6D;AAC7D,+CAAsD;AACtD,kCAQgB;AAChB,sDAAsE;AACtE,gDAAkD;AAClD,6CAAuD;AACvD,mDAAkD;AAClD,+DAA2D;AAC3D,iEAA6D;AAC7D,yDAA8E;AAE9E,uEAAmE;AACnE,uEAAmE;AACnE,qCAAwF;AACxF,yCAA8G;AAC9G,qCAA+E;AAC/E,yCAA8C;AAC9C,gDAA8G;AAavG,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAM9B,YACE,iBAAoC,EACpC,aAA4B,EAC5B,UAAsB,EACW,MAAc;QAE/C,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAEM,KAAK,CAAC,aAAa,CACx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,CAAA;YACxD,MAAM,IAAI,sCAA6B,CAAC,oCAAoC,EAAE,EAAE,WAAW,EAAE,CAAC,CAAA;SAC/F;QAED,OAAO,WAAW,CAAA;IACpB,CAAC;CACF,CAAA;AAvmBY,mBAAmB;IAD/B,IAAA,oBAAU,GAAE;IAWR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAHb,4BAAiB;QACrB,0BAAa;QAChB,uBAAU;GATb,mBAAmB,CAumB/B;AAvmBY,kDAAmB"} +\ No newline at end of file +diff --git a/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js b/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js +index fb4e984..f81959c 100644 +--- a/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js ++++ b/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js +@@ -48,8 +48,14 @@ class ConnectionRequestHandler { + transportService.setConnectionIdForSession(sessionId, connectionRecord.id); + } + if ((_b = connectionRecord === null || connectionRecord === void 0 ? void 0 : connectionRecord.autoAcceptConnection) !== null && _b !== void 0 ? _b : this.connectionsModuleConfig.autoAcceptConnections) { +- // TODO: Allow rotation of keys used in the invitation for new ones not only when out-of-band is reusable +- const routing = outOfBandRecord.reusable ? await this.routingService.getRouting(agentContext) : undefined; ++ // TODO: Allow rotation of keys used in the invitation for new ones not only when out-of-band is reusable or ++ // when there are no inline services in the invitation ++ // We generate routing in two scenarios: ++ // 1. When the out-of-band invitation is reusable, as otherwise all connections use the same keys ++ // 2. When the out-of-band invitation has no inline services, as we don't want to generate a legacy did doc from a service did ++ const routing = outOfBandRecord.reusable || outOfBandRecord.outOfBandInvitation.getInlineServices().length === 0 ++ ? await this.routingService.getRouting(agentContext) ++ : undefined; + const { message } = await this.connectionService.createResponse(agentContext, connectionRecord, outOfBandRecord, routing); + return new models_1.OutboundMessageContext(message, { + agentContext, +diff --git a/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js.map b/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js.map +index c0eb584..fab55b3 100644 +--- a/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js.map ++++ b/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js.map +@@ -1 +1 @@ +-{"version":3,"file":"ConnectionRequestHandler.js","sourceRoot":"","sources":["../../../../src/modules/connections/handlers/ConnectionRequestHandler.ts"],"names":[],"mappings":";;;AAOA,sEAAkE;AAClE,kDAA8D;AAC9D,0DAAsD;AACtD,mDAAqD;AACrD,0CAAsD;AACtD,sCAA6C;AAE7C,MAAa,wBAAwB;IAQnC,YACE,iBAAoC,EACpC,gBAAkC,EAClC,cAA8B,EAC9B,aAA4B,EAC5B,uBAAgD;QAP3C,sBAAiB,GAAG,CAAC,mCAAwB,CAAC,CAAA;QASnD,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAA;IACxD,CAAC;IAEM,KAAK,CAAC,MAAM,CAAC,cAAsE;;QACxF,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,cAAc,CAAA;QAEhG,IAAI,CAAC,YAAY,IAAI,CAAC,SAAS,EAAE;YAC/B,MAAM,IAAI,uBAAU,CAAC,2EAA2E,CAAC,CAAA;SAClG;QAED,MAAM,cAAc,GAAG,MAAA,OAAO,CAAC,MAAM,0CAAE,cAAc,CAAA;QAErD,MAAM,eAAe,GACnB,cAAc,IAAI,IAAA,mBAAW,EAAC,cAAc,CAAC;YAC3C,CAAC,CAAC,MAAM,IAAI,C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,QAAQ,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;YAEzG,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAC7D,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,OAAO,CACR,CAAA;YACD,OAAO,IAAI,+BAAsB,CAAC,OAAO,EAAE;gBACzC,YAAY;gBACZ,UAAU,EAAE,gBAAgB;gBAC5B,SAAS,EAAE,eAAe;aAC3B,CAAC,CAAA;SACH;IACH,CAAC;CACF;AA/ED,4DA+EC"} +\ No newline at end of file ++{"version":3,"file":"ConnectionRequestHandler.js","sourceRoot":"","sources":["../../../../src/modules/connections/handlers/ConnectionRequestHandler.ts"],"names":[],"mappings":";;;AAOA,sEAAkE;AAClE,kDAA8D;AAC9D,0DAAsD;AACtD,mDAAqD;AACrD,0CAAsD;AACtD,sCAA6C;AAE7C,MAAa,wBAAwB;IAQnC,YACE,iBAAoC,EACpC,gBAAkC,EAClC,cAA8B,EAC9B,aAA4B,EAC5B,uBAAgD;QAP3C,sBAAiB,GAAG,CAAC,mCAAwB,CAAC,CAAA;QASnD,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAA;IACxD,CAAC;IAEM,KAAK,CAAC,MAAM,CAAC,cAAsE;;QACxF,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,cAAc,CAAA;QAEhG,IAAI,CAAC,YAAY,IAAI,CAAC,SAAS,EAAE;YAC/B,MAAM,IAAI,uBAAU,CAAC,2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E,CAAC,CAAA;SAC3E;QAED,IAAI,MAAA,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,oBAAoB,mCAAI,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,EAAE;YAChG,4GAA4G;YAC5G,sDAAsD;YAEtD,wCAAwC;YACxC,iGAAiG;YACjG,8HAA8H;YAC9H,MAAM,OAAO,GACX,eAAe,CAAC,QAAQ,IAAI,eAAe,CAAC,mBAAmB,CAAC,iBAAiB,EAAE,CAAC,MAAM,KAAK,CAAC;gBAC9F,CAAC,CAAC,MAAM,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,YAAY,CAAC;gBACpD,CAAC,CAAC,SAAS,CAAA;YAEf,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAC7D,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,OAAO,CACR,CAAA;YACD,OAAO,IAAI,+BAAsB,CAAC,OAAO,EAAE;gBACzC,YAAY;gBACZ,UAAU,EAAE,gBAAgB;gBAC5B,SAAS,EAAE,eAAe;aAC3B,CAAC,CAAA;SACH;IACH,CAAC;CACF;AAvFD,4DAuFC"} +\ No newline at end of file +diff --git a/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js b/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js +index 992adfa..e2120e6 100644 +--- a/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js ++++ b/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js +@@ -58,7 +58,12 @@ class DidExchangeRequestHandler { + if ((_b = connectionRecord.autoAcceptConnection) !== null && _b !== void 0 ? _b : this.connectionsModuleConfig.autoAcceptConnections) { + // TODO We should add an option to not pass routing and therefore do not rotate keys and use the keys from the invitation + // TODO: Allow rotation of keys used in the invitation for new ones not only when out-of-band is reusable +- const routing = outOfBandRecord.reusable ? await this.routingService.getRouting(agentContext) : undefined; ++ // We generate routing in two scenarios: ++ // 1. When the out-of-band invitation is reusable, as otherwise all connections use the same keys ++ // 2. When the out-of-band invitation has no inline services, as we don't want to generate a legacy did doc from a service did ++ const routing = outOfBandRecord.reusable || outOfBandRecord.outOfBandInvitation.getInlineServices().length === 0 ++ ? await this.routingService.getRouting(agentContext) ++ : undefined; + const message = await this.didExchangeProtocol.createResponse(agentContext, connectionRecord, outOfBandRecord, routing); + return new models_1.OutboundMessageContext(message, { + agentContext, +diff --git a/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js.map b/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js.map +index b3771c3..523bb47 100644 +--- a/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js.map ++++ b/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js.map +@@ -1 +1 @@ +-{"version":3,"file":"DidExchangeRequestHandler.js","sourceRoot":"","sources":["../../../../src/modules/connections/handlers/DidExchangeRequestHandler.ts"],"names":[],"mappings":";;;AAOA,sEAAkE;AAClE,kDAA8D;AAC9D,0DAAsD;AACtD,mDAAqD;AACrD,oEAAgE;AAChE,0CAAuD;AACvD,sCAA6C;AAE7C,MAAa,yBAAyB;IAQpC,YACE,mBAAwC,EACxC,gBAAkC,EAClC,cAA8B,EAC9B,aAA4B,EAC5B,uBAAgD;QAP3C,sBAAiB,GAAG,CAAC,oCAAyB,CAAC,CAAA;QASpD,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAA;IACxD,CAAC;IAEM,KAAK,CAAC,MAAM,CAAC,cAAuE;;QACzF,MAAM,EAAE,YAAY,EAAE,YA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AAE;YACjD,MAAM,IAAI,uBAAU,CAAC,uFAAuF,CAAC,CAAA;SAC9G;QAED,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,cAAc,CAAC,cAAc,EAAE,eAAe,CAAC,CAAA;QAEvG,gFAAgF;QAChF,IAAI,SAAS,EAAE;YACb,MAAM,gBAAgB,GAAG,YAAY,CAAC,iBAAiB,CAAC,OAAO,CAAC,mCAAgB,CAAC,CAAA;YACjF,gBAAgB,CAAC,yBAAyB,CAAC,SAAS,EAAE,gBAAgB,CAAC,EAAE,CAAC,CAAA;SAC3E;QAED,IAAI,MAAA,gBAAgB,CAAC,oBAAoB,mCAAI,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,EAAE;YAC/F,yHAAyH;YACzH,yGAAyG;YACzG,MAAM,OAAO,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;YAEzG,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,cAAc,CAC3D,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,OAAO,CACR,CAAA;YACD,OAAO,IAAI,+BAAsB,CAAC,OAAO,EAAE;gBACzC,YAAY;gBACZ,UAAU,EAAE,gBAAgB;gBAC5B,SAAS,EAAE,eAAe;aAC3B,CAAC,CAAA;SACH;IACH,CAAC;CACF;AAxFD,8DAwFC"} +\ No newline at end of file ++{"version":3,"file":"DidExchangeRequestHandler.js","sourceRoot":"","sources":["../../../../src/modules/connections/handlers/DidExchangeRequestHandler.ts"],"names":[],"mappings":";;;AAOA,sEAAkE;AAClE,kDAA8D;AAC9D,0DAAsD;AACtD,mDAAqD;AACrD,oEAAgE;AAChE,0CAAuD;AACvD,sCAA6C;AAE7C,MAAa,yBAAyB;IAQpC,YACE,mBAAwC,EACxC,gBAAkC,EAClC,cAA8B,EAC9B,aAA4B,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EACf,OAAO,CACR,CAAA;YACD,OAAO,IAAI,+BAAsB,CAAC,OAAO,EAAE;gBACzC,YAAY;gBACZ,UAAU,EAAE,gBAAgB;gBAC5B,SAAS,EAAE,eAAe;aAC3B,CAAC,CAAA;SACH;IACH,CAAC;CACF;AA/FD,8DA+FC"} +\ No newline at end of file +diff --git a/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js b/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js +index a00bfe2..3a6b339 100644 +--- a/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js ++++ b/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js +@@ -148,9 +148,17 @@ let ConnectionService = class ConnectionService { + this.logger.debug(`Create message ${messages_2.ConnectionResponseMessage.type.messageTypeUri} start`, connectionRecord); + connectionRecord.assertState(models_1.DidExchangeState.RequestReceived); + connectionRecord.assertRole(models_1.DidExchangeRole.Responder); +- const didDoc = routing +- ? this.createDidDoc(routing) +- : this.createDidDocFromOutOfBandDidCommServices(outOfBandRecord.outOfBandInvitation.getInlineServices()); ++ let didDoc; ++ if (routing) { ++ didDoc = this.createDidDoc(routing); ++ } ++ else if (outOfBandRecord.outOfBandInvitation.getInlineServices().length > 0) { ++ didDoc = this.createDidDocFromOutOfBandDidCommServices(outOfBandRecord.outOfBandInvitation.getInlineServices()); ++ } ++ else { ++ // We don't support using a did from the OOB invitation services currently, in this case we always pass routing to this method ++ throw new error_1.CredoError('No routing provided, and no inline services found in out of band invitation. When using did services in out of band invitation, make sure to provide routing information for rotation.'); ++ } + const { did: peerDid } = await this.createDid(agentContext, { + role: DidDocumentRole_1.DidDocumentRole.Created, + didDoc, +@@ -567,6 +575,8 @@ let ConnectionService = class ConnectionService { + async createDid(agentContext, { role, didDoc }) { + // Convert the legacy did doc to a new did document + const didDocument = (0, helpers_2.convertToNewDidDocument)(didDoc); ++ // Assert that the keys we are going to use for creating a did document haven't already been used in another did document ++ await (0, helpers_2.assertNoCreatedDidExistsForKeys)(agentContext, didDocument.recipientKeys); + const peerDid = (0, peerDidNumAlgo1_1.didDocumentJsonToNumAlgo1Did)(didDocument.toJSON()); + didDocument.id = peerDid; + const didRecord = new repository_1.DidRecord({ +diff --git a/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js.map b/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js.map +index 8ee03ff..87906e2 100644 +--- a/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js.map ++++ b/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js.map +@@ -1 +1 @@ +-{"version":3,"file":"ConnectionService.js","sourceRoot":"","sources":["../../../../src/modules/connections/services/ConnectionService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAYA,+BAAoD;AACpD,8CAAoD;AAEpD,8DAA0D;AAC1D,kDAAkE;AAClE,kDAAqD;AACrD,4CAAqC;AACrC,mGAAmH;AACnH,0CAA2C;AAE3C,8CAAqD;AACrD,oEAAgE;AAChE,4CAA+D;AAC/D,qCAAqD;AACrD,uEAAmE;AACnE,gDAAmD;AACnD,6EAAsF;AACtF,sDAAgE;AAChE,yFAAoF;AACpF,iEAA6D;AAC7D,kEAA8D;AAC9D,oEAAgE;AAChE,iDAAmD;AACnD,qDAA0D;AAC1D,oGAA+F;AAC/F,0DAA0D;AAC1D,sCAAuF;AACvF,0CAAmG;AACnG,sCASkB;AAClB,qEAAiE;AACjE,6EAAyE;AAEzE,uCAAmD;AAW5C,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAM5B,YACmC,MAAc,EAC/C,oBAA0C,EAC1C,aAA4B,EAC5B,YAA0B;QAE1B,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;QAChD,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,aA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CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,EACtC,IAAA,iBAAK,EAAC,WAAW,CAAC,EAAE,gDAAgD;QACpE,IAAA,mBAAO,EAAC;YACN,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,yCAAyC;SAChD,CAAC,CACH;aACA,SAAS,CAAC,OAAO,CAAC,CAAA;QAErB,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,YAAY,CAAC,CAAA;QACjE,IAAI,WAAW,CAAC,UAAU,CAAC,EAAE;YAC3B,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;SACzB;QAED,OAAO,IAAA,qBAAc,EAAC,OAAO,CAAC,CAAA;IAChC,CAAC;CACF,CAAA;AAh1BY,iBAAiB;IAD7B,IAAA,oBAAU,GAAE;IAQR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;6CACV,2CAAoB;QAC3B,0BAAa;QACd,2BAAY;GAVjB,iBAAiB,CAg1B7B;AAh1BY,8CAAiB"} +\ No newline at end of file ++{"version":3,"file":"ConnectionService.js","sourceRoot":"","sources":["../../../../src/modules/connections/services/ConnectionService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAYA,+BAAoD;AACpD,8CAAoD;AAEpD,8DAA0D;AAC1D,kDAAkE;AAClE,kDAAqD;AACrD,4CAAqC;AACrC,mGAAmH;AACnH,0CAA2C;AAE3C,8CAAqD;AACrD,oEAAgE;AAChE,4CAA+D;AAC/D,qCAAqD;AACrD,uEAAmE;AACnE,gDAAmD;AACnD,6EAAsF;AACtF,sDAAgE;AAChE,yFAAoF;AACpF,iEAA6D;AAC7D,kEAA8D;AAC9D,oEAAgE;AAChE,iDAAmD;AACnD,qDAA0D;AAC1D,oGAA+F;AAC/F,0DAA0D;AAC1D,sCAAuF;AACvF,0CAAmG;AACnG,sCASkB;AAClB,qEAAiE;AACjE,6EAAyE;AAEzE,uCAAoF;AAW7E,I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,iBAAiB,CA21B7B;AA31BY,8CAAiB"} +\ No newline at end of file +diff --git a/node_modules/@credo-ts/core/build/modules/connections/services/helpers.d.ts b/node_modules/@credo-ts/core/build/modules/connections/services/helpers.d.ts +index e9038ee..d4eaec7 100644 +--- a/node_modules/@credo-ts/core/build/modules/connections/services/helpers.d.ts ++++ b/node_modules/@credo-ts/core/build/modules/connections/services/helpers.d.ts +@@ -3,7 +3,14 @@ import type { AgentContext } from '../../../agent'; + import type { ResolvedDidCommService } from '../../didcomm'; + import type { DidDocument, PeerDidNumAlgo } from '../../dids'; + import type { DidDoc } from '../models'; ++import { Key } from '../../../crypto'; + export declare function convertToNewDidDocument(didDoc: DidDoc): DidDocument; + export declare function routingToServices(routing: Routing): ResolvedDidCommService[]; + export declare function getDidDocumentForCreatedDid(agentContext: AgentContext, did: string): Promise; ++/** ++ * Asserts that the keys we are going to use for creating a did document haven't already been used in another did document ++ * Due to how DIDComm v1 works (only reference the key not the did in encrypted message) we can't have multiple dids containing ++ * the same key as we won't know which did (and thus which connection) a message is intended for. ++ */ ++export declare function assertNoCreatedDidExistsForKeys(agentContext: AgentContext, recipientKeys: Key[]): Promise; + export declare function createPeerDidFromServices(agentContext: AgentContext, services: ResolvedDidCommService[], numAlgo: PeerDidNumAlgo): Promise; +diff --git a/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js b/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js +index da18676..7fd37d2 100644 +--- a/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js ++++ b/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js +@@ -1,6 +1,6 @@ + "use strict"; + Object.defineProperty(exports, "__esModule", { value: true }); +-exports.createPeerDidFromServices = exports.getDidDocumentForCreatedDid = exports.routingToServices = exports.convertToNewDidDocument = void 0; ++exports.createPeerDidFromServices = exports.assertNoCreatedDidExistsForKeys = exports.getDidDocumentForCreatedDid = exports.routingToServices = exports.convertToNewDidDocument = void 0; + const crypto_1 = require("../../../crypto"); + const error_1 = require("../../../error"); + const dids_1 = require("../../dids"); +@@ -109,11 +109,36 @@ async function getDidDocumentForCreatedDid(agentContext, did) { + return didRecord.didDocument; + } + exports.getDidDocumentForCreatedDid = getDidDocumentForCreatedDid; ++/** ++ * Asserts that the keys we are going to use for creating a did document haven't already been used in another did document ++ * Due to how DIDComm v1 works (only reference the key not the did in encrypted message) we can't have multiple dids containing ++ * the same key as we won't know which did (and thus which connection) a message is intended for. ++ */ ++async function assertNoCreatedDidExistsForKeys(agentContext, recipientKeys) { ++ const didRepository = agentContext.dependencyManager.resolve(dids_1.DidRepository); ++ const recipientKeyFingerprints = recipientKeys.map((key) => key.fingerprint); ++ const didsForServices = await didRepository.findByQuery(agentContext, { ++ role: dids_1.DidDocumentRole.Created, ++ // We want an $or query so we query for each key individually, not one did document ++ // containing exactly the same keys as the did document we are trying to create ++ $or: recipientKeyFingerprints.map((fingerprint) => ({ ++ recipientKeyFingerprints: [fingerprint], ++ })), ++ }); ++ if (didsForServices.length > 0) { ++ const allDidRecipientKeys = didsForServices.flatMap((did) => { var _a; return (_a = did.getTags().recipientKeyFingerprints) !== null && _a !== void 0 ? _a : []; }); ++ const matchingFingerprints = allDidRecipientKeys.filter((f) => recipientKeyFingerprints.includes(f)); ++ throw new error_1.CredoError(`A did already exists for some of the keys in the provided services. DIDComm v1 uses key based routing, and therefore it is not allowed to re-use the same key in multiple did documents for DIDComm. If you use the same 'routing' object for multiple invitations, instead provide an 'invitationDid' to the create invitation method. The following fingerprints are already in use: ${matchingFingerprints.join(',')}`); ++ } ++} ++exports.assertNoCreatedDidExistsForKeys = assertNoCreatedDidExistsForKeys; + async function createPeerDidFromServices(agentContext, services, numAlgo) { + var _a; + const didsApi = agentContext.dependencyManager.resolve(dids_1.DidsApi); + // Create did document without the id property + const didDocument = (0, dids_1.createPeerDidDocumentFromServices)(services); ++ // Assert that the keys we are going to use for creating a did document haven't already been used in another did document ++ await assertNoCreatedDidExistsForKeys(agentContext, didDocument.recipientKeys); + // Register did:peer document. This will generate the id property and save it to a did record + const result = await didsApi.create({ + method: 'peer', +diff --git a/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js.map b/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js.map +index aba70ca..122b297 100644 +--- a/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js.map ++++ b/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js.map +@@ -1 +1 @@ +-{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../src/modules/connections/services/helpers.ts"],"names":[],"mappings":";;;AAMA,4CAA8C;AAC9C,0CAA2C;AAC3C,qCAQmB;AACnB,6EAAsF;AACtF,sCAAkD;AAElD,SAAgB,uBAAuB,CAAC,MAAc;IACpD,MAAM,kBAAkB,GAAG,IAAI,yBAAkB,CAAC,EAAE,CAAC,CAAA;IAErD,MAAM,iBAAiB,GAA8B,EAAE,CAAA;IAEvD,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QACrC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,IAAI,CAAA;QAE9B,uDAAuD;QACvD,IAAI,EAAE,CAAC,IAAI,KAAK,4BAA4B,IAAI,EAAE,CAAC,KAAK,EAAE;YACxD,MAAM,yBAAyB,GAAG,oCAAoC,CAAC,EAAE,CAAC,CAAA;YAE1E,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC,CAAA;YACnC,iBAAiB,CAAC,QAAQ,CAAC,GAAG,yBAAyB,CAAC,EAAE,CAAA;YAC1D,kBAAkB,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,EAAE,CAAC,CAAA;YAElE,mFAAmF;YACnF,gEAAgE;YAChE,IAAI,IAAI,YAAY,+BAAsB,EAAE;gBAC1C,kBAAkB,CAAC,qBAAqB,CAAC,yBAAyB,CAAC,CAAA;aACpE;SACF;IACH,CAAC,CAAC,CAAA;IAEF,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,C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F;IAE7F,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,MAAM,CAAC;QAClC,MAAM,EAAE,MAAM;QACd,WAAW;QACX,OAAO,EAAE;YACP,OAAO;SACR;KACF,CAAC,CAAA;IAEF,IAAI,CAAA,MAAA,MAAM,CAAC,QAAQ,0CAAE,KAAK,MAAK,UAAU,EAAE;QACzC,MAAM,IAAI,kBAAU,CAAC,iCAAiC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;KACzF;IAED,OAAO,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAA;AACpC,CAAC;AAxBD,8DAwBC"} +\ No newline at end of file ++{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../src/modules/connections/services/helpers.ts"],"names":[],"mappings":";;;AAMA,4CAA8C;AAC9C,0CAA2C;AAC3C,qCASmB;AACnB,6EAAsF;AACtF,sCAAkD;AAElD,SAAgB,uBAAuB,CAAC,MAAc;IACpD,MAAM,kBAAkB,GAAG,IAAI,yBAAkB,CAAC,EAAE,CAAC,CAAA;IAErD,MAAM,iBAAiB,GAA8B,EAAE,CAAA;IAEvD,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QACrC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,IAAI,CAAA;QAE9B,uDAAuD;QACvD,IAAI,EAAE,CAAC,IAAI,KAAK,4BAA4B,IAAI,EAAE,CAAC,KAAK,EAAE;YACxD,MAAM,yBAAyB,GAAG,oCAAoC,CAAC,EAAE,CAAC,CAAA;YAE1E,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC,CAAA;YACnC,iBAAiB,CAAC,QAAQ,CAAC,GAAG,yBAAyB,CAAC,EAAE,CAAA;YAC1D,kBAAkB,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,EAAE,CAAC,CAAA;YAElE,mFAAmF;YACnF,gEAAgE;YAChE,IAAI,I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E,WAAW,CAAC,aAAa,CAAC,CAAA;IAE9E,6FAA6F;IAC7F,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,MAAM,CAAC;QAClC,MAAM,EAAE,MAAM;QACd,WAAW;QACX,OAAO,EAAE;YACP,OAAO;SACR;KACF,CAAC,CAAA;IAEF,IAAI,CAAA,MAAA,MAAM,CAAC,QAAQ,0CAAE,KAAK,MAAK,UAAU,EAAE;QACzC,MAAM,IAAI,kBAAU,CAAC,iCAAiC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;KACzF;IAED,OAAO,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAA;AACpC,CAAC;AA3BD,8DA2BC"} +\ No newline at end of file +diff --git a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js +index d072e75..4455eb5 100644 +--- a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js ++++ b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js +@@ -49,7 +49,7 @@ let DifPresentationExchangeService = class DifPresentationExchangeService { + credentials[submission.inputDescriptorId] = []; + } + // We pick the first matching VC if we are auto-selecting +- credentials[submission.inputDescriptorId].push(submission.verifiableCredentials[0]); ++ credentials[submission.inputDescriptorId].push(submission.verifiableCredentials[0].credentialRecord); + } + } + return credentials; +diff --git a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js.map b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js.map +index b0cdfc3..23b83d1 100644 +--- a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js.map ++++ b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js.map +@@ -1 +1 @@ +-{"version":3,"file":"DifPresentationExchangeService.js","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No newline at end of file ++{"version":3,"file":"DifPresentationExchangeService.js","sourceRoot":"","sources":["../../../src/modules/dif-presentation-exchange/DifPresentationExchangeService.ts"],"names":[],"mappings":";;;;;;;;;;;;AA4BA,uCAAsD;AACtD,uCAAqC;AAErC,yCAA4C;AAC5C,uCAAwC;AACxC,uCAAqD;AACrD,kCAA+D;AAC/D,4CAAyC;AACzC,8BAMc;AACd,+GAGmE;AAEnE,iFAA6E;AAC7E,qCAAoE;AACpE,mCAMgB;AAEhB;;GAEG;AAEI,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAGzC,YAA2B,oBAA0C;QAA1C,yBAAoB,GAApB,oBAAoB,CAAsB;QAF7D,QAAG,GAAG,IAAI,SAAG,CAAC,EAAE,MAAM,EAAE,cAAM,CAAC,IAAI,EAAE,CAAC,CAAA;IAE0B,CAAC;IAElE,KAAK,CAAC,wBAAwB,CACnC,YAA0B,EAC1B,sBAAyD;QAEzD,MAAM,iBAAiB,GAAG,MAAM,IAAI,CAAC,wCAAwC,CAAC,YAAY,EAAE,sBAAsB,CAAC,CAAA;QACnH,OAAO,IAAA,gCAAwB,EAAC,IAAI,CAAC,GAAG,EAAE,sBAAsB,EAAE,iBAAiB,CAAC,CAAA;IACtF,CAAC;IAED;;;OAGG;IACI,2BAA2B,CAChC,qBAAkD;QAElD,IAAI,CAAC,qBAAqB,CAAC,wBAAwB,EAAE;YACnD,MAAM,IAAI,kBAAU,CAAC,yEAAyE,CAAC,CAAA;SAChG;QAED,MAAM,WAAW,GAAuC,EAAE,CAAA;QAE1D,KAAK,MAAM,WAAW,IAAI,qBAAqB,CAAC,YAAY,EAAE;YAC5D,KAAK,MAAM,UAAU,IAAI,WAAW,CAAC,eAAe,EAAE;gBACpD,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE;oBAC9C,WAAW,CAAC,UAAU,CAAC,iBAAiB,CAAC,GAAG,EAAE,CAAA;iBAC/C;gBAED,yDAAyD;gBACzD,WAAW,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BAAoB;GAH1D,8BAA8B,CA+jB1C;AA/jBY,wEAA8B"} +\ No newline at end of file +diff --git a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts +index 35853d0..06b2b7c 100644 +--- a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts ++++ b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts +@@ -1,5 +1,5 @@ + import type { SdJwtVcRecord } from '../../sd-jwt-vc'; +-import type { W3cCredentialRecord } from '../../vc'; ++import type { ClaimFormat, W3cCredentialRecord } from '../../vc'; + export interface DifPexCredentialsForRequest { + /** + * Whether all requirements have been satisfied by the credentials in the wallet. +@@ -97,8 +97,20 @@ export interface DifPexCredentialsForRequestSubmissionEntry { + * If the value is an empty list, it means the input descriptor could + * not be satisfied. + */ +- verifiableCredentials: Array; ++ verifiableCredentials: SubmissionEntryCredential[]; + } ++export type SubmissionEntryCredential = { ++ type: ClaimFormat.SdJwtVc; ++ credentialRecord: SdJwtVcRecord; ++ /** ++ * The payload that will be disclosed, including always disclosed attributes ++ * and disclosures for the presentation definition ++ */ ++ disclosedPayload: Record; ++} | { ++ type: ClaimFormat.JwtVc | ClaimFormat.LdpVc; ++ credentialRecord: W3cCredentialRecord; ++}; + /** + * Mapping of selected credentials for an input descriptor + */ +diff --git a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.d.ts b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.d.ts +index 6fdbfde..7e07587 100644 +--- a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.d.ts ++++ b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.d.ts +@@ -1,5 +1,5 @@ +-import type { SdJwtVcRecord } from '../../sd-jwt-vc'; +-import type { W3cCredentialRecord } from '../../vc'; + import type { DifPexCredentialsForRequest } from '../models'; + import type { IPresentationDefinition, PEX } from '@sphereon/pex'; ++import { SdJwtVcRecord } from '../../sd-jwt-vc'; ++import { W3cCredentialRecord } from '../../vc'; + export declare function getCredentialsForRequest(pex: PEX, presentationDefinition: IPresentationDefinition, credentialRecords: Array): Promise; +diff --git a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js +index 88bb374..972758c 100644 +--- a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js ++++ b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js +@@ -4,9 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) { + }; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.getCredentialsForRequest = void 0; ++const decode_1 = require("@sd-jwt/decode"); + const pex_models_1 = require("@sphereon/pex-models"); + const jsonpath_1 = __importDefault(require("jsonpath")); ++const error_1 = require("../../../error"); + const utils_1 = require("../../../utils"); ++const sd_jwt_vc_1 = require("../../sd-jwt-vc"); ++const vc_1 = require("../../vc"); + const DifPresentationExchangeError_1 = require("../DifPresentationExchangeError"); + const transform_1 = require("./transform"); + async function getCredentialsForRequest( +@@ -37,7 +41,26 @@ pex, presentationDefinition, credentialRecords) { + if (credentialRecordIndex === -1) { + throw new DifPresentationExchangeError_1.DifPresentationExchangeError('Unable to find credential in credential records.'); + } +- return credentialRecords[credentialRecordIndex]; ++ const credentialRecord = credentialRecords[credentialRecordIndex]; ++ if (credentialRecord instanceof sd_jwt_vc_1.SdJwtVcRecord) { ++ // selectedEncoded always string when SdJwtVcRecord ++ // Get the decoded payload from the the selected credential, this already has SD applied ++ const { decodedPayload } = (0, decode_1.decodeSdJwtVc)(selectedEncoded, utils_1.Hasher.hash); ++ return { ++ type: vc_1.ClaimFormat.SdJwtVc, ++ credentialRecord, ++ disclosedPayload: decodedPayload, ++ }; ++ } ++ else if (credentialRecord instanceof vc_1.W3cCredentialRecord) { ++ return { ++ type: credentialRecord.credential.claimFormat, ++ credentialRecord, ++ }; ++ } ++ else { ++ throw new error_1.CredoError(`Unrecognized credential record type`); ++ } + }) }); + const presentationSubmission = { + requirements: [], +diff --git a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map +index e582225..cfa894a 100644 +--- a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map ++++ b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map +@@ -1 +1 @@ +-{"version":3,"file":"credentialSelection.js","sourceRoot":"","sources":["../../../../src/modules/dif-presentation-exchange/utils/credentialSelection.ts"],"names":[],"mappings":";;;;;;AAUA,qDAA4C;AAC5C,wDAAwC;AAExC,0CAA6C;AAC7C,kFAA8E;AAE9E,2CAAqE;AAE9D,KAAK,UAAU,wBAAwB;AAC5C,mCAAmC;AACnC,GAAQ,EACR,sBAA+C,EAC/C,iBAA6D;;IAE7D,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,mDAAuC,EAAC,CAAC,CAAC,CAAC,CAAA;IACnG,MAAM,gBAAgB,GAAG,GAAG,CAAC,UAAU,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAAA;IAEnF,MAAM,aAAa,mCACd,gBAAgB;QACnB,uEAAuE;QACvE,oBAAoB,EAAE,MAAA,gBAAgB,CAAC,oBAAoB,0CAAE,GAAG,CAAC,CAAC,eAAe,EAAE,EAAE;YACnF,MAAM,qBAAqB,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,EAAE;gBACrE,IACE,OAAO,eAAe,KAAK,QAAQ;oBACnC,eAAe,CAAC,QAAQ,CAA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;IAED,eAAe,CAAC,qBAAqB,GAAG,qBAAqB,CAAA;IAE7D,OAAO,eAAe,CAAA;AACxB,CAAC;AAED,SAAS,2BAA2B,CAClC,KAAiC,EACjC,oBAAiE;IAEjE,MAAM,qBAAqB,GAA+C,EAAE,CAAA;IAE5E,KAAK,MAAM,MAAM,IAAI,KAAK,CAAC,OAAO,EAAE;QAClC,MAAM,CAAC,oBAAoB,CAAC,GAAG,kBAAE,CAAC,KAAK,CAAC,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,EAAE,MAAM,CAE7F,CAAA;QACD,qBAAqB,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAA;KACjD;IAED,OAAO,qBAAqB,CAAA;AAC9B,CAAC"} +\ No newline at end of file ++{"version":3,"file":"credentialSelection.js","sourceRoot":"","sources":["../../../../src/modules/dif-presentation-exchange/utils/credentialSelection.ts"],"names":[],"mappings":";;;;;;AASA,2CAA8C;AAC9C,qDAA4C;AAC5C,wDAAwC;AAExC,0CAA2C;AAC3C,0CAAqD;AACrD,+CAA+C;AAC/C,iCAA2D;AAC3D,kFAA8E;AAE9E,2CAAqE;AAE9D,KAAK,UAAU,wBAAwB;AAC5C,mCAAmC;AACnC,GAAQ,EACR,sBAA+C,EAC/C,iBAA6D;;IAE7D,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,mDAAuC,EAAC,CAAC,CAAC,CAAC,CAAA;IACnG,MAAM,gBAAgB,GAAG,GAAG,CAAC,UAAU,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAAA;IAEnF,MAAM,aAAa,mCACd,gBAAgB;QACnB,uEAAuE;QACvE,oBAAoB,EAAE,MAAA,gBAAgB,CAAC,oBAAoB,0CAAE,GAAG,CAAC,CAAC,eAAe,EAA6B,EAAE;YAC9G,MAAM,qBAAqB,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,EAAE;gBACrE,IACE,O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E;QAC3E,CAAC,CAAC,IAAI,KAAK,eAAe,CAAC,IAAI,CAClC,CAAA;IAED,MAAM,eAAe,GAA+C;QAClE,iBAAiB,EAAE,eAAe,CAAC,EAAE;QACrC,IAAI,EAAE,eAAe,CAAC,IAAI;QAC1B,OAAO,EAAE,eAAe,CAAC,OAAO;QAChC,qBAAqB,EAAE,EAAE;KAC1B,CAAA;IAED,8BAA8B;IAC9B,IAAI,CAAC,CAAA,yBAAyB,aAAzB,yBAAyB,uBAAzB,yBAAyB,CAAE,MAAM,CAAA;QAAE,OAAO,eAAe,CAAA;IAE9D,8EAA8E;IAC9E,4CAA4C;IAC5C,yCAAyC;IACzC,MAAM,qBAAqB,GAAG,yBAAyB,CAAC,OAAO,CAAC,CAAC,uBAAuB,EAAE,EAAE,CAC1F,2BAA2B,CAAC,uBAAuB,EAAE,aAAa,CAAC,oBAAoB,CAAC,CACzF,CAAA;IAED,eAAe,CAAC,qBAAqB,GAAG,qBAAqB,CAAA;IAE7D,OAAO,eAAe,CAAA;AACxB,CAAC;AAED,SAAS,2BAA2B,CAClC,KAAiC,EACjC,oBAAkD;IAElD,MAAM,qBAAqB,GAAgC,EAAE,CAAA;IAE7D,KAAK,MAAM,MAAM,IAAI,KAAK,CAAC,OAAO,EAAE;QAClC,MAAM,CAAC,oBAAoB,CAAC,GAAG,kBAAE,CAAC,KAAK,CACrC,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,EAC9C,MAAM,CACwB,CAAA;QAChC,qBAAqB,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAA;KACjD;IAED,OAAO,qBAAqB,CAAA;AAC9B,CAAC"} +\ No newline at end of file +diff --git a/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js b/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js +index 7b30478..ef714ce 100644 +--- a/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js ++++ b/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js +@@ -71,6 +71,7 @@ let V2MessagePickupProtocol = class V2MessagePickupProtocol extends BaseMessageP + } + const attachments = messagesToDeliver.map((msg) => new Attachment_1.Attachment({ + id: msg.id, ++ lastmodTime: msg.receivedAt, + data: { + json: msg.encryptedMessage, + }, +@@ -122,6 +123,7 @@ let V2MessagePickupProtocol = class V2MessagePickupProtocol extends BaseMessageP + }); + const attachments = messages.map((msg) => new Attachment_1.Attachment({ + id: msg.id, ++ lastmodTime: msg.receivedAt, + data: { + json: msg.encryptedMessage, + }, +@@ -222,6 +224,7 @@ let V2MessagePickupProtocol = class V2MessagePickupProtocol extends BaseMessageP + payload: { + message: attachment.getDataAsJson(), + contextCorrelationId: messageContext.agentContext.contextCorrelationId, ++ receivedAt: attachment.lastmodTime, + }, + }); + } +diff --git a/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map b/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map +index cf7825b..9b36c9b 100644 +--- a/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map ++++ b/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map +@@ -1 +1 @@ +-{"version":3,"file":"V2MessagePickupProtocol.js","sourceRoot":"","sources":["../../../../../src/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.ts"],"names":[],"mappings":";;;;;;;;;AAkBA,iEAA6D;AAC7D,qDAA0D;AAC1D,qDAA2E;AAC3E,qDAAwD;AACxD,6EAAyE;AACzE,iDAAgD;AAChD,mDAAsD;AACtD,8DAA6D;AAC7D,kDAAmE;AACnE,mEAAmE;AACnE,+EAA2E;AAC3E,qEAAqE;AACrE,6CAA4D;AAC5D,4EAAwE;AAExE,yCAOmB;AACnB,yCAOmB;AAGZ,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB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C,YAAY,EAAE;gBACxE,IAAI,EAAE,wBAAe,CAAC,oBAAoB;gBAC1C,OAAO,EAAE;oBACP,OAAO,EAAE,UAAU,CAAC,aAAa,EAAoB;oBACrD,oBAAoB,EAAE,cAAc,CAAC,YAAY,CAAC,oBAAoB;iBACvE;aACF,CAAC,CAAA;SACH;QAED,OAAO,IAAI,oCAAyB,CAAC;YACnC,aAAa,EAAE,GAAG;SACnB,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AA1RY,uBAAuB;IADnC,IAAA,oBAAU,GAAE;GACA,uBAAuB,CA0RnC;AA1RY,0DAAuB"} +\ No newline at end of file ++{"version":3,"file":"V2MessagePickupProtocol.js","sourceRoot":"","sources":["../../../../../src/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.ts"],"names":[],"mappings":";;;;;;;;;AAkBA,iEAA6D;AAC7D,qDAA0D;AAC1D,qDAA2E;AAC3E,qDAAwD;AACxD,6EAAyE;AACzE,iDAAgD;AAChD,mDAAsD;AACtD,8DAA6D;AAC7D,kDAAmE;AACnE,mEAAmE;AACnE,+EAA2E;AAC3E,qEAAqE;AACrE,6CAA4D;AAC5D,4EAAwE;AAExE,yCAOmB;AACnB,yCAOmB;AAGZ,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,qDAAyB;IAA/D;;QACL;;WAEG;QACa,YAAO,GAAG,IAAa,CAAA;IAyRzC,CAAC;IAvRC;;OAEG;IACI,QAAQ,CAAC,iBAAoC,EAAE,eAAgC;QACpF,iBAAiB,CAAC,uBAAuB,CAAC;YACxC,IAAI,iCAAsB,CAAC,IAAI,CAAC;YAChC,IAAI,mCAAwB,CAAC,IAAI,CAAC;YAClC,IAAI,oCAAyB,CAAC,IAAI,CAAC;YACnC,IAAI,0BAAe,CAAC,IAAI,CAAC;YACzB,IAAI,mCAAwB,CAAC,IAAI,CAAC;YAClC,IAAI,sCAA2B,CAAC,IAAI,CAAC;SACtC,CAAC,CAAA;QAEF,eAAe,CAAC,QAAQ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AAU,GAAE;GACA,uBAAuB,CA6RnC;AA7RY,0DAAuB"} +\ No newline at end of file +diff --git a/node_modules/@credo-ts/core/build/modules/message-pickup/storage/QueuedMessage.d.ts b/node_modules/@credo-ts/core/build/modules/message-pickup/storage/QueuedMessage.d.ts +index 4eddcb4..e2cff56 100644 +--- a/node_modules/@credo-ts/core/build/modules/message-pickup/storage/QueuedMessage.d.ts ++++ b/node_modules/@credo-ts/core/build/modules/message-pickup/storage/QueuedMessage.d.ts +@@ -1,5 +1,12 @@ + import type { EncryptedMessage } from '../../../types'; ++/** ++ * Basic representation of an encrypted message in a Message Pickup Queue ++ * - id: Message Pickup repository's specific queued message id (unrelated to DIDComm message id) ++ * - receivedAt: reception time (i.e. time when the message has been added to the queue) ++ * - encryptedMessage: packed message ++ */ + export type QueuedMessage = { + id: string; ++ receivedAt?: Date; + encryptedMessage: EncryptedMessage; + }; +diff --git a/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.d.ts b/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.d.ts +index 7bc117b..809ca30 100644 +--- a/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.d.ts ++++ b/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.d.ts +@@ -26,6 +26,10 @@ export interface CreateOutOfBandInvitationConfig { + autoAcceptConnection?: boolean; + routing?: Routing; + appendedAttachments?: Attachment[]; ++ /** ++ * Did to use in the invitation. Cannot be used in combination with `routing`. ++ */ ++ invitationDid?: string; + } + export interface CreateLegacyInvitationConfig { + label?: string; +@@ -266,6 +270,7 @@ export declare class OutOfBandApi { + private emitWithServices; + private ensureParentThreadId; + private handleHandshakeReuse; ++ private resolveInvitationRecipientKeyFingerprints; + private registerMessageHandlers; + } + export {}; +diff --git a/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js b/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js +index f611696..8bcdcdc 100644 +--- a/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js ++++ b/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js +@@ -104,16 +104,27 @@ let OutOfBandApi = class OutOfBandApi { + // Find supported handshake protocol preserving the order of handshake protocols defined by agent or in config + handshakeProtocols = this.getSupportedHandshakeProtocols(customHandshakeProtocols).map((p) => p.parsedProtocolUri.protocolUri); + } +- const routing = (_f = config.routing) !== null && _f !== void 0 ? _f : (await this.routingService.getRouting(this.agentContext, {})); +- const services = routing.endpoints.map((endpoint, index) => { +- return new OutOfBandDidCommService_1.OutOfBandDidCommService({ +- id: `#inline-${index}`, +- serviceEndpoint: endpoint, +- recipientKeys: [routing.recipientKey].map((key) => new dids_1.DidKey(key).did), +- routingKeys: routing.routingKeys.map((key) => new dids_1.DidKey(key).did), ++ let mediatorId = undefined; ++ let services; ++ if (config.routing && config.invitationDid) { ++ throw new error_1.CredoError("Both 'routing' and 'invitationDid' cannot be provided at the same time."); ++ } ++ if (config.invitationDid) { ++ services = [config.invitationDid]; ++ } ++ else { ++ const routing = (_f = config.routing) !== null && _f !== void 0 ? _f : (await this.routingService.getRouting(this.agentContext, {})); ++ mediatorId = routing === null || routing === void 0 ? void 0 : routing.mediatorId; ++ services = routing.endpoints.map((endpoint, index) => { ++ return new OutOfBandDidCommService_1.OutOfBandDidCommService({ ++ id: `#inline-${index}`, ++ serviceEndpoint: endpoint, ++ recipientKeys: [routing.recipientKey].map((key) => new dids_1.DidKey(key).did), ++ routingKeys: routing.routingKeys.map((key) => new dids_1.DidKey(key).did), ++ }); + }); +- }); +- const options = { ++ } ++ const outOfBandInvitation = new messages_1.OutOfBandInvitation({ + label, + goal: config.goal, + goalCode: config.goalCode, +@@ -122,8 +133,7 @@ let OutOfBandApi = class OutOfBandApi { + services, + handshakeProtocols, + appendedAttachments, +- }; +- const outOfBandInvitation = new messages_1.OutOfBandInvitation(options); ++ }); + if (messages) { + messages.forEach((message) => { + if (message.service) { +@@ -133,8 +143,9 @@ let OutOfBandApi = class OutOfBandApi { + outOfBandInvitation.addRequest(message); + }); + } ++ const recipientKeyFingerprints = await this.resolveInvitationRecipientKeyFingerprints(outOfBandInvitation); + const outOfBandRecord = new OutOfBandRecord_1.OutOfBandRecord({ +- mediatorId: routing.mediatorId, ++ mediatorId: mediatorId, + role: OutOfBandRole_1.OutOfBandRole.Sender, + state: OutOfBandState_1.OutOfBandState.AwaitResponse, + alias: config.alias, +@@ -142,9 +153,7 @@ let OutOfBandApi = class OutOfBandApi { + reusable: multiUseInvitation, + autoAcceptConnection, + tags: { +- recipientKeyFingerprints: services +- .reduce((aggr, { recipientKeys }) => [...aggr, ...recipientKeys], []) +- .map((didKey) => dids_1.DidKey.fromDid(didKey).key.fingerprint), ++ recipientKeyFingerprints, + }, + }); + await this.outOfBandService.save(this.agentContext, outOfBandRecord); +@@ -296,20 +305,7 @@ let OutOfBandApi = class OutOfBandApi { + throw new error_1.CredoError(`An out of band record with invitation ${outOfBandInvitation.id} has already been received. Invitations should have a unique id.`); + } + } +- const recipientKeyFingerprints = []; +- for (const service of outOfBandInvitation.getServices()) { +- // Resolve dids to DIDDocs to retrieve services +- if (typeof service === 'string') { +- this.logger.debug(`Resolving services for did ${service}.`); +- const resolvedDidCommServices = await this.didCommDocumentService.resolveServicesFromDid(this.agentContext, service); +- recipientKeyFingerprints.push(...resolvedDidCommServices +- .reduce((aggr, { recipientKeys }) => [...aggr, ...recipientKeys], []) +- .map((key) => key.fingerprint)); +- } +- else { +- recipientKeyFingerprints.push(...service.recipientKeys.map((didKey) => dids_1.DidKey.fromDid(didKey).key.fingerprint)); +- } +- } ++ const recipientKeyFingerprints = await this.resolveInvitationRecipientKeyFingerprints(outOfBandInvitation); + const outOfBandRecord = new OutOfBandRecord_1.OutOfBandRecord({ + role: OutOfBandRole_1.OutOfBandRole.Receiver, + state: OutOfBandState_1.OutOfBandState.Initial, +@@ -512,10 +508,13 @@ let OutOfBandApi = class OutOfBandApi { + async deleteById(outOfBandId) { + const outOfBandRecord = await this.getById(outOfBandId); + const relatedConnections = await this.connectionsApi.findAllByOutOfBandId(outOfBandId); +- // If it uses mediation and there are no related connections, proceed to delete keys from mediator ++ // If it uses mediation and there are no related connections, AND we didn't use a did in the invitation ++ // (if that is the case the did is managed outside of this exchange) proceed to delete keys from mediator + // Note: if OOB Record is reusable, it is safe to delete it because every connection created from + // it will use its own recipient key +- if (outOfBandRecord.mediatorId && (relatedConnections.length === 0 || outOfBandRecord.reusable)) { ++ if (outOfBandRecord.mediatorId && ++ outOfBandRecord.outOfBandInvitation.getDidServices().length === 0 && ++ (relatedConnections.length === 0 || outOfBandRecord.reusable)) { + const recipientKeys = outOfBandRecord.getTags().recipientKeyFingerprints.map((item) => crypto_1.Key.fromFingerprint(item)); + await this.routingService.removeRouting(this.agentContext, { + recipientKeys, +@@ -679,6 +678,23 @@ let OutOfBandApi = class OutOfBandApi { + await this.messageSender.sendMessage(outboundMessageContext); + return reuseAcceptedEventPromise; + } ++ async resolveInvitationRecipientKeyFingerprints(outOfBandInvitation) { ++ const recipientKeyFingerprints = []; ++ for (const service of outOfBandInvitation.getServices()) { ++ // Resolve dids to DIDDocs to retrieve services ++ if (typeof service === 'string') { ++ this.logger.debug(`Resolving services for did ${service}.`); ++ const resolvedDidCommServices = await this.didCommDocumentService.resolveServicesFromDid(this.agentContext, service); ++ recipientKeyFingerprints.push(...resolvedDidCommServices ++ .reduce((aggr, { recipientKeys }) => [...aggr, ...recipientKeys], []) ++ .map((key) => key.fingerprint)); ++ } ++ else { ++ recipientKeyFingerprints.push(...service.recipientKeys.map((didKey) => dids_1.DidKey.fromDid(didKey).key.fingerprint)); ++ } ++ } ++ return recipientKeyFingerprints; ++ } + // TODO: we should probably move these to the out of band module and register the handler there + registerMessageHandlers(messageHandlerRegistry) { + messageHandlerRegistry.registerMessageHandler(new handlers_1.HandshakeReuseHandler(this.outOfBandService)); +diff --git a/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js.map b/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js.map +index 893551d..62347f2 100644 +--- a/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js.map ++++ b/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js.map +@@ -1 +1 @@ +-{"version":3,"file":"OutOfBandApi.js","sourceRoot":"","sources":["../../../src/modules/oob/OutOfBandApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,+BAAsF;AAEtF,uCAA0C;AAC1C,2DAAuD;AACvD,+CAAgF;AAChF,+EAA2E;AAC3E,6DAAyD;AACzD,+CAA2D;AAC3D,+CAAkD;AAClD,yCAAkC;AAClC,gFAA4E;AAC5E,uCAAwC;AAExC,2CAAkD;AAClD,uCAA0D;AAC1D,yDAKgC;AAChC,iEAAqE;AACrE,gDAAoF;AACpF,wCAAmD;AACnD,kCAAgC;AAChC,uEAAmE;AAEnE,yDAAqD;AACrD,8EAA0E;AAC1E,8DAA8D;AAC9D,0DAAsD;AACtD,4DAAwD;AACxD,yCAAkD;AAClD,4FAAwF;AACxF,uCAA0E;AAC1E,yCAAgE;AAChE,6CAAkD;AAClD,kEAA8D;AAC9D,4FAAuF;AAEvF,MAAM,eAAe,GAAG,CAAC,cAAc,EAAE,wBAAwB,CAAC,CAAA;AAgD3D,IAAM,YAAY,GAAlB,MAAM,YAAY;IAWvB,YACE,sBAA8C,EAC9C,sBAA8C,EAC9C,gBAAkC,EAClC,cAA8B,EAC9B,cAA8B,EAC9B,aAA4B,EAC5B,YAA0B,EACO,MAAc,EAC/C,YAA0B;QAE1B,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAA;QACpD,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAA;QACpD,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC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,CAAC,sBAAsB,CAAC,IAAI,6DAA6B,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAA;IACzG,CAAC;CACF,CAAA;AA50BY,YAAY;IADxB,IAAA,oBAAU,GAAE;IAoBR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAPR,+CAAsB;QACtB,gCAAsB;QAC5B,mCAAgB;QAClB,+BAAc;QACd,4BAAc;QACf,6BAAa;QACd,2BAAY,UAEZ,oBAAY;GApBjB,YAAY,CA40BxB;AA50BY,oCAAY"} +\ No newline at end of file ++{"version":3,"file":"OutOfBandApi.js","sourceRoot":"","sources":["../../../src/modules/oob/OutOfBandApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,+BAAsF;AAEtF,uCAA0C;AAC1C,2DAAuD;AACvD,+CAAgF;AAChF,+EAA2E;AAC3E,6DAAyD;AACzD,+CAA2D;AAC3D,+CAAkD;AAClD,yCAAkC;AAClC,gFAA4E;AAC5E,uCAAwC;AAExC,2CAAkD;AAClD,uCAA0D;AAC1D,yDAKgC;AAChC,iEAAqE;AACrE,gDAAoF;AACpF,wCAAmD;AACnD,kCAAgC;AAChC,uEAAmE;AAEnE,yDAAqD;AACrD,8EAA0E;AAC1E,8DAA8D;AAC9D,0DAAsD;AACtD,4DAAwD;AACxD,yCAAkD;AAClD,4FAAwF;AACxF,uCAA0E;AAC1E,yCAAgE;AAChE,6CAAkD;AAClD,kEAA8D;AAC9D,4FAAuF;AAEvF,MAAM,eAAe,GAAG,CAAC,cAAc,EAAE,wBAAwB,CAAC,CAAA;AAqD3D,IAAM,YAAY,GAAlB,MAAM,YAAY;IAWvB,YACE,sBAA8C,EAC9C,sBAA8C,EAC9C,gBAAkC,EAClC,cAA8B,EAC9B,cAA8B,EAC9B,aAA4B,EAC5B,YAA0B,EACO,MAAc,EAC/C,YAA0B;QAE1B,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAA;QACpD,IAAI,CAAC,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,MAAM,CAAQ,CAAC,IAAI,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,aAAa,CAAC,EAAE,EAAE,CAAC;qBAC3E,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,CAAC,CACjC,CAAA;aACF;iBAAM;gBACL,wBAAwB,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAA;aAChH;SACF;QAED,OAAO,wBAAwB,CAAA;IACjC,CAAC;IAED,+FAA+F;IACvF,uBAAuB,CAAC,sBAA8C;QAC5E,sBAAsB,CAAC,sBAAsB,CAAC,IAAI,gCAAqB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAA;QAC/F,sBAAsB,CAAC,sBAAsB,CAAC,IAAI,6DAA6B,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAA;IACzG,CAAC;CACF,CAAA;AA/1BY,YAAY;IADxB,IAAA,oBAAU,GAAE;IAoBR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAPR,+CAAsB;QACtB,gCAAsB;QAC5B,mCAAgB;QAClB,+BAAc;QACd,4BAAc;QACf,6BAAa;QACd,2BAAY,UAEZ,oBAAY;GApBjB,YAAY,CA+1BxB;AA/1BY,oCAAY"} +\ No newline at end of file +diff --git a/node_modules/@credo-ts/core/build/modules/routing/messages/ForwardMessage.d.ts b/node_modules/@credo-ts/core/build/modules/routing/messages/ForwardMessage.d.ts +index 396f78a..4f8577b 100644 +--- a/node_modules/@credo-ts/core/build/modules/routing/messages/ForwardMessage.d.ts ++++ b/node_modules/@credo-ts/core/build/modules/routing/messages/ForwardMessage.d.ts +@@ -3,7 +3,6 @@ import { EncryptedMessage } from '../../../types'; + export interface ForwardMessageOptions { + id?: string; + to: string; +- messageType: string; + message: EncryptedMessage; + } + /** +@@ -20,6 +19,5 @@ export declare class ForwardMessage extends AgentMessage { + readonly type: string; + static readonly type: import("../../../utils/messageType").ParsedMessageType; + to: string; +- messageType: string; + message: EncryptedMessage; + } +diff --git a/node_modules/@credo-ts/core/build/types.d.ts b/node_modules/@credo-ts/core/build/types.d.ts +index 0a669fb..e0384d9 100644 +--- a/node_modules/@credo-ts/core/build/types.d.ts ++++ b/node_modules/@credo-ts/core/build/types.d.ts +@@ -81,7 +81,6 @@ export interface PlaintextMessage { + thid?: string; + pthid?: string; + }; +- messageType: string; + [key: string]: unknown; + } + export interface OutboundPackage { \ No newline at end of file diff --git a/src/controllers/multi-tenancy/MultiTenancyController.ts b/src/controllers/multi-tenancy/MultiTenancyController.ts index 5b78361e..98a36487 100644 --- a/src/controllers/multi-tenancy/MultiTenancyController.ts +++ b/src/controllers/multi-tenancy/MultiTenancyController.ts @@ -9,6 +9,7 @@ import type { CredentialProtocolVersionType, KeyDidCreateOptions, OutOfBandRecord, + PeerDidNumAlgo2CreateOptions, ProofExchangeRecordProps, ProofsProtocolVersionType, Routing, @@ -44,6 +45,8 @@ import { getBls12381G2Key2020, getEd25519VerificationKey2018, injectable, + createPeerDidDocumentFromServices, + PeerDidNumAlgo, } from '@credo-ts/core' import { QuestionAnswerRole, QuestionAnswerState } from '@credo-ts/question-answer' import axios from 'axios' @@ -642,24 +645,32 @@ export class MultiTenancyController extends Controller { @Body() config?: Omit & RecipientKeyOption // Remove routing property from type ) { let outOfBandRecord: OutOfBandRecord | undefined - let finalConfig: Omit & RecipientKeyOption & { routing?: Routing } = {} // Initialize finalConfig - + let invitationDid: string | undefined try { await this.agent.modules.tenants.withTenantAgent({ tenantId }, async (tenantAgent) => { - if (config?.recipientKey) { - const routing: Routing = { - // Initialize routing object - endpoints: tenantAgent.config.endpoints, - routingKeys: [], - recipientKey: Key.fromPublicKeyBase58(config.recipientKey, KeyType.Ed25519), - mediatorId: undefined, - } - finalConfig = { ...config, routing } // Assign finalConfig + if (config?.invitationDid) { + invitationDid = config?.invitationDid } else { - finalConfig = { ...config, routing: await tenantAgent.mediationRecipient.getRouting({}) } // Assign finalConfig + const didRouting = await this.agent.mediationRecipient.getRouting({}) + const didDocument = createPeerDidDocumentFromServices([ + { + id: 'didcomm', + recipientKeys: [didRouting.recipientKey], + routingKeys: didRouting.routingKeys, + serviceEndpoint: didRouting.endpoints[0], + }, + ]) + const did = await this.agent.dids.create({ + didDocument, + method: 'peer', + options: { + numAlgo: PeerDidNumAlgo.MultipleInceptionKeyWithoutDoc, + }, + }) + invitationDid = did.didState.did } - outOfBandRecord = await tenantAgent.oob.createInvitation(finalConfig) + outOfBandRecord = await tenantAgent.oob.createInvitation({ ...config, invitationDid }) }) return { @@ -670,7 +681,7 @@ export class MultiTenancyController extends Controller { useDidSovPrefixWhereAllowed: this.agent.config.useDidSovPrefixWhereAllowed, }), outOfBandRecord: outOfBandRecord?.toJSON(), - ...(finalConfig?.recipientKey ? {} : { recipientKey: finalConfig.routing?.recipientKey.publicKeyBase58 }), // Access recipientKey from routing + invitationDid: config?.invitationDid ? '' : invitationDid, } } catch (error) { return internalServerError(500, { message: `something went wrong: ${error}` }) @@ -1313,22 +1324,33 @@ export class MultiTenancyController extends Controller { let createOfferOobRecord try { - let routing: Routing + let invitationDid: string | undefined await this.agent.modules.tenants.withTenantAgent({ tenantId }, async (tenantAgent) => { const linkSecretIds = await tenantAgent.modules.anoncreds.getLinkSecretIds() if (linkSecretIds.length === 0) { await tenantAgent.modules.anoncreds.createLinkSecret() } - if (createOfferOptions?.recipientKey) { - routing = { - endpoints: tenantAgent.config.endpoints, - routingKeys: [], - recipientKey: Key.fromPublicKeyBase58(createOfferOptions.recipientKey, KeyType.Ed25519), - mediatorId: undefined, - } + if (createOfferOptions?.invitationDid) { + invitationDid = createOfferOptions?.invitationDid } else { - routing = await tenantAgent.mediationRecipient.getRouting({}) + const didRouting = await this.agent.mediationRecipient.getRouting({}) + const didDocument = createPeerDidDocumentFromServices([ + { + id: 'didcomm', + recipientKeys: [didRouting.recipientKey], + routingKeys: didRouting.routingKeys, + serviceEndpoint: didRouting.endpoints[0], + }, + ]) + const did = await this.agent.dids.create({ + didDocument, + method: 'peer', + options: { + numAlgo: PeerDidNumAlgo.MultipleInceptionKeyWithoutDoc, + }, + }) + invitationDid = did.didState.did } const offerOob = await tenantAgent.credentials.createOffer({ @@ -1346,7 +1368,7 @@ export class MultiTenancyController extends Controller { autoAcceptConnection: true, imageUrl: createOfferOptions?.imageUrl, goalCode: createOfferOptions?.goalCode, - routing, + invitationDid, }) createOfferOobRecord = { @@ -1358,7 +1380,7 @@ export class MultiTenancyController extends Controller { }), outOfBandRecord: outOfBandRecord.toJSON(), outOfBandRecordId: outOfBandRecord.id, - recipientKey: createOfferOptions?.recipientKey ? {} : { recipientKey: routing.recipientKey.publicKeyBase58 }, + invitationDid: createOfferOptions?.invitationDid ? '' : invitationDid, } }) return createOfferOobRecord @@ -1528,17 +1550,28 @@ export class MultiTenancyController extends Controller { ) { let oobProofRecord try { - let routing: Routing + let invitationDid: string | undefined await this.agent.modules.tenants.withTenantAgent({ tenantId }, async (tenantAgent) => { - if (createRequestOptions?.recipientKey) { - routing = { - endpoints: tenantAgent.config.endpoints, - routingKeys: [], - recipientKey: Key.fromPublicKeyBase58(createRequestOptions.recipientKey, KeyType.Ed25519), - mediatorId: undefined, - } + if (createRequestOptions?.invitationDid) { + invitationDid = createRequestOptions?.invitationDid } else { - routing = await tenantAgent.mediationRecipient.getRouting({}) + const didRouting = await this.agent.mediationRecipient.getRouting({}) + const didDocument = createPeerDidDocumentFromServices([ + { + id: 'didcomm', + recipientKeys: [didRouting.recipientKey], + routingKeys: didRouting.routingKeys, + serviceEndpoint: didRouting.endpoints[0], + }, + ]) + const did = await this.agent.dids.create({ + didDocument, + method: 'peer', + options: { + numAlgo: PeerDidNumAlgo.MultipleInceptionKeyWithoutDoc, + }, + }) + invitationDid = did.didState.did } const proof = await tenantAgent.proofs.createRequest({ protocolVersion: createRequestOptions.protocolVersion as ProofsProtocolVersionType<[]>, @@ -1557,7 +1590,7 @@ export class MultiTenancyController extends Controller { messages: [proofMessage], autoAcceptConnection: true, imageUrl: createRequestOptions?.imageUrl, - routing, + invitationDid, goalCode: createRequestOptions?.goalCode, }) @@ -1575,9 +1608,7 @@ export class MultiTenancyController extends Controller { : proof.message.threadId ? proof.message.thread : proof.message.id, - recipientKey: createRequestOptions?.recipientKey - ? {} - : { recipientKey: routing.recipientKey.publicKeyBase58 }, + invitationDid: createRequestOptions?.invitationDid ? '' : invitationDid, } }) @@ -1922,4 +1953,4 @@ export class MultiTenancyController extends Controller { return questionAnswerRecord } -} +} \ No newline at end of file diff --git a/src/controllers/outofband/OutOfBandController.ts b/src/controllers/outofband/OutOfBandController.ts index dbb23eb9..ec93225e 100644 --- a/src/controllers/outofband/OutOfBandController.ts +++ b/src/controllers/outofband/OutOfBandController.ts @@ -1,6 +1,11 @@ import type { OutOfBandInvitationProps, OutOfBandRecordWithInvitationProps } from '../examples' import type { AgentMessageType, RecipientKeyOption, CreateInvitationOptions } from '../types' -import type { ConnectionRecordProps, CreateLegacyInvitationConfig, Routing } from '@credo-ts/core' +import type { + ConnectionRecordProps, + CreateLegacyInvitationConfig, + PeerDidNumAlgo2CreateOptions, + Routing, +} from '@credo-ts/core' import { AgentMessage, @@ -10,6 +15,8 @@ import { RecordNotFoundError, Key, KeyType, + createPeerDidDocumentFromServices, + PeerDidNumAlgo, } from '@credo-ts/core' import { injectable } from 'tsyringe' @@ -99,20 +106,31 @@ export class OutOfBandController extends Controller { @Body() config: CreateInvitationOptions & RecipientKeyOption // props removed because of issues with serialization ) { try { - let routing: Routing - if (config?.recipientKey) { - routing = { - endpoints: this.agent.config.endpoints, - routingKeys: [], - recipientKey: Key.fromPublicKeyBase58(config.recipientKey, KeyType.Ed25519), - mediatorId: undefined, - } + let invitationDid: string | undefined + if (config?.invitationDid) { + invitationDid = config?.invitationDid } else { - routing = await this.agent.mediationRecipient.getRouting({}) + const didRouting = await this.agent.mediationRecipient.getRouting({}) + const didDocument = createPeerDidDocumentFromServices([ + { + id: 'didcomm', + recipientKeys: [didRouting.recipientKey], + routingKeys: didRouting.routingKeys, + serviceEndpoint: didRouting.endpoints[0], + }, + ]) + const did = await this.agent.dids.create({ + didDocument, + method: 'peer', + options: { + numAlgo: PeerDidNumAlgo.MultipleInceptionKeyWithoutDoc, + }, + }) + // eslint-disable-next-line @typescript-eslint/no-unused-vars + invitationDid = did.didState.did } - config.routing = routing - const outOfBandRecord = await this.agent.oob.createInvitation(config) + const outOfBandRecord = await this.agent.oob.createInvitation({ ...config, invitationDid }) return { invitationUrl: outOfBandRecord.outOfBandInvitation.toUrl({ domain: this.agent.config.endpoints[0], @@ -121,7 +139,7 @@ export class OutOfBandController extends Controller { useDidSovPrefixWhereAllowed: this.agent.config.useDidSovPrefixWhereAllowed, }), outOfBandRecord: outOfBandRecord.toJSON(), - ...(config?.recipientKey ? {} : { recipientKey: routing.recipientKey.publicKeyBase58 }), + invitationDid: config?.invitationDid ? '' : invitationDid, } } catch (error) { return internalServerError(500, { message: `something went wrong: ${error}` }) @@ -338,4 +356,4 @@ export class OutOfBandController extends Controller { return internalServerError(500, { message: `something went wrong: ${error}` }) } } -} +} \ No newline at end of file diff --git a/src/controllers/types.ts b/src/controllers/types.ts index 9ad62ec9..7e117e72 100644 --- a/src/controllers/types.ts +++ b/src/controllers/types.ts @@ -121,6 +121,7 @@ export interface CreateOfferOobOptions { label?: string imageUrl?: string recipientKey?: string + invitationDid?: string } export interface CredentialCreateOfferOptions { credentialRecord: CredentialExchangeRecord @@ -140,6 +141,7 @@ export interface CreateProofRequestOobOptions { label?: string imageUrl?: string recipientKey?: string + invitationDid?: string } export interface OfferCredentialOptions { @@ -348,6 +350,7 @@ export interface CreateInvitationOptions { autoAcceptConnection?: boolean routing?: Routing appendedAttachments?: Attachment[] + invitationDid?: string } export interface EndorserTransaction { diff --git a/src/routes/routes.ts b/src/routes/routes.ts index 98a5f1db..acdc5c32 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -116,6 +116,7 @@ const models: TsoaRoute.Models = { "label": {"dataType":"string"}, "imageUrl": {"dataType":"string"}, "recipientKey": {"dataType":"string"}, + "invitationDid": {"dataType":"string"}, }, "additionalProperties": false, }, @@ -247,6 +248,15 @@ const models: TsoaRoute.Models = { "autoAcceptConnection": {"dataType":"boolean"}, "routing": {"ref":"Routing"}, "appendedAttachments": {"dataType":"array","array":{"dataType":"refObject","ref":"Attachment"}}, + "invitationDid": {"dataType":"string"}, + }, + "additionalProperties": false, + }, + // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa + "RecipientKeyOption": { + "dataType": "refObject", + "properties": { + "recipientKey": {"dataType":"string"}, }, "additionalProperties": false, }, @@ -431,9 +441,19 @@ const models: TsoaRoute.Models = { "additionalProperties": false, }, // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa + "Pick_CreateOutOfBandInvitationConfig.Exclude_keyofCreateOutOfBandInvitationConfig.routing__": { + "dataType": "refAlias", + "type": {"dataType":"nestedObjectLiteral","nestedProperties":{"label":{"dataType":"string"},"alias":{"dataType":"string"},"imageUrl":{"dataType":"string"},"multiUseInvitation":{"dataType":"boolean"},"autoAcceptConnection":{"dataType":"boolean"},"goalCode":{"dataType":"string"},"goal":{"dataType":"string"},"handshake":{"dataType":"boolean"},"handshakeProtocols":{"dataType":"array","array":{"dataType":"refEnum","ref":"HandshakeProtocol"}},"messages":{"dataType":"array","array":{"dataType":"refAlias","ref":"AgentMessage"}},"appendedAttachments":{"dataType":"array","array":{"dataType":"refObject","ref":"Attachment"}},"invitationDid":{"dataType":"string"}},"validators":{}}, + }, + // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa + "Omit_CreateOutOfBandInvitationConfig.routing_": { + "dataType": "refAlias", + "type": {"ref":"Pick_CreateOutOfBandInvitationConfig.Exclude_keyofCreateOutOfBandInvitationConfig.routing__","validators":{}}, + }, + // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa "Pick_CreateOutOfBandInvitationConfig.Exclude_keyofCreateOutOfBandInvitationConfig.routing-or-appendedAttachments-or-messages__": { "dataType": "refAlias", - "type": {"dataType":"nestedObjectLiteral","nestedProperties":{"label":{"dataType":"string"},"alias":{"dataType":"string"},"imageUrl":{"dataType":"string"},"multiUseInvitation":{"dataType":"boolean"},"autoAcceptConnection":{"dataType":"boolean"},"goalCode":{"dataType":"string"},"goal":{"dataType":"string"},"handshake":{"dataType":"boolean"},"handshakeProtocols":{"dataType":"array","array":{"dataType":"refEnum","ref":"HandshakeProtocol"}}},"validators":{}}, + "type": {"dataType":"nestedObjectLiteral","nestedProperties":{"label":{"dataType":"string"},"alias":{"dataType":"string"},"imageUrl":{"dataType":"string"},"multiUseInvitation":{"dataType":"boolean"},"autoAcceptConnection":{"dataType":"boolean"},"goalCode":{"dataType":"string"},"goal":{"dataType":"string"},"handshake":{"dataType":"boolean"},"handshakeProtocols":{"dataType":"array","array":{"dataType":"refEnum","ref":"HandshakeProtocol"}},"invitationDid":{"dataType":"string"}},"validators":{}}, }, // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa "Omit_CreateOutOfBandInvitationConfig.routing-or-appendedAttachments-or-messages_": { @@ -574,6 +594,7 @@ const models: TsoaRoute.Models = { "label": {"dataType":"string"}, "imageUrl": {"dataType":"string"}, "recipientKey": {"dataType":"string"}, + "invitationDid": {"dataType":"string"}, }, "additionalProperties": false, }, @@ -1264,7 +1285,7 @@ export function RegisterRoutes(app: Router) { async function OutOfBandController_createInvitation(request: any, response: any, next: any) { const args = { internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, - config: {"in":"body","name":"config","required":true,"ref":"CreateInvitationOptions"}, + config: {"in":"body","name":"config","required":true,"dataType":"intersection","subSchemas":[{"ref":"CreateInvitationOptions"},{"ref":"RecipientKeyOption"}]}, }; // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa @@ -1692,7 +1713,7 @@ export function RegisterRoutes(app: Router) { const args = { internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, - config: {"in":"body","name":"config","ref":"Omit_CreateOutOfBandInvitationConfig.routing-or-appendedAttachments-or-messages_"}, + config: {"in":"body","name":"config","dataType":"intersection","subSchemas":[{"ref":"Omit_CreateOutOfBandInvitationConfig.routing_"},{"ref":"RecipientKeyOption"}]}, }; // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa @@ -4097,4 +4118,4 @@ export function RegisterRoutes(app: Router) { // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa } -// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa +// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa \ No newline at end of file diff --git a/src/routes/swagger.json b/src/routes/swagger.json index 2eb97060..0bf3f6b1 100644 --- a/src/routes/swagger.json +++ b/src/routes/swagger.json @@ -249,6 +249,9 @@ }, "recipientKey": { "type": "string" + }, + "invitationDid": { + "type": "string" } }, "required": [ @@ -561,6 +564,18 @@ "$ref": "#/components/schemas/Attachment" }, "type": "array" + }, + "invitationDid": { + "type": "string" + } + }, + "type": "object", + "additionalProperties": false + }, + "RecipientKeyOption": { + "properties": { + "recipientKey": { + "type": "string" } }, "type": "object", @@ -979,6 +994,62 @@ "type": "object", "additionalProperties": false }, + "Pick_CreateOutOfBandInvitationConfig.Exclude_keyofCreateOutOfBandInvitationConfig.routing__": { + "properties": { + "label": { + "type": "string" + }, + "alias": { + "type": "string" + }, + "imageUrl": { + "type": "string" + }, + "multiUseInvitation": { + "type": "boolean" + }, + "autoAcceptConnection": { + "type": "boolean" + }, + "goalCode": { + "type": "string" + }, + "goal": { + "type": "string" + }, + "handshake": { + "type": "boolean" + }, + "handshakeProtocols": { + "items": { + "$ref": "#/components/schemas/HandshakeProtocol" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/components/schemas/AgentMessage" + }, + "type": "array" + }, + "appendedAttachments": { + "items": { + "$ref": "#/components/schemas/Attachment" + }, + "type": "array" + }, + "invitationDid": { + "type": "string", + "description": "Did to use in the invitation. Cannot be used in combination with `routing`." + } + }, + "type": "object", + "description": "From T, pick a set of properties whose keys are in the union K" + }, + "Omit_CreateOutOfBandInvitationConfig.routing_": { + "$ref": "#/components/schemas/Pick_CreateOutOfBandInvitationConfig.Exclude_keyofCreateOutOfBandInvitationConfig.routing__", + "description": "Construct a type with the properties of T except for those in type K." + }, "Pick_CreateOutOfBandInvitationConfig.Exclude_keyofCreateOutOfBandInvitationConfig.routing-or-appendedAttachments-or-messages__": { "properties": { "label": { @@ -1010,6 +1081,10 @@ "$ref": "#/components/schemas/HandshakeProtocol" }, "type": "array" + }, + "invitationDid": { + "type": "string", + "description": "Did to use in the invitation. Cannot be used in combination with `routing`." } }, "type": "object", @@ -1370,6 +1445,9 @@ }, "recipientKey": { "type": "string" + }, + "invitationDid": { + "type": "string" } }, "required": [ @@ -3143,7 +3221,14 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateInvitationOptions", + "allOf": [ + { + "$ref": "#/components/schemas/CreateInvitationOptions" + }, + { + "$ref": "#/components/schemas/RecipientKeyOption" + } + ], "description": "configuration of how out-of-band invitation should be created" } } @@ -4216,7 +4301,14 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Omit_CreateOutOfBandInvitationConfig.routing-or-appendedAttachments-or-messages_" + "allOf": [ + { + "$ref": "#/components/schemas/Omit_CreateOutOfBandInvitationConfig.routing_" + }, + { + "$ref": "#/components/schemas/RecipientKeyOption" + } + ] } } } From dd6d69b28b997bdac4922f8d510967324645d472 Mon Sep 17 00:00:00 2001 From: pallavicoder Date: Tue, 30 Apr 2024 16:14:56 +0530 Subject: [PATCH 02/20] chore:yarn build Signed-off-by: pallavicoder --- .../multi-tenancy/MultiTenancyController.ts | 2 +- src/controllers/outofband/OutOfBandController.ts | 2 +- src/routes/routes.ts | 11 +---------- src/routes/swagger.json | 15 +-------------- 4 files changed, 4 insertions(+), 26 deletions(-) diff --git a/src/controllers/multi-tenancy/MultiTenancyController.ts b/src/controllers/multi-tenancy/MultiTenancyController.ts index 98a36487..d05c915d 100644 --- a/src/controllers/multi-tenancy/MultiTenancyController.ts +++ b/src/controllers/multi-tenancy/MultiTenancyController.ts @@ -1953,4 +1953,4 @@ export class MultiTenancyController extends Controller { return questionAnswerRecord } -} \ No newline at end of file +} diff --git a/src/controllers/outofband/OutOfBandController.ts b/src/controllers/outofband/OutOfBandController.ts index ec93225e..63d28b35 100644 --- a/src/controllers/outofband/OutOfBandController.ts +++ b/src/controllers/outofband/OutOfBandController.ts @@ -356,4 +356,4 @@ export class OutOfBandController extends Controller { return internalServerError(500, { message: `something went wrong: ${error}` }) } } -} \ No newline at end of file +} diff --git a/src/routes/routes.ts b/src/routes/routes.ts index acdc5c32..2f3e4c10 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -132,7 +132,6 @@ const models: TsoaRoute.Models = { "@type": {"dataType":"string","required":true}, "@id": {"dataType":"string","required":true}, "~thread": {"dataType":"nestedObjectLiteral","nestedProperties":{"pthid":{"dataType":"string"},"thid":{"dataType":"string"}}}, - "messageType": {"dataType":"string","required":true}, }, "additionalProperties": {"dataType":"any"}, }, @@ -271,14 +270,6 @@ const models: TsoaRoute.Models = { "type": {"ref":"Pick_CreateLegacyInvitationConfig.Exclude_keyofCreateLegacyInvitationConfig.routing__","validators":{}}, }, // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa - "RecipientKeyOption": { - "dataType": "refObject", - "properties": { - "recipientKey": {"dataType":"string"}, - }, - "additionalProperties": false, - }, - // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa "AgentMessageType": { "dataType": "refObject", "properties": { @@ -4118,4 +4109,4 @@ export function RegisterRoutes(app: Router) { // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa } -// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa \ No newline at end of file +// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa diff --git a/src/routes/swagger.json b/src/routes/swagger.json index 0bf3f6b1..c7b79583 100644 --- a/src/routes/swagger.json +++ b/src/routes/swagger.json @@ -287,15 +287,11 @@ } }, "type": "object" - }, - "messageType": { - "type": "string" } }, "required": [ "@type", - "@id", - "messageType" + "@id" ], "type": "object", "additionalProperties": {} @@ -606,15 +602,6 @@ "$ref": "#/components/schemas/Pick_CreateLegacyInvitationConfig.Exclude_keyofCreateLegacyInvitationConfig.routing__", "description": "Construct a type with the properties of T except for those in type K." }, - "RecipientKeyOption": { - "properties": { - "recipientKey": { - "type": "string" - } - }, - "type": "object", - "additionalProperties": false - }, "AgentMessageType": { "properties": { "@id": { From 5f98d9047db06096b0d3aad1e2dd6e1946d2ecbe Mon Sep 17 00:00:00 2001 From: pallavicoder Date: Thu, 2 May 2024 19:39:25 +0530 Subject: [PATCH 03/20] fix: add tenantagent Signed-off-by: pallavicoder --- .../multi-tenancy/MultiTenancyController.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/controllers/multi-tenancy/MultiTenancyController.ts b/src/controllers/multi-tenancy/MultiTenancyController.ts index d05c915d..6dcfe48c 100644 --- a/src/controllers/multi-tenancy/MultiTenancyController.ts +++ b/src/controllers/multi-tenancy/MultiTenancyController.ts @@ -651,7 +651,7 @@ export class MultiTenancyController extends Controller { if (config?.invitationDid) { invitationDid = config?.invitationDid } else { - const didRouting = await this.agent.mediationRecipient.getRouting({}) + const didRouting = await tenantAgent.mediationRecipient.getRouting({}) const didDocument = createPeerDidDocumentFromServices([ { id: 'didcomm', @@ -660,7 +660,7 @@ export class MultiTenancyController extends Controller { serviceEndpoint: didRouting.endpoints[0], }, ]) - const did = await this.agent.dids.create({ + const did = await tenantAgent.dids.create({ didDocument, method: 'peer', options: { @@ -1334,7 +1334,7 @@ export class MultiTenancyController extends Controller { if (createOfferOptions?.invitationDid) { invitationDid = createOfferOptions?.invitationDid } else { - const didRouting = await this.agent.mediationRecipient.getRouting({}) + const didRouting = await tenantAgent.mediationRecipient.getRouting({}) const didDocument = createPeerDidDocumentFromServices([ { id: 'didcomm', @@ -1343,7 +1343,7 @@ export class MultiTenancyController extends Controller { serviceEndpoint: didRouting.endpoints[0], }, ]) - const did = await this.agent.dids.create({ + const did = await tenantAgent.dids.create({ didDocument, method: 'peer', options: { @@ -1555,7 +1555,7 @@ export class MultiTenancyController extends Controller { if (createRequestOptions?.invitationDid) { invitationDid = createRequestOptions?.invitationDid } else { - const didRouting = await this.agent.mediationRecipient.getRouting({}) + const didRouting = await tenantAgent.mediationRecipient.getRouting({}) const didDocument = createPeerDidDocumentFromServices([ { id: 'didcomm', @@ -1564,7 +1564,7 @@ export class MultiTenancyController extends Controller { serviceEndpoint: didRouting.endpoints[0], }, ]) - const did = await this.agent.dids.create({ + const did = await tenantAgent.dids.create({ didDocument, method: 'peer', options: { From e856094f152a3845d7c81648b22d441dc774432f Mon Sep 17 00:00:00 2001 From: tipusinghaw <126460794+tipusinghaw@users.noreply.github.com> Date: Tue, 7 May 2024 14:07:49 +0530 Subject: [PATCH 04/20] refactor: audit changes and updation to 0.5.3 (#112) Signed-off-by: pallavicoder --- package.json | 24 +- ...o-ts+core+0.5.1+002+reuse-connection.patch | 856 ------------------ samples/cliConfig.json | 4 +- src/cliAgent.ts | 4 +- src/routes/routes.ts | 1 + src/routes/swagger.json | 6 +- yarn.lock | 378 ++++---- 7 files changed, 211 insertions(+), 1062 deletions(-) delete mode 100644 patches/@credo-ts+core+0.5.1+002+reuse-connection.patch diff --git a/package.json b/package.json index 611db9c0..f5fd1328 100644 --- a/package.json +++ b/package.json @@ -37,18 +37,18 @@ "validate": "yarn lint && yarn check-types && yarn check-format" }, "dependencies": { - "@ayanworks/credo-polygon-w3c-module": "0.0.2-alpha.7", - "@credo-ts/anoncreds": "0.5.1", - "@credo-ts/askar": "0.5.1", - "@credo-ts/core": "0.5.1", - "@credo-ts/indy-vdr": "0.5.1", - "@credo-ts/node": "0.5.1", + "@ayanworks/credo-polygon-w3c-module": "0.0.2-alpha.8", + "@credo-ts/anoncreds": "0.5.3", + "@credo-ts/askar": "0.5.3", + "@credo-ts/core": "0.5.3", + "@credo-ts/indy-vdr": "0.5.3", + "@credo-ts/node": "0.5.3", "@credo-ts/push-notifications": "^0.7.0", - "@credo-ts/question-answer": "0.5.1", - "@credo-ts/tenants": "0.5.1", - "@hyperledger/anoncreds-nodejs": "0.2.1", - "@hyperledger/aries-askar-nodejs": "0.2.0", - "@hyperledger/indy-vdr-nodejs": "0.2.0", + "@credo-ts/question-answer": "0.5.3", + "@credo-ts/tenants": "0.5.3", + "@hyperledger/anoncreds-nodejs": "0.2.2", + "@hyperledger/aries-askar-nodejs": "0.2.1", + "@hyperledger/indy-vdr-nodejs": "0.2.2", "@tsoa/runtime": "^6.0.0", "@types/node-fetch": "^2.6.4", "@types/ref-struct-di": "^1.1.9", @@ -100,6 +100,6 @@ "typescript": "^5.3.3" }, "engines": { - "node": "18.19.0" + "node": ">=18" } } diff --git a/patches/@credo-ts+core+0.5.1+002+reuse-connection.patch b/patches/@credo-ts+core+0.5.1+002+reuse-connection.patch deleted file mode 100644 index 092e01c9..00000000 --- a/patches/@credo-ts+core+0.5.1+002+reuse-connection.patch +++ /dev/null @@ -1,856 +0,0 @@ -diff --git a/node_modules/@credo-ts/core/build/agent/Agent.js b/node_modules/@credo-ts/core/build/agent/Agent.js -index d0a26e8..c80ba74 100644 ---- a/node_modules/@credo-ts/core/build/agent/Agent.js -+++ b/node_modules/@credo-ts/core/build/agent/Agent.js -@@ -112,6 +112,7 @@ class Agent extends BaseAgent_1.BaseAgent { - .receiveMessage(e.payload.message, { - connection: e.payload.connection, - contextCorrelationId: e.payload.contextCorrelationId, -+ receivedAt: e.payload.receivedAt, - }) - .catch((error) => { - this.logger.error('Failed to process message', { error }); -diff --git a/node_modules/@credo-ts/core/build/agent/Agent.js.map b/node_modules/@credo-ts/core/build/agent/Agent.js.map -index 4899ecb..51c0f0e 100644 ---- a/node_modules/@credo-ts/core/build/agent/Agent.js.map -+++ b/node_modules/@credo-ts/core/build/agent/Agent.js.map -@@ -1 +1 @@ --{"version":3,"file":"Agent.js","sourceRoot":"","sources":["../../src/agent/Agent.ts"],"names":[],"mappings":";;;AASA,+BAA8B;AAC9B,8CAAqD;AAErD,4CAA+C;AAC/C,sCAAgD;AAChD,qDAAiD;AACjD,oCAAqC;AACrC,wCAA8C;AAC9C,wCAAqG;AAErG,+CAA2C;AAC3C,iDAAgE;AAChE,2CAAuC;AACvC,6CAAyC;AACzC,uDAAmD;AACnD,iDAA6C;AAC7C,qCAA0C;AAC1C,uDAAmD;AACnD,qEAAiE;AACjE,uDAAmD;AACnD,mDAA+C;AAC/C,yDAAqD;AACrD,uCAAqE;AAQrE,gHAAgH;AAChH,8DAA8D;AAC9D,MAAa,KAAoD,SAAQ,qBAAuB;IAG9F,YAAmB,OAAmC,EAAE,iBAAiB,GAAG,IAAI,2BAAiB,EA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AC,MAAM,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAA;YAC7E,wFAAwF;YACxF,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,EAAE,kBAAkB,EAAE,KAAK,EAAE,CAAC,CAAA;YAEvF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA;YAC7C,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,mBAAmB,EAAE;gBAChG,OAAO;aACR,CAAC,CAAA;YACF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,gCAAgC,EAAE,EAAE,mBAAmB,EAAE,CAAC,CAAA;YAE5E,IAAI,CAAC,aAAa,EAAE;gBAClB,MAAM,IAAI,kBAAU,CAAC,8CAA8C,CAAC,CAAA;aACrE;YAED,OAAO,IAAI,CAAC,WAAW,CAAC,qBAAqB,CAAC,aAAa,CAAC,EAAE,CAAC,CAAA;SAChE;QAED,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE;YACvB,OAAO,IAAI,CAAC,WAAW,CAAC,qBAAqB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAA;SAC7D;QACD,OAAO,UAAU,CAAA;IACnB,CAAC;CACF;AAjND,sBAiNC"} -\ No newline at end of file -diff --git a/node_modules/@credo-ts/core/build/agent/Dispatcher.js b/node_modules/@credo-ts/core/build/agent/Dispatcher.js -index 66d8a6b..c1cea4d 100644 ---- a/node_modules/@credo-ts/core/build/agent/Dispatcher.js -+++ b/node_modules/@credo-ts/core/build/agent/Dispatcher.js -@@ -87,6 +87,7 @@ let Dispatcher = class Dispatcher { - payload: { - message, - connection, -+ receivedAt: messageContext.receivedAt, - }, - }); - } -diff --git a/node_modules/@credo-ts/core/build/agent/Dispatcher.js.map b/node_modules/@credo-ts/core/build/agent/Dispatcher.js.map -index cfab13a..af98bfa 100644 ---- a/node_modules/@credo-ts/core/build/agent/Dispatcher.js.map -+++ b/node_modules/@credo-ts/core/build/agent/Dispatcher.js.map -@@ -1 +1 @@ --{"version":3,"file":"Dispatcher.js","sourceRoot":"","sources":["../../src/agent/Dispatcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAIA,4CAA+C;AAC/C,oDAAgD;AAEhD,wCAA+C;AAC/C,sDAAuD;AAEvD,qGAAiG;AACjG,iDAA6C;AAC7C,qCAA0C;AAC1C,qEAAiE;AACjE,mDAA+C;AAC/C,qCAAiD;AAEjD,IACM,UAAU,GADhB,MACM,UAAU;IAMd,YACE,aAA4B,EAC5B,YAA0B,EAC1B,sBAA8C,EACb,MAAc;QAE/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAA;QACpD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAEM,KAAK,CAAC,QAAQ,CAAC,cAAqC;QACzD,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,GAAG,cAAc,CAAA;QACrF,MAAM,cAAc,GAAG,IAAI,CAAC,sBAAsB,CAAC,wBAAwB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;QAEzF,IAAI,CAAC,cAAc,EAAE;YACnB,MAAM,IAAI,uBAAU,CAAC,gCAAgC,OAAO,CAAC,IAAI,SAAS,CAAC,CAAA;SAC5E;QAED,IAAI,eAA4D,CAAA;QAEhE,IAAI;YACF,eAAe,GAAG,MAAM,cAAc,CAAC,MAAM,CAAC,cAAc,CAAC,CAAA;SAC9D;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,oBAAoB,GAAG,KAAK,CAAC,aAAa,CAAA;YAEhD,IAAI,oBAAoB,YAAY,2CAAoB,IAAI,cAAc,CAAC,UAAU,EAAE;gBACrF,MAAM,EAAE,WAAW,EA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uBAAV,UAAU,CAAE,EAAE;iBAC7B,CAAC,CAAA;gBAEF,MAAM,KAAK,CAAA;aACZ;SACF;QAED,IAAI,eAAe,EAAE;YACnB,0DAA0D;YAC1D,IAAI,CAAC,eAAe,CAAC,qBAAqB,EAAE;gBAC1C,eAAe,CAAC,qBAAqB,GAAG,cAAc,CAAA;aACvD;YAED,MAAM,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,eAAe,CAAC,CAAA;SACtD;QACD,wDAAwD;QACxD,IAAI,CAAC,YAAY,CAAC,IAAI,CAA6B,YAAY,EAAE;YAC/D,IAAI,EAAE,wBAAe,CAAC,qBAAqB;YAC3C,OAAO,EAAE;gBACP,OAAO;gBACP,UAAU;gBACV,UAAU,EAAE,cAAc,CAAC,UAAU;aACtC;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AArFK,UAAU;IADf,IAAA,oBAAU,GAAE;IAWR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAHjB,6BAAa;QACd,2BAAY;QACF,+CAAsB;GAT5C,UAAU,CAqFf;AAEQ,gCAAU"} -\ No newline at end of file -diff --git a/node_modules/@credo-ts/core/build/agent/EnvelopeService.js b/node_modules/@credo-ts/core/build/agent/EnvelopeService.js -index 0238d59..12261a9 100644 ---- a/node_modules/@credo-ts/core/build/agent/EnvelopeService.js -+++ b/node_modules/@credo-ts/core/build/agent/EnvelopeService.js -@@ -32,14 +32,12 @@ let EnvelopeService = class EnvelopeService { - let encryptedMessage = await agentContext.wallet.pack(message, recipientKeysBase58, senderKeyBase58 !== null && senderKeyBase58 !== void 0 ? senderKeyBase58 : undefined); - // If the message has routing keys (mediator) pack for each mediator - for (const routingKeyBase58 of routingKeysBase58) { -- console.log(`message['@type']`, JSON.stringify(message['@type'])) - const forwardMessage = new messages_1.ForwardMessage({ - // Forward to first recipient key - to: recipientKeysBase58[0], - message: encryptedMessage, - }); - recipientKeysBase58 = [routingKeyBase58]; -- forwardMessage["messageType"] = message['@type']; - this.logger.debug('Forward message created', forwardMessage); - const forwardJson = forwardMessage.toJSON({ - useDidSovPrefixWhereAllowed: agentContext.config.useDidSovPrefixWhereAllowed, -diff --git a/node_modules/@credo-ts/core/build/agent/Events.d.ts b/node_modules/@credo-ts/core/build/agent/Events.d.ts -index 1df8984..24f2b78 100644 ---- a/node_modules/@credo-ts/core/build/agent/Events.d.ts -+++ b/node_modules/@credo-ts/core/build/agent/Events.d.ts -@@ -22,6 +22,7 @@ export interface AgentMessageReceivedEvent extends BaseEvent { - message: unknown; - connection?: ConnectionRecord; - contextCorrelationId?: string; -+ receivedAt?: Date; - }; - } - export interface AgentMessageProcessedEvent extends BaseEvent { -@@ -29,6 +30,7 @@ export interface AgentMessageProcessedEvent extends BaseEvent { - payload: { - message: AgentMessage; - connection?: ConnectionRecord; -+ receivedAt?: Date; - }; - } - export interface AgentMessageSentEvent extends BaseEvent { -diff --git a/node_modules/@credo-ts/core/build/agent/MessageReceiver.d.ts b/node_modules/@credo-ts/core/build/agent/MessageReceiver.d.ts -index 80f3761..35cae42 100644 ---- a/node_modules/@credo-ts/core/build/agent/MessageReceiver.d.ts -+++ b/node_modules/@credo-ts/core/build/agent/MessageReceiver.d.ts -@@ -29,10 +29,11 @@ export declare class MessageReceiver { - * - * @param inboundMessage the message to receive and handle - */ -- receiveMessage(inboundMessage: unknown, { session, connection, contextCorrelationId, }?: { -+ receiveMessage(inboundMessage: unknown, { session, connection, contextCorrelationId, receivedAt, }?: { - session?: TransportSession; - connection?: ConnectionRecord; - contextCorrelationId?: string; -+ receivedAt?: Date; - }): Promise; - private receivePlaintextMessage; - private receiveEncryptedMessage; -diff --git a/node_modules/@credo-ts/core/build/agent/MessageReceiver.js b/node_modules/@credo-ts/core/build/agent/MessageReceiver.js -index e74b6dd..e351edf 100644 ---- a/node_modules/@credo-ts/core/build/agent/MessageReceiver.js -+++ b/node_modules/@credo-ts/core/build/agent/MessageReceiver.js -@@ -56,7 +56,7 @@ let MessageReceiver = class MessageReceiver { - * - * @param inboundMessage the message to receive and handle - */ -- async receiveMessage(inboundMessage, { session, connection, contextCorrelationId, } = {}) { -+ async receiveMessage(inboundMessage, { session, connection, contextCorrelationId, receivedAt, } = {}) { - this.logger.debug(`Agent received message`); - // Find agent context for the inbound message - const agentContext = await this.agentContextProvider.getContextForInboundMessage(inboundMessage, { -@@ -64,10 +64,10 @@ let MessageReceiver = class MessageReceiver { - }); - try { - if (this.isEncryptedMessage(inboundMessage)) { -- await this.receiveEncryptedMessage(agentContext, inboundMessage, session); -+ await this.receiveEncryptedMessage(agentContext, inboundMessage, session, receivedAt); - } - else if (this.isPlaintextMessage(inboundMessage)) { -- await this.receivePlaintextMessage(agentContext, inboundMessage, connection); -+ await this.receivePlaintextMessage(agentContext, inboundMessage, connection, receivedAt); - } - else { - throw new error_1.CredoError('Unable to parse incoming message: unrecognized format'); -@@ -78,12 +78,12 @@ let MessageReceiver = class MessageReceiver { - await agentContext.endSession(); - } - } -- async receivePlaintextMessage(agentContext, plaintextMessage, connection) { -+ async receivePlaintextMessage(agentContext, plaintextMessage, connection, receivedAt) { - const message = await this.transformAndValidate(agentContext, plaintextMessage); -- const messageContext = new models_1.InboundMessageContext(message, { connection, agentContext }); -+ const messageContext = new models_1.InboundMessageContext(message, { connection, agentContext, receivedAt }); - await this.dispatcher.dispatch(messageContext); - } -- async receiveEncryptedMessage(agentContext, encryptedMessage, session) { -+ async receiveEncryptedMessage(agentContext, encryptedMessage, session, receivedAt) { - const decryptedMessage = await this.decryptMessage(agentContext, encryptedMessage); - const { plaintextMessage, senderKey, recipientKey } = decryptedMessage; - this.logger.info(`Received message with type '${plaintextMessage['@type']}', recipient key ${recipientKey === null || recipientKey === void 0 ? void 0 : recipientKey.fingerprint} and sender key ${senderKey === null || senderKey === void 0 ? void 0 : senderKey.fingerprint}`, plaintextMessage); -@@ -97,6 +97,7 @@ let MessageReceiver = class MessageReceiver { - senderKey, - recipientKey, - agentContext, -+ receivedAt, - }); - // We want to save a session if there is a chance of returning outbound message via inbound transport. - // That can happen when inbound message has `return_route` set to `all` or `thread`. -diff --git a/node_modules/@credo-ts/core/build/agent/MessageReceiver.js.map b/node_modules/@credo-ts/core/build/agent/MessageReceiver.js.map -index 6fd94b7..81627e1 100644 ---- a/node_modules/@credo-ts/core/build/agent/MessageReceiver.js.map -+++ b/node_modules/@credo-ts/core/build/agent/MessageReceiver.js.map -@@ -1 +1 @@ --{"version":3,"file":"MessageReceiver.js","sourceRoot":"","sources":["../../src/agent/MessageReceiver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,4CAA+C;AAC/C,oCAAqC;AAErC,wDAA0D;AAC1D,gEAA0G;AAC1G,wCAA+C;AAC/C,sCAAkD;AAClD,8DAA0D;AAC1D,sDAAiH;AAEjH,6CAAyC;AACzC,uDAAmD;AACnD,qEAAiE;AACjE,mDAA+C;AAC/C,yDAAqD;AAErD,qCAAwE;AAGjE,IAAM,eAAe,GAArB,MAAM,eAAe;IAW1B,YACE,eAAgC,EAChC,gBAAkC,EAClC,aAA4B,EAC5B,iBAAoC,EACpC,UAAsB,EACtB,sBAA8C,EACC,oBAA0C,EACxD,MAAc;QAVzC,uBAAkB,GAAuB,EAAE,CAAA;QAYjD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAA;QACpD,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,kBAAkB,GAAG,EAAE,CAAA;IAC9B,CAAC;IAED,IAAW,iBAAiB;QAC1B,OAAO,IAAI,CAAC,kBAAkB,CA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,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC,CAAA;QAC7G,IAAI,sBAAsB,EAAE;YAC1B,MAAM,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAA;SAC7D;IACH,CAAC;CACF,CAAA;AA9QY,eAAe;IAD3B,IAAA,oBAAU,GAAE;IAmBR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,oBAAoB,CAAC,CAAA;IAC7C,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAPf,iCAAe;QACd,mCAAgB;QACnB,6BAAa;QACT,+BAAiB;QACxB,uBAAU;QACE,+CAAsB;GAjBrC,eAAe,CA8Q3B;AA9QY,0CAAe"} -\ No newline at end of file -+{"version":3,"file":"MessageReceiver.js","sourceRoot":"","sources":["../../src/agent/MessageReceiver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,4CAA+C;AAC/C,oCAAqC;AAErC,wDAA0D;AAC1D,gEAA0G;AAC1G,wCAA+C;AAC/C,sCAAkD;AAClD,8DAA0D;AAC1D,sDAAiH;AAEjH,6CAAyC;AACzC,uDAAmD;AACnD,qEAAiE;AACjE,mDAA+C;AAC/C,yDAAqD;AAErD,qCAAwE;AAGjE,IAAM,eAAe,GAArB,MAAM,eAAe;IAW1B,YACE,eAAgC,EAChC,gBAAkC,EAClC,aAA4B,EAC5B,iBAAoC,EACpC,UAAsB,EACtB,sBAA8C,EACC,oBAA0C,EACxD,MAAc;QAVzC,uBAAkB,GAAuB,EAAE,CAAA;QAYjD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,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AAoB,GAAG,IAAI,sCAAoB,CAAC;YACpD,WAAW,EAAE;gBACX,EAAE,EAAE,OAAO;gBACX,IAAI,EAAE,qCAAmB,CAAC,mBAAmB;aAC9C;SACF,CAAC,CAAA;QACF,oBAAoB,CAAC,SAAS,CAAC;YAC7B,cAAc,EAAE,gBAAgB,CAAC,KAAK,CAAC;SACxC,CAAC,CAAA;QACF,MAAM,sBAAsB,GAAG,IAAI,+BAAsB,CAAC,oBAAoB,EAAE,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC,CAAA;QAC7G,IAAI,sBAAsB,EAAE;YAC1B,MAAM,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAA;SAC7D;IACH,CAAC;CACF,CAAA;AAvRY,eAAe;IAD3B,IAAA,oBAAU,GAAE;IAmBR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,oBAAoB,CAAC,CAAA;IAC7C,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAPf,iCAAe;QACd,mCAAgB;QACnB,6BAAa;QACT,+BAAiB;QACxB,uBAAU;QACE,+CAAsB;GAjBrC,eAAe,CAuR3B;AAvRY,0CAAe"} -\ No newline at end of file -diff --git a/node_modules/@credo-ts/core/build/agent/models/InboundMessageContext.d.ts b/node_modules/@credo-ts/core/build/agent/models/InboundMessageContext.d.ts -index 36f4c4b..5b0e3a3 100644 ---- a/node_modules/@credo-ts/core/build/agent/models/InboundMessageContext.d.ts -+++ b/node_modules/@credo-ts/core/build/agent/models/InboundMessageContext.d.ts -@@ -8,6 +8,7 @@ export interface MessageContextParams { - senderKey?: Key; - recipientKey?: Key; - agentContext: AgentContext; -+ receivedAt?: Date; - } - export declare class InboundMessageContext { - message: T; -@@ -15,6 +16,7 @@ export declare class InboundMessageContext 0) { - const inlineServices = outOfBandRecord.outOfBandInvitation.getInlineServices(); - services = inlineServices.map((service) => { - var _a, _b; -@@ -194,6 +194,10 @@ let DidExchangeProtocol = class DidExchangeProtocol { - }); - }); - } -+ else { -+ // We don't support using a did from the OOB invitation services currently, in this case we always pass routing to this method -+ throw new error_1.CredoError('No routing provided, and no inline services found in out of band invitation. When using did services in out of band invitation, make sure to provide routing information for rotation.'); -+ } - // Use the same num algo for response as received in request - const numAlgo = (0, dids_1.isValidPeerDid)(theirDid) - ? (0, dids_1.getNumAlgoFromPeerDid)(theirDid) -diff --git a/node_modules/@credo-ts/core/build/modules/connections/DidExchangeProtocol.js.map b/node_modules/@credo-ts/core/build/modules/connections/DidExchangeProtocol.js.map -index d82e96c..7e0adcf 100644 ---- a/node_modules/@credo-ts/core/build/modules/connections/DidExchangeProtocol.js.map -+++ b/node_modules/@credo-ts/core/build/modules/connections/DidExchangeProtocol.js.map -@@ -1 +1 @@ --{"version":3,"file":"DidExchangeProtocol.js","sourceRoot":"","sources":["../../../src/modules/connections/DidExchangeProtocol.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,+CAAkD;AAClD,yCAA2C;AAC3C,wDAAoD;AACpD,+CAA6D;AAC7D,+CAAqD;AACrD,uEAAmF;AACnF,uCAAwC;AAExC,2CAAkD;AAClD,uCAA8D;AAC9D,yDAAqD;AACrD,iEAA6D;AAC7D,+CAAsD;AACtD,kCAQgB;AAChB,sDAAsE;AACtE,gDAAkD;AAClD,6CAAuD;AACvD,mDAAkD;AAClD,+DAA2D;AAC3D,iEAA6D;AAC7D,yDAA8E;AAE9E,uEAAmE;AACnE,uEAAmE;AACnE,qCAAwF;AACxF,yCAA8G;AAC9G,qCAA+E;AAC/E,yCAA8C;AAC9C,gDAA8G;AAavG,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAM9B,YACE,iBAAoC,EACpC,aAA4B,EAC5B,UAAsB,EACW,MAAc;QAE/C,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QA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AAE,WAAW,EAAE,CAAC,CAAA;SAC/F;QAED,OAAO,WAAW,CAAA;IACpB,CAAC;CACF,CAAA;AAlmBY,mBAAmB;IAD/B,IAAA,oBAAU,GAAE;IAWR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAHb,4BAAiB;QACrB,0BAAa;QAChB,uBAAU;GATb,mBAAmB,CAkmB/B;AAlmBY,kDAAmB"} -\ No newline at end of file -+{"version":3,"file":"DidExchangeProtocol.js","sourceRoot":"","sources":["../../../src/modules/connections/DidExchangeProtocol.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,+CAAkD;AAClD,yCAA2C;AAC3C,wDAAoD;AACpD,+CAA6D;AAC7D,+CAAqD;AACrD,uEAAmF;AACnF,uCAAwC;AAExC,2CAAkD;AAClD,uCAA8D;AAC9D,yDAAqD;AACrD,iEAA6D;AAC7D,+CAAsD;AACtD,kCAQgB;AAChB,sDAAsE;AACtE,gDAAkD;AAClD,6CAAuD;AACvD,mDAAkD;AAClD,+DAA2D;AAC3D,iEAA6D;AAC7D,yDAA8E;AAE9E,uEAAmE;AACnE,uEAAmE;AACnE,qCAAwF;AACxF,yCAA8G;AAC9G,qCAA+E;AAC/E,yCAA8C;AAC9C,gDAA8G;AAavG,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAM9B,YACE,iBAAoC,EACpC,aAA4B,EAC5B,UAAsB,EACW,MAAc;QAE/C,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAEM,KAAK,CAAC,aAAa,CACxB,YAA0B,EAC1B,eAAgC,EAChC,MAAgC;;QAEhC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,kBAAkB,oCAAyB,CAAC,IAAI,CAAC,cAAc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AAC;CACF,CAAA;AAvmBY,mBAAmB;IAD/B,IAAA,oBAAU,GAAE;IAWR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAHb,4BAAiB;QACrB,0BAAa;QAChB,uBAAU;GATb,mBAAmB,CAumB/B;AAvmBY,kDAAmB"} -\ No newline at end of file -diff --git a/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js b/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js -index fb4e984..f81959c 100644 ---- a/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js -+++ b/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js -@@ -48,8 +48,14 @@ class ConnectionRequestHandler { - transportService.setConnectionIdForSession(sessionId, connectionRecord.id); - } - if ((_b = connectionRecord === null || connectionRecord === void 0 ? void 0 : connectionRecord.autoAcceptConnection) !== null && _b !== void 0 ? _b : this.connectionsModuleConfig.autoAcceptConnections) { -- // TODO: Allow rotation of keys used in the invitation for new ones not only when out-of-band is reusable -- const routing = outOfBandRecord.reusable ? await this.routingService.getRouting(agentContext) : undefined; -+ // TODO: Allow rotation of keys used in the invitation for new ones not only when out-of-band is reusable or -+ // when there are no inline services in the invitation -+ // We generate routing in two scenarios: -+ // 1. When the out-of-band invitation is reusable, as otherwise all connections use the same keys -+ // 2. When the out-of-band invitation has no inline services, as we don't want to generate a legacy did doc from a service did -+ const routing = outOfBandRecord.reusable || outOfBandRecord.outOfBandInvitation.getInlineServices().length === 0 -+ ? await this.routingService.getRouting(agentContext) -+ : undefined; - const { message } = await this.connectionService.createResponse(agentContext, connectionRecord, outOfBandRecord, routing); - return new models_1.OutboundMessageContext(message, { - agentContext, -diff --git a/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js.map b/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js.map -index c0eb584..fab55b3 100644 ---- a/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js.map -+++ b/node_modules/@credo-ts/core/build/modules/connections/handlers/ConnectionRequestHandler.js.map -@@ -1 +1 @@ --{"version":3,"file":"ConnectionRequestHandler.js","sourceRoot":"","sources":["../../../../src/modules/connections/handlers/ConnectionRequestHandler.ts"],"names":[],"mappings":";;;AAOA,sEAAkE;AAClE,kDAA8D;AAC9D,0DAAsD;AACtD,mDAAqD;AACrD,0CAAsD;AACtD,sCAA6C;AAE7C,MAAa,wBAAwB;IAQnC,YACE,iBAAoC,EACpC,gBAAkC,EAClC,cAA8B,EAC9B,aAA4B,EAC5B,uBAAgD;QAP3C,sBAAiB,GAAG,CAAC,mCAAwB,CAAC,CAAA;QASnD,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAA;IACxD,CAAC;IAEM,KAAK,CAAC,MAAM,CAAC,cAAsE;;QACxF,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,cAAc,CAAA;QAEhG,IAAI,CAAC,YAAY,IAAI,CAAC,SAAS,EAAE;YAC/B,MAAM,IAAI,uBAAU,CAAC,2EAA2E,CAAC,CAAA;SAClG;QAED,MAAM,cAAc,GAAG,MAAA,OAAO,CAAC,MAAM,0CAAE,cAAc,CAAA;QAErD,MAAM,eAAe,GACnB,cAAc,IAAI,IAAA,mBAAW,EAAC,cAAc,CAAC;YAC3C,CAAC,CAAC,MAAM,IAAI,CAAC,gBAAgB,CAAC,4BAA4B,CAAC,YAAY,EAAE;gBACrE,GAAG,EAAE,cAAc;gBACnB,QAAQ,EAAE,OAAO,CAAC,QAAQ;gBAC1B,YAA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,EAAE,OAAO,EAAE,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAC7D,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,OAAO,CACR,CAAA;YACD,OAAO,IAAI,+BAAsB,CAAC,OAAO,EAAE;gBACzC,YAAY;gBACZ,UAAU,EAAE,gBAAgB;gBAC5B,SAAS,EAAE,eAAe;aAC3B,CAAC,CAAA;SACH;IACH,CAAC;CACF;AA/ED,4DA+EC"} -\ No newline at end of file -+{"version":3,"file":"ConnectionRequestHandler.js","sourceRoot":"","sources":["../../../../src/modules/connections/handlers/ConnectionRequestHandler.ts"],"names":[],"mappings":";;;AAOA,sEAAkE;AAClE,kDAA8D;AAC9D,0DAAsD;AACtD,mDAAqD;AACrD,0CAAsD;AACtD,sCAA6C;AAE7C,MAAa,wBAAwB;IAQnC,YACE,iBAAoC,EACpC,gBAAkC,EAClC,cAA8B,EAC9B,aAA4B,EAC5B,uBAAgD;QAP3C,sBAAiB,GAAG,CAAC,mCAAwB,CAAC,CAAA;QASnD,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAA;QAC1C,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAA;IACxD,CAAC;IAEM,KAAK,CAAC,MAAM,CAAC,cAAsE;;QACxF,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,cAAc,CAAA;QAEhG,IAAI,CAAC,YAAY,IAAI,CAAC,SAAS,EAAE;YAC/B,MAAM,IAAI,uBAAU,CAAC,2EAA2E,CAAC,CAAA;SAClG;QAED,MAAM,cAAc,GAAG,MAAA,OAAO,CAAC,MAAM,0CAAE,cAAc,CAAA;QAErD,MAAM,eAAe,GACnB,cAAc,I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AAC,qBAAqB,EAAE;YAChG,4GAA4G;YAC5G,sDAAsD;YAEtD,wCAAwC;YACxC,iGAAiG;YACjG,8HAA8H;YAC9H,MAAM,OAAO,GACX,eAAe,CAAC,QAAQ,IAAI,eAAe,CAAC,mBAAmB,CAAC,iBAAiB,EAAE,CAAC,MAAM,KAAK,CAAC;gBAC9F,CAAC,CAAC,MAAM,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,YAAY,CAAC;gBACpD,CAAC,CAAC,SAAS,CAAA;YAEf,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAC7D,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,OAAO,CACR,CAAA;YACD,OAAO,IAAI,+BAAsB,CAAC,OAAO,EAAE;gBACzC,YAAY;gBACZ,UAAU,EAAE,gBAAgB;gBAC5B,SAAS,EAAE,eAAe;aAC3B,CAAC,CAAA;SACH;IACH,CAAC;CACF;AAvFD,4DAuFC"} -\ No newline at end of file -diff --git a/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js b/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js -index 992adfa..e2120e6 100644 ---- a/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js -+++ b/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js -@@ -58,7 +58,12 @@ class DidExchangeRequestHandler { - if ((_b = connectionRecord.autoAcceptConnection) !== null && _b !== void 0 ? _b : this.connectionsModuleConfig.autoAcceptConnections) { - // TODO We should add an option to not pass routing and therefore do not rotate keys and use the keys from the invitation - // TODO: Allow rotation of keys used in the invitation for new ones not only when out-of-band is reusable -- const routing = outOfBandRecord.reusable ? await this.routingService.getRouting(agentContext) : undefined; -+ // We generate routing in two scenarios: -+ // 1. When the out-of-band invitation is reusable, as otherwise all connections use the same keys -+ // 2. When the out-of-band invitation has no inline services, as we don't want to generate a legacy did doc from a service did -+ const routing = outOfBandRecord.reusable || outOfBandRecord.outOfBandInvitation.getInlineServices().length === 0 -+ ? await this.routingService.getRouting(agentContext) -+ : undefined; - const message = await this.didExchangeProtocol.createResponse(agentContext, connectionRecord, outOfBandRecord, routing); - return new models_1.OutboundMessageContext(message, { - agentContext, -diff --git a/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js.map b/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js.map -index b3771c3..523bb47 100644 ---- a/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js.map -+++ b/node_modules/@credo-ts/core/build/modules/connections/handlers/DidExchangeRequestHandler.js.map -@@ -1 +1 @@ --{"version":3,"file":"DidExchangeRequestHandler.js","sourceRoot":"","sources":["../../../../src/modules/connections/handlers/DidExchangeRequestHandler.ts"],"names":[],"mappings":";;;AAOA,sEAAkE;AAClE,kDAA8D;AAC9D,0DAAsD;AACtD,mDAAqD;AACrD,oEAAgE;AAChE,0CAAuD;AACvD,sCAA6C;AAE7C,MAAa,yBAAyB;IAQpC,YACE,mBAAwC,EACxC,gBAAkC,EAClC,cAA8B,EAC9B,aAA4B,EAC5B,uBAAgD;QAP3C,sBAAiB,GAAG,CAAC,oCAAyB,CAAC,CAAA;QASpD,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;QACxC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAA;QACpC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAA;IACxD,CAAC;IAEM,KAAK,CAAC,MAAM,CAAC,cAAuE;;QACzF,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,cAAc,CAAA;QAEhG,IAAI,CAAC,YAAY,IAAI,CAAC,SAAS,EAAE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Ac,CAAC,cAAc,EAAE,eAAe,CAAC,CAAA;QAEvG,gFAAgF;QAChF,IAAI,SAAS,EAAE;YACb,MAAM,gBAAgB,GAAG,YAAY,CAAC,iBAAiB,CAAC,OAAO,CAAC,mCAAgB,CAAC,CAAA;YACjF,gBAAgB,CAAC,yBAAyB,CAAC,SAAS,EAAE,gBAAgB,CAAC,EAAE,CAAC,CAAA;SAC3E;QAED,IAAI,MAAA,gBAAgB,CAAC,oBAAoB,mCAAI,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,EAAE;YAC/F,yHAAyH;YACzH,yGAAyG;YACzG,MAAM,OAAO,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;YAEzG,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,cAAc,CAC3D,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,OAAO,CACR,CAAA;YACD,OAAO,IAAI,+BAAsB,CAAC,OAAO,EAAE;gBACzC,YAAY;gBACZ,UAAU,EAAE,gBAAgB;gBAC5B,SAAS,EAAE,eAAe;aAC3B,CAAC,CAAA;SACH;IACH,CAAC;CACF;AAxFD,8DAwFC"} -\ No newline at end of file -+{"version":3,"file":"DidExchangeRequestHandler.js","sourceRoot":"","sources":["../../../../src/modules/connections/handlers/DidExchangeRequestHandler.ts"],"names":[],"mappings":";;;AAOA,sEAAkE;AAClE,kDAA8D;AAC9D,0DAAsD;AACtD,mDAAqD;AACrD,oEAAgE;AAChE,0CAAuD;AACvD,sCAA6C;AAE7C,MAAa,yBAAyB;IAQpC,YACE,mBAAwC,EACxC,gBAAkC,EAClC,cAA8B,EAC9B,aAA4B,EAC5B,uBAAgD;QAP3C,sBAAiB,GAAG,CAAC,oCAAyB,CAAC,CAAA;QASpD,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAA;QAC9C,IAAI,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E,eAAe;aAC3B,CAAC,CAAA;SACH;IACH,CAAC;CACF;AA/FD,8DA+FC"} -\ No newline at end of file -diff --git a/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js b/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js -index a00bfe2..3a6b339 100644 ---- a/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js -+++ b/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js -@@ -148,9 +148,17 @@ let ConnectionService = class ConnectionService { - this.logger.debug(`Create message ${messages_2.ConnectionResponseMessage.type.messageTypeUri} start`, connectionRecord); - connectionRecord.assertState(models_1.DidExchangeState.RequestReceived); - connectionRecord.assertRole(models_1.DidExchangeRole.Responder); -- const didDoc = routing -- ? this.createDidDoc(routing) -- : this.createDidDocFromOutOfBandDidCommServices(outOfBandRecord.outOfBandInvitation.getInlineServices()); -+ let didDoc; -+ if (routing) { -+ didDoc = this.createDidDoc(routing); -+ } -+ else if (outOfBandRecord.outOfBandInvitation.getInlineServices().length > 0) { -+ didDoc = this.createDidDocFromOutOfBandDidCommServices(outOfBandRecord.outOfBandInvitation.getInlineServices()); -+ } -+ else { -+ // We don't support using a did from the OOB invitation services currently, in this case we always pass routing to this method -+ throw new error_1.CredoError('No routing provided, and no inline services found in out of band invitation. When using did services in out of band invitation, make sure to provide routing information for rotation.'); -+ } - const { did: peerDid } = await this.createDid(agentContext, { - role: DidDocumentRole_1.DidDocumentRole.Created, - didDoc, -@@ -567,6 +575,8 @@ let ConnectionService = class ConnectionService { - async createDid(agentContext, { role, didDoc }) { - // Convert the legacy did doc to a new did document - const didDocument = (0, helpers_2.convertToNewDidDocument)(didDoc); -+ // Assert that the keys we are going to use for creating a did document haven't already been used in another did document -+ await (0, helpers_2.assertNoCreatedDidExistsForKeys)(agentContext, didDocument.recipientKeys); - const peerDid = (0, peerDidNumAlgo1_1.didDocumentJsonToNumAlgo1Did)(didDocument.toJSON()); - didDocument.id = peerDid; - const didRecord = new repository_1.DidRecord({ -diff --git a/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js.map b/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js.map -index 8ee03ff..87906e2 100644 ---- a/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js.map -+++ b/node_modules/@credo-ts/core/build/modules/connections/services/ConnectionService.js.map -@@ -1 +1 @@ --{"version":3,"file":"ConnectionService.js","sourceRoot":"","sources":["../../../../src/modules/connections/services/ConnectionService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAYA,+BAAoD;AACpD,8CAAoD;AAEpD,8DAA0D;AAC1D,kDAAkE;AAClE,kDAAqD;AACrD,4CAAqC;AACrC,mGAAmH;AACnH,0CAA2C;AAE3C,8CAAqD;AACrD,oEAAgE;AAChE,4CAA+D;AAC/D,qCAAqD;AACrD,uEAAmE;AACnE,gDAAmD;AACnD,6EAAsF;AACtF,sDAAgE;AAChE,yFAAoF;AACpF,iEAA6D;AAC7D,kEAA8D;AAC9D,oEAAgE;AAChE,iDAAmD;AACnD,qDAA0D;AAC1D,oGAA+F;AAC/F,0DAA0D;AAC1D,sCAAuF;AACvF,0CAAmG;AACnG,sCASkB;AAClB,qEAAiE;AACjE,6EAAyE;AAEzE,uCAAmD;AAW5C,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAM5B,YACmC,MAAc,EAC/C,oBAA0C,EAC1C,aAA4B,EAC5B,YAA0B;QAE1B,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;QAChD,IAAI,CAAC,aAAa,GAAG,aAAa,CAAA;QAClC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,aAAa,CACxB,YAA0B,EAC1B,eAAgC,EAChC,MAA+B;QAE/B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,kBAAkB,mCAAwB,CAAC,IAAI,CAAC,cA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,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,yCAAyC;SAChD,CAAC,CACH;aACA,SAAS,CAAC,OAAO,CAAC,CAAA;QAErB,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,YAAY,CAAC,CAAA;QACjE,IAAI,WAAW,CAAC,UAAU,CAAC,EAAE;YAC3B,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;SACzB;QAED,OAAO,IAAA,qBAAc,EAAC,OAAO,CAAC,CAAA;IAChC,CAAC;CACF,CAAA;AAh1BY,iBAAiB;IAD7B,IAAA,oBAAU,GAAE;IAQR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;6CACV,2CAAoB;QAC3B,0BAAa;QACd,2BAAY;GAVjB,iBAAiB,CAg1B7B;AAh1BY,8CAAiB"} -\ No newline at end of file -+{"version":3,"file":"ConnectionService.js","sourceRoot":"","sources":["../../../../src/modules/connections/services/ConnectionService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAYA,+BAAoD;AACpD,8CAAoD;AAEpD,8DAA0D;AAC1D,kDAAkE;AAClE,kDAAqD;AACrD,4CAAqC;AACrC,mGAAmH;AACnH,0CAA2C;AAE3C,8CAAqD;AACrD,oEAAgE;AAChE,4CAA+D;AAC/D,qCAAqD;AACrD,uEAAmE;AACnE,gDAAmD;AACnD,6EAAsF;AACtF,sDAAgE;AAChE,yFAAoF;AACpF,iEAA6D;AAC7D,kEAA8D;AAC9D,oEAAgE;AAChE,iDAAmD;AACnD,qDAA0D;AAC1D,oGAA+F;AAC/F,0DAA0D;AAC1D,sCAAuF;AACvF,0CAAmG;AACnG,sCASkB;AAClB,qEAAiE;AACjE,6EAAyE;AAEzE,uCAAoF;AAW7E,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAM5B,YACmC,MAAc,EAC/C,oBAA0C,EAC1C,aAA4B,EAC5B,YAA0B;QAE1B,IAAI,CAAC,oBAAoB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oB,EACpB,SAAS,GAAG,KAAK;QAEjB,MAAM,WAAW,GAAG,CAAC,UAA4B,EAAE,EAAE;YACnD,OAAO,UAAU,CAAC,EAAE,KAAK,YAAY,IAAI,UAAU,CAAC,KAAK,KAAK,yBAAgB,CAAC,SAAS,CAAA;QAC1F,CAAC,CAAA;QAED,MAAM,UAAU,GAAG,IAAI,CAAC,YAAY,CAAC,UAAU,CAC7C,uCAAoB,CAAC,sBAAsB,CAC5C,CAAA;QACD,MAAM,OAAO,GAAG,IAAI,oBAAa,CAAmB,CAAC,CAAC,CAAA;QAEtD,UAAU;aACP,IAAI,CACH,IAAA,mCAA0B,EAAC,YAAY,CAAC,oBAAoB,CAAC,EAC7D,IAAA,eAAG,EAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,EACtC,IAAA,iBAAK,EAAC,WAAW,CAAC,EAAE,gDAAgD;QACpE,IAAA,mBAAO,EAAC;YACN,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,yCAAyC;SAChD,CAAC,CACH;aACA,SAAS,CAAC,OAAO,CAAC,CAAA;QAErB,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,YAAY,CAAC,CAAA;QACjE,IAAI,WAAW,CAAC,UAAU,CAAC,EAAE;YAC3B,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;SACzB;QAED,OAAO,IAAA,qBAAc,EAAC,OAAO,CAAC,CAAA;IAChC,CAAC;CACF,CAAA;AA31BY,iBAAiB;IAD7B,IAAA,oBAAU,GAAE;IAQR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;6CACV,2CAAoB;QAC3B,0BAAa;QACd,2BAAY;GAVjB,iBAAiB,CA21B7B;AA31BY,8CAAiB"} -\ No newline at end of file -diff --git a/node_modules/@credo-ts/core/build/modules/connections/services/helpers.d.ts b/node_modules/@credo-ts/core/build/modules/connections/services/helpers.d.ts -index e9038ee..d4eaec7 100644 ---- a/node_modules/@credo-ts/core/build/modules/connections/services/helpers.d.ts -+++ b/node_modules/@credo-ts/core/build/modules/connections/services/helpers.d.ts -@@ -3,7 +3,14 @@ import type { AgentContext } from '../../../agent'; - import type { ResolvedDidCommService } from '../../didcomm'; - import type { DidDocument, PeerDidNumAlgo } from '../../dids'; - import type { DidDoc } from '../models'; -+import { Key } from '../../../crypto'; - export declare function convertToNewDidDocument(didDoc: DidDoc): DidDocument; - export declare function routingToServices(routing: Routing): ResolvedDidCommService[]; - export declare function getDidDocumentForCreatedDid(agentContext: AgentContext, did: string): Promise; -+/** -+ * Asserts that the keys we are going to use for creating a did document haven't already been used in another did document -+ * Due to how DIDComm v1 works (only reference the key not the did in encrypted message) we can't have multiple dids containing -+ * the same key as we won't know which did (and thus which connection) a message is intended for. -+ */ -+export declare function assertNoCreatedDidExistsForKeys(agentContext: AgentContext, recipientKeys: Key[]): Promise; - export declare function createPeerDidFromServices(agentContext: AgentContext, services: ResolvedDidCommService[], numAlgo: PeerDidNumAlgo): Promise; -diff --git a/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js b/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js -index da18676..7fd37d2 100644 ---- a/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js -+++ b/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js -@@ -1,6 +1,6 @@ - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); --exports.createPeerDidFromServices = exports.getDidDocumentForCreatedDid = exports.routingToServices = exports.convertToNewDidDocument = void 0; -+exports.createPeerDidFromServices = exports.assertNoCreatedDidExistsForKeys = exports.getDidDocumentForCreatedDid = exports.routingToServices = exports.convertToNewDidDocument = void 0; - const crypto_1 = require("../../../crypto"); - const error_1 = require("../../../error"); - const dids_1 = require("../../dids"); -@@ -109,11 +109,36 @@ async function getDidDocumentForCreatedDid(agentContext, did) { - return didRecord.didDocument; - } - exports.getDidDocumentForCreatedDid = getDidDocumentForCreatedDid; -+/** -+ * Asserts that the keys we are going to use for creating a did document haven't already been used in another did document -+ * Due to how DIDComm v1 works (only reference the key not the did in encrypted message) we can't have multiple dids containing -+ * the same key as we won't know which did (and thus which connection) a message is intended for. -+ */ -+async function assertNoCreatedDidExistsForKeys(agentContext, recipientKeys) { -+ const didRepository = agentContext.dependencyManager.resolve(dids_1.DidRepository); -+ const recipientKeyFingerprints = recipientKeys.map((key) => key.fingerprint); -+ const didsForServices = await didRepository.findByQuery(agentContext, { -+ role: dids_1.DidDocumentRole.Created, -+ // We want an $or query so we query for each key individually, not one did document -+ // containing exactly the same keys as the did document we are trying to create -+ $or: recipientKeyFingerprints.map((fingerprint) => ({ -+ recipientKeyFingerprints: [fingerprint], -+ })), -+ }); -+ if (didsForServices.length > 0) { -+ const allDidRecipientKeys = didsForServices.flatMap((did) => { var _a; return (_a = did.getTags().recipientKeyFingerprints) !== null && _a !== void 0 ? _a : []; }); -+ const matchingFingerprints = allDidRecipientKeys.filter((f) => recipientKeyFingerprints.includes(f)); -+ throw new error_1.CredoError(`A did already exists for some of the keys in the provided services. DIDComm v1 uses key based routing, and therefore it is not allowed to re-use the same key in multiple did documents for DIDComm. If you use the same 'routing' object for multiple invitations, instead provide an 'invitationDid' to the create invitation method. The following fingerprints are already in use: ${matchingFingerprints.join(',')}`); -+ } -+} -+exports.assertNoCreatedDidExistsForKeys = assertNoCreatedDidExistsForKeys; - async function createPeerDidFromServices(agentContext, services, numAlgo) { - var _a; - const didsApi = agentContext.dependencyManager.resolve(dids_1.DidsApi); - // Create did document without the id property - const didDocument = (0, dids_1.createPeerDidDocumentFromServices)(services); -+ // Assert that the keys we are going to use for creating a did document haven't already been used in another did document -+ await assertNoCreatedDidExistsForKeys(agentContext, didDocument.recipientKeys); - // Register did:peer document. This will generate the id property and save it to a did record - const result = await didsApi.create({ - method: 'peer', -diff --git a/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js.map b/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js.map -index aba70ca..122b297 100644 ---- a/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js.map -+++ b/node_modules/@credo-ts/core/build/modules/connections/services/helpers.js.map -@@ -1 +1 @@ --{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../src/modules/connections/services/helpers.ts"],"names":[],"mappings":";;;AAMA,4CAA8C;AAC9C,0CAA2C;AAC3C,qCAQmB;AACnB,6EAAsF;AACtF,sCAAkD;AAElD,SAAgB,uBAAuB,CAAC,MAAc;IACpD,MAAM,kBAAkB,GAAG,IAAI,yBAAkB,CAAC,EAAE,CAAC,CAAA;IAErD,MAAM,iBAAiB,GAA8B,EAAE,CAAA;IAEvD,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QACrC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,IAAI,CAAA;QAE9B,uDAAuD;QACvD,IAAI,EAAE,CAAC,IAAI,KAAK,4BAA4B,IAAI,EAAE,CAAC,KAAK,EAAE;YACxD,MAAM,yBAAyB,GAAG,oCAAoC,CAAC,EAAE,CAAC,CAAA;YAE1E,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC,CAAA;YACnC,iBAAiB,CAAC,QAAQ,CAAC,GAAG,yBAAyB,CAAC,EAAE,CAAA;YAC1D,kBAAkB,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,EAAE,CAAC,CAAA;YAElE,mFAAmF;YACnF,gEAAgE;YAChE,IAAI,IAAI,YAAY,+BAAsB,EAAE;gBAC1C,kBAAkB,CAAC,qBAAqB,CAAC,yBAAyB,CAAC,CAAA;aACpE;SACF;IACH,CAAC,CAAC,CAAA;IAEF,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE;QAC9B,IAAI,EAAE,CAAC,IAAI,KAAK,4BAA4B,IAAI,EAAE,CAAC,KAAK,EAAE;YACxD,MAAM,yBAAyB,GAAG,oC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F,CAAC,CAAA;IAEF,IAAI,CAAA,MAAA,MAAM,CAAC,QAAQ,0CAAE,KAAK,MAAK,UAAU,EAAE;QACzC,MAAM,IAAI,kBAAU,CAAC,iCAAiC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;KACzF;IAED,OAAO,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAA;AACpC,CAAC;AAxBD,8DAwBC"} -\ No newline at end of file -+{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../src/modules/connections/services/helpers.ts"],"names":[],"mappings":";;;AAMA,4CAA8C;AAC9C,0CAA2C;AAC3C,qCASmB;AACnB,6EAAsF;AACtF,sCAAkD;AAElD,SAAgB,uBAAuB,CAAC,MAAc;IACpD,MAAM,kBAAkB,GAAG,IAAI,yBAAkB,CAAC,EAAE,CAAC,CAAA;IAErD,MAAM,iBAAiB,GAA8B,EAAE,CAAA;IAEvD,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QACrC,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,IAAI,CAAA;QAE9B,uDAAuD;QACvD,IAAI,EAAE,CAAC,IAAI,KAAK,4BAA4B,IAAI,EAAE,CAAC,KAAK,EAAE;YACxD,MAAM,yBAAyB,GAAG,oCAAoC,CAAC,EAAE,CAAC,CAAA;YAE1E,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC,CAAA;YACnC,iBAAiB,CAAC,QAAQ,CAAC,GAAG,yBAAyB,CAAC,EAAE,CAAA;YAC1D,kBAAkB,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,EAAE,CAAC,CAAA;YAElE,mFAAmF;YACnF,gEAAgE;YAChE,IAAI,IAAI,YAAY,+BAAsB,EAAE;gBAC1C,kBAAkB,CAAC,qBAAqB,CAAC,yBAAyB,CAAC,CAAA;aACpE;SACF;IACH,CAAC,CAAC,CAAA;IAEF,MAAM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QACd,WAAW;QACX,OAAO,EAAE;YACP,OAAO;SACR;KACF,CAAC,CAAA;IAEF,IAAI,CAAA,MAAA,MAAM,CAAC,QAAQ,0CAAE,KAAK,MAAK,UAAU,EAAE;QACzC,MAAM,IAAI,kBAAU,CAAC,iCAAiC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;KACzF;IAED,OAAO,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAA;AACpC,CAAC;AA3BD,8DA2BC"} -\ No newline at end of file -diff --git a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js -index d072e75..4455eb5 100644 ---- a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js -+++ b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js -@@ -49,7 +49,7 @@ let DifPresentationExchangeService = class DifPresentationExchangeService { - credentials[submission.inputDescriptorId] = []; - } - // We pick the first matching VC if we are auto-selecting -- credentials[submission.inputDescriptorId].push(submission.verifiableCredentials[0]); -+ credentials[submission.inputDescriptorId].push(submission.verifiableCredentials[0].credentialRecord); - } - } - return credentials; -diff --git a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js.map b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js.map -index b0cdfc3..23b83d1 100644 ---- a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js.map -+++ b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/DifPresentationExchangeService.js.map -@@ -1 +1 @@ --{"version":3,"file":"DifPresentationExchangeService.js","sourceRoot":"","sources":["../../../src/modules/dif-presentation-exchange/DifPresentationExchangeService.ts"],"names":[],"mappings":";;;;;;;;;;;;AA4BA,uCAAsD;AACtD,uCAAqC;AAErC,yCAA4C;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,KAAK,eAAS,CAAC,EAAE,EAAE;YACjE,+FAA+F;YAC/F,wGAAwG;YACxG,4GAA4G;SAC7G;aAAM;YACL,MAAM,IAAI,2DAA4B,CACpC,+CAA+C,6BAA6B,CAAC,OAA4B,EAAE,CAC5G,CAAA;SACF;QAED,MAAM,UAAU,GAA+C,EAAE,CAAA;QAEjE,sFAAsF;QACtF,sCAAsC;QACtC,MAAM,oBAAoB,GACxB,QAAQ,CAAC,MAAM,GAAG,CAAC;YACjB,CAAC,CAAC,MAAM,uBAAuB,CAAC,WAAW,CAAC,YAAY,EAAE;gBACtD,GAAG,EAAE,QAAQ;aACd,CAAC;YACJ,CAAC,CAAC,MAAM,uBAAuB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAA;QAExD,UAAU,CAAC,IAAI,CAAC,GAAG,oBAAoB,CAAC,CAAA;QAExC,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,CAAA;QACnD,MAAM,cAAc,GAClB,YAAY,CAAC,MAAM,GAAG,CAAC;YACrB,CAAC,CAAC,MAAM,UAAU,CAAC,cAAc,CAAC;gBAC9B,GAAG,EAAE,YAAY;aAClB,CAAC;YACJ,CAAC,CAAC,MAAM,UAAU,CAAC,MAAM,EAAE,CAAA;QAE/B,UAAU,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,CAAA;QAElC,OAAO,UAAU,CAAA;IACnB,CAAC;IAEO,aAAa,CAAC,YAA0B;QAC9C,OAAO,YAAY,CAAC,iBAAiB,CAAC,OAAO,CAAC,sBAAU,CAAC,CAAA;IAC3D,CAAC;CACF,CAAA;AA/jBY,8BAA8B;IAD1C,IAAA,qBAAU,GAAE;qCAIsC,yBAAoB;GAH1D,8BAA8B,CA+jB1C;AA/jBY,wEAA8B"} -\ No newline at end of file -+{"version":3,"file":"DifPresentationExchangeService.js","sourceRoot":"","sources":["../../../src/modules/dif-presentation-exchange/DifPresentationExchangeService.ts"],"names":[],"mappings":";;;;;;;;;;;;AA4B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,CAAA;iBACH;aACF;SACF;aAAM,IAAI,6BAA6B,CAAC,OAAO,KAAK,eAAS,CAAC,EAAE,EAAE;YACjE,+FAA+F;YAC/F,wGAAwG;YACxG,4GAA4G;SAC7G;aAAM;YACL,MAAM,IAAI,2DAA4B,CACpC,+CAA+C,6BAA6B,CAAC,OAA4B,EAAE,CAC5G,CAAA;SACF;QAED,MAAM,UAAU,GAA+C,EAAE,CAAA;QAEjE,sFAAsF;QACtF,sCAAsC;QACtC,MAAM,oBAAoB,GACxB,QAAQ,CAAC,MAAM,GAAG,CAAC;YACjB,CAAC,CAAC,MAAM,uBAAuB,CAAC,WAAW,CAAC,YAAY,EAAE;gBACtD,GAAG,EAAE,QAAQ;aACd,CAAC;YACJ,CAAC,CAAC,MAAM,uBAAuB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAA;QAExD,UAAU,CAAC,IAAI,CAAC,GAAG,oBAAoB,CAAC,CAAA;QAExC,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,CAAA;QACnD,MAAM,cAAc,GAClB,YAAY,CAAC,MAAM,GAAG,CAAC;YACrB,CAAC,CAAC,MAAM,UAAU,CAAC,cAAc,CAAC;gBAC9B,GAAG,EAAE,YAAY;aAClB,CAAC;YACJ,CAAC,CAAC,MAAM,UAAU,CAAC,MAAM,EAAE,CAAA;QAE/B,UAAU,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,CAAA;QAElC,OAAO,UAAU,CAAA;IACnB,CAAC;IAEO,aAAa,CAAC,YAA0B;QAC9C,OAAO,YAAY,CAAC,iBAAiB,CAAC,OAAO,CAAC,sBAAU,CAAC,CAAA;IAC3D,CAAC;CACF,CAAA;AA/jBY,8BAA8B;IAD1C,IAAA,qBAAU,GAAE;qCAIsC,yBAAoB;GAH1D,8BAA8B,CA+jB1C;AA/jBY,wEAA8B"} -\ No newline at end of file -diff --git a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts -index 35853d0..06b2b7c 100644 ---- a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts -+++ b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/models/DifPexCredentialsForRequest.d.ts -@@ -1,5 +1,5 @@ - import type { SdJwtVcRecord } from '../../sd-jwt-vc'; --import type { W3cCredentialRecord } from '../../vc'; -+import type { ClaimFormat, W3cCredentialRecord } from '../../vc'; - export interface DifPexCredentialsForRequest { - /** - * Whether all requirements have been satisfied by the credentials in the wallet. -@@ -97,8 +97,20 @@ export interface DifPexCredentialsForRequestSubmissionEntry { - * If the value is an empty list, it means the input descriptor could - * not be satisfied. - */ -- verifiableCredentials: Array; -+ verifiableCredentials: SubmissionEntryCredential[]; - } -+export type SubmissionEntryCredential = { -+ type: ClaimFormat.SdJwtVc; -+ credentialRecord: SdJwtVcRecord; -+ /** -+ * The payload that will be disclosed, including always disclosed attributes -+ * and disclosures for the presentation definition -+ */ -+ disclosedPayload: Record; -+} | { -+ type: ClaimFormat.JwtVc | ClaimFormat.LdpVc; -+ credentialRecord: W3cCredentialRecord; -+}; - /** - * Mapping of selected credentials for an input descriptor - */ -diff --git a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.d.ts b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.d.ts -index 6fdbfde..7e07587 100644 ---- a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.d.ts -+++ b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.d.ts -@@ -1,5 +1,5 @@ --import type { SdJwtVcRecord } from '../../sd-jwt-vc'; --import type { W3cCredentialRecord } from '../../vc'; - import type { DifPexCredentialsForRequest } from '../models'; - import type { IPresentationDefinition, PEX } from '@sphereon/pex'; -+import { SdJwtVcRecord } from '../../sd-jwt-vc'; -+import { W3cCredentialRecord } from '../../vc'; - export declare function getCredentialsForRequest(pex: PEX, presentationDefinition: IPresentationDefinition, credentialRecords: Array): Promise; -diff --git a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js -index 88bb374..972758c 100644 ---- a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js -+++ b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js -@@ -4,9 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) { - }; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.getCredentialsForRequest = void 0; -+const decode_1 = require("@sd-jwt/decode"); - const pex_models_1 = require("@sphereon/pex-models"); - const jsonpath_1 = __importDefault(require("jsonpath")); -+const error_1 = require("../../../error"); - const utils_1 = require("../../../utils"); -+const sd_jwt_vc_1 = require("../../sd-jwt-vc"); -+const vc_1 = require("../../vc"); - const DifPresentationExchangeError_1 = require("../DifPresentationExchangeError"); - const transform_1 = require("./transform"); - async function getCredentialsForRequest( -@@ -37,7 +41,26 @@ pex, presentationDefinition, credentialRecords) { - if (credentialRecordIndex === -1) { - throw new DifPresentationExchangeError_1.DifPresentationExchangeError('Unable to find credential in credential records.'); - } -- return credentialRecords[credentialRecordIndex]; -+ const credentialRecord = credentialRecords[credentialRecordIndex]; -+ if (credentialRecord instanceof sd_jwt_vc_1.SdJwtVcRecord) { -+ // selectedEncoded always string when SdJwtVcRecord -+ // Get the decoded payload from the the selected credential, this already has SD applied -+ const { decodedPayload } = (0, decode_1.decodeSdJwtVc)(selectedEncoded, utils_1.Hasher.hash); -+ return { -+ type: vc_1.ClaimFormat.SdJwtVc, -+ credentialRecord, -+ disclosedPayload: decodedPayload, -+ }; -+ } -+ else if (credentialRecord instanceof vc_1.W3cCredentialRecord) { -+ return { -+ type: credentialRecord.credential.claimFormat, -+ credentialRecord, -+ }; -+ } -+ else { -+ throw new error_1.CredoError(`Unrecognized credential record type`); -+ } - }) }); - const presentationSubmission = { - requirements: [], -diff --git a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map -index e582225..cfa894a 100644 ---- a/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map -+++ b/node_modules/@credo-ts/core/build/modules/dif-presentation-exchange/utils/credentialSelection.js.map -@@ -1 +1 @@ --{"version":3,"file":"credentialSelection.js","sourceRoot":"","sources":["../../../../src/modules/dif-presentation-exchange/utils/credentialSelection.ts"],"names":[],"mappings":";;;;;;AAUA,qDAA4C;AAC5C,wDAAwC;AAExC,0CAA6C;AAC7C,kFAA8E;AAE9E,2CAAqE;AAE9D,KAAK,UAAU,wBAAwB;AAC5C,mCAAmC;AACnC,GAAQ,EACR,sBAA+C,EAC/C,iBAA6D;;IAE7D,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,mDAAuC,EAAC,CAAC,CAAC,CAAC,CAAA;IACnG,MAAM,gBAAgB,GAAG,GAAG,CAAC,UAAU,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAAA;IAEnF,MAAM,aAAa,mCACd,gBAAgB;QACnB,uEAAuE;QACvE,oBAAoB,EAAE,MAAA,gBAAgB,CAAC,oBAAoB,0CAAE,GAAG,CAAC,CAAC,eAAe,EAAE,EAAE;YACnF,MAAM,qBAAqB,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,EAAE;gBACrE,IACE,OAAO,eAAe,KAAK,QAAQ;oBACnC,eAAe,CAAC,QAAQ,CAAC,GAAG,CAAC;oBAC7B,OAAO,OAAO,KAAK,QAAQ;oBAC3B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,EACrB;oBACA,8EAA8E;oBAC9E,8EAA8E;oB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EjE,MAAM,qBAAqB,GAA+C,EAAE,CAAA;IAE5E,KAAK,MAAM,MAAM,IAAI,KAAK,CAAC,OAAO,EAAE;QAClC,MAAM,CAAC,oBAAoB,CAAC,GAAG,kBAAE,CAAC,KAAK,CAAC,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,EAAE,MAAM,CAE7F,CAAA;QACD,qBAAqB,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAA;KACjD;IAED,OAAO,qBAAqB,CAAA;AAC9B,CAAC"} -\ No newline at end of file -+{"version":3,"file":"credentialSelection.js","sourceRoot":"","sources":["../../../../src/modules/dif-presentation-exchange/utils/credentialSelection.ts"],"names":[],"mappings":";;;;;;AASA,2CAA8C;AAC9C,qDAA4C;AAC5C,wDAAwC;AAExC,0CAA2C;AAC3C,0CAAqD;AACrD,+CAA+C;AAC/C,iCAA2D;AAC3D,kFAA8E;AAE9E,2CAAqE;AAE9D,KAAK,UAAU,wBAAwB;AAC5C,mCAAmC;AACnC,GAAQ,EACR,sBAA+C,EAC/C,iBAA6D;;IAE7D,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,mDAAuC,EAAC,CAAC,CAAC,CAAC,CAAA;IACnG,MAAM,gBAAgB,GAAG,GAAG,CAAC,UAAU,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAAA;IAEnF,MAAM,aAAa,mCACd,gBAAgB;QACnB,uEAAuE;QACvE,oBAAoB,EAAE,MAAA,gBAAgB,CAAC,oBAAoB,0CAAE,GAAG,CAAC,CAAC,eAAe,EAA6B,EAAE;YAC9G,MAAM,qBAAqB,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,EAAE;gBACrE,IACE,OAAO,eAAe,KAAK,QAAQ;oBACnC,eAAe,CAAC,QAAQ,CAAC,GAAG,CAAC;oBAC7B,OAAO,OAAO,KAAK,QAAQ;oBAC3B,OAAO,CAAC,QAAQ,CAA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AAI,EAAE,eAAe,CAAC,IAAI;QAC1B,OAAO,EAAE,eAAe,CAAC,OAAO;QAChC,qBAAqB,EAAE,EAAE;KAC1B,CAAA;IAED,8BAA8B;IAC9B,IAAI,CAAC,CAAA,yBAAyB,aAAzB,yBAAyB,uBAAzB,yBAAyB,CAAE,MAAM,CAAA;QAAE,OAAO,eAAe,CAAA;IAE9D,8EAA8E;IAC9E,4CAA4C;IAC5C,yCAAyC;IACzC,MAAM,qBAAqB,GAAG,yBAAyB,CAAC,OAAO,CAAC,CAAC,uBAAuB,EAAE,EAAE,CAC1F,2BAA2B,CAAC,uBAAuB,EAAE,aAAa,CAAC,oBAAoB,CAAC,CACzF,CAAA;IAED,eAAe,CAAC,qBAAqB,GAAG,qBAAqB,CAAA;IAE7D,OAAO,eAAe,CAAA;AACxB,CAAC;AAED,SAAS,2BAA2B,CAClC,KAAiC,EACjC,oBAAkD;IAElD,MAAM,qBAAqB,GAAgC,EAAE,CAAA;IAE7D,KAAK,MAAM,MAAM,IAAI,KAAK,CAAC,OAAO,EAAE;QAClC,MAAM,CAAC,oBAAoB,CAAC,GAAG,kBAAE,CAAC,KAAK,CACrC,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,EAC9C,MAAM,CACwB,CAAA;QAChC,qBAAqB,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAA;KACjD;IAED,OAAO,qBAAqB,CAAA;AAC9B,CAAC"} -\ No newline at end of file -diff --git a/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js b/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js -index 7b30478..ef714ce 100644 ---- a/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js -+++ b/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js -@@ -71,6 +71,7 @@ let V2MessagePickupProtocol = class V2MessagePickupProtocol extends BaseMessageP - } - const attachments = messagesToDeliver.map((msg) => new Attachment_1.Attachment({ - id: msg.id, -+ lastmodTime: msg.receivedAt, - data: { - json: msg.encryptedMessage, - }, -@@ -122,6 +123,7 @@ let V2MessagePickupProtocol = class V2MessagePickupProtocol extends BaseMessageP - }); - const attachments = messages.map((msg) => new Attachment_1.Attachment({ - id: msg.id, -+ lastmodTime: msg.receivedAt, - data: { - json: msg.encryptedMessage, - }, -@@ -222,6 +224,7 @@ let V2MessagePickupProtocol = class V2MessagePickupProtocol extends BaseMessageP - payload: { - message: attachment.getDataAsJson(), - contextCorrelationId: messageContext.agentContext.contextCorrelationId, -+ receivedAt: attachment.lastmodTime, - }, - }); - } -diff --git a/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map b/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map -index cf7825b..9b36c9b 100644 ---- a/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map -+++ b/node_modules/@credo-ts/core/build/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.js.map -@@ -1 +1 @@ --{"version":3,"file":"V2MessagePickupProtocol.js","sourceRoot":"","sources":["../../../../../src/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.ts"],"names":[],"mappings":";;;;;;;;;AAkBA,iEAA6D;AAC7D,qDAA0D;AAC1D,qDAA2E;AAC3E,qDAAwD;AACxD,6EAAyE;AACzE,iDAAgD;AAChD,mDAAsD;AACtD,8DAA6D;AAC7D,kDAAmE;AACnE,mEAAmE;AACnE,+EAA2E;AAC3E,qEAAqE;AACrE,6CAA4D;AAC5D,4EAAwE;AAExE,yCAOmB;AACnB,yCAOmB;AAGZ,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,qDAAyB;IAA/D;;QACL;;WAEG;QACa,YAAO,GAAG,IAAa,CAAA;IAsRzC,CAAC;IApRC;;OAEG;IACI,QAAQ,CAAC,iBAAoC,EAAE,eAAgC;Q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EAAE,cAAc,CAAC,YAAY,CAAC,oBAAoB;iBACvE;aACF,CAAC,CAAA;SACH;QAED,OAAO,IAAI,oCAAyB,CAAC;YACnC,aAAa,EAAE,GAAG;SACnB,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AA1RY,uBAAuB;IADnC,IAAA,oBAAU,GAAE;GACA,uBAAuB,CA0RnC;AA1RY,0DAAuB"} -\ No newline at end of file -+{"version":3,"file":"V2MessagePickupProtocol.js","sourceRoot":"","sources":["../../../../../src/modules/message-pickup/protocol/v2/V2MessagePickupProtocol.ts"],"names":[],"mappings":";;;;;;;;;AAkBA,iEAA6D;AAC7D,qDAA0D;AAC1D,qDAA2E;AAC3E,qDAAwD;AACxD,6EAAyE;AACzE,iDAAgD;AAChD,mDAAsD;AACtD,8DAA6D;AAC7D,kDAAmE;AACnE,mEAAmE;AACnE,+EAA2E;AAC3E,qEAAqE;AACrE,6CAA4D;AAC5D,4EAAwE;AAExE,yCAOmB;AACnB,yCAOmB;AAGZ,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,qDAAyB;IAA/D;;QACL;;WAEG;QACa,YAAO,GAAG,IAAa,CAAA;IAyRzC,CAAC;IAvRC;;OAEG;IACI,QAAQ,CAAC,iBAAoC,EAAE,eAAgC;QACpF,iBAAiB,CAAC,uBAAuB,CAAC;YACxC,IAAI,iCAAsB,CAAC,IAAI,CAAC;YAChC,IAAI,mCAAwB,CAAC,IAAI,CAAC;YAClC,IAAI,oCAAyB,CAAC,IAAI,CAAC;YACnC,IAAI,0BAAe,CAAC,IAAI,CAAC;YACzB,IAAI,mCAAwB,CAAC,IAAI,CAAC;YAClC,IAAI,sCAA2B,CAAC,IAAI,CAAC;SACtC,CAAC,CAAA;QAEF,eAAe,CAAC,QAAQ,CACtB,IAAI,iBAAQ,CAAC;YACX,EAAE,EAAE,uCAAuC;YAC3C,KAAK,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC;SACjC,CAAC,CACH,CAAA;IACH,CAAC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core/build/modules/message-pickup/storage/QueuedMessage.d.ts -index 4eddcb4..e2cff56 100644 ---- a/node_modules/@credo-ts/core/build/modules/message-pickup/storage/QueuedMessage.d.ts -+++ b/node_modules/@credo-ts/core/build/modules/message-pickup/storage/QueuedMessage.d.ts -@@ -1,5 +1,12 @@ - import type { EncryptedMessage } from '../../../types'; -+/** -+ * Basic representation of an encrypted message in a Message Pickup Queue -+ * - id: Message Pickup repository's specific queued message id (unrelated to DIDComm message id) -+ * - receivedAt: reception time (i.e. time when the message has been added to the queue) -+ * - encryptedMessage: packed message -+ */ - export type QueuedMessage = { - id: string; -+ receivedAt?: Date; - encryptedMessage: EncryptedMessage; - }; -diff --git a/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.d.ts b/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.d.ts -index 7bc117b..809ca30 100644 ---- a/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.d.ts -+++ b/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.d.ts -@@ -26,6 +26,10 @@ export interface CreateOutOfBandInvitationConfig { - autoAcceptConnection?: boolean; - routing?: Routing; - appendedAttachments?: Attachment[]; -+ /** -+ * Did to use in the invitation. Cannot be used in combination with `routing`. -+ */ -+ invitationDid?: string; - } - export interface CreateLegacyInvitationConfig { - label?: string; -@@ -266,6 +270,7 @@ export declare class OutOfBandApi { - private emitWithServices; - private ensureParentThreadId; - private handleHandshakeReuse; -+ private resolveInvitationRecipientKeyFingerprints; - private registerMessageHandlers; - } - export {}; -diff --git a/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js b/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js -index f611696..8bcdcdc 100644 ---- a/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js -+++ b/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js -@@ -104,16 +104,27 @@ let OutOfBandApi = class OutOfBandApi { - // Find supported handshake protocol preserving the order of handshake protocols defined by agent or in config - handshakeProtocols = this.getSupportedHandshakeProtocols(customHandshakeProtocols).map((p) => p.parsedProtocolUri.protocolUri); - } -- const routing = (_f = config.routing) !== null && _f !== void 0 ? _f : (await this.routingService.getRouting(this.agentContext, {})); -- const services = routing.endpoints.map((endpoint, index) => { -- return new OutOfBandDidCommService_1.OutOfBandDidCommService({ -- id: `#inline-${index}`, -- serviceEndpoint: endpoint, -- recipientKeys: [routing.recipientKey].map((key) => new dids_1.DidKey(key).did), -- routingKeys: routing.routingKeys.map((key) => new dids_1.DidKey(key).did), -+ let mediatorId = undefined; -+ let services; -+ if (config.routing && config.invitationDid) { -+ throw new error_1.CredoError("Both 'routing' and 'invitationDid' cannot be provided at the same time."); -+ } -+ if (config.invitationDid) { -+ services = [config.invitationDid]; -+ } -+ else { -+ const routing = (_f = config.routing) !== null && _f !== void 0 ? _f : (await this.routingService.getRouting(this.agentContext, {})); -+ mediatorId = routing === null || routing === void 0 ? void 0 : routing.mediatorId; -+ services = routing.endpoints.map((endpoint, index) => { -+ return new OutOfBandDidCommService_1.OutOfBandDidCommService({ -+ id: `#inline-${index}`, -+ serviceEndpoint: endpoint, -+ recipientKeys: [routing.recipientKey].map((key) => new dids_1.DidKey(key).did), -+ routingKeys: routing.routingKeys.map((key) => new dids_1.DidKey(key).did), -+ }); - }); -- }); -- const options = { -+ } -+ const outOfBandInvitation = new messages_1.OutOfBandInvitation({ - label, - goal: config.goal, - goalCode: config.goalCode, -@@ -122,8 +133,7 @@ let OutOfBandApi = class OutOfBandApi { - services, - handshakeProtocols, - appendedAttachments, -- }; -- const outOfBandInvitation = new messages_1.OutOfBandInvitation(options); -+ }); - if (messages) { - messages.forEach((message) => { - if (message.service) { -@@ -133,8 +143,9 @@ let OutOfBandApi = class OutOfBandApi { - outOfBandInvitation.addRequest(message); - }); - } -+ const recipientKeyFingerprints = await this.resolveInvitationRecipientKeyFingerprints(outOfBandInvitation); - const outOfBandRecord = new OutOfBandRecord_1.OutOfBandRecord({ -- mediatorId: routing.mediatorId, -+ mediatorId: mediatorId, - role: OutOfBandRole_1.OutOfBandRole.Sender, - state: OutOfBandState_1.OutOfBandState.AwaitResponse, - alias: config.alias, -@@ -142,9 +153,7 @@ let OutOfBandApi = class OutOfBandApi { - reusable: multiUseInvitation, - autoAcceptConnection, - tags: { -- recipientKeyFingerprints: services -- .reduce((aggr, { recipientKeys }) => [...aggr, ...recipientKeys], []) -- .map((didKey) => dids_1.DidKey.fromDid(didKey).key.fingerprint), -+ recipientKeyFingerprints, - }, - }); - await this.outOfBandService.save(this.agentContext, outOfBandRecord); -@@ -296,20 +305,7 @@ let OutOfBandApi = class OutOfBandApi { - throw new error_1.CredoError(`An out of band record with invitation ${outOfBandInvitation.id} has already been received. Invitations should have a unique id.`); - } - } -- const recipientKeyFingerprints = []; -- for (const service of outOfBandInvitation.getServices()) { -- // Resolve dids to DIDDocs to retrieve services -- if (typeof service === 'string') { -- this.logger.debug(`Resolving services for did ${service}.`); -- const resolvedDidCommServices = await this.didCommDocumentService.resolveServicesFromDid(this.agentContext, service); -- recipientKeyFingerprints.push(...resolvedDidCommServices -- .reduce((aggr, { recipientKeys }) => [...aggr, ...recipientKeys], []) -- .map((key) => key.fingerprint)); -- } -- else { -- recipientKeyFingerprints.push(...service.recipientKeys.map((didKey) => dids_1.DidKey.fromDid(didKey).key.fingerprint)); -- } -- } -+ const recipientKeyFingerprints = await this.resolveInvitationRecipientKeyFingerprints(outOfBandInvitation); - const outOfBandRecord = new OutOfBandRecord_1.OutOfBandRecord({ - role: OutOfBandRole_1.OutOfBandRole.Receiver, - state: OutOfBandState_1.OutOfBandState.Initial, -@@ -512,10 +508,13 @@ let OutOfBandApi = class OutOfBandApi { - async deleteById(outOfBandId) { - const outOfBandRecord = await this.getById(outOfBandId); - const relatedConnections = await this.connectionsApi.findAllByOutOfBandId(outOfBandId); -- // If it uses mediation and there are no related connections, proceed to delete keys from mediator -+ // If it uses mediation and there are no related connections, AND we didn't use a did in the invitation -+ // (if that is the case the did is managed outside of this exchange) proceed to delete keys from mediator - // Note: if OOB Record is reusable, it is safe to delete it because every connection created from - // it will use its own recipient key -- if (outOfBandRecord.mediatorId && (relatedConnections.length === 0 || outOfBandRecord.reusable)) { -+ if (outOfBandRecord.mediatorId && -+ outOfBandRecord.outOfBandInvitation.getDidServices().length === 0 && -+ (relatedConnections.length === 0 || outOfBandRecord.reusable)) { - const recipientKeys = outOfBandRecord.getTags().recipientKeyFingerprints.map((item) => crypto_1.Key.fromFingerprint(item)); - await this.routingService.removeRouting(this.agentContext, { - recipientKeys, -@@ -679,6 +678,23 @@ let OutOfBandApi = class OutOfBandApi { - await this.messageSender.sendMessage(outboundMessageContext); - return reuseAcceptedEventPromise; - } -+ async resolveInvitationRecipientKeyFingerprints(outOfBandInvitation) { -+ const recipientKeyFingerprints = []; -+ for (const service of outOfBandInvitation.getServices()) { -+ // Resolve dids to DIDDocs to retrieve services -+ if (typeof service === 'string') { -+ this.logger.debug(`Resolving services for did ${service}.`); -+ const resolvedDidCommServices = await this.didCommDocumentService.resolveServicesFromDid(this.agentContext, service); -+ recipientKeyFingerprints.push(...resolvedDidCommServices -+ .reduce((aggr, { recipientKeys }) => [...aggr, ...recipientKeys], []) -+ .map((key) => key.fingerprint)); -+ } -+ else { -+ recipientKeyFingerprints.push(...service.recipientKeys.map((didKey) => dids_1.DidKey.fromDid(didKey).key.fingerprint)); -+ } -+ } -+ return recipientKeyFingerprints; -+ } - // TODO: we should probably move these to the out of band module and register the handler there - registerMessageHandlers(messageHandlerRegistry) { - messageHandlerRegistry.registerMessageHandler(new handlers_1.HandshakeReuseHandler(this.outOfBandService)); -diff --git a/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js.map b/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js.map -index 893551d..62347f2 100644 ---- a/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js.map -+++ b/node_modules/@credo-ts/core/build/modules/oob/OutOfBandApi.js.map -@@ -1 +1 @@ --{"version":3,"file":"OutOf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GAAE;IAoBR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAPR,+CAAsB;QACtB,gCAAsB;QAC5B,mCAAgB;QAClB,+BAAc;QACd,4BAAc;QACf,6BAAa;QACd,2BAAY,UAEZ,oBAAY;GApBjB,YAAY,CA40BxB;AA50BY,oCAAY"} -\ No newline at end of file -+{"version":3,"file":"OutOfBandApi.js","sourceRoot":"","sources":["../../../src/modules/oob/OutOfBandApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,+BAAsF;AAEtF,uCAA0C;AAC1C,2DAAuD;AACvD,+CAAgF;AAChF,+EAA2E;AAC3E,6DAAyD;AACzD,+CAA2D;AAC3D,+CAAkD;AAClD,yCAAkC;AAClC,gFAA4E;AAC5E,uCAAwC;AAExC,2CAAkD;AAClD,uCAA0D;AAC1D,yDAKgC;AAChC,iEAAqE;AACrE,gDAAoF;AACpF,wCAAmD;AACnD,kCAAgC;AAChC,uEAAmE;AAEnE,yDAAqD;AACrD,8EAA0E;AAC1E,8DAA8D;AAC9D,0DAAsD;AACtD,4DAAwD;AACxD,yCAAkD;AAClD,4FAAwF;AACxF,uCAA0E;AAC1E,yCAAgE;AAChE,6CAAkD;AAClD,kEAA8D;AAC9D,4FAAuF;AAEvF,MAAM,eAAe,GAAG,CAAC,cAAc,EAAE,wBAAwB,CAAC,CAAA;AAqD3D,IAAM,YAAY,GAAlB,MAAM,YAAY;IAWvB,YACE,sBAA8C,EAC9C,sBAA8C,EAC9C,gBAAkC,EAClC,cAA8B,EAC9B,cAA8B,EAC9B,aAA4B,EAC5B,YAA0B,EACO,MAAc,EAC/C,YAA0B;QAE1B,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAA;QACpD,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAA;QACpD,IAAI,CAAC,YAAY,GAAG,YAAY,CAAA;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,gBAA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,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,CAAC,CACjC,CAAA;aACF;iBAAM;gBACL,wBAAwB,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAA;aAChH;SACF;QAED,OAAO,wBAAwB,CAAA;IACjC,CAAC;IAED,+FAA+F;IACvF,uBAAuB,CAAC,sBAA8C;QAC5E,sBAAsB,CAAC,sBAAsB,CAAC,IAAI,gCAAqB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAA;QAC/F,sBAAsB,CAAC,sBAAsB,CAAC,IAAI,6DAA6B,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAA;IACzG,CAAC;CACF,CAAA;AA/1BY,YAAY;IADxB,IAAA,oBAAU,GAAE;IAoBR,WAAA,IAAA,gBAAM,EAAC,4BAAgB,CAAC,MAAM,CAAC,CAAA;qCAPR,+CAAsB;QACtB,gCAAsB;QAC5B,mCAAgB;QAClB,+BAAc;QACd,4BAAc;QACf,6BAAa;QACd,2BAAY,UAEZ,oBAAY;GApBjB,YAAY,CA+1BxB;AA/1BY,oCAAY"} -\ No newline at end of file -diff --git a/node_modules/@credo-ts/core/build/modules/routing/messages/ForwardMessage.d.ts b/node_modules/@credo-ts/core/build/modules/routing/messages/ForwardMessage.d.ts -index 396f78a..4f8577b 100644 ---- a/node_modules/@credo-ts/core/build/modules/routing/messages/ForwardMessage.d.ts -+++ b/node_modules/@credo-ts/core/build/modules/routing/messages/ForwardMessage.d.ts -@@ -3,7 +3,6 @@ import { EncryptedMessage } from '../../../types'; - export interface ForwardMessageOptions { - id?: string; - to: string; -- messageType: string; - message: EncryptedMessage; - } - /** -@@ -20,6 +19,5 @@ export declare class ForwardMessage extends AgentMessage { - readonly type: string; - static readonly type: import("../../../utils/messageType").ParsedMessageType; - to: string; -- messageType: string; - message: EncryptedMessage; - } -diff --git a/node_modules/@credo-ts/core/build/types.d.ts b/node_modules/@credo-ts/core/build/types.d.ts -index 0a669fb..e0384d9 100644 ---- a/node_modules/@credo-ts/core/build/types.d.ts -+++ b/node_modules/@credo-ts/core/build/types.d.ts -@@ -81,7 +81,6 @@ export interface PlaintextMessage { - thid?: string; - pthid?: string; - }; -- messageType: string; - [key: string]: unknown; - } - export interface OutboundPackage { \ No newline at end of file diff --git a/samples/cliConfig.json b/samples/cliConfig.json index 4b274743..5b1b80c7 100644 --- a/samples/cliConfig.json +++ b/samples/cliConfig.json @@ -39,8 +39,8 @@ "autoAcceptMediationRequests": false, "adminPort": 4001, "tenancy": true, - "didRegistryContractAddress": "0xc087766218b885C6283072BA316a2Bc31B5c17db", - "schemaManagerContractAddress": "0xD6f235F1159970211B3628CbC15e6c75D4Fb6e6e", + "didRegistryContractAddress": "0xC1c392DC1073a86821B4ae37f1F0faCDcFFf45bF", + "schemaManagerContractAddress": "0x289c7Bd4C7d38cC54bff370d6f9f01b74Df51b11", "rpcUrl": "https://rpc-amoy.polygon.technology", "fileServerUrl": "https://schema.credebl.id/", "fileServerToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJBeWFuV29ya3MiLCJpZCI6ImNhZDI3ZjhjLTMyNWYtNDRmZC04ZmZkLWExNGNhZTY3NTMyMSJ9.I3IR7abjWbfStnxzn1BhxhV0OEzt1x3mULjDdUcgWHk" diff --git a/src/cliAgent.ts b/src/cliAgent.ts index ba00685d..c07b0506 100644 --- a/src/cliAgent.ts +++ b/src/cliAgent.ts @@ -176,8 +176,8 @@ const getModules = (networkConfig: [IndyVdrPoolConfig, ...IndyVdrPoolConfig[]]) questionAnswer: new QuestionAnswerModule(), polygon: new PolygonModule({ - didContractAddress: '0xc087766218b885C6283072BA316a2Bc31B5c17db', - schemaManagerContractAddress: '0xD6f235F1159970211B3628CbC15e6c75D4Fb6e6e', + didContractAddress: '0xC1c392DC1073a86821B4ae37f1F0faCDcFFf45bF', + schemaManagerContractAddress: '0x289c7Bd4C7d38cC54bff370d6f9f01b74Df51b11', fileServerToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJBeWFuV29ya3MiLCJpZCI6ImNhZDI3ZjhjLTMyNWYtNDRmZC04ZmZkLWExNGNhZTY3NTMyMSJ9.I3IR7abjWbfStnxzn1BhxhV0OEzt1x3mULjDdUcgWHk', rpcUrl: 'https://rpc-amoy.polygon.technology', diff --git a/src/routes/routes.ts b/src/routes/routes.ts index 2f3e4c10..59b6052b 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -132,6 +132,7 @@ const models: TsoaRoute.Models = { "@type": {"dataType":"string","required":true}, "@id": {"dataType":"string","required":true}, "~thread": {"dataType":"nestedObjectLiteral","nestedProperties":{"pthid":{"dataType":"string"},"thid":{"dataType":"string"}}}, + "messageType": {"dataType":"string","required":true}, }, "additionalProperties": {"dataType":"any"}, }, diff --git a/src/routes/swagger.json b/src/routes/swagger.json index c7b79583..914d405d 100644 --- a/src/routes/swagger.json +++ b/src/routes/swagger.json @@ -287,11 +287,15 @@ } }, "type": "object" + }, + "messageType": { + "type": "string" } }, "required": [ "@type", - "@id" + "@id", + "messageType" ], "type": "object", "additionalProperties": {} diff --git a/yarn.lock b/yarn.lock index 0bcb84ec..855bbc59 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@2060.io/ffi-napi@4.0.8", "@2060.io/ffi-napi@^4.0.8": - version "4.0.8" - resolved "https://registry.yarnpkg.com/@2060.io/ffi-napi/-/ffi-napi-4.0.8.tgz#ec3424d9ec979491b41b8d82514ae82a647da8b0" - integrity sha512-sONRKLtxFKN5PXuZaa41b/kTN+R5qAh6PAL15/fnafnvAKQ5WBoxRIy8xRh8jo9mydywtt4IrWtatB93w0+3cA== +"@2060.io/ffi-napi@^4.0.9": + version "4.0.9" + resolved "https://registry.yarnpkg.com/@2060.io/ffi-napi/-/ffi-napi-4.0.9.tgz#194fca2132932ba02e62d716c786d20169b20b8d" + integrity sha512-JfVREbtkJhMXSUpya3JCzDumdjeZDCKv4PemiWK+pts5CYgdoMidxeySVlFeF5pHqbBpox4I0Be7sDwAq4N0VQ== dependencies: "@2060.io/ref-napi" "^3.0.6" debug "^4.1.1" @@ -14,7 +14,7 @@ node-gyp-build "^4.2.1" ref-struct-di "^1.1.0" -"@2060.io/ref-napi@3.0.6", "@2060.io/ref-napi@^3.0.6": +"@2060.io/ref-napi@^3.0.6": version "3.0.6" resolved "https://registry.yarnpkg.com/@2060.io/ref-napi/-/ref-napi-3.0.6.tgz#32b1a257cada096f95345fd7abae746385ecc5dd" integrity sha512-8VAIXLdKL85E85jRYpPcZqATBL6fGnC/XjBGNeSgRSMJtrAMSmfRksqIq5AmuZkA2eeJXMWCiN6UQOUdozcymg== @@ -49,27 +49,27 @@ dependencies: static-eval "2.0.2" -"@ayanworks/credo-polygon-w3c-module@0.0.2-alpha.7": - version "0.0.2-alpha.7" - resolved "https://registry.yarnpkg.com/@ayanworks/credo-polygon-w3c-module/-/credo-polygon-w3c-module-0.0.2-alpha.7.tgz#003e09a4249a4618da914d3504ffafb522c74133" - integrity sha512-AK9rBqFYUvV8/VaD/X7b+/simfasbPuUgJCi1L1V4SIc2lJhJ2cxaI8OdEv5V1xBytmBdSC+THfSaKg0py3QRA== - dependencies: - "@ayanworks/polygon-did-registrar" "0.0.16-alpha.16" - "@ayanworks/polygon-did-resolver" "0.0.16-alpha.11" - "@ayanworks/polygon-schema-manager" "0.0.2-alpha.6" - "@credo-ts/askar" "0.5.1" - "@credo-ts/core" "0.5.1" +"@ayanworks/credo-polygon-w3c-module@0.0.2-alpha.8": + version "0.0.2-alpha.8" + resolved "https://registry.yarnpkg.com/@ayanworks/credo-polygon-w3c-module/-/credo-polygon-w3c-module-0.0.2-alpha.8.tgz#1d9f38cde0ba7ef2c09c805e390eab5928147c1c" + integrity sha512-E0kThegDCKo9MnOpYcxmGbMNixJY/MhiCvmFVss8uE1AyuQvbQJ6CZ5BVZungn1eyn/nipm6qiwvvk7Vf5dprA== + dependencies: + "@ayanworks/polygon-did-registrar" "0.0.16-alpha.18" + "@ayanworks/polygon-did-resolver" "0.0.16-alpha.13" + "@ayanworks/polygon-schema-manager" "0.0.2-alpha.7" + "@credo-ts/askar" "0.5.3" + "@credo-ts/core" "0.5.3" did-resolver "^4.1.0" ethers "^6.9.0" -"@ayanworks/polygon-did-registrar@0.0.16-alpha.16": - version "0.0.16-alpha.16" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registrar/-/polygon-did-registrar-0.0.16-alpha.16.tgz#8467412a8138ffb8b2305bf4ea7914a4ce979267" - integrity sha512-q3Y1bzeHmCAxRpbA6rXKaO9CQhLjlP4aMZuJxYiiicPlQ6plkRt+Icxdp1ozsCEcMouj3l4E5kgzjK48bhOxrw== +"@ayanworks/polygon-did-registrar@0.0.16-alpha.18": + version "0.0.16-alpha.18" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registrar/-/polygon-did-registrar-0.0.16-alpha.18.tgz#69a737ea159218373e5add5fccc8b47311ade9dc" + integrity sha512-vXD2ClM36QeiKoq6kYsOg74K8ht795eQg+z2bMELdSrKytTDTD2gYnxG1u1eZ4mKPLJHE/WFv01roxNNrZE7xA== dependencies: - "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.3" - "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.11" - "@credo-ts/core" "0.5.1" + "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4" + "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.13" + "@credo-ts/core" "0.5.3" "@ethersproject/basex" "^5.7.0" "@ethersproject/signing-key" "^5.7.0" "@ethersproject/transactions" "^5.7.0" @@ -78,27 +78,27 @@ ethers "^6.9.0" uuid "^9.0.1" -"@ayanworks/polygon-did-registry-contract@2.0.1-alpha.3": - version "2.0.1-alpha.3" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registry-contract/-/polygon-did-registry-contract-2.0.1-alpha.3.tgz#7bb932b712a4c48df857682f27adfb08154c4358" - integrity sha512-8FZZVAmzXZn0pjZasuxdRblL0obK91JoaoXzpM4oZ7hD5VRUbiWf7BTh17WsWc6Oaf6XtafT4csuBo11fZiUoQ== +"@ayanworks/polygon-did-registry-contract@2.0.1-alpha.4": + version "2.0.1-alpha.4" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registry-contract/-/polygon-did-registry-contract-2.0.1-alpha.4.tgz#5691d61f322959201813fe7ff2bd2234c8e7af72" + integrity sha512-a35EtcPyLyKjq0y0uqi7uHXPeoMMSoC2oai88xY2PlLV9avQwyCIOaVsIKcuKdJaPWPmFQaeU5S7iY/pfVguWQ== -"@ayanworks/polygon-did-resolver@0.0.16-alpha.11", "@ayanworks/polygon-did-resolver@^0.0.16-alpha.11": - version "0.0.16-alpha.11" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-0.0.16-alpha.11.tgz#fe115f9a63eea5e0604712549e9c573dcef7d55c" - integrity sha512-rQ6iVz0uht/hLkYA29E2iHN7xW0EusG6ognndBJF0QUxuPBB2kbmcr/4kW1E1m8FJLPvmEX/ed5v0pbBnGSJwA== +"@ayanworks/polygon-did-resolver@0.0.16-alpha.13", "@ayanworks/polygon-did-resolver@^0.0.16-alpha.13": + version "0.0.16-alpha.13" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-0.0.16-alpha.13.tgz#24a0e0c674dde0d64fa5f4767c5368f791abbab3" + integrity sha512-8SRDPQpX/AU1xfmH2O7DzqeDtPdE1FA3z7ONp/v1xvP1h00GU2nKie4jeWHipCVfJOInEmiJbl0FIKFcviERsA== dependencies: - "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.3" + "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4" did-resolver "^4.1.0" ethers "^5.1.0" -"@ayanworks/polygon-schema-manager@0.0.2-alpha.6": - version "0.0.2-alpha.6" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-schema-manager/-/polygon-schema-manager-0.0.2-alpha.6.tgz#a872afc1166e39561dba63f0ba83f898376bb874" - integrity sha512-H8W0eS//Q3eDCiwtEqfqPhGW3bRLWOkJU1EYOuiwZGaIuZb4kWbYqAGdgl0s5g0ZP1rjirk4Ztx1w10cWqsZWw== +"@ayanworks/polygon-schema-manager@0.0.2-alpha.7": + version "0.0.2-alpha.7" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-schema-manager/-/polygon-schema-manager-0.0.2-alpha.7.tgz#79b975e7f6524d86030b4a38453ea5c33079882a" + integrity sha512-XKHgvh7IT0pUuypeoPuf2pcSUlvpezjDTLie4ayncPWb1FI5drS6RvtiiHvZ2HTVQU7/PBldM6lCNLt4kvnV6A== dependencies: - "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.3" - "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.11" + "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4" + "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.13" "@nomicfoundation/hardhat-verify" "^2.0.3" axios "^1.6.3" did-resolver "^4.1.0" @@ -603,45 +603,47 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@credo-ts/anoncreds@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/anoncreds/-/anoncreds-0.5.1.tgz#d1ba19e5764e1de5982a0a7e51cd5bc1badce6ad" - integrity sha512-d97wELxvt7jOqgr21FOVfFqHFSu487L+qF0QObOVCl9xElsST9sYl1iaRPHHW2GzYUMWLlnSwZm8fN4pLo9UVA== +"@credo-ts/anoncreds@0.5.3": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@credo-ts/anoncreds/-/anoncreds-0.5.3.tgz#3e6775b461fc34e377bebe2c0ca53c34ee630a26" + integrity sha512-NXkmbBnWEHnzorbXJ/4VlDZtdz9LrDfojPqX0ZZNIfGiV7K8/uuFHjr8LIPbzjfIsJiaL9VSxnoejHFkTOoilQ== dependencies: "@astronautlabs/jsonpath" "^1.1.2" - "@credo-ts/core" "0.5.1" + "@credo-ts/core" "0.5.3" big-integer "^1.6.51" bn.js "^5.2.1" class-transformer "0.5.1" class-validator "0.14.1" reflect-metadata "^0.1.13" -"@credo-ts/askar@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/askar/-/askar-0.5.1.tgz#107d2f91f6afecb77fc7f24556725ec0e7597989" - integrity sha512-O3XWnmpnEe5U/a0kGQHigzXPw6/SXKp2v4ob3DJdHA0kiK3DywANNeG/Hw44lxdg24nNpizmVlO5EjRa6ULcmw== +"@credo-ts/askar@0.5.3": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@credo-ts/askar/-/askar-0.5.3.tgz#53eaddd6247bbf0aabea436e722d646a0a603e2b" + integrity sha512-AegnSygDAiY77cgidxNAb/ROeGtCNFo2L0nvxXs5MqBIGreT/+llslc5+/FIHDsDfUNB70Y/KK2qsLTVU3MtRg== dependencies: - "@credo-ts/core" "0.5.1" + "@credo-ts/core" "0.5.3" bn.js "^5.2.1" class-transformer "0.5.1" class-validator "0.14.1" rxjs "^7.8.0" tsyringe "^4.8.0" -"@credo-ts/core@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/core/-/core-0.5.1.tgz#bb38e2f5451753cea1d3a73b1d407255af02c4ed" - integrity sha512-ywwFw6wwiMft3A994Y91LAm8CrEg2G7CJQRyLD8UzneU4coMWZTeED63thAEX6XK/tyDmv2MAcrO04hE3KQPcA== +"@credo-ts/core@0.5.3": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@credo-ts/core/-/core-0.5.3.tgz#cccbce993acbe7651fb397e7a0933ffde3246027" + integrity sha512-bM9iNhhXWiJ4YdH5uqaIfK3XhZ6GjuzF0AwE1vMy586sZz05J1ZLQvIYzRpm/p3Buxj9rimnLrc4jcYNit0VUw== dependencies: "@digitalcredentials/jsonld" "^6.0.0" "@digitalcredentials/jsonld-signatures" "^9.4.0" "@digitalcredentials/vc" "^6.0.1" "@multiformats/base-x" "^4.0.1" - "@sd-jwt/core" "^0.2.1" - "@sd-jwt/decode" "^0.2.1" - "@sphereon/pex" "3.3.0" - "@sphereon/pex-models" "^2.2.2" - "@sphereon/ssi-types" "^0.18.1" + "@sd-jwt/core" "^0.6.1" + "@sd-jwt/decode" "^0.6.1" + "@sd-jwt/types" "^0.6.1" + "@sd-jwt/utils" "^0.6.1" + "@sphereon/pex" "^3.3.2" + "@sphereon/pex-models" "^2.2.4" + "@sphereon/ssi-types" "^0.23.0" "@stablelib/ed25519" "^1.0.2" "@stablelib/sha256" "^1.0.1" "@types/ws" "^8.5.4" @@ -665,22 +667,22 @@ varint "^6.0.0" web-did-resolver "^2.0.21" -"@credo-ts/indy-vdr@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/indy-vdr/-/indy-vdr-0.5.1.tgz#1fe4719235f3e586e770e57aa46bba7182d53c10" - integrity sha512-pXRAKzLlwijaNaCOPheV9dHeZm0FAfiJw9kYEvpjBn+d/ARygb92kr9lJizUGK3cPtF9dbhrNBuLWwskM39fCw== +"@credo-ts/indy-vdr@0.5.3": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@credo-ts/indy-vdr/-/indy-vdr-0.5.3.tgz#14c1fbe77b77f7214ee66807e4011a5e3c813819" + integrity sha512-UjydimYomJ2wArr0qkXy21I3PK6859vs/y/BEeKgt4b1cI7hGBZ23+DSTfxHZdf/fLy4k0iu+cfFwx3VoNyAng== dependencies: - "@credo-ts/anoncreds" "0.5.1" - "@credo-ts/core" "0.5.1" + "@credo-ts/anoncreds" "0.5.3" + "@credo-ts/core" "0.5.3" -"@credo-ts/node@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/node/-/node-0.5.1.tgz#adf24f931fd80848722f8f313012be00da405deb" - integrity sha512-F/PA3wyKN9MvH2JFSUmYGqQT+JaeSGKWNJxT+OkQzqseCZnCbErAnr8oNWlTwBWogp6ECx31FEn9wMq9zAMLaw== +"@credo-ts/node@0.5.3": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@credo-ts/node/-/node-0.5.3.tgz#163e530fa3260835081b653363c2e610c3d5347d" + integrity sha512-CbriW2WqYyB1ak9PNR+5a1okKuxjepL1bgAbEk98rfveGccyV/misL5kCmWtT/bnETl9fB+UcJ47GbvBeNmDiQ== dependencies: - "@2060.io/ffi-napi" "^4.0.8" + "@2060.io/ffi-napi" "^4.0.9" "@2060.io/ref-napi" "^3.0.6" - "@credo-ts/core" "0.5.1" + "@credo-ts/core" "0.5.3" "@types/express" "^4.17.15" express "^4.17.1" ws "^8.13.0" @@ -694,22 +696,22 @@ class-validator "0.14.1" tsyringe "^4.6.0" -"@credo-ts/question-answer@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/question-answer/-/question-answer-0.5.1.tgz#538dbfec8fc866de188c11ede9860bf0ef712937" - integrity sha512-yPjOl3tUfK5GT9BvX70hiTq86Fi5WTxB0pL42e17evq7+puBOMqhwQ1nv7dhDSWC2Oy+r0D0mF7Lz2hGulrJJg== +"@credo-ts/question-answer@0.5.3": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@credo-ts/question-answer/-/question-answer-0.5.3.tgz#dfe52999279df3016ad1ef8319bb9a14de3ca4ff" + integrity sha512-xdclXz08iDbQX5KnlBPbMNaVqYjdrnjJ8tq3KILnCbWzwSbxIF7Ab7T3E9g6DKYkb5zmVaMVTUQU41ocyYCsJQ== dependencies: - "@credo-ts/core" "0.5.1" + "@credo-ts/core" "0.5.3" class-transformer "0.5.1" class-validator "0.14.1" rxjs "^7.8.0" -"@credo-ts/tenants@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/tenants/-/tenants-0.5.1.tgz#63ca79eb0a6c7d4bdf43ea00ed712d7399c25421" - integrity sha512-+wJ+Wd3rThY6eP9e3WYFeFlJKQEUrmJPhN5t+vr4zyhB5T7pM5Nsg53pzugWoCeWsMUNCqmHo12Tc9edQTH0bg== +"@credo-ts/tenants@0.5.3": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@credo-ts/tenants/-/tenants-0.5.3.tgz#bcea2693dff06349c777454e6f6a67c7b0e8ecdb" + integrity sha512-4KwVCc0Nwdld8223w+d9PBa3Cj/NkuTFmit6/Bk/KIAZ1VasvMF4p/bYuGNB/MJaqy306fwRn12InClq36kJIw== dependencies: - "@credo-ts/core" "0.5.1" + "@credo-ts/core" "0.5.3" async-mutex "^0.4.0" "@cspotcode/source-map-support@^0.8.0": @@ -1302,59 +1304,59 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== -"@hyperledger/anoncreds-nodejs@0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@hyperledger/anoncreds-nodejs/-/anoncreds-nodejs-0.2.1.tgz#7dbde3e878758371e4d44542daa7f54ecf48f38e" - integrity sha512-wfQEVSqYHq6mQFTLRMVayyi8kbHlz3RGEIe10JOQSHCw4ZCTifQ1XuVajSwOj8ykNYwxuckcfNikJtJScs7l+w== +"@hyperledger/anoncreds-nodejs@0.2.2": + version "0.2.2" + resolved "https://registry.yarnpkg.com/@hyperledger/anoncreds-nodejs/-/anoncreds-nodejs-0.2.2.tgz#5344427c554fc7280efe22f2061e3a26023fdd84" + integrity sha512-qRMSSyERwjAVCPlHjCAY3OJno4DNIJ0uLi+g6ek7HrFVich3X6Kzr0ng/MSiDKmTBXyGiip1zDIBABA8y3yNGg== dependencies: - "@2060.io/ffi-napi" "4.0.8" - "@2060.io/ref-napi" "3.0.6" - "@hyperledger/anoncreds-shared" "0.2.1" + "@2060.io/ffi-napi" "^4.0.9" + "@2060.io/ref-napi" "^3.0.6" + "@hyperledger/anoncreds-shared" "0.2.2" "@mapbox/node-pre-gyp" "^1.0.11" ref-array-di "1.2.2" ref-struct-di "1.1.1" -"@hyperledger/anoncreds-shared@0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@hyperledger/anoncreds-shared/-/anoncreds-shared-0.2.1.tgz#7a8be78473e8cdd33b73ccdf2e9b838226aef0f9" - integrity sha512-QpkmsiDBto4B3MS7+tJKn8DHCuhaZuzPKy+SoSAIH8wrjBmQ4NQqzMBZXs0z0JnNr1egkIFR3HIFsIu9ayK20g== +"@hyperledger/anoncreds-shared@0.2.2": + version "0.2.2" + resolved "https://registry.yarnpkg.com/@hyperledger/anoncreds-shared/-/anoncreds-shared-0.2.2.tgz#492995d076448d682a828312bbba58314e943c4a" + integrity sha512-dfYpqbAkqtHJkRkuGmWdJruHfLegLUIbu/dSAWnz5dMRKd8ad8rEnQkwRnockQZ/pc7QDr8kxfG6bT2YDGZeMw== -"@hyperledger/aries-askar-nodejs@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@hyperledger/aries-askar-nodejs/-/aries-askar-nodejs-0.2.0.tgz#7a0b469184f0682d0e31955e29d091956f662273" - integrity sha512-d73D2zK1f1cM5y8MFp4BK+NvkquujDlRr91THpxkuRwmLf407gibOY3G4OdGIkL1kQtorGM5c5U0/qMzW+8E1Q== +"@hyperledger/aries-askar-nodejs@0.2.1": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@hyperledger/aries-askar-nodejs/-/aries-askar-nodejs-0.2.1.tgz#3473786a4d758ebf39a6b855386a9fa3577033d5" + integrity sha512-RSBa+onshUSIJlVyGBzndZtcw2KPb8mgnYIio9z0RquKgGitufc0ymNiL2kLKWNjk2gET20jAUHijhlE4ssk5A== dependencies: - "@2060.io/ffi-napi" "4.0.8" - "@2060.io/ref-napi" "3.0.6" - "@hyperledger/aries-askar-shared" "0.2.0" + "@2060.io/ffi-napi" "^4.0.9" + "@2060.io/ref-napi" "^3.0.6" + "@hyperledger/aries-askar-shared" "0.2.1" "@mapbox/node-pre-gyp" "^1.0.10" node-cache "^5.1.2" ref-array-di "^1.2.2" ref-struct-di "^1.1.1" -"@hyperledger/aries-askar-shared@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@hyperledger/aries-askar-shared/-/aries-askar-shared-0.2.0.tgz#9291733f8fa1e3039dfe36e1fabca1819b93bd1b" - integrity sha512-A6bHbTwTtV1YT3XphNFltX34DCBtj7qPyip4R+WAQFnus5286a2xsppNvl5OAPMAxgKjQTdyFBqcYaNRc0lqIQ== +"@hyperledger/aries-askar-shared@0.2.1": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@hyperledger/aries-askar-shared/-/aries-askar-shared-0.2.1.tgz#0c01abe47fd53dd1629ee41af51c9d9d42f7f86f" + integrity sha512-7d8tiqq27dxFl7+0Cf2I40IzzDoRU9aEolyPyvfdLGbco6NAtWB4CV8AzgY11EZ7/ou4RirJxfP9hBjgYBo1Ag== dependencies: buffer "^6.0.3" -"@hyperledger/indy-vdr-nodejs@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@hyperledger/indy-vdr-nodejs/-/indy-vdr-nodejs-0.2.0.tgz#c5fd2c211d5a2b2a0637efa6b9636b208d919c06" - integrity sha512-yv+p0mU9NBUgmUDJijNgxtLonhzhDP54wRl4Mfn/s/ZyzLbEQakswmqa2sX0mYQDTLG14iq5uEN6d0eRzUtDeg== +"@hyperledger/indy-vdr-nodejs@0.2.2": + version "0.2.2" + resolved "https://registry.yarnpkg.com/@hyperledger/indy-vdr-nodejs/-/indy-vdr-nodejs-0.2.2.tgz#f1f5ed1b9c34103703882dbc6c10fe480d33b0e6" + integrity sha512-mc0iKuHCtKuOV0sMnGOTVWnQrpfBMS+1tIRyob+CvGCvwC2llGo3Hu5AvgPcR9nqCo/wJ0LoKBo66dYYb0uZbw== dependencies: - "@2060.io/ffi-napi" "4.0.8" - "@2060.io/ref-napi" "3.0.6" - "@hyperledger/indy-vdr-shared" "0.2.0" + "@2060.io/ffi-napi" "^4.0.9" + "@2060.io/ref-napi" "^3.0.6" + "@hyperledger/indy-vdr-shared" "0.2.2" "@mapbox/node-pre-gyp" "^1.0.10" ref-array-di "^1.2.2" ref-struct-di "^1.1.1" -"@hyperledger/indy-vdr-shared@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@hyperledger/indy-vdr-shared/-/indy-vdr-shared-0.2.0.tgz#4781e38bffe69366e694e8d025a8d017b8a1cb5b" - integrity sha512-/aPzpzb6Wks7poRSercSp6f3mFOBoQmxSIyo50XO6ci/Jfa4ZGuV8y8YWU2SJktsdz4TtL5YJxt2WVfOus9bEQ== +"@hyperledger/indy-vdr-shared@0.2.2": + version "0.2.2" + resolved "https://registry.yarnpkg.com/@hyperledger/indy-vdr-shared/-/indy-vdr-shared-0.2.2.tgz#9ca8b56cd89ab18792d129a0358b641e211274e3" + integrity sha512-9425MHU3K+/ahccCRjOIX3Z/51gqxvp3Nmyujyqlx9cd7PWG2Rianx7iNWecFBkdAEqS0DfHsb6YqqH39YZp/A== "@isaacs/cliui@^8.0.2": version "8.0.2" @@ -1703,73 +1705,45 @@ resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== -"@sd-jwt/core@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@sd-jwt/core/-/core-0.2.1.tgz#75b0b273758e6be050e042a75bd6a0c4a2a7258e" - integrity sha512-8auyt3mfzgAK+IP9mNc3kSONdo5x2Y8ypNj5gHKP7N81nVeyI+DHethoPQv84JVcqYYcNwHwyrc2Z5k7rg2lFQ== - dependencies: - "@sd-jwt/decode" "0.2.1" - "@sd-jwt/present" "0.2.1" - "@sd-jwt/types" "0.2.1" - "@sd-jwt/utils" "0.2.1" - -"@sd-jwt/decode@0.2.1", "@sd-jwt/decode@^0.2.0", "@sd-jwt/decode@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@sd-jwt/decode/-/decode-0.2.1.tgz#e0fb32dd2a95440ad69237e66ea2cd4770ec7e09" - integrity sha512-rs55WB3llrMObxN8jeMl06km/h0WivO9jSWNubO9JUIdlfrVhssU38xoXakvQeSDjAJkUUhfZcvmC2vNo1X6Wg== - dependencies: - "@sd-jwt/types" "0.2.1" - "@sd-jwt/utils" "0.2.1" - -"@sd-jwt/decode@^0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@sd-jwt/decode/-/decode-0.3.0.tgz#23627ce1b7c678a6ac685d7241e7f64e18bd9a8c" - integrity sha512-jCN1g3VzopiUxUtBZWq0Ojfzbg+wYkE1/gV86Xq7/gV8aNacCJo7Su5a3pYtoYg/rnH7ou1kwpD6vteQFkvXMQ== +"@sd-jwt/core@^0.6.1": + version "0.6.1" + resolved "https://registry.yarnpkg.com/@sd-jwt/core/-/core-0.6.1.tgz#d28be10d0f4b672636fcf7ad71737cb08e5dae96" + integrity sha512-egFTb23o6BGWF93vnjopN02rSiC1HOOnkk9BI8Kao3jz9ipZAHdO6wF7gwfZm5Nlol/Kd1/KSLhbOUPYt++FjA== dependencies: - "@sd-jwt/types" "0.3.0" - "@sd-jwt/utils" "0.3.0" + "@sd-jwt/decode" "0.6.1" + "@sd-jwt/present" "0.6.1" + "@sd-jwt/types" "0.6.1" + "@sd-jwt/utils" "0.6.1" -"@sd-jwt/present@0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@sd-jwt/present/-/present-0.2.1.tgz#ff9958626b271a60d539dd1e601763ff33c024e8" - integrity sha512-yWIAR2C/q1jNUwzAeUlUcf3WCTEcSSGo9pltHW5AXptELjyaWGSmC5p6o9ucDXHvBnicfPONhe5OdUCSpiCntw== +"@sd-jwt/decode@0.6.1", "@sd-jwt/decode@^0.6.1": + version "0.6.1" + resolved "https://registry.yarnpkg.com/@sd-jwt/decode/-/decode-0.6.1.tgz#141f7782df53bab7159a75d91ed4711e1c14a7ea" + integrity sha512-QgTIoYd5zyKKLgXB4xEYJTrvumVwtsj5Dog0v0L9UH9ZvHekDaeexS247X7A4iSdzTvmZzUpGskgABOa4D8NmQ== dependencies: - "@sd-jwt/types" "0.2.1" - "@sd-jwt/utils" "0.2.1" + "@sd-jwt/types" "0.6.1" + "@sd-jwt/utils" "0.6.1" -"@sd-jwt/present@^0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@sd-jwt/present/-/present-0.3.0.tgz#e054f66c0ec9c339570ec028e0f2291d75c279e3" - integrity sha512-dICPhH5hqOLXmuJMdTaA47ZMpCDkTzbWUQXsIgw0vma7Aj9Bc6ySNevPwlsUx4K8XBjPgYWwBM9tKdrs3tsCvQ== +"@sd-jwt/present@0.6.1", "@sd-jwt/present@^0.6.1": + version "0.6.1" + resolved "https://registry.yarnpkg.com/@sd-jwt/present/-/present-0.6.1.tgz#82b9188becb0fa240897c397d84a54d55c7d169e" + integrity sha512-QRD3TUDLj4PqQNZ70bBxh8FLLrOE9mY8V9qiZrJSsaDOLFs2p1CtZG+v9ig62fxFYJZMf4bWKwYjz+qqGAtxCg== dependencies: - "@sd-jwt/types" "0.3.0" - "@sd-jwt/utils" "0.3.0" + "@sd-jwt/decode" "0.6.1" + "@sd-jwt/types" "0.6.1" + "@sd-jwt/utils" "0.6.1" -"@sd-jwt/types@0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@sd-jwt/types/-/types-0.2.1.tgz#e1e6b47728dffa90ed244e15e2253bd01793cb96" - integrity sha512-nbNik/cq6UIMsN144FcgPZQzaqIsjEEj307j3ZSFORkQBR4Tsmcj54aswTuNh0Z0z/4aSbfw14vOKBZvRWyVLQ== - -"@sd-jwt/types@0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@sd-jwt/types/-/types-0.3.0.tgz#12f2fa7b448f1f5e368ddfac8db2143ed58c38f7" - integrity sha512-JbpZICZ+nWPiKPKw+Veg5tf0Oftit4EzxhLJyvcd0u4R6IulNZvi6LCoUL7b2IT1H86eYPd/qB1KvSh43ByZOA== - -"@sd-jwt/utils@0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@sd-jwt/utils/-/utils-0.2.1.tgz#35ad83232eab2de911e765d93222acd871982a5e" - integrity sha512-9eRrge44dhE3fenawR/RZGxP5iuW9DtgdOVANu/JK5PEl80r0fDsMwm/gDjuv8OgLDCmQ6uSaVte1lYaTG71bQ== - dependencies: - "@sd-jwt/types" "0.2.1" - buffer "*" +"@sd-jwt/types@0.6.1", "@sd-jwt/types@^0.6.1": + version "0.6.1" + resolved "https://registry.yarnpkg.com/@sd-jwt/types/-/types-0.6.1.tgz#fc4235e00cf40d35a21d6bc02e44e12d7162aa9b" + integrity sha512-LKpABZJGT77jNhOLvAHIkNNmGqXzyfwBT+6r+DN9zNzMx1CzuNR0qXk1GMUbast9iCfPkGbnEpUv/jHTBvlIvg== -"@sd-jwt/utils@0.3.0", "@sd-jwt/utils@^0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@sd-jwt/utils/-/utils-0.3.0.tgz#73ce9809ccc98b35d5a6d1bf1ed34758bcdfb39d" - integrity sha512-jQNYxvyfLda9StVLeUqUZtv5csI6IuzcD6b55/wsC9xJgTuntZqf8vyJvuu4MwEJUFwm9PdGkCJXyl/nbpmNLw== +"@sd-jwt/utils@0.6.1", "@sd-jwt/utils@^0.6.1": + version "0.6.1" + resolved "https://registry.yarnpkg.com/@sd-jwt/utils/-/utils-0.6.1.tgz#33273b20c9eb1954e4eab34118158b646b574ff9" + integrity sha512-1NHZ//+GecGQJb+gSdDicnrHG0DvACUk9jTnXA5yLZhlRjgkjyfJLNsCZesYeCyVp/SiyvIC9B+JwoY4kI0TwQ== dependencies: - "@sd-jwt/types" "0.3.0" - buffer "*" + "@sd-jwt/types" "0.6.1" + js-base64 "^3.7.6" "@sideway/address@^4.1.5": version "4.1.5" @@ -1812,34 +1786,43 @@ resolved "https://registry.yarnpkg.com/@sovpro/delimited-stream/-/delimited-stream-1.1.0.tgz#4334bba7ee241036e580fdd99c019377630d26b4" integrity sha512-kQpk267uxB19X3X2T1mvNMjyvIEonpNSHrMlK5ZaBU6aZxw7wPbpgKJOjHN3+/GPVpXgAV9soVT2oyHpLkLtyw== -"@sphereon/pex-models@^2.2.2": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@sphereon/pex-models/-/pex-models-2.2.2.tgz#3f8b12c49d8fab7372b4b47eae5bcbf8729cccba" - integrity sha512-CZIsBoaV5rMZEWYBsmH+RxsdoxpXf5FSDwDz0GB0qOf5WFk1BGUnzpZzi5yJ+2L151mhPk97dlRc9Wb01Awr4Q== +"@sphereon/pex-models@^2.2.4": + version "2.2.4" + resolved "https://registry.yarnpkg.com/@sphereon/pex-models/-/pex-models-2.2.4.tgz#0ce28e9858b38012fe1ff7d9fd12ec503473ee66" + integrity sha512-pGlp+wplneE1+Lk3U48/2htYKTbONMeG5/x7vhO6AnPUOsnOXeJdftPrBYWVSzz/JH5GJptAc6+pAyYE1zMu4Q== -"@sphereon/pex@3.3.0": - version "3.3.0" - resolved "https://registry.yarnpkg.com/@sphereon/pex/-/pex-3.3.0.tgz#86384f7ee6e5a966b98d3e8010a27e93eb144317" - integrity sha512-CNthF/6dlIECqTqdOWGD5HOT72OWjzKTFVuFGmSbgOqsEtEtGU0e0g0gYbvXWNm0hYKsyFgS5XIZ1Uj3NR5UMg== +"@sphereon/pex@^3.3.2": + version "3.3.3" + resolved "https://registry.yarnpkg.com/@sphereon/pex/-/pex-3.3.3.tgz#8712ecc3c1a2548bd5e531bb41dd54e8010c1dc5" + integrity sha512-CXwdEcMTUh2z/5AriBn3OuShEG06l2tgiIr7qDJthnkez8DQ3sZo2vr4NEQWKKAL+DeAWAI4FryQGO4KuK7yfg== dependencies: "@astronautlabs/jsonpath" "^1.1.2" - "@sd-jwt/decode" "^0.3.0" - "@sd-jwt/present" "^0.3.0" - "@sd-jwt/utils" "^0.3.0" - "@sphereon/pex-models" "^2.2.2" - "@sphereon/ssi-types" "0.18.1" + "@sd-jwt/decode" "^0.6.1" + "@sd-jwt/present" "^0.6.1" + "@sd-jwt/types" "^0.6.1" + "@sphereon/pex-models" "^2.2.4" + "@sphereon/ssi-types" "0.22.0" ajv "^8.12.0" ajv-formats "^2.1.1" jwt-decode "^3.1.2" nanoid "^3.3.7" string.prototype.matchall "^4.0.10" + uint8arrays "^3.1.1" + +"@sphereon/ssi-types@0.22.0": + version "0.22.0" + resolved "https://registry.yarnpkg.com/@sphereon/ssi-types/-/ssi-types-0.22.0.tgz#da2eed7296e8932271af0c72a66eeea20b0b5689" + integrity sha512-YPJAZlKmzNALXK8ohP3ETxj1oVzL4+M9ljj3fD5xrbacvYax1JPCVKc8BWSubGcQckKHPbgbpcS7LYEeghyT9Q== + dependencies: + "@sd-jwt/decode" "^0.6.1" + jwt-decode "^3.1.2" -"@sphereon/ssi-types@0.18.1", "@sphereon/ssi-types@^0.18.1": - version "0.18.1" - resolved "https://registry.yarnpkg.com/@sphereon/ssi-types/-/ssi-types-0.18.1.tgz#c00e4939149f4e441fae56af860735886a4c33a5" - integrity sha512-uM0gb1woyc0R+p+qh8tVDi15ZWmpzo9BP0iBp/yRkJar7gAfgwox/yvtEToaH9jROKnDCwL3DDQCDeNucpMkwg== +"@sphereon/ssi-types@^0.23.0": + version "0.23.4" + resolved "https://registry.yarnpkg.com/@sphereon/ssi-types/-/ssi-types-0.23.4.tgz#8d53e12b51e00376fdc0190c8244b1602f12d5ca" + integrity sha512-1lM2yfOEhpcYYBxm/12KYY4n3ZSahVf5rFqGdterQkMJMthwr20HqTjw3+VK5p7IVf+86DyBoZJyS4V9tSsoCA== dependencies: - "@sd-jwt/decode" "^0.2.0" + "@sd-jwt/decode" "^0.6.1" jwt-decode "^3.1.2" "@stablelib/binary@^1.0.1": @@ -3017,7 +3000,7 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer@*, buffer@^6.0.3: +buffer@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== @@ -5624,6 +5607,11 @@ joi@^17.12.3: "@sideway/formula" "^3.0.1" "@sideway/pinpoint" "^2.0.0" +js-base64@^3.7.6: + version "3.7.7" + resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-3.7.7.tgz#e51b84bf78fbf5702b9541e2cb7bfcb893b43e79" + integrity sha512-7rCnleh0z2CkXhH67J8K1Ytz0b2Y+yxTPL+/KOJoa20hfnVQ/3/T6W/KflYI4bRHRagNeXeU2bkNGI3v1oS/lw== + js-sha3@0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" @@ -6205,6 +6193,11 @@ msrcrypto@^1.5.6: resolved "https://registry.yarnpkg.com/msrcrypto/-/msrcrypto-1.5.8.tgz#be419be4945bf134d8af52e9d43be7fa261f4a1c" integrity sha512-ujZ0TRuozHKKm6eGbKHfXef7f+esIhEckmThVnz7RNyiOJd7a6MXj2JGBoL9cnPDW+JMG16MoTUh5X+XXjI66Q== +multiformats@^9.4.2: + version "9.9.0" + resolved "https://registry.yarnpkg.com/multiformats/-/multiformats-9.9.0.tgz#c68354e7d21037a8f1f8833c8ccd68618e8f1d37" + integrity sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg== + nanoid@^3.3.7: version "3.3.7" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" @@ -7762,6 +7755,13 @@ uglify-js@^3.1.4: resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" integrity sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g== +uint8arrays@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.1.tgz#2d8762acce159ccd9936057572dade9459f65ae0" + integrity sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg== + dependencies: + multiformats "^9.4.2" + unbox-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" From 56a8c64289337b306d00b5b8234b5f8e6fe3b965 Mon Sep 17 00:00:00 2001 From: pallavighule <61926403+pallavighule@users.noreply.github.com> Date: Wed, 8 May 2024 17:57:48 +0530 Subject: [PATCH 05/20] feat: add create did peer and remove handshake protocol (#113) Signed-off-by: pallavicoder --- .../credentials/CredentialController.ts | 2 - .../multi-tenancy/MultiTenancyController.ts | 42 +++++++++++++++++-- src/controllers/proofs/ProofController.ts | 3 +- src/enums/enum.ts | 1 + 4 files changed, 40 insertions(+), 8 deletions(-) diff --git a/src/controllers/credentials/CredentialController.ts b/src/controllers/credentials/CredentialController.ts index 505b49cd..c4cd7dd1 100644 --- a/src/controllers/credentials/CredentialController.ts +++ b/src/controllers/credentials/CredentialController.ts @@ -7,7 +7,6 @@ import { CredentialState, Agent, RecordNotFoundError, - HandshakeProtocol, W3cCredentialService, Key, KeyType, @@ -231,7 +230,6 @@ export class CredentialController extends Controller { const credentialMessage = offerOob.message const outOfBandRecord = await this.agent.oob.createInvitation({ label: outOfBandOption.label, - handshakeProtocols: [HandshakeProtocol.Connections], messages: [credentialMessage], autoAcceptConnection: true, imageUrl: outOfBandOption?.imageUrl, diff --git a/src/controllers/multi-tenancy/MultiTenancyController.ts b/src/controllers/multi-tenancy/MultiTenancyController.ts index 6dcfe48c..9a05e91e 100644 --- a/src/controllers/multi-tenancy/MultiTenancyController.ts +++ b/src/controllers/multi-tenancy/MultiTenancyController.ts @@ -35,7 +35,6 @@ import { CredentialState, DidDocumentBuilder, DidExchangeState, - HandshakeProtocol, JsonTransformer, Key, KeyType, @@ -127,7 +126,6 @@ export class MultiTenancyController extends Controller { @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let didRes - try { if (!createDidOptions.method) { throw Error('Method is required') @@ -151,6 +149,10 @@ export class MultiTenancyController extends Controller { result = await this.handlePolygon(createDidOptions, tenantId) break + case DidMethod.Peer: + result = await this.handleDidPeer(createDidOptions, tenantId) + break + default: return internalServerError(500, { message: `Invalid method: ${createDidOptions.method}` }) } @@ -439,6 +441,40 @@ export class MultiTenancyController extends Controller { return didResponse } + private async handleDidPeer(createDidOptions: DidCreate, tenantId: string) { + let didResponse + let did: any + + if (!createDidOptions.keyType) { + throw Error('keyType is required') + } + + await this.agent.modules.tenants.withTenantAgent({ tenantId }, async (tenantAgent) => { + const didRouting = await tenantAgent.mediationRecipient.getRouting({}) + const didDocument = createPeerDidDocumentFromServices([ + { + id: 'didcomm', + recipientKeys: [didRouting.recipientKey], + routingKeys: didRouting.routingKeys, + serviceEndpoint: didRouting.endpoints[0], + }, + ]) + const didPeerResponse = await tenantAgent.dids.create({ + didDocument, + method: DidMethod.Peer, + options: { + numAlgo: PeerDidNumAlgo.MultipleInceptionKeyWithoutDoc, + }, + }) + + did = didPeerResponse.didState.did + didResponse = { + did, + } + }) + return didResponse + } + private async handleWeb(createDidOptions: DidCreate, tenantId: string) { let did let didDocument: any @@ -1363,7 +1399,6 @@ export class MultiTenancyController extends Controller { const credentialMessage = offerOob.message const outOfBandRecord = await tenantAgent.oob.createInvitation({ label: createOfferOptions.label, - handshakeProtocols: [HandshakeProtocol.Connections], messages: [credentialMessage], autoAcceptConnection: true, imageUrl: createOfferOptions?.imageUrl, @@ -1586,7 +1621,6 @@ export class MultiTenancyController extends Controller { const proofMessage = proof.message const outOfBandRecord = await tenantAgent.oob.createInvitation({ label: createRequestOptions.label, - handshakeProtocols: [HandshakeProtocol.Connections], messages: [proofMessage], autoAcceptConnection: true, imageUrl: createRequestOptions?.imageUrl, diff --git a/src/controllers/proofs/ProofController.ts b/src/controllers/proofs/ProofController.ts index 78aed5ff..101a5aa2 100644 --- a/src/controllers/proofs/ProofController.ts +++ b/src/controllers/proofs/ProofController.ts @@ -5,7 +5,7 @@ import type { Routing, } from '@credo-ts/core' -import { Agent, HandshakeProtocol, Key, KeyType, RecordNotFoundError } from '@credo-ts/core' +import { Agent, Key, KeyType, RecordNotFoundError } from '@credo-ts/core' import { injectable } from 'tsyringe' import { ProofRecordExample, RecordId } from '../examples' @@ -192,7 +192,6 @@ export class ProofController extends Controller { const proofMessage = proof.message const outOfBandRecord = await this.agent.oob.createInvitation({ label: createRequestOptions.label, - handshakeProtocols: [HandshakeProtocol.Connections], messages: [proofMessage], autoAcceptConnection: true, imageUrl: createRequestOptions?.imageUrl, diff --git a/src/enums/enum.ts b/src/enums/enum.ts index 3b355229..86ac5c95 100644 --- a/src/enums/enum.ts +++ b/src/enums/enum.ts @@ -13,6 +13,7 @@ export enum DidMethod { Key = 'key', Web = 'web', Polygon = 'polygon', + Peer = 'peer', } export enum Network { From eb6bdf9e440cb84bfe068ee0e5f47abdbd86be0f Mon Sep 17 00:00:00 2001 From: Sai Ranjit Tummalapalli Date: Wed, 8 May 2024 20:20:24 +0530 Subject: [PATCH 06/20] fix: process problem report (#115) Signed-off-by: Sai Ranjit Tummalapalli Signed-off-by: pallavicoder --- ...0.5.3+002+fix-process-problem-report.patch | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 patches/@credo-ts+core+0.5.3+002+fix-process-problem-report.patch diff --git a/patches/@credo-ts+core+0.5.3+002+fix-process-problem-report.patch b/patches/@credo-ts+core+0.5.3+002+fix-process-problem-report.patch new file mode 100644 index 00000000..64632960 --- /dev/null +++ b/patches/@credo-ts+core+0.5.3+002+fix-process-problem-report.patch @@ -0,0 +1,33 @@ +diff --git a/node_modules/@credo-ts/core/build/modules/credentials/protocol/BaseCredentialProtocol.js b/node_modules/@credo-ts/core/build/modules/credentials/protocol/BaseCredentialProtocol.js +index 30dbb7a..5b1b54c 100644 +--- a/node_modules/@credo-ts/core/build/modules/credentials/protocol/BaseCredentialProtocol.js ++++ b/node_modules/@credo-ts/core/build/modules/credentials/protocol/BaseCredentialProtocol.js +@@ -19,11 +19,9 @@ class BaseCredentialProtocol { + */ + async processProblemReport(messageContext) { + const { message: credentialProblemReportMessage, agentContext } = messageContext; +- const connection = messageContext.assertReadyConnection(); + agentContext.config.logger.debug(`Processing problem report with message id ${credentialProblemReportMessage.id}`); + const credentialRecord = await this.getByProperties(agentContext, { + threadId: credentialProblemReportMessage.threadId, +- connectionId: connection.id, + }); + // Update record + credentialRecord.errorMessage = `${credentialProblemReportMessage.description.code}: ${credentialProblemReportMessage.description.en}`; +diff --git a/node_modules/@credo-ts/core/build/modules/proofs/protocol/BaseProofProtocol.js b/node_modules/@credo-ts/core/build/modules/proofs/protocol/BaseProofProtocol.js +index 25d2948..cf9e315 100644 +--- a/node_modules/@credo-ts/core/build/modules/proofs/protocol/BaseProofProtocol.js ++++ b/node_modules/@credo-ts/core/build/modules/proofs/protocol/BaseProofProtocol.js +@@ -8,11 +8,10 @@ const ProofState_1 = require("../models/ProofState"); + const repository_1 = require("../repository"); + class BaseProofProtocol { + async processProblemReport(messageContext) { +- const { message: proofProblemReportMessage, agentContext, connection } = messageContext; ++ const { message: proofProblemReportMessage, agentContext } = messageContext; + agentContext.config.logger.debug(`Processing problem report with message id ${proofProblemReportMessage.id}`); + const proofRecord = await this.getByProperties(agentContext, { + threadId: proofProblemReportMessage.threadId, +- connectionId: connection === null || connection === void 0 ? void 0 : connection.id, + }); + // Update record + proofRecord.errorMessage = `${proofProblemReportMessage.description.code}: ${proofProblemReportMessage.description.en}`; From b5f665c936f1fb5917ed179884b7696c3570994e Mon Sep 17 00:00:00 2001 From: Sai Ranjit Tummalapalli Date: Wed, 27 Mar 2024 12:40:01 +0530 Subject: [PATCH 07/20] feat: upgrade credo to 0.5.0 (#78) * feat: upgrade credo to 0.5.0 Signed-off-by: Sai Ranjit Tummalapalli * refactor: remove unused modules Signed-off-by: Sai Ranjit Tummalapalli * fix: dependencies Signed-off-by: Sai Ranjit Tummalapalli * fix: auto update flags Signed-off-by: Sai Ranjit Tummalapalli * fix: docker file Signed-off-by: Sai Ranjit Tummalapalli * fix:W3C schema Signed-off-by: tipusinghaw --------- Signed-off-by: Sai Ranjit Tummalapalli Signed-off-by: tipusinghaw Co-authored-by: tipusinghaw Signed-off-by: pallavicoder --- src/routes/routes.ts | 6 +- src/routes/swagger.json | 227 +++++++++++++++++++++++++++++++++++++--- yarn.lock | 227 +++++++++++++++++++++++++++++++++++++++- 3 files changed, 445 insertions(+), 15 deletions(-) diff --git a/src/routes/routes.ts b/src/routes/routes.ts index 59b6052b..e84cb64c 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -132,7 +132,6 @@ const models: TsoaRoute.Models = { "@type": {"dataType":"string","required":true}, "@id": {"dataType":"string","required":true}, "~thread": {"dataType":"nestedObjectLiteral","nestedProperties":{"pthid":{"dataType":"string"},"thid":{"dataType":"string"}}}, - "messageType": {"dataType":"string","required":true}, }, "additionalProperties": {"dataType":"any"}, }, @@ -666,6 +665,11 @@ const models: TsoaRoute.Models = { "type": {"dataType":"string","validators":{}}, }, // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa + "Did": { + "dataType": "refAlias", + "type": {"dataType":"string","validators":{}}, + }, + // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa "W3cCredentialRecord": { "dataType": "refAlias", "type": {"ref":"Record_string.unknown_","validators":{}}, diff --git a/src/routes/swagger.json b/src/routes/swagger.json index 914d405d..6c54dcfd 100644 --- a/src/routes/swagger.json +++ b/src/routes/swagger.json @@ -201,11 +201,19 @@ "$ref": "#/components/schemas/AutoAcceptProof" }, "goalCode": { +<<<<<<< HEAD "type": "string" }, "parentThreadId": { "type": "string" }, +======= + "type": "string" + }, + "parentThreadId": { + "type": "string" + }, +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "willConfirm": { "type": "boolean" } @@ -249,9 +257,12 @@ }, "recipientKey": { "type": "string" +<<<<<<< HEAD }, "invitationDid": { "type": "string" +======= +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) } }, "required": [ @@ -287,15 +298,11 @@ } }, "type": "object" - }, - "messageType": { - "type": "string" } }, "required": [ "@type", - "@id", - "messageType" + "@id" ], "type": "object", "additionalProperties": {} @@ -1553,6 +1560,40 @@ ] } ] +<<<<<<< HEAD + }, + "message": { + "type": "string" + }, + "servedFromCache": { + "type": "boolean" + } + }, + "type": "object", + "additionalProperties": false + }, + "DIDDocumentMetadata": { + "description": "Represents metadata about the DID document resulting from a {@link Resolvable.resolve} operation.", + "properties": { + "created": { + "type": "string" + }, + "updated": { + "type": "string" + }, + "deactivated": { + "type": "boolean" + }, + "versionId": { + "type": "string" + }, + "nextUpdate": { + "type": "string" + }, + "nextVersionId": { + "type": "string" + }, +======= }, "message": { "type": "string" @@ -1585,6 +1626,7 @@ "nextVersionId": { "type": "string" }, +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "equivalentId": { "type": "string" }, @@ -2987,6 +3029,7 @@ } } }, +<<<<<<< HEAD "404": { "description": "", "content": { @@ -3037,6 +3080,8 @@ } } }, +======= +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "404": { "description": "", "content": { @@ -3054,6 +3099,130 @@ } } } + } + }, +<<<<<<< HEAD + "description": "Deletes an out of band record from the repository.", +======= + "description": "Retrieve an out of band record by id", +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) + "tags": [ + "Out Of Band" + ], + "security": [ + { + "apiKey": [] + } + ], + "parameters": [ + { + "description": "Record identifier", + "in": "path", + "name": "outOfBandId", + "required": true, + "schema": { + "$ref": "#/components/schemas/RecordId" +<<<<<<< HEAD +======= + } + } + ] + }, + "delete": { + "operationId": "DeleteOutOfBandRecord", + "responses": { + "200": { + "description": "Ok", + "content": { + "application/json": { + "schema": {} + } +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) + } + } + ] + } + }, + "/oob/create-invitation": { + "post": { + "operationId": "CreateInvitation", + "responses": { + "200": { + "description": "Out of band record", + "content": { + "application/json": { + "schema": {}, + "examples": { + "Example 1": { + "value": { + "invitationUrl": "string", + "invitation": { + "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/out-of-band/1.1/invitation", + "@id": "d6472943-e5d0-4d95-8b48-790ed5a41931", + "label": "Aries Test Agent", + "accept": [ + "didcomm/aip1", + "didcomm/aip2;env=rfc19" + ], + "handshake_protocols": [ + "https://didcomm.org/didexchange/1.0", + "https://didcomm.org/connections/1.0" + ], + "services": [ + { + "id": "#inline-0", + "serviceEndpoint": "https://6b77-89-20-162-146.ngrok.io", + "type": "did-communication", + "recipientKeys": [ + "did:key:z6MkmTBHTWrvLPN8pBmUj7Ye5ww9GiacXCYMNVvpScSpf1DM" + ], + "routingKeys": [] + } + ] + }, + "outOfBandRecord": { + "_tags": { + "invitationId": "1cbd22e4-1906-41e9-8807-83d84437f978", + "state": "await-response", + "role": "sender", + "recipientKeyFingerprints": [ + "z6MktUCPZjfRJXD4GMcYuXiqX2qZ8vBw6UAYpDFiHEUfwuLj" + ] + }, + "outOfBandInvitation": { + "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/out-of-band/1.1/invitation", + "@id": "d6472943-e5d0-4d95-8b48-790ed5a41931", + "label": "Aries Test Agent", + "accept": [ + "didcomm/aip1", + "didcomm/aip2;env=rfc19" + ], + "handshake_protocols": [ + "https://didcomm.org/didexchange/1.0", + "https://didcomm.org/connections/1.0" + ], + "services": [ + { + "id": "#inline-0", + "serviceEndpoint": "https://6b77-89-20-162-146.ngrok.io", + "type": "did-communication", + "recipientKeys": [ + "did:key:z6MkmTBHTWrvLPN8pBmUj7Ye5ww9GiacXCYMNVvpScSpf1DM" + ], + "routingKeys": [] + } + ] + }, + "metadata": {}, + "id": "42a95528-0e30-4f86-a462-0efb02178b53", + "createdAt": "2022-01-01T00:00:00.000Z", + "reusable": false + } + } + } + } + } + } }, "500": { "description": "", @@ -3074,7 +3243,11 @@ } } }, +<<<<<<< HEAD + "description": "Creates an outbound out-of-band record containing out-of-band invitation message defined in\nAries RFC 0434: Out-of-Band Protocol 1.1.", +======= "description": "Deletes an out of band record from the repository.", +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "tags": [ "Out Of Band" ], @@ -3083,6 +3256,25 @@ "apiKey": [] } ], +<<<<<<< HEAD + "parameters": [], + "requestBody": { + "description": "configuration of how out-of-band invitation should be created", + "required": true, + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/CreateInvitationOptions" + }, + { + "$ref": "#/components/schemas/RecipientKeyOption" + } + ], + "description": "configuration of how out-of-band invitation should be created" + } +======= "parameters": [ { "description": "Record identifier", @@ -3091,24 +3283,37 @@ "required": true, "schema": { "$ref": "#/components/schemas/RecordId" +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) } } ] } }, +<<<<<<< HEAD + "/oob/create-legacy-invitation": { + "post": { + "operationId": "CreateLegacyInvitation", + "responses": { + "200": { + "description": "out-of-band record and invitation", +======= "/oob/create-invitation": { "post": { "operationId": "CreateInvitation", "responses": { "200": { "description": "Out of band record", +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "content": { "application/json": { "schema": {}, "examples": { "Example 1": { "value": { +<<<<<<< HEAD +======= "invitationUrl": "string", +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "invitation": { "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/out-of-band/1.1/invitation", "@id": "d6472943-e5d0-4d95-8b48-790ed5a41931", @@ -3177,6 +3382,8 @@ } } }, +<<<<<<< HEAD +======= "500": { "description": "", "content": { @@ -3212,14 +3419,7 @@ "content": { "application/json": { "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CreateInvitationOptions" - }, - { - "$ref": "#/components/schemas/RecipientKeyOption" - } - ], + "$ref": "#/components/schemas/CreateInvitationOptions", "description": "configuration of how out-of-band invitation should be created" } } @@ -3307,6 +3507,7 @@ } } }, +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "500": { "description": "", "content": { diff --git a/yarn.lock b/yarn.lock index 855bbc59..11eb00c4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -603,6 +603,7 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +<<<<<<< HEAD "@credo-ts/anoncreds@0.5.3": version "0.5.3" resolved "https://registry.yarnpkg.com/@credo-ts/anoncreds/-/anoncreds-0.5.3.tgz#3e6775b461fc34e377bebe2c0ca53c34ee630a26" @@ -610,33 +611,59 @@ dependencies: "@astronautlabs/jsonpath" "^1.1.2" "@credo-ts/core" "0.5.3" +======= +"@credo-ts/anoncreds@0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@credo-ts/anoncreds/-/anoncreds-0.5.0.tgz#74bcaec9b3e5f75fd03924efc2e8bd67b905b035" + integrity sha512-fYPYxGV2S99dTCb0LHcHnJrVL3FLgrON5tFiv6U7By6aR9paT70Gwep/Lyp0WNzssg2vZ+a4gEf2gKjQiBE8pA== + dependencies: + "@astronautlabs/jsonpath" "^1.1.2" + "@credo-ts/core" "0.5.0" +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) big-integer "^1.6.51" bn.js "^5.2.1" class-transformer "0.5.1" class-validator "0.14.1" reflect-metadata "^0.1.13" +<<<<<<< HEAD "@credo-ts/askar@0.5.3": version "0.5.3" resolved "https://registry.yarnpkg.com/@credo-ts/askar/-/askar-0.5.3.tgz#53eaddd6247bbf0aabea436e722d646a0a603e2b" integrity sha512-AegnSygDAiY77cgidxNAb/ROeGtCNFo2L0nvxXs5MqBIGreT/+llslc5+/FIHDsDfUNB70Y/KK2qsLTVU3MtRg== dependencies: "@credo-ts/core" "0.5.3" +======= +"@credo-ts/askar@0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@credo-ts/askar/-/askar-0.5.0.tgz#5fa2e6443fe3ae1b15c8b66eb73e63beb5c096a1" + integrity sha512-84wxDU6GbucBTe4HV7gUbCieFdhXVX19q8o6dNK8a3zl87yiV3OVwPwtnzghjh47vv14Xr+gWRvqbRvZrhRsaA== + dependencies: + "@credo-ts/core" "0.5.0" +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) bn.js "^5.2.1" class-transformer "0.5.1" class-validator "0.14.1" rxjs "^7.8.0" tsyringe "^4.8.0" +<<<<<<< HEAD "@credo-ts/core@0.5.3": version "0.5.3" resolved "https://registry.yarnpkg.com/@credo-ts/core/-/core-0.5.3.tgz#cccbce993acbe7651fb397e7a0933ffde3246027" integrity sha512-bM9iNhhXWiJ4YdH5uqaIfK3XhZ6GjuzF0AwE1vMy586sZz05J1ZLQvIYzRpm/p3Buxj9rimnLrc4jcYNit0VUw== +======= +"@credo-ts/core@0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@credo-ts/core/-/core-0.5.0.tgz#a6366df4b176a492f4f45b7e2f45b8c905e1eeca" + integrity sha512-7SJBgs1yd2gpwv8BnCO+U63Uu06v6Cxzg+ypWpqyNkkG4nTsQZSI8r0oSQ+DgbiqwN/AZKsn9HuNISFftf5yKQ== +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) dependencies: "@digitalcredentials/jsonld" "^6.0.0" "@digitalcredentials/jsonld-signatures" "^9.4.0" "@digitalcredentials/vc" "^6.0.1" "@multiformats/base-x" "^4.0.1" +<<<<<<< HEAD "@sd-jwt/core" "^0.6.1" "@sd-jwt/decode" "^0.6.1" "@sd-jwt/types" "^0.6.1" @@ -644,6 +671,13 @@ "@sphereon/pex" "^3.3.2" "@sphereon/pex-models" "^2.2.4" "@sphereon/ssi-types" "^0.23.0" +======= + "@sd-jwt/core" "^0.2.1" + "@sd-jwt/decode" "^0.2.1" + "@sphereon/pex" "3.3.0" + "@sphereon/pex-models" "^2.2.2" + "@sphereon/ssi-types" "^0.18.1" +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "@stablelib/ed25519" "^1.0.2" "@stablelib/sha256" "^1.0.1" "@types/ws" "^8.5.4" @@ -667,6 +701,7 @@ varint "^6.0.0" web-did-resolver "^2.0.21" +<<<<<<< HEAD "@credo-ts/indy-vdr@0.5.3": version "0.5.3" resolved "https://registry.yarnpkg.com/@credo-ts/indy-vdr/-/indy-vdr-0.5.3.tgz#14c1fbe77b77f7214ee66807e4011a5e3c813819" @@ -683,6 +718,24 @@ "@2060.io/ffi-napi" "^4.0.9" "@2060.io/ref-napi" "^3.0.6" "@credo-ts/core" "0.5.3" +======= +"@credo-ts/indy-vdr@0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@credo-ts/indy-vdr/-/indy-vdr-0.5.0.tgz#1799b2a90599d000a43c5dc59e7bd1e1eda68fe1" + integrity sha512-hW7xDdL6fVIgTIclmJRfVz3mlpo87Cwk6hCiRY1/lWV62bsKs6RHGLv6RUp+WPwTIpPpbBs6T1Dm85ditBbxpA== + dependencies: + "@credo-ts/anoncreds" "0.5.0" + "@credo-ts/core" "0.5.0" + +"@credo-ts/node@0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@credo-ts/node/-/node-0.5.0.tgz#d28ed5040f9925777a65f66f55abed7c2d2e53de" + integrity sha512-/44SrgmjuRDE4Sjb6QDMvquPTUsH5DkIp8pbN7csLe0GEDDzPOUvzCaf4yI7TRnuSZN9Nh9/f6C2UGn0JuQ0Sg== + dependencies: + "@2060.io/ffi-napi" "^4.0.8" + "@2060.io/ref-napi" "^3.0.6" + "@credo-ts/core" "0.5.0" +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "@types/express" "^4.17.15" express "^4.17.1" ws "^8.13.0" @@ -696,22 +749,40 @@ class-validator "0.14.1" tsyringe "^4.6.0" +<<<<<<< HEAD "@credo-ts/question-answer@0.5.3": version "0.5.3" resolved "https://registry.yarnpkg.com/@credo-ts/question-answer/-/question-answer-0.5.3.tgz#dfe52999279df3016ad1ef8319bb9a14de3ca4ff" integrity sha512-xdclXz08iDbQX5KnlBPbMNaVqYjdrnjJ8tq3KILnCbWzwSbxIF7Ab7T3E9g6DKYkb5zmVaMVTUQU41ocyYCsJQ== dependencies: "@credo-ts/core" "0.5.3" +======= +"@credo-ts/question-answer@0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@credo-ts/question-answer/-/question-answer-0.5.0.tgz#d3871127a36f783c7977c3cbcca8a23523453a32" + integrity sha512-cF4RRoVIS05ssIMk4iNQcn53k5E3G4jHVTSrBr3ZoV5EAGHTQ0Y5NMlLCx7kLlY31KGvhdiPXxeECG/uSiS3sg== + dependencies: + "@credo-ts/core" "0.5.0" +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) class-transformer "0.5.1" class-validator "0.14.1" rxjs "^7.8.0" +<<<<<<< HEAD "@credo-ts/tenants@0.5.3": version "0.5.3" resolved "https://registry.yarnpkg.com/@credo-ts/tenants/-/tenants-0.5.3.tgz#bcea2693dff06349c777454e6f6a67c7b0e8ecdb" integrity sha512-4KwVCc0Nwdld8223w+d9PBa3Cj/NkuTFmit6/Bk/KIAZ1VasvMF4p/bYuGNB/MJaqy306fwRn12InClq36kJIw== dependencies: "@credo-ts/core" "0.5.3" +======= +"@credo-ts/tenants@0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@credo-ts/tenants/-/tenants-0.5.0.tgz#e32943d66580af3b7bf6970fb3321329a479271d" + integrity sha512-SB2btH9adWLBwBs2d3od9VTF6AA2Bfzl3oJovlrcdWHXSYQWf0Hm+PRkvmL8+RYwdGtDM8uBKQrkbdPBGWEWAA== + dependencies: + "@credo-ts/core" "0.5.0" +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) async-mutex "^0.4.0" "@cspotcode/source-map-support@^0.8.0": @@ -1304,6 +1375,7 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +<<<<<<< HEAD "@hyperledger/anoncreds-nodejs@0.2.2": version "0.2.2" resolved "https://registry.yarnpkg.com/@hyperledger/anoncreds-nodejs/-/anoncreds-nodejs-0.2.2.tgz#5344427c554fc7280efe22f2061e3a26023fdd84" @@ -1312,10 +1384,21 @@ "@2060.io/ffi-napi" "^4.0.9" "@2060.io/ref-napi" "^3.0.6" "@hyperledger/anoncreds-shared" "0.2.2" +======= +"@hyperledger/anoncreds-nodejs@0.2.1": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@hyperledger/anoncreds-nodejs/-/anoncreds-nodejs-0.2.1.tgz#7dbde3e878758371e4d44542daa7f54ecf48f38e" + integrity sha512-wfQEVSqYHq6mQFTLRMVayyi8kbHlz3RGEIe10JOQSHCw4ZCTifQ1XuVajSwOj8ykNYwxuckcfNikJtJScs7l+w== + dependencies: + "@2060.io/ffi-napi" "4.0.8" + "@2060.io/ref-napi" "3.0.6" + "@hyperledger/anoncreds-shared" "0.2.1" +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "@mapbox/node-pre-gyp" "^1.0.11" ref-array-di "1.2.2" ref-struct-di "1.1.1" +<<<<<<< HEAD "@hyperledger/anoncreds-shared@0.2.2": version "0.2.2" resolved "https://registry.yarnpkg.com/@hyperledger/anoncreds-shared/-/anoncreds-shared-0.2.2.tgz#492995d076448d682a828312bbba58314e943c4a" @@ -1329,11 +1412,27 @@ "@2060.io/ffi-napi" "^4.0.9" "@2060.io/ref-napi" "^3.0.6" "@hyperledger/aries-askar-shared" "0.2.1" +======= +"@hyperledger/anoncreds-shared@0.2.1": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@hyperledger/anoncreds-shared/-/anoncreds-shared-0.2.1.tgz#7a8be78473e8cdd33b73ccdf2e9b838226aef0f9" + integrity sha512-QpkmsiDBto4B3MS7+tJKn8DHCuhaZuzPKy+SoSAIH8wrjBmQ4NQqzMBZXs0z0JnNr1egkIFR3HIFsIu9ayK20g== + +"@hyperledger/aries-askar-nodejs@0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@hyperledger/aries-askar-nodejs/-/aries-askar-nodejs-0.2.0.tgz#7a0b469184f0682d0e31955e29d091956f662273" + integrity sha512-d73D2zK1f1cM5y8MFp4BK+NvkquujDlRr91THpxkuRwmLf407gibOY3G4OdGIkL1kQtorGM5c5U0/qMzW+8E1Q== + dependencies: + "@2060.io/ffi-napi" "4.0.8" + "@2060.io/ref-napi" "3.0.6" + "@hyperledger/aries-askar-shared" "0.2.0" +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "@mapbox/node-pre-gyp" "^1.0.10" node-cache "^5.1.2" ref-array-di "^1.2.2" ref-struct-di "^1.1.1" +<<<<<<< HEAD "@hyperledger/aries-askar-shared@0.2.1": version "0.2.1" resolved "https://registry.yarnpkg.com/@hyperledger/aries-askar-shared/-/aries-askar-shared-0.2.1.tgz#0c01abe47fd53dd1629ee41af51c9d9d42f7f86f" @@ -1349,14 +1448,38 @@ "@2060.io/ffi-napi" "^4.0.9" "@2060.io/ref-napi" "^3.0.6" "@hyperledger/indy-vdr-shared" "0.2.2" +======= +"@hyperledger/aries-askar-shared@0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@hyperledger/aries-askar-shared/-/aries-askar-shared-0.2.0.tgz#9291733f8fa1e3039dfe36e1fabca1819b93bd1b" + integrity sha512-A6bHbTwTtV1YT3XphNFltX34DCBtj7qPyip4R+WAQFnus5286a2xsppNvl5OAPMAxgKjQTdyFBqcYaNRc0lqIQ== + dependencies: + buffer "^6.0.3" + +"@hyperledger/indy-vdr-nodejs@0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@hyperledger/indy-vdr-nodejs/-/indy-vdr-nodejs-0.2.0.tgz#c5fd2c211d5a2b2a0637efa6b9636b208d919c06" + integrity sha512-yv+p0mU9NBUgmUDJijNgxtLonhzhDP54wRl4Mfn/s/ZyzLbEQakswmqa2sX0mYQDTLG14iq5uEN6d0eRzUtDeg== + dependencies: + "@2060.io/ffi-napi" "4.0.8" + "@2060.io/ref-napi" "3.0.6" + "@hyperledger/indy-vdr-shared" "0.2.0" +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "@mapbox/node-pre-gyp" "^1.0.10" ref-array-di "^1.2.2" ref-struct-di "^1.1.1" +<<<<<<< HEAD "@hyperledger/indy-vdr-shared@0.2.2": version "0.2.2" resolved "https://registry.yarnpkg.com/@hyperledger/indy-vdr-shared/-/indy-vdr-shared-0.2.2.tgz#9ca8b56cd89ab18792d129a0358b641e211274e3" integrity sha512-9425MHU3K+/ahccCRjOIX3Z/51gqxvp3Nmyujyqlx9cd7PWG2Rianx7iNWecFBkdAEqS0DfHsb6YqqH39YZp/A== +======= +"@hyperledger/indy-vdr-shared@0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@hyperledger/indy-vdr-shared/-/indy-vdr-shared-0.2.0.tgz#4781e38bffe69366e694e8d025a8d017b8a1cb5b" + integrity sha512-/aPzpzb6Wks7poRSercSp6f3mFOBoQmxSIyo50XO6ci/Jfa4ZGuV8y8YWU2SJktsdz4TtL5YJxt2WVfOus9bEQ== +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "@isaacs/cliui@^8.0.2": version "8.0.2" @@ -1705,6 +1828,7 @@ resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== +<<<<<<< HEAD "@sd-jwt/core@^0.6.1": version "0.6.1" resolved "https://registry.yarnpkg.com/@sd-jwt/core/-/core-0.6.1.tgz#d28be10d0f4b672636fcf7ad71737cb08e5dae96" @@ -1761,6 +1885,75 @@ version "2.0.0" resolved "https://registry.yarnpkg.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df" integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ== +======= +"@sd-jwt/core@^0.2.1": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@sd-jwt/core/-/core-0.2.1.tgz#75b0b273758e6be050e042a75bd6a0c4a2a7258e" + integrity sha512-8auyt3mfzgAK+IP9mNc3kSONdo5x2Y8ypNj5gHKP7N81nVeyI+DHethoPQv84JVcqYYcNwHwyrc2Z5k7rg2lFQ== + dependencies: + "@sd-jwt/decode" "0.2.1" + "@sd-jwt/present" "0.2.1" + "@sd-jwt/types" "0.2.1" + "@sd-jwt/utils" "0.2.1" + +"@sd-jwt/decode@0.2.1", "@sd-jwt/decode@^0.2.0", "@sd-jwt/decode@^0.2.1": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@sd-jwt/decode/-/decode-0.2.1.tgz#e0fb32dd2a95440ad69237e66ea2cd4770ec7e09" + integrity sha512-rs55WB3llrMObxN8jeMl06km/h0WivO9jSWNubO9JUIdlfrVhssU38xoXakvQeSDjAJkUUhfZcvmC2vNo1X6Wg== + dependencies: + "@sd-jwt/types" "0.2.1" + "@sd-jwt/utils" "0.2.1" + +"@sd-jwt/decode@^0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@sd-jwt/decode/-/decode-0.3.0.tgz#23627ce1b7c678a6ac685d7241e7f64e18bd9a8c" + integrity sha512-jCN1g3VzopiUxUtBZWq0Ojfzbg+wYkE1/gV86Xq7/gV8aNacCJo7Su5a3pYtoYg/rnH7ou1kwpD6vteQFkvXMQ== + dependencies: + "@sd-jwt/types" "0.3.0" + "@sd-jwt/utils" "0.3.0" + +"@sd-jwt/present@0.2.1": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@sd-jwt/present/-/present-0.2.1.tgz#ff9958626b271a60d539dd1e601763ff33c024e8" + integrity sha512-yWIAR2C/q1jNUwzAeUlUcf3WCTEcSSGo9pltHW5AXptELjyaWGSmC5p6o9ucDXHvBnicfPONhe5OdUCSpiCntw== + dependencies: + "@sd-jwt/types" "0.2.1" + "@sd-jwt/utils" "0.2.1" + +"@sd-jwt/present@^0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@sd-jwt/present/-/present-0.3.0.tgz#e054f66c0ec9c339570ec028e0f2291d75c279e3" + integrity sha512-dICPhH5hqOLXmuJMdTaA47ZMpCDkTzbWUQXsIgw0vma7Aj9Bc6ySNevPwlsUx4K8XBjPgYWwBM9tKdrs3tsCvQ== + dependencies: + "@sd-jwt/types" "0.3.0" + "@sd-jwt/utils" "0.3.0" + +"@sd-jwt/types@0.2.1": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@sd-jwt/types/-/types-0.2.1.tgz#e1e6b47728dffa90ed244e15e2253bd01793cb96" + integrity sha512-nbNik/cq6UIMsN144FcgPZQzaqIsjEEj307j3ZSFORkQBR4Tsmcj54aswTuNh0Z0z/4aSbfw14vOKBZvRWyVLQ== + +"@sd-jwt/types@0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@sd-jwt/types/-/types-0.3.0.tgz#12f2fa7b448f1f5e368ddfac8db2143ed58c38f7" + integrity sha512-JbpZICZ+nWPiKPKw+Veg5tf0Oftit4EzxhLJyvcd0u4R6IulNZvi6LCoUL7b2IT1H86eYPd/qB1KvSh43ByZOA== + +"@sd-jwt/utils@0.2.1": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@sd-jwt/utils/-/utils-0.2.1.tgz#35ad83232eab2de911e765d93222acd871982a5e" + integrity sha512-9eRrge44dhE3fenawR/RZGxP5iuW9DtgdOVANu/JK5PEl80r0fDsMwm/gDjuv8OgLDCmQ6uSaVte1lYaTG71bQ== + dependencies: + "@sd-jwt/types" "0.2.1" + buffer "*" + +"@sd-jwt/utils@0.3.0", "@sd-jwt/utils@^0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@sd-jwt/utils/-/utils-0.3.0.tgz#73ce9809ccc98b35d5a6d1bf1ed34758bcdfb39d" + integrity sha512-jQNYxvyfLda9StVLeUqUZtv5csI6IuzcD6b55/wsC9xJgTuntZqf8vyJvuu4MwEJUFwm9PdGkCJXyl/nbpmNLw== + dependencies: + "@sd-jwt/types" "0.3.0" + buffer "*" +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "@sindresorhus/is@^4.0.0": version "4.6.0" @@ -1786,6 +1979,7 @@ resolved "https://registry.yarnpkg.com/@sovpro/delimited-stream/-/delimited-stream-1.1.0.tgz#4334bba7ee241036e580fdd99c019377630d26b4" integrity sha512-kQpk267uxB19X3X2T1mvNMjyvIEonpNSHrMlK5ZaBU6aZxw7wPbpgKJOjHN3+/GPVpXgAV9soVT2oyHpLkLtyw== +<<<<<<< HEAD "@sphereon/pex-models@^2.2.4": version "2.2.4" resolved "https://registry.yarnpkg.com/@sphereon/pex-models/-/pex-models-2.2.4.tgz#0ce28e9858b38012fe1ff7d9fd12ec503473ee66" @@ -1802,11 +1996,30 @@ "@sd-jwt/types" "^0.6.1" "@sphereon/pex-models" "^2.2.4" "@sphereon/ssi-types" "0.22.0" +======= +"@sphereon/pex-models@^2.2.2": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@sphereon/pex-models/-/pex-models-2.2.2.tgz#3f8b12c49d8fab7372b4b47eae5bcbf8729cccba" + integrity sha512-CZIsBoaV5rMZEWYBsmH+RxsdoxpXf5FSDwDz0GB0qOf5WFk1BGUnzpZzi5yJ+2L151mhPk97dlRc9Wb01Awr4Q== + +"@sphereon/pex@3.3.0": + version "3.3.0" + resolved "https://registry.yarnpkg.com/@sphereon/pex/-/pex-3.3.0.tgz#86384f7ee6e5a966b98d3e8010a27e93eb144317" + integrity sha512-CNthF/6dlIECqTqdOWGD5HOT72OWjzKTFVuFGmSbgOqsEtEtGU0e0g0gYbvXWNm0hYKsyFgS5XIZ1Uj3NR5UMg== + dependencies: + "@astronautlabs/jsonpath" "^1.1.2" + "@sd-jwt/decode" "^0.3.0" + "@sd-jwt/present" "^0.3.0" + "@sd-jwt/utils" "^0.3.0" + "@sphereon/pex-models" "^2.2.2" + "@sphereon/ssi-types" "0.18.1" +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) ajv "^8.12.0" ajv-formats "^2.1.1" jwt-decode "^3.1.2" nanoid "^3.3.7" string.prototype.matchall "^4.0.10" +<<<<<<< HEAD uint8arrays "^3.1.1" "@sphereon/ssi-types@0.22.0": @@ -1823,6 +2036,15 @@ integrity sha512-1lM2yfOEhpcYYBxm/12KYY4n3ZSahVf5rFqGdterQkMJMthwr20HqTjw3+VK5p7IVf+86DyBoZJyS4V9tSsoCA== dependencies: "@sd-jwt/decode" "^0.6.1" +======= + +"@sphereon/ssi-types@0.18.1", "@sphereon/ssi-types@^0.18.1": + version "0.18.1" + resolved "https://registry.yarnpkg.com/@sphereon/ssi-types/-/ssi-types-0.18.1.tgz#c00e4939149f4e441fae56af860735886a4c33a5" + integrity sha512-uM0gb1woyc0R+p+qh8tVDi15ZWmpzo9BP0iBp/yRkJar7gAfgwox/yvtEToaH9jROKnDCwL3DDQCDeNucpMkwg== + dependencies: + "@sd-jwt/decode" "^0.2.0" +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) jwt-decode "^3.1.2" "@stablelib/binary@^1.0.1": @@ -3000,7 +3222,7 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer@^6.0.3: +buffer@*, buffer@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== @@ -6193,11 +6415,14 @@ msrcrypto@^1.5.6: resolved "https://registry.yarnpkg.com/msrcrypto/-/msrcrypto-1.5.8.tgz#be419be4945bf134d8af52e9d43be7fa261f4a1c" integrity sha512-ujZ0TRuozHKKm6eGbKHfXef7f+esIhEckmThVnz7RNyiOJd7a6MXj2JGBoL9cnPDW+JMG16MoTUh5X+XXjI66Q== +<<<<<<< HEAD multiformats@^9.4.2: version "9.9.0" resolved "https://registry.yarnpkg.com/multiformats/-/multiformats-9.9.0.tgz#c68354e7d21037a8f1f8833c8ccd68618e8f1d37" integrity sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg== +======= +>>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) nanoid@^3.3.7: version "3.3.7" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" From 9be4bbedd5b0ace5d3d970e60a89e5dc8ada471a Mon Sep 17 00:00:00 2001 From: Krishna Date: Wed, 10 Apr 2024 16:41:28 +0530 Subject: [PATCH 08/20] fix: agent authentication Signed-off-by: Krishna Signed-off-by: pallavicoder --- src/controllers/agent/AgentController.ts | 2 +- src/routes/routes.ts | 2 +- src/routes/swagger.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/agent/AgentController.ts b/src/controllers/agent/AgentController.ts index a7ec6fc6..79f42b26 100644 --- a/src/controllers/agent/AgentController.ts +++ b/src/controllers/agent/AgentController.ts @@ -19,7 +19,7 @@ export class AgentController extends Controller { /** * Retrieve basic agent information */ - @Get('/') + @Get('/info') public async getAgentInfo(): Promise { return { label: this.agent.config.label, diff --git a/src/routes/routes.ts b/src/routes/routes.ts index e84cb64c..b85cc195 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -3765,7 +3765,7 @@ export function RegisterRoutes(app: Router) { } }); // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa - app.get('/agent', + app.get('/agent/info', ...(fetchMiddlewares(AgentController)), ...(fetchMiddlewares(AgentController.prototype.getAgentInfo)), diff --git a/src/routes/swagger.json b/src/routes/swagger.json index 6c54dcfd..08ac2e02 100644 --- a/src/routes/swagger.json +++ b/src/routes/swagger.json @@ -9373,7 +9373,7 @@ } } }, - "/agent": { + "/agent/info": { "get": { "operationId": "GetAgentInfo", "responses": { From 4d9ad0b59ce0e28e9cec38843d4b2c32406a3c95 Mon Sep 17 00:00:00 2001 From: Krishna Date: Wed, 10 Apr 2024 17:04:28 +0530 Subject: [PATCH 09/20] fix: agent auth Signed-off-by: Krishna Signed-off-by: pallavicoder --- src/controllers/agent/AgentController.ts | 2 +- src/routes/routes.ts | 2 +- src/routes/swagger.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/agent/AgentController.ts b/src/controllers/agent/AgentController.ts index 79f42b26..a7ec6fc6 100644 --- a/src/controllers/agent/AgentController.ts +++ b/src/controllers/agent/AgentController.ts @@ -19,7 +19,7 @@ export class AgentController extends Controller { /** * Retrieve basic agent information */ - @Get('/info') + @Get('/') public async getAgentInfo(): Promise { return { label: this.agent.config.label, diff --git a/src/routes/routes.ts b/src/routes/routes.ts index b85cc195..e84cb64c 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -3765,7 +3765,7 @@ export function RegisterRoutes(app: Router) { } }); // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa - app.get('/agent/info', + app.get('/agent', ...(fetchMiddlewares(AgentController)), ...(fetchMiddlewares(AgentController.prototype.getAgentInfo)), diff --git a/src/routes/swagger.json b/src/routes/swagger.json index 08ac2e02..6c54dcfd 100644 --- a/src/routes/swagger.json +++ b/src/routes/swagger.json @@ -9373,7 +9373,7 @@ } } }, - "/agent/info": { + "/agent": { "get": { "operationId": "GetAgentInfo", "responses": { From 202660fbdc4cb63281b32cabb96ad854c12ee03e Mon Sep 17 00:00:00 2001 From: KulkarniShashank Date: Fri, 5 Apr 2024 19:45:00 +0530 Subject: [PATCH 10/20] feat: added messageType on the credo core Signed-off-by: KulkarniShashank Signed-off-by: pallavicoder --- patches/@credo-ts+core+0.5.0.patch | 50 ++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 patches/@credo-ts+core+0.5.0.patch diff --git a/patches/@credo-ts+core+0.5.0.patch b/patches/@credo-ts+core+0.5.0.patch new file mode 100644 index 00000000..7350b168 --- /dev/null +++ b/patches/@credo-ts+core+0.5.0.patch @@ -0,0 +1,50 @@ +diff --git a/node_modules/@credo-ts/core/build/agent/EnvelopeService.js b/node_modules/@credo-ts/core/build/agent/EnvelopeService.js +index 12261a9..0238d59 100644 +--- a/node_modules/@credo-ts/core/build/agent/EnvelopeService.js ++++ b/node_modules/@credo-ts/core/build/agent/EnvelopeService.js +@@ -32,12 +32,14 @@ let EnvelopeService = class EnvelopeService { + let encryptedMessage = await agentContext.wallet.pack(message, recipientKeysBase58, senderKeyBase58 !== null && senderKeyBase58 !== void 0 ? senderKeyBase58 : undefined); + // If the message has routing keys (mediator) pack for each mediator + for (const routingKeyBase58 of routingKeysBase58) { ++ console.log(`message['@type']`, JSON.stringify(message['@type'])) + const forwardMessage = new messages_1.ForwardMessage({ + // Forward to first recipient key + to: recipientKeysBase58[0], + message: encryptedMessage, + }); + recipientKeysBase58 = [routingKeyBase58]; ++ forwardMessage["messageType"] = message['@type']; + this.logger.debug('Forward message created', forwardMessage); + const forwardJson = forwardMessage.toJSON({ + useDidSovPrefixWhereAllowed: agentContext.config.useDidSovPrefixWhereAllowed, +diff --git a/node_modules/@credo-ts/core/build/modules/routing/messages/ForwardMessage.d.ts b/node_modules/@credo-ts/core/build/modules/routing/messages/ForwardMessage.d.ts +index 4f8577b..396f78a 100644 +--- a/node_modules/@credo-ts/core/build/modules/routing/messages/ForwardMessage.d.ts ++++ b/node_modules/@credo-ts/core/build/modules/routing/messages/ForwardMessage.d.ts +@@ -3,6 +3,7 @@ import { EncryptedMessage } from '../../../types'; + export interface ForwardMessageOptions { + id?: string; + to: string; ++ messageType: string; + message: EncryptedMessage; + } + /** +@@ -19,5 +20,6 @@ export declare class ForwardMessage extends AgentMessage { + readonly type: string; + static readonly type: import("../../../utils/messageType").ParsedMessageType; + to: string; ++ messageType: string; + message: EncryptedMessage; + } +diff --git a/node_modules/@credo-ts/core/build/types.d.ts b/node_modules/@credo-ts/core/build/types.d.ts +index e0384d9..0a669fb 100644 +--- a/node_modules/@credo-ts/core/build/types.d.ts ++++ b/node_modules/@credo-ts/core/build/types.d.ts +@@ -81,6 +81,7 @@ export interface PlaintextMessage { + thid?: string; + pthid?: string; + }; ++ messageType: string; + [key: string]: unknown; + } + export interface OutboundPackage { From aa63d2e9df77ef9b264ceefb057a0b087dc1c70d Mon Sep 17 00:00:00 2001 From: tipusinghaw <126460794+tipusinghaw@users.noreply.github.com> Date: Fri, 19 Apr 2024 13:17:30 +0530 Subject: [PATCH 11/20] feat: migrated to amoy (#96) Signed-off-by: tipusinghaw Signed-off-by: pallavicoder --- src/routes/routes.ts | 1 + src/routes/swagger.json | 6 ++- yarn.lock | 87 ++++++++++++++++++++++++++++++++++++++--- 3 files changed, 87 insertions(+), 7 deletions(-) diff --git a/src/routes/routes.ts b/src/routes/routes.ts index e84cb64c..aaa27aac 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -132,6 +132,7 @@ const models: TsoaRoute.Models = { "@type": {"dataType":"string","required":true}, "@id": {"dataType":"string","required":true}, "~thread": {"dataType":"nestedObjectLiteral","nestedProperties":{"pthid":{"dataType":"string"},"thid":{"dataType":"string"}}}, + "messageType": {"dataType":"string","required":true}, }, "additionalProperties": {"dataType":"any"}, }, diff --git a/src/routes/swagger.json b/src/routes/swagger.json index 6c54dcfd..8c48bc5c 100644 --- a/src/routes/swagger.json +++ b/src/routes/swagger.json @@ -298,11 +298,15 @@ } }, "type": "object" + }, + "messageType": { + "type": "string" } }, "required": [ "@type", - "@id" + "@id", + "messageType" ], "type": "object", "additionalProperties": {} diff --git a/yarn.lock b/yarn.lock index 11eb00c4..f6b060ae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -603,6 +603,7 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +<<<<<<< HEAD <<<<<<< HEAD "@credo-ts/anoncreds@0.5.3": version "0.5.3" @@ -620,12 +621,22 @@ "@astronautlabs/jsonpath" "^1.1.2" "@credo-ts/core" "0.5.0" >>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) +======= +"@credo-ts/anoncreds@0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@credo-ts/anoncreds/-/anoncreds-0.5.1.tgz#d1ba19e5764e1de5982a0a7e51cd5bc1badce6ad" + integrity sha512-d97wELxvt7jOqgr21FOVfFqHFSu487L+qF0QObOVCl9xElsST9sYl1iaRPHHW2GzYUMWLlnSwZm8fN4pLo9UVA== + dependencies: + "@astronautlabs/jsonpath" "^1.1.2" + "@credo-ts/core" "0.5.1" +>>>>>>> 5dc99ac... feat: migrated to amoy (#96) big-integer "^1.6.51" bn.js "^5.2.1" class-transformer "0.5.1" class-validator "0.14.1" reflect-metadata "^0.1.13" +<<<<<<< HEAD <<<<<<< HEAD "@credo-ts/askar@0.5.3": version "0.5.3" @@ -641,12 +652,21 @@ dependencies: "@credo-ts/core" "0.5.0" >>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) +======= +"@credo-ts/askar@0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@credo-ts/askar/-/askar-0.5.1.tgz#107d2f91f6afecb77fc7f24556725ec0e7597989" + integrity sha512-O3XWnmpnEe5U/a0kGQHigzXPw6/SXKp2v4ob3DJdHA0kiK3DywANNeG/Hw44lxdg24nNpizmVlO5EjRa6ULcmw== + dependencies: + "@credo-ts/core" "0.5.1" +>>>>>>> 5dc99ac... feat: migrated to amoy (#96) bn.js "^5.2.1" class-transformer "0.5.1" class-validator "0.14.1" rxjs "^7.8.0" tsyringe "^4.8.0" +<<<<<<< HEAD <<<<<<< HEAD "@credo-ts/core@0.5.3": version "0.5.3" @@ -658,6 +678,12 @@ resolved "https://registry.yarnpkg.com/@credo-ts/core/-/core-0.5.0.tgz#a6366df4b176a492f4f45b7e2f45b8c905e1eeca" integrity sha512-7SJBgs1yd2gpwv8BnCO+U63Uu06v6Cxzg+ypWpqyNkkG4nTsQZSI8r0oSQ+DgbiqwN/AZKsn9HuNISFftf5yKQ== >>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) +======= +"@credo-ts/core@0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@credo-ts/core/-/core-0.5.1.tgz#bb38e2f5451753cea1d3a73b1d407255af02c4ed" + integrity sha512-ywwFw6wwiMft3A994Y91LAm8CrEg2G7CJQRyLD8UzneU4coMWZTeED63thAEX6XK/tyDmv2MAcrO04hE3KQPcA== +>>>>>>> 5dc99ac... feat: migrated to amoy (#96) dependencies: "@digitalcredentials/jsonld" "^6.0.0" "@digitalcredentials/jsonld-signatures" "^9.4.0" @@ -701,6 +727,7 @@ varint "^6.0.0" web-did-resolver "^2.0.21" +<<<<<<< HEAD <<<<<<< HEAD "@credo-ts/indy-vdr@0.5.3": version "0.5.3" @@ -723,19 +750,29 @@ version "0.5.0" resolved "https://registry.yarnpkg.com/@credo-ts/indy-vdr/-/indy-vdr-0.5.0.tgz#1799b2a90599d000a43c5dc59e7bd1e1eda68fe1" integrity sha512-hW7xDdL6fVIgTIclmJRfVz3mlpo87Cwk6hCiRY1/lWV62bsKs6RHGLv6RUp+WPwTIpPpbBs6T1Dm85ditBbxpA== +======= +"@credo-ts/indy-vdr@0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@credo-ts/indy-vdr/-/indy-vdr-0.5.1.tgz#1fe4719235f3e586e770e57aa46bba7182d53c10" + integrity sha512-pXRAKzLlwijaNaCOPheV9dHeZm0FAfiJw9kYEvpjBn+d/ARygb92kr9lJizUGK3cPtF9dbhrNBuLWwskM39fCw== +>>>>>>> 5dc99ac... feat: migrated to amoy (#96) dependencies: - "@credo-ts/anoncreds" "0.5.0" - "@credo-ts/core" "0.5.0" + "@credo-ts/anoncreds" "0.5.1" + "@credo-ts/core" "0.5.1" -"@credo-ts/node@0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@credo-ts/node/-/node-0.5.0.tgz#d28ed5040f9925777a65f66f55abed7c2d2e53de" - integrity sha512-/44SrgmjuRDE4Sjb6QDMvquPTUsH5DkIp8pbN7csLe0GEDDzPOUvzCaf4yI7TRnuSZN9Nh9/f6C2UGn0JuQ0Sg== +"@credo-ts/node@0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@credo-ts/node/-/node-0.5.1.tgz#adf24f931fd80848722f8f313012be00da405deb" + integrity sha512-F/PA3wyKN9MvH2JFSUmYGqQT+JaeSGKWNJxT+OkQzqseCZnCbErAnr8oNWlTwBWogp6ECx31FEn9wMq9zAMLaw== dependencies: "@2060.io/ffi-napi" "^4.0.8" "@2060.io/ref-napi" "^3.0.6" +<<<<<<< HEAD "@credo-ts/core" "0.5.0" >>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) +======= + "@credo-ts/core" "0.5.1" +>>>>>>> 5dc99ac... feat: migrated to amoy (#96) "@types/express" "^4.17.15" express "^4.17.1" ws "^8.13.0" @@ -749,6 +786,7 @@ class-validator "0.14.1" tsyringe "^4.6.0" +<<<<<<< HEAD <<<<<<< HEAD "@credo-ts/question-answer@0.5.3": version "0.5.3" @@ -764,10 +802,19 @@ dependencies: "@credo-ts/core" "0.5.0" >>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) +======= +"@credo-ts/question-answer@0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@credo-ts/question-answer/-/question-answer-0.5.1.tgz#538dbfec8fc866de188c11ede9860bf0ef712937" + integrity sha512-yPjOl3tUfK5GT9BvX70hiTq86Fi5WTxB0pL42e17evq7+puBOMqhwQ1nv7dhDSWC2Oy+r0D0mF7Lz2hGulrJJg== + dependencies: + "@credo-ts/core" "0.5.1" +>>>>>>> 5dc99ac... feat: migrated to amoy (#96) class-transformer "0.5.1" class-validator "0.14.1" rxjs "^7.8.0" +<<<<<<< HEAD <<<<<<< HEAD "@credo-ts/tenants@0.5.3": version "0.5.3" @@ -783,6 +830,14 @@ dependencies: "@credo-ts/core" "0.5.0" >>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) +======= +"@credo-ts/tenants@0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@credo-ts/tenants/-/tenants-0.5.1.tgz#63ca79eb0a6c7d4bdf43ea00ed712d7399c25421" + integrity sha512-+wJ+Wd3rThY6eP9e3WYFeFlJKQEUrmJPhN5t+vr4zyhB5T7pM5Nsg53pzugWoCeWsMUNCqmHo12Tc9edQTH0bg== + dependencies: + "@credo-ts/core" "0.5.1" +>>>>>>> 5dc99ac... feat: migrated to amoy (#96) async-mutex "^0.4.0" "@cspotcode/source-map-support@^0.8.0": @@ -1955,6 +2010,23 @@ buffer "*" >>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) +"@sideway/address@^4.1.5": + version "4.1.5" + resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5" + integrity sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q== + dependencies: + "@hapi/hoek" "^9.0.0" + +"@sideway/formula@^3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.1.tgz#80fcbcbaf7ce031e0ef2dd29b1bfc7c3f583611f" + integrity sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg== + +"@sideway/pinpoint@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df" + integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ== + "@sindresorhus/is@^4.0.0": version "4.6.0" resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f" @@ -5829,11 +5901,14 @@ joi@^17.12.3: "@sideway/formula" "^3.0.1" "@sideway/pinpoint" "^2.0.0" +<<<<<<< HEAD js-base64@^3.7.6: version "3.7.7" resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-3.7.7.tgz#e51b84bf78fbf5702b9541e2cb7bfcb893b43e79" integrity sha512-7rCnleh0z2CkXhH67J8K1Ytz0b2Y+yxTPL+/KOJoa20hfnVQ/3/T6W/KflYI4bRHRagNeXeU2bkNGI3v1oS/lw== +======= +>>>>>>> 5dc99ac... feat: migrated to amoy (#96) js-sha3@0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" From 541fcd420000220a1ed599bf9e8a2aee827333c6 Mon Sep 17 00:00:00 2001 From: tipusinghaw <126460794+tipusinghaw@users.noreply.github.com> Date: Mon, 22 Apr 2024 12:14:37 +0530 Subject: [PATCH 12/20] merge: develop to main (#98) Co-authored-by: Sai Ranjit Tummalapalli Signed-off-by: pallavicoder --- package.json | 15 +++++++ yarn.lock | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 129 insertions(+) diff --git a/package.json b/package.json index f5fd1328..eb42ae13 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "validate": "yarn lint && yarn check-types && yarn check-format" }, "dependencies": { +<<<<<<< HEAD "@ayanworks/credo-polygon-w3c-module": "0.0.2-alpha.8", "@credo-ts/anoncreds": "0.5.3", "@credo-ts/askar": "0.5.3", @@ -49,6 +50,20 @@ "@hyperledger/anoncreds-nodejs": "0.2.2", "@hyperledger/aries-askar-nodejs": "0.2.1", "@hyperledger/indy-vdr-nodejs": "0.2.2", +======= + "@ayanworks/credo-polygon-w3c-module": "0.0.2-alpha.7", + "@credo-ts/anoncreds": "0.5.1", + "@credo-ts/askar": "0.5.1", + "@credo-ts/core": "0.5.1", + "@credo-ts/indy-vdr": "0.5.1", + "@credo-ts/node": "0.5.1", + "@credo-ts/push-notifications": "^0.7.0", + "@credo-ts/question-answer": "0.5.1", + "@credo-ts/tenants": "0.5.1", + "@hyperledger/anoncreds-nodejs": "0.2.1", + "@hyperledger/aries-askar-nodejs": "0.2.0", + "@hyperledger/indy-vdr-nodejs": "0.2.0", +>>>>>>> 81e66a3... merge: develop to main (#98) "@tsoa/runtime": "^6.0.0", "@types/node-fetch": "^2.6.4", "@types/ref-struct-di": "^1.1.9", diff --git a/yarn.lock b/yarn.lock index f6b060ae..4ec93557 100644 --- a/yarn.lock +++ b/yarn.lock @@ -49,6 +49,7 @@ dependencies: static-eval "2.0.2" +<<<<<<< HEAD "@ayanworks/credo-polygon-w3c-module@0.0.2-alpha.8": version "0.0.2-alpha.8" resolved "https://registry.yarnpkg.com/@ayanworks/credo-polygon-w3c-module/-/credo-polygon-w3c-module-0.0.2-alpha.8.tgz#1d9f38cde0ba7ef2c09c805e390eab5928147c1c" @@ -70,6 +71,29 @@ "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4" "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.13" "@credo-ts/core" "0.5.3" +======= +"@ayanworks/credo-polygon-w3c-module@0.0.2-alpha.7": + version "0.0.2-alpha.7" + resolved "https://registry.yarnpkg.com/@ayanworks/credo-polygon-w3c-module/-/credo-polygon-w3c-module-0.0.2-alpha.7.tgz#003e09a4249a4618da914d3504ffafb522c74133" + integrity sha512-AK9rBqFYUvV8/VaD/X7b+/simfasbPuUgJCi1L1V4SIc2lJhJ2cxaI8OdEv5V1xBytmBdSC+THfSaKg0py3QRA== + dependencies: + "@ayanworks/polygon-did-registrar" "0.0.16-alpha.16" + "@ayanworks/polygon-did-resolver" "0.0.16-alpha.11" + "@ayanworks/polygon-schema-manager" "0.0.2-alpha.6" + "@credo-ts/askar" "0.5.1" + "@credo-ts/core" "0.5.1" + did-resolver "^4.1.0" + ethers "^6.9.0" + +"@ayanworks/polygon-did-registrar@0.0.16-alpha.16": + version "0.0.16-alpha.16" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registrar/-/polygon-did-registrar-0.0.16-alpha.16.tgz#8467412a8138ffb8b2305bf4ea7914a4ce979267" + integrity sha512-q3Y1bzeHmCAxRpbA6rXKaO9CQhLjlP4aMZuJxYiiicPlQ6plkRt+Icxdp1ozsCEcMouj3l4E5kgzjK48bhOxrw== + dependencies: + "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.3" + "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.11" + "@credo-ts/core" "0.5.1" +>>>>>>> 81e66a3... merge: develop to main (#98) "@ethersproject/basex" "^5.7.0" "@ethersproject/signing-key" "^5.7.0" "@ethersproject/transactions" "^5.7.0" @@ -83,15 +107,23 @@ resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registry-contract/-/polygon-did-registry-contract-2.0.1-alpha.4.tgz#5691d61f322959201813fe7ff2bd2234c8e7af72" integrity sha512-a35EtcPyLyKjq0y0uqi7uHXPeoMMSoC2oai88xY2PlLV9avQwyCIOaVsIKcuKdJaPWPmFQaeU5S7iY/pfVguWQ== +<<<<<<< HEAD "@ayanworks/polygon-did-resolver@0.0.16-alpha.13", "@ayanworks/polygon-did-resolver@^0.0.16-alpha.13": version "0.0.16-alpha.13" resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-0.0.16-alpha.13.tgz#24a0e0c674dde0d64fa5f4767c5368f791abbab3" integrity sha512-8SRDPQpX/AU1xfmH2O7DzqeDtPdE1FA3z7ONp/v1xvP1h00GU2nKie4jeWHipCVfJOInEmiJbl0FIKFcviERsA== +======= +"@ayanworks/polygon-did-resolver@0.0.16-alpha.11", "@ayanworks/polygon-did-resolver@^0.0.16-alpha.11": + version "0.0.16-alpha.11" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-0.0.16-alpha.11.tgz#fe115f9a63eea5e0604712549e9c573dcef7d55c" + integrity sha512-rQ6iVz0uht/hLkYA29E2iHN7xW0EusG6ognndBJF0QUxuPBB2kbmcr/4kW1E1m8FJLPvmEX/ed5v0pbBnGSJwA== +>>>>>>> 81e66a3... merge: develop to main (#98) dependencies: "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4" did-resolver "^4.1.0" ethers "^5.1.0" +<<<<<<< HEAD "@ayanworks/polygon-schema-manager@0.0.2-alpha.7": version "0.0.2-alpha.7" resolved "https://registry.yarnpkg.com/@ayanworks/polygon-schema-manager/-/polygon-schema-manager-0.0.2-alpha.7.tgz#79b975e7f6524d86030b4a38453ea5c33079882a" @@ -99,6 +131,15 @@ dependencies: "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4" "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.13" +======= +"@ayanworks/polygon-schema-manager@0.0.2-alpha.6": + version "0.0.2-alpha.6" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-schema-manager/-/polygon-schema-manager-0.0.2-alpha.6.tgz#a872afc1166e39561dba63f0ba83f898376bb874" + integrity sha512-H8W0eS//Q3eDCiwtEqfqPhGW3bRLWOkJU1EYOuiwZGaIuZb4kWbYqAGdgl0s5g0ZP1rjirk4Ztx1w10cWqsZWw== + dependencies: + "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.3" + "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.11" +>>>>>>> 81e66a3... merge: develop to main (#98) "@nomicfoundation/hardhat-verify" "^2.0.3" axios "^1.6.3" did-resolver "^4.1.0" @@ -603,6 +644,7 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +<<<<<<< HEAD <<<<<<< HEAD <<<<<<< HEAD "@credo-ts/anoncreds@0.5.3": @@ -630,12 +672,22 @@ "@astronautlabs/jsonpath" "^1.1.2" "@credo-ts/core" "0.5.1" >>>>>>> 5dc99ac... feat: migrated to amoy (#96) +======= +"@credo-ts/anoncreds@0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@credo-ts/anoncreds/-/anoncreds-0.5.1.tgz#d1ba19e5764e1de5982a0a7e51cd5bc1badce6ad" + integrity sha512-d97wELxvt7jOqgr21FOVfFqHFSu487L+qF0QObOVCl9xElsST9sYl1iaRPHHW2GzYUMWLlnSwZm8fN4pLo9UVA== + dependencies: + "@astronautlabs/jsonpath" "^1.1.2" + "@credo-ts/core" "0.5.1" +>>>>>>> 81e66a3... merge: develop to main (#98) big-integer "^1.6.51" bn.js "^5.2.1" class-transformer "0.5.1" class-validator "0.14.1" reflect-metadata "^0.1.13" +<<<<<<< HEAD <<<<<<< HEAD <<<<<<< HEAD "@credo-ts/askar@0.5.3": @@ -660,12 +712,21 @@ dependencies: "@credo-ts/core" "0.5.1" >>>>>>> 5dc99ac... feat: migrated to amoy (#96) +======= +"@credo-ts/askar@0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@credo-ts/askar/-/askar-0.5.1.tgz#107d2f91f6afecb77fc7f24556725ec0e7597989" + integrity sha512-O3XWnmpnEe5U/a0kGQHigzXPw6/SXKp2v4ob3DJdHA0kiK3DywANNeG/Hw44lxdg24nNpizmVlO5EjRa6ULcmw== + dependencies: + "@credo-ts/core" "0.5.1" +>>>>>>> 81e66a3... merge: develop to main (#98) bn.js "^5.2.1" class-transformer "0.5.1" class-validator "0.14.1" rxjs "^7.8.0" tsyringe "^4.8.0" +<<<<<<< HEAD <<<<<<< HEAD <<<<<<< HEAD "@credo-ts/core@0.5.3": @@ -679,11 +740,16 @@ integrity sha512-7SJBgs1yd2gpwv8BnCO+U63Uu06v6Cxzg+ypWpqyNkkG4nTsQZSI8r0oSQ+DgbiqwN/AZKsn9HuNISFftf5yKQ== >>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) ======= +======= +>>>>>>> 81e66a3... merge: develop to main (#98) "@credo-ts/core@0.5.1": version "0.5.1" resolved "https://registry.yarnpkg.com/@credo-ts/core/-/core-0.5.1.tgz#bb38e2f5451753cea1d3a73b1d407255af02c4ed" integrity sha512-ywwFw6wwiMft3A994Y91LAm8CrEg2G7CJQRyLD8UzneU4coMWZTeED63thAEX6XK/tyDmv2MAcrO04hE3KQPcA== +<<<<<<< HEAD >>>>>>> 5dc99ac... feat: migrated to amoy (#96) +======= +>>>>>>> 81e66a3... merge: develop to main (#98) dependencies: "@digitalcredentials/jsonld" "^6.0.0" "@digitalcredentials/jsonld-signatures" "^9.4.0" @@ -727,6 +793,7 @@ varint "^6.0.0" web-did-resolver "^2.0.21" +<<<<<<< HEAD <<<<<<< HEAD <<<<<<< HEAD "@credo-ts/indy-vdr@0.5.3": @@ -751,11 +818,16 @@ resolved "https://registry.yarnpkg.com/@credo-ts/indy-vdr/-/indy-vdr-0.5.0.tgz#1799b2a90599d000a43c5dc59e7bd1e1eda68fe1" integrity sha512-hW7xDdL6fVIgTIclmJRfVz3mlpo87Cwk6hCiRY1/lWV62bsKs6RHGLv6RUp+WPwTIpPpbBs6T1Dm85ditBbxpA== ======= +======= +>>>>>>> 81e66a3... merge: develop to main (#98) "@credo-ts/indy-vdr@0.5.1": version "0.5.1" resolved "https://registry.yarnpkg.com/@credo-ts/indy-vdr/-/indy-vdr-0.5.1.tgz#1fe4719235f3e586e770e57aa46bba7182d53c10" integrity sha512-pXRAKzLlwijaNaCOPheV9dHeZm0FAfiJw9kYEvpjBn+d/ARygb92kr9lJizUGK3cPtF9dbhrNBuLWwskM39fCw== +<<<<<<< HEAD >>>>>>> 5dc99ac... feat: migrated to amoy (#96) +======= +>>>>>>> 81e66a3... merge: develop to main (#98) dependencies: "@credo-ts/anoncreds" "0.5.1" "@credo-ts/core" "0.5.1" @@ -767,12 +839,16 @@ dependencies: "@2060.io/ffi-napi" "^4.0.8" "@2060.io/ref-napi" "^3.0.6" +<<<<<<< HEAD <<<<<<< HEAD "@credo-ts/core" "0.5.0" >>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) ======= "@credo-ts/core" "0.5.1" >>>>>>> 5dc99ac... feat: migrated to amoy (#96) +======= + "@credo-ts/core" "0.5.1" +>>>>>>> 81e66a3... merge: develop to main (#98) "@types/express" "^4.17.15" express "^4.17.1" ws "^8.13.0" @@ -786,6 +862,7 @@ class-validator "0.14.1" tsyringe "^4.6.0" +<<<<<<< HEAD <<<<<<< HEAD <<<<<<< HEAD "@credo-ts/question-answer@0.5.3": @@ -810,10 +887,19 @@ dependencies: "@credo-ts/core" "0.5.1" >>>>>>> 5dc99ac... feat: migrated to amoy (#96) +======= +"@credo-ts/question-answer@0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@credo-ts/question-answer/-/question-answer-0.5.1.tgz#538dbfec8fc866de188c11ede9860bf0ef712937" + integrity sha512-yPjOl3tUfK5GT9BvX70hiTq86Fi5WTxB0pL42e17evq7+puBOMqhwQ1nv7dhDSWC2Oy+r0D0mF7Lz2hGulrJJg== + dependencies: + "@credo-ts/core" "0.5.1" +>>>>>>> 81e66a3... merge: develop to main (#98) class-transformer "0.5.1" class-validator "0.14.1" rxjs "^7.8.0" +<<<<<<< HEAD <<<<<<< HEAD <<<<<<< HEAD "@credo-ts/tenants@0.5.3": @@ -838,6 +924,14 @@ dependencies: "@credo-ts/core" "0.5.1" >>>>>>> 5dc99ac... feat: migrated to amoy (#96) +======= +"@credo-ts/tenants@0.5.1": + version "0.5.1" + resolved "https://registry.yarnpkg.com/@credo-ts/tenants/-/tenants-0.5.1.tgz#63ca79eb0a6c7d4bdf43ea00ed712d7399c25421" + integrity sha512-+wJ+Wd3rThY6eP9e3WYFeFlJKQEUrmJPhN5t+vr4zyhB5T7pM5Nsg53pzugWoCeWsMUNCqmHo12Tc9edQTH0bg== + dependencies: + "@credo-ts/core" "0.5.1" +>>>>>>> 81e66a3... merge: develop to main (#98) async-mutex "^0.4.0" "@cspotcode/source-map-support@^0.8.0": @@ -2010,6 +2104,23 @@ buffer "*" >>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) +"@sideway/address@^4.1.5": + version "4.1.5" + resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5" + integrity sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q== + dependencies: + "@hapi/hoek" "^9.0.0" + +"@sideway/formula@^3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.1.tgz#80fcbcbaf7ce031e0ef2dd29b1bfc7c3f583611f" + integrity sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg== + +"@sideway/pinpoint@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df" + integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ== + "@sideway/address@^4.1.5": version "4.1.5" resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5" @@ -5901,6 +6012,7 @@ joi@^17.12.3: "@sideway/formula" "^3.0.1" "@sideway/pinpoint" "^2.0.0" +<<<<<<< HEAD <<<<<<< HEAD js-base64@^3.7.6: version "3.7.7" @@ -5909,6 +6021,8 @@ js-base64@^3.7.6: ======= >>>>>>> 5dc99ac... feat: migrated to amoy (#96) +======= +>>>>>>> 81e66a3... merge: develop to main (#98) js-sha3@0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" From 440892e9e1b00ab3a3c8365eeb7c10f197aaa975 Mon Sep 17 00:00:00 2001 From: pallavicoder Date: Thu, 9 May 2024 17:22:51 +0530 Subject: [PATCH 13/20] fix:solved merged conflicts Signed-off-by: pallavicoder --- package.json | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/package.json b/package.json index eb42ae13..f5fd1328 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "validate": "yarn lint && yarn check-types && yarn check-format" }, "dependencies": { -<<<<<<< HEAD "@ayanworks/credo-polygon-w3c-module": "0.0.2-alpha.8", "@credo-ts/anoncreds": "0.5.3", "@credo-ts/askar": "0.5.3", @@ -50,20 +49,6 @@ "@hyperledger/anoncreds-nodejs": "0.2.2", "@hyperledger/aries-askar-nodejs": "0.2.1", "@hyperledger/indy-vdr-nodejs": "0.2.2", -======= - "@ayanworks/credo-polygon-w3c-module": "0.0.2-alpha.7", - "@credo-ts/anoncreds": "0.5.1", - "@credo-ts/askar": "0.5.1", - "@credo-ts/core": "0.5.1", - "@credo-ts/indy-vdr": "0.5.1", - "@credo-ts/node": "0.5.1", - "@credo-ts/push-notifications": "^0.7.0", - "@credo-ts/question-answer": "0.5.1", - "@credo-ts/tenants": "0.5.1", - "@hyperledger/anoncreds-nodejs": "0.2.1", - "@hyperledger/aries-askar-nodejs": "0.2.0", - "@hyperledger/indy-vdr-nodejs": "0.2.0", ->>>>>>> 81e66a3... merge: develop to main (#98) "@tsoa/runtime": "^6.0.0", "@types/node-fetch": "^2.6.4", "@types/ref-struct-di": "^1.1.9", From cbc4911fb00c8c50427f4b33022d10f389630740 Mon Sep 17 00:00:00 2001 From: pallavicoder Date: Thu, 9 May 2024 17:34:54 +0530 Subject: [PATCH 14/20] fix:solved merged conflicts Signed-off-by: pallavicoder --- Dockerfile | 1 - package.json | 2 +- src/routes/routes.ts | 1753 +++++++++++++--------- src/routes/swagger.json | 221 +-- yarn.lock | 3139 +++++++++++++++++---------------------- 5 files changed, 2421 insertions(+), 2695 deletions(-) diff --git a/Dockerfile b/Dockerfile index d7b7fc01..631d3e01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -76,4 +76,3 @@ COPY --from=builder /app/patches ./patches # Set entry point ENTRYPOINT ["node", "./bin/afj-rest.js", "start"] - diff --git a/package.json b/package.json index f5fd1328..83cbdd01 100644 --- a/package.json +++ b/package.json @@ -102,4 +102,4 @@ "engines": { "node": ">=18" } -} +} \ No newline at end of file diff --git a/src/routes/routes.ts b/src/routes/routes.ts index aaa27aac..11d5af2a 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -1,7 +1,7 @@ /* tslint:disable */ /* eslint-disable */ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa -import { Controller, ValidationService, FieldErrors, ValidateError, TsoaRoute, HttpStatusCodeLiteral, TsoaResponse, fetchMiddlewares } from '@tsoa/runtime'; +import { TsoaRoute, fetchMiddlewares, ExpressTemplateService } from '@tsoa/runtime'; // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa import { ProofController } from './../controllers/proofs/ProofController'; // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa @@ -32,7 +32,10 @@ import { expressAuthentication } from './../authentication'; // @ts-ignore - no great way to install types from subpackage import { iocContainer } from './../utils/tsyringeTsoaIocContainer'; import type { IocContainer, IocContainerFactory } from '@tsoa/runtime'; -import type { RequestHandler, Router } from 'express'; +import type { Request as ExRequest, Response as ExResponse, RequestHandler, Router } from 'express'; + +const expressAuthenticationRecasted = expressAuthentication as (req: ExRequest, securityName: string, scopes?: string[], res?: ExResponse) => Promise; + // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa @@ -666,11 +669,6 @@ const models: TsoaRoute.Models = { "type": {"dataType":"string","validators":{}}, }, // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa - "Did": { - "dataType": "refAlias", - "type": {"dataType":"string","validators":{}}, - }, - // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa "W3cCredentialRecord": { "dataType": "refAlias", "type": {"ref":"Record_string.unknown_","validators":{}}, @@ -776,7 +774,7 @@ const models: TsoaRoute.Models = { }, // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa }; -const validationService = new ValidationService(models); +const templateService = new ExpressTemplateService(models, {"noImplicitAdditionalProperties":"throw-on-extras","bodyCoercion":true}); // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa @@ -790,8 +788,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ProofController)), ...(fetchMiddlewares(ProofController.prototype.getAllProofs)), - async function ProofController_getAllProofs(request: any, response: any, next: any) { - const args = { + async function ProofController_getAllProofs(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { threadId: {"in":"query","name":"threadId","dataType":"string"}, }; @@ -799,7 +797,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -808,9 +806,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getAllProofs.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getAllProofs', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -821,8 +824,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ProofController)), ...(fetchMiddlewares(ProofController.prototype.getProofById)), - async function ProofController_getProofById(request: any, response: any, next: any) { - const args = { + async function ProofController_getProofById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { proofRecordId: {"in":"path","name":"proofRecordId","required":true,"ref":"RecordId"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -832,7 +835,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -841,9 +844,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getProofById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getProofById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -854,8 +862,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ProofController)), ...(fetchMiddlewares(ProofController.prototype.proposeProof)), - async function ProofController_proposeProof(request: any, response: any, next: any) { - const args = { + async function ProofController_proposeProof(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { requestProofProposalOptions: {"in":"body","name":"requestProofProposalOptions","required":true,"ref":"RequestProofProposalOptions"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -865,7 +873,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -874,9 +882,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.proposeProof.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'proposeProof', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -887,8 +900,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ProofController)), ...(fetchMiddlewares(ProofController.prototype.acceptProposal)), - async function ProofController_acceptProposal(request: any, response: any, next: any) { - const args = { + async function ProofController_acceptProposal(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { acceptProposal: {"in":"body","name":"acceptProposal","required":true,"ref":"AcceptProofProposal"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -898,7 +911,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -907,9 +920,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.acceptProposal.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'acceptProposal', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -920,8 +938,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ProofController)), ...(fetchMiddlewares(ProofController.prototype.requestProof)), - async function ProofController_requestProof(request: any, response: any, next: any) { - const args = { + async function ProofController_requestProof(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { requestProofOptions: {"in":"body","name":"requestProofOptions","required":true,"ref":"RequestProofOptions"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -931,7 +949,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -940,9 +958,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.requestProof.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'requestProof', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -953,8 +976,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ProofController)), ...(fetchMiddlewares(ProofController.prototype.createRequest)), - async function ProofController_createRequest(request: any, response: any, next: any) { - const args = { + async function ProofController_createRequest(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { createRequestOptions: {"in":"body","name":"createRequestOptions","required":true,"ref":"CreateProofRequestOobOptions"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, }; @@ -963,7 +986,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -972,9 +995,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createRequest.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createRequest', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -985,8 +1013,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ProofController)), ...(fetchMiddlewares(ProofController.prototype.acceptRequest)), - async function ProofController_acceptRequest(request: any, response: any, next: any) { - const args = { + async function ProofController_acceptRequest(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { proofRecordId: {"in":"path","name":"proofRecordId","required":true,"dataType":"string"}, request: {"in":"body","name":"request","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"comment":{"dataType":"string"},"filterByNonRevocationRequirements":{"dataType":"boolean"},"filterByPresentationPreview":{"dataType":"boolean"}}}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -997,7 +1025,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1006,9 +1034,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.acceptRequest.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'acceptRequest', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1019,8 +1052,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ProofController)), ...(fetchMiddlewares(ProofController.prototype.acceptPresentation)), - async function ProofController_acceptPresentation(request: any, response: any, next: any) { - const args = { + async function ProofController_acceptPresentation(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { proofRecordId: {"in":"path","name":"proofRecordId","required":true,"dataType":"string"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -1030,7 +1063,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1039,9 +1072,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.acceptPresentation.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'acceptPresentation', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1052,8 +1090,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ProofController)), ...(fetchMiddlewares(ProofController.prototype.proofFormData)), - async function ProofController_proofFormData(request: any, response: any, next: any) { - const args = { + async function ProofController_proofFormData(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { proofRecordId: {"in":"path","name":"proofRecordId","required":true,"dataType":"string"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -1063,7 +1101,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1072,9 +1110,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.proofFormData.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'proofFormData', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1085,8 +1128,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(Polygon)), ...(fetchMiddlewares(Polygon.prototype.createKeyPair)), - async function Polygon_createKeyPair(request: any, response: any, next: any) { - const args = { + async function Polygon_createKeyPair(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, }; @@ -1094,7 +1137,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1103,9 +1146,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createKeyPair.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createKeyPair', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1116,8 +1164,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(Polygon)), ...(fetchMiddlewares(Polygon.prototype.createSchema)), - async function Polygon_createSchema(request: any, response: any, next: any) { - const args = { + async function Polygon_createSchema(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { createSchemaRequest: {"in":"body","name":"createSchemaRequest","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"schema":{"dataType":"nestedObjectLiteral","nestedProperties":{},"additionalProperties":{"dataType":"any"},"required":true},"schemaName":{"dataType":"string","required":true},"did":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, badRequestError: {"in":"res","name":"400","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -1127,7 +1175,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1136,9 +1184,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createSchema.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createSchema', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1149,8 +1202,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(Polygon)), ...(fetchMiddlewares(Polygon.prototype.estimateTransaction)), - async function Polygon_estimateTransaction(request: any, response: any, next: any) { - const args = { + async function Polygon_estimateTransaction(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { estimateTransactionRequest: {"in":"body","name":"estimateTransactionRequest","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"transaction":{"dataType":"any","required":true},"operation":{"dataType":"any","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, badRequestError: {"in":"res","name":"400","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -1160,7 +1213,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1169,9 +1222,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.estimateTransaction.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'estimateTransaction', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1182,8 +1240,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(Polygon)), ...(fetchMiddlewares(Polygon.prototype.getSchemaById)), - async function Polygon_getSchemaById(request: any, response: any, next: any) { - const args = { + async function Polygon_getSchemaById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { did: {"in":"path","name":"did","required":true,"dataType":"string"}, schemaId: {"in":"path","name":"schemaId","required":true,"dataType":"string"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -1194,7 +1252,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1203,9 +1261,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getSchemaById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getSchemaById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1216,8 +1279,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(OutOfBandController)), ...(fetchMiddlewares(OutOfBandController.prototype.getAllOutOfBandRecords)), - async function OutOfBandController_getAllOutOfBandRecords(request: any, response: any, next: any) { - const args = { + async function OutOfBandController_getAllOutOfBandRecords(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { invitationId: {"in":"query","name":"invitationId","ref":"RecordId"}, }; @@ -1225,7 +1288,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1234,9 +1297,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getAllOutOfBandRecords.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getAllOutOfBandRecords', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1247,8 +1315,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(OutOfBandController)), ...(fetchMiddlewares(OutOfBandController.prototype.getOutOfBandRecordById)), - async function OutOfBandController_getOutOfBandRecordById(request: any, response: any, next: any) { - const args = { + async function OutOfBandController_getOutOfBandRecordById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { outOfBandId: {"in":"path","name":"outOfBandId","required":true,"ref":"RecordId"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, }; @@ -1257,7 +1325,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1266,9 +1334,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getOutOfBandRecordById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getOutOfBandRecordById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1279,8 +1352,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(OutOfBandController)), ...(fetchMiddlewares(OutOfBandController.prototype.createInvitation)), - async function OutOfBandController_createInvitation(request: any, response: any, next: any) { - const args = { + async function OutOfBandController_createInvitation(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, config: {"in":"body","name":"config","required":true,"dataType":"intersection","subSchemas":[{"ref":"CreateInvitationOptions"},{"ref":"RecipientKeyOption"}]}, }; @@ -1289,7 +1362,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1298,9 +1371,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createInvitation.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createInvitation', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1311,8 +1389,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(OutOfBandController)), ...(fetchMiddlewares(OutOfBandController.prototype.createLegacyInvitation)), - async function OutOfBandController_createLegacyInvitation(request: any, response: any, next: any) { - const args = { + async function OutOfBandController_createLegacyInvitation(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, config: {"in":"body","name":"config","dataType":"intersection","subSchemas":[{"ref":"Omit_CreateLegacyInvitationConfig.routing_"},{"ref":"RecipientKeyOption"}]}, }; @@ -1321,7 +1399,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1330,9 +1408,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createLegacyInvitation.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createLegacyInvitation', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1343,8 +1426,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(OutOfBandController)), ...(fetchMiddlewares(OutOfBandController.prototype.createLegacyConnectionlessInvitation)), - async function OutOfBandController_createLegacyConnectionlessInvitation(request: any, response: any, next: any) { - const args = { + async function OutOfBandController_createLegacyConnectionlessInvitation(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { config: {"in":"body","name":"config","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"domain":{"dataType":"string","required":true},"message":{"ref":"AgentMessageType","required":true},"recordId":{"dataType":"string","required":true}}}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -1354,7 +1437,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1363,9 +1446,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createLegacyConnectionlessInvitation.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createLegacyConnectionlessInvitation', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1376,8 +1464,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(OutOfBandController)), ...(fetchMiddlewares(OutOfBandController.prototype.receiveInvitation)), - async function OutOfBandController_receiveInvitation(request: any, response: any, next: any) { - const args = { + async function OutOfBandController_receiveInvitation(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { invitationRequest: {"in":"body","name":"invitationRequest","required":true,"ref":"ReceiveInvitationProps"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, }; @@ -1386,7 +1474,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1395,9 +1483,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.receiveInvitation.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'receiveInvitation', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1408,8 +1501,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(OutOfBandController)), ...(fetchMiddlewares(OutOfBandController.prototype.receiveInvitationFromUrl)), - async function OutOfBandController_receiveInvitationFromUrl(request: any, response: any, next: any) { - const args = { + async function OutOfBandController_receiveInvitationFromUrl(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { invitationRequest: {"in":"body","name":"invitationRequest","required":true,"ref":"ReceiveInvitationByUrlProps"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, }; @@ -1418,7 +1511,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1427,9 +1520,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.receiveInvitationFromUrl.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'receiveInvitationFromUrl', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1440,8 +1538,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(OutOfBandController)), ...(fetchMiddlewares(OutOfBandController.prototype.acceptInvitation)), - async function OutOfBandController_acceptInvitation(request: any, response: any, next: any) { - const args = { + async function OutOfBandController_acceptInvitation(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { outOfBandId: {"in":"path","name":"outOfBandId","required":true,"ref":"RecordId"}, acceptInvitationConfig: {"in":"body","name":"acceptInvitationConfig","required":true,"ref":"AcceptInvitationConfig"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -1452,7 +1550,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1461,9 +1559,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.acceptInvitation.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'acceptInvitation', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1474,8 +1577,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(OutOfBandController)), ...(fetchMiddlewares(OutOfBandController.prototype.deleteOutOfBandRecord)), - async function OutOfBandController_deleteOutOfBandRecord(request: any, response: any, next: any) { - const args = { + async function OutOfBandController_deleteOutOfBandRecord(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { outOfBandId: {"in":"path","name":"outOfBandId","required":true,"ref":"RecordId"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -1485,7 +1588,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1494,9 +1597,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.deleteOutOfBandRecord.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'deleteOutOfBandRecord', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1507,8 +1615,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.createTenant)), - async function MultiTenancyController_createTenant(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_createTenant(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { createTenantOptions: {"in":"body","name":"createTenantOptions","required":true,"ref":"CreateTenantOptions"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -1518,7 +1626,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1527,9 +1635,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createTenant.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createTenant', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1540,8 +1653,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.createDid)), - async function MultiTenancyController_createDid(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_createDid(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { createDidOptions: {"in":"body","name":"createDidOptions","required":true,"ref":"DidCreate"}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -1552,7 +1665,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1561,9 +1674,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createDid.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createDid', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1574,8 +1692,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getDids)), - async function MultiTenancyController_getDids(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getDids(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, }; @@ -1584,7 +1702,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1593,9 +1711,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getDids.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getDids', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1606,8 +1729,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.didNymTransaction)), - async function MultiTenancyController_didNymTransaction(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_didNymTransaction(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, didNymTransaction: {"in":"body","name":"didNymTransaction","required":true,"ref":"DidNymTransaction"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -1617,7 +1740,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1626,9 +1749,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.didNymTransaction.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'didNymTransaction', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1639,8 +1767,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.endorserTransaction)), - async function MultiTenancyController_endorserTransaction(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_endorserTransaction(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, endorserTransaction: {"in":"body","name":"endorserTransaction","required":true,"ref":"EndorserTransaction"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -1651,7 +1779,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1660,9 +1788,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.endorserTransaction.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'endorserTransaction', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1673,8 +1806,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getConnectionById)), - async function MultiTenancyController_getConnectionById(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getConnectionById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, connectionId: {"in":"path","name":"connectionId","required":true,"ref":"RecordId"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -1684,7 +1817,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1693,9 +1826,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getConnectionById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getConnectionById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1706,8 +1844,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.createInvitation)), - async function MultiTenancyController_createInvitation(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_createInvitation(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, config: {"in":"body","name":"config","dataType":"intersection","subSchemas":[{"ref":"Omit_CreateOutOfBandInvitationConfig.routing_"},{"ref":"RecipientKeyOption"}]}, @@ -1717,7 +1855,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1726,9 +1864,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createInvitation.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createInvitation', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1739,8 +1882,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.createLegacyInvitation)), - async function MultiTenancyController_createLegacyInvitation(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_createLegacyInvitation(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, config: {"in":"body","name":"config","dataType":"intersection","subSchemas":[{"ref":"Omit_CreateOutOfBandInvitationConfig.routing-or-appendedAttachments-or-messages_"},{"ref":"RecipientKeyOption"}]}, @@ -1750,7 +1893,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1759,9 +1902,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createLegacyInvitation.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createLegacyInvitation', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1772,8 +1920,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.receiveInvitation)), - async function MultiTenancyController_receiveInvitation(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_receiveInvitation(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { invitationRequest: {"in":"body","name":"invitationRequest","required":true,"ref":"ReceiveInvitationProps"}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -1783,7 +1931,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1792,9 +1940,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.receiveInvitation.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'receiveInvitation', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1805,8 +1958,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.receiveInvitationFromUrl)), - async function MultiTenancyController_receiveInvitationFromUrl(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_receiveInvitationFromUrl(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { invitationRequest: {"in":"body","name":"invitationRequest","required":true,"ref":"ReceiveInvitationByUrlProps"}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -1816,7 +1969,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1825,9 +1978,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.receiveInvitationFromUrl.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'receiveInvitationFromUrl', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1838,8 +1996,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getAllOutOfBandRecords)), - async function MultiTenancyController_getAllOutOfBandRecords(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getAllOutOfBandRecords(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, invitationId: {"in":"path","name":"invitationId","required":true,"dataType":"string"}, @@ -1849,7 +2007,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1858,9 +2016,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getAllOutOfBandRecords.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getAllOutOfBandRecords', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1871,8 +2034,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getAllConnections)), - async function MultiTenancyController_getAllConnections(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getAllConnections(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, outOfBandId: {"in":"query","name":"outOfBandId","dataType":"string"}, @@ -1887,7 +2050,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1896,9 +2059,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getAllConnections.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getAllConnections', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1908,8 +2076,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getInvitation)), - async function MultiTenancyController_getInvitation(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getInvitation(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { invitationId: {"in":"path","name":"invitationId","required":true,"dataType":"string"}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -1919,7 +2087,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1928,9 +2096,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getInvitation.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getInvitation', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1941,8 +2114,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.createSchema)), - async function MultiTenancyController_createSchema(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_createSchema(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { schema: {"in":"body","name":"schema","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"endorserDid":{"dataType":"string"},"endorse":{"dataType":"boolean"},"attributes":{"dataType":"array","array":{"dataType":"string"},"required":true},"version":{"ref":"Version","required":true},"name":{"dataType":"string","required":true},"issuerId":{"dataType":"string","required":true}}}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, forbiddenError: {"in":"res","name":"400","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -1953,7 +2126,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1962,9 +2135,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createSchema.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createSchema', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -1975,8 +2153,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.createPolygonW3CSchema)), - async function MultiTenancyController_createPolygonW3CSchema(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_createPolygonW3CSchema(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { createSchemaRequest: {"in":"body","name":"createSchemaRequest","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"schema":{"dataType":"nestedObjectLiteral","nestedProperties":{},"additionalProperties":{"dataType":"any"},"required":true},"schemaName":{"dataType":"string","required":true},"did":{"dataType":"string","required":true}}}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -1986,7 +2164,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -1995,9 +2173,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createPolygonW3CSchema.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createPolygonW3CSchema', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2008,8 +2191,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getPolygonW3CSchemaById)), - async function MultiTenancyController_getPolygonW3CSchemaById(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getPolygonW3CSchemaById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, did: {"in":"path","name":"did","required":true,"dataType":"string"}, schemaId: {"in":"path","name":"schemaId","required":true,"dataType":"string"}, @@ -2022,7 +2205,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2031,9 +2214,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getPolygonW3CSchemaById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getPolygonW3CSchemaById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2044,8 +2232,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.writeSchemaAndCredDefOnLedger)), - async function MultiTenancyController_writeSchemaAndCredDefOnLedger(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_writeSchemaAndCredDefOnLedger(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, forbiddenError: {"in":"res","name":"400","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -2056,7 +2244,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2065,9 +2253,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.writeSchemaAndCredDefOnLedger.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'writeSchemaAndCredDefOnLedger', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2078,8 +2271,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getSchemaById)), - async function MultiTenancyController_getSchemaById(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getSchemaById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { schemaId: {"in":"path","name":"schemaId","required":true,"ref":"SchemaId"}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -2092,7 +2285,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2101,9 +2294,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getSchemaById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getSchemaById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2114,8 +2312,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.createCredentialDefinition)), - async function MultiTenancyController_createCredentialDefinition(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_createCredentialDefinition(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { credentialDefinitionRequest: {"in":"body","name":"credentialDefinitionRequest","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"endorserDid":{"dataType":"string"},"endorse":{"dataType":"boolean"},"tag":{"dataType":"string","required":true},"schemaId":{"dataType":"string","required":true},"issuerId":{"dataType":"string","required":true}}}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -2126,7 +2324,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2135,9 +2333,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createCredentialDefinition.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createCredentialDefinition', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2148,8 +2351,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getCredentialDefinitionById)), - async function MultiTenancyController_getCredentialDefinitionById(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getCredentialDefinitionById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { credentialDefinitionId: {"in":"path","name":"credentialDefinitionId","required":true,"ref":"CredentialDefinitionId"}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, badRequestError: {"in":"res","name":"400","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -2161,7 +2364,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2170,9 +2373,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getCredentialDefinitionById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getCredentialDefinitionById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2183,8 +2391,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.createOffer)), - async function MultiTenancyController_createOffer(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_createOffer(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { createOfferOptions: {"in":"body","name":"createOfferOptions","required":true,"ref":"CreateOfferOptions"}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -2194,7 +2402,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2203,9 +2411,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createOffer.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createOffer', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2216,8 +2429,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.createOfferOob)), - async function MultiTenancyController_createOfferOob(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_createOfferOob(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, createOfferOptions: {"in":"body","name":"createOfferOptions","required":true,"ref":"CreateOfferOobOptions"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -2227,7 +2440,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2236,9 +2449,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createOfferOob.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createOfferOob', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2249,8 +2467,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.acceptOffer)), - async function MultiTenancyController_acceptOffer(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_acceptOffer(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, @@ -2261,7 +2479,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2270,9 +2488,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.acceptOffer.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'acceptOffer', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2283,8 +2506,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getCredentialById)), - async function MultiTenancyController_getCredentialById(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getCredentialById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { credentialRecordId: {"in":"path","name":"credentialRecordId","required":true,"ref":"RecordId"}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -2295,7 +2518,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2304,9 +2527,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getCredentialById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getCredentialById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2317,8 +2545,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getAllCredentials)), - async function MultiTenancyController_getAllCredentials(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getAllCredentials(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, threadId: {"in":"query","name":"threadId","dataType":"string"}, connectionId: {"in":"query","name":"connectionId","dataType":"string"}, @@ -2329,7 +2557,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2338,9 +2566,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getAllCredentials.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getAllCredentials', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2351,8 +2584,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getAllProofs)), - async function MultiTenancyController_getAllProofs(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getAllProofs(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, threadId: {"in":"query","name":"threadId","dataType":"string"}, }; @@ -2361,7 +2594,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2370,9 +2603,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getAllProofs.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getAllProofs', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2383,8 +2621,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.proofFormData)), - async function MultiTenancyController_proofFormData(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_proofFormData(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { proofRecordId: {"in":"path","name":"proofRecordId","required":true,"dataType":"string"}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -2395,7 +2633,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2404,9 +2642,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.proofFormData.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'proofFormData', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2417,8 +2660,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.requestProof)), - async function MultiTenancyController_requestProof(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_requestProof(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { requestProofOptions: {"in":"body","name":"requestProofOptions","required":true,"ref":"RequestProofOptions"}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -2429,7 +2672,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2438,9 +2681,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.requestProof.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'requestProof', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2451,8 +2699,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.createRequest)), - async function MultiTenancyController_createRequest(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_createRequest(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, createRequestOptions: {"in":"body","name":"createRequestOptions","required":true,"ref":"CreateProofRequestOobOptions"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -2462,7 +2710,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2471,9 +2719,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createRequest.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createRequest', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2484,8 +2737,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.acceptRequest)), - async function MultiTenancyController_acceptRequest(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_acceptRequest(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, proofRecordId: {"in":"path","name":"proofRecordId","required":true,"dataType":"string"}, request: {"in":"body","name":"request","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"comment":{"dataType":"string"},"filterByNonRevocationRequirements":{"dataType":"boolean"},"filterByPresentationPreview":{"dataType":"boolean"}}}, @@ -2497,7 +2750,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2506,9 +2759,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.acceptRequest.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'acceptRequest', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2519,8 +2777,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.acceptPresentation)), - async function MultiTenancyController_acceptPresentation(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_acceptPresentation(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, proofRecordId: {"in":"path","name":"proofRecordId","required":true,"dataType":"string"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -2531,7 +2789,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2540,9 +2798,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.acceptPresentation.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'acceptPresentation', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2553,8 +2816,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getProofById)), - async function MultiTenancyController_getProofById(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getProofById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, proofRecordId: {"in":"path","name":"proofRecordId","required":true,"ref":"RecordId"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -2565,7 +2828,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2574,9 +2837,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getProofById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getProofById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2587,8 +2855,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.deleteTenantById)), - async function MultiTenancyController_deleteTenantById(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_deleteTenantById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -2598,7 +2866,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2607,9 +2875,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.deleteTenantById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'deleteTenantById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2620,8 +2893,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.createDidWeb)), - async function MultiTenancyController_createDidWeb(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_createDidWeb(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, didOptions: {"in":"body","name":"didOptions","required":true,"ref":"DidCreate"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -2631,7 +2904,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2640,9 +2913,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createDidWeb.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createDidWeb', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2653,8 +2931,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.createDidKey)), - async function MultiTenancyController_createDidKey(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_createDidKey(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, didOptions: {"in":"body","name":"didOptions","required":true,"ref":"DidCreate"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -2664,7 +2942,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2673,9 +2951,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createDidKey.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createDidKey', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2686,8 +2969,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getQuestionAnswerRecords)), - async function MultiTenancyController_getQuestionAnswerRecords(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getQuestionAnswerRecords(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, connectionId: {"in":"query","name":"connectionId","dataType":"string"}, role: {"in":"query","name":"role","ref":"QuestionAnswerRole"}, @@ -2699,7 +2982,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2708,9 +2991,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getQuestionAnswerRecords.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getQuestionAnswerRecords', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2721,8 +3009,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.sendQuestion)), - async function MultiTenancyController_sendQuestion(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_sendQuestion(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { connectionId: {"in":"path","name":"connectionId","required":true,"ref":"RecordId"}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, config: {"in":"body","name":"config","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"detail":{"dataType":"string"},"validResponses":{"dataType":"array","array":{"dataType":"refObject","ref":"ValidResponse"},"required":true},"question":{"dataType":"string","required":true}}}, @@ -2734,7 +3022,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2743,9 +3031,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.sendQuestion.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'sendQuestion', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2756,8 +3049,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.sendAnswer)), - async function MultiTenancyController_sendAnswer(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_sendAnswer(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { id: {"in":"path","name":"id","required":true,"ref":"RecordId"}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, request: {"in":"body","name":"request","required":true,"ref":"Record_response.string_"}, @@ -2769,7 +3062,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2778,9 +3071,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.sendAnswer.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'sendAnswer', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2791,8 +3089,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(MultiTenancyController)), ...(fetchMiddlewares(MultiTenancyController.prototype.getQuestionAnswerRecordById)), - async function MultiTenancyController_getQuestionAnswerRecordById(request: any, response: any, next: any) { - const args = { + async function MultiTenancyController_getQuestionAnswerRecordById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { id: {"in":"path","name":"id","required":true,"ref":"RecordId"}, tenantId: {"in":"path","name":"tenantId","required":true,"dataType":"string"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -2802,7 +3100,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2811,9 +3109,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getQuestionAnswerRecordById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getQuestionAnswerRecordById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2824,8 +3127,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(EndorserTransactionController)), ...(fetchMiddlewares(EndorserTransactionController.prototype.endorserTransaction)), - async function EndorserTransactionController_endorserTransaction(request: any, response: any, next: any) { - const args = { + async function EndorserTransactionController_endorserTransaction(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { endorserTransaction: {"in":"body","name":"endorserTransaction","required":true,"ref":"EndorserTransaction"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, forbiddenError: {"in":"res","name":"400","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -2835,7 +3138,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2844,9 +3147,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.endorserTransaction.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'endorserTransaction', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2857,8 +3165,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(EndorserTransactionController)), ...(fetchMiddlewares(EndorserTransactionController.prototype.didNymTransaction)), - async function EndorserTransactionController_didNymTransaction(request: any, response: any, next: any) { - const args = { + async function EndorserTransactionController_didNymTransaction(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { didNymTransaction: {"in":"body","name":"didNymTransaction","required":true,"ref":"DidNymTransaction"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, }; @@ -2867,7 +3175,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2876,9 +3184,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.didNymTransaction.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'didNymTransaction', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2889,8 +3202,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(EndorserTransactionController)), ...(fetchMiddlewares(EndorserTransactionController.prototype.writeSchemaAndCredDefOnLedger)), - async function EndorserTransactionController_writeSchemaAndCredDefOnLedger(request: any, response: any, next: any) { - const args = { + async function EndorserTransactionController_writeSchemaAndCredDefOnLedger(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { forbiddenError: {"in":"res","name":"400","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, writeTransaction: {"in":"body","name":"writeTransaction","required":true,"ref":"WriteTransaction"}, @@ -2900,7 +3213,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2909,9 +3222,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.writeSchemaAndCredDefOnLedger.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'writeSchemaAndCredDefOnLedger', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2922,8 +3240,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(DidController)), ...(fetchMiddlewares(DidController.prototype.getDidRecordByDid)), - async function DidController_getDidRecordByDid(request: any, response: any, next: any) { - const args = { + async function DidController_getDidRecordByDid(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { did: {"in":"path","name":"did","required":true,"ref":"Did"}, }; @@ -2931,7 +3249,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2940,9 +3258,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getDidRecordByDid.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getDidRecordByDid', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2953,8 +3276,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(DidController)), ...(fetchMiddlewares(DidController.prototype.writeDid)), - async function DidController_writeDid(request: any, response: any, next: any) { - const args = { + async function DidController_writeDid(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { createDidOptions: {"in":"body","name":"createDidOptions","required":true,"ref":"DidCreate"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, }; @@ -2963,7 +3286,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -2972,9 +3295,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.writeDid.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'writeDid', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -2985,8 +3313,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(DidController)), ...(fetchMiddlewares(DidController.prototype.getDids)), - async function DidController_getDids(request: any, response: any, next: any) { - const args = { + async function DidController_getDids(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, }; @@ -2994,7 +3322,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3003,9 +3331,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getDids.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getDids', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3016,8 +3349,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(SchemaController)), ...(fetchMiddlewares(SchemaController.prototype.getSchemaById)), - async function SchemaController_getSchemaById(request: any, response: any, next: any) { - const args = { + async function SchemaController_getSchemaById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { schemaId: {"in":"path","name":"schemaId","required":true,"ref":"SchemaId"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, forbiddenError: {"in":"res","name":"403","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -3029,7 +3362,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3038,9 +3371,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getSchemaById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getSchemaById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3051,8 +3389,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(SchemaController)), ...(fetchMiddlewares(SchemaController.prototype.createSchema)), - async function SchemaController_createSchema(request: any, response: any, next: any) { - const args = { + async function SchemaController_createSchema(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { schema: {"in":"body","name":"schema","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"endorserDid":{"dataType":"string"},"endorse":{"dataType":"boolean"},"attributes":{"dataType":"array","array":{"dataType":"string"},"required":true},"version":{"ref":"Version","required":true},"name":{"dataType":"string","required":true},"issuerId":{"dataType":"string","required":true}}}, forbiddenError: {"in":"res","name":"400","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -3062,7 +3400,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3071,9 +3409,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createSchema.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createSchema', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3084,8 +3427,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(CredentialDefinitionController)), ...(fetchMiddlewares(CredentialDefinitionController.prototype.getCredentialDefinitionById)), - async function CredentialDefinitionController_getCredentialDefinitionById(request: any, response: any, next: any) { - const args = { + async function CredentialDefinitionController_getCredentialDefinitionById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { credentialDefinitionId: {"in":"path","name":"credentialDefinitionId","required":true,"ref":"CredentialDefinitionId"}, badRequestError: {"in":"res","name":"400","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -3096,7 +3439,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3105,9 +3448,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getCredentialDefinitionById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getCredentialDefinitionById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3118,8 +3466,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(CredentialDefinitionController)), ...(fetchMiddlewares(CredentialDefinitionController.prototype.createCredentialDefinition)), - async function CredentialDefinitionController_createCredentialDefinition(request: any, response: any, next: any) { - const args = { + async function CredentialDefinitionController_createCredentialDefinition(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { credentialDefinitionRequest: {"in":"body","name":"credentialDefinitionRequest","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"endorserDid":{"dataType":"string"},"endorse":{"dataType":"boolean"},"tag":{"dataType":"string","required":true},"schemaId":{"ref":"SchemaId","required":true},"issuerId":{"dataType":"string","required":true}}}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -3129,7 +3477,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3138,9 +3486,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createCredentialDefinition.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createCredentialDefinition', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3151,8 +3504,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(CredentialController)), ...(fetchMiddlewares(CredentialController.prototype.getAllCredentials)), - async function CredentialController_getAllCredentials(request: any, response: any, next: any) { - const args = { + async function CredentialController_getAllCredentials(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { threadId: {"in":"query","name":"threadId","dataType":"string"}, connectionId: {"in":"query","name":"connectionId","dataType":"string"}, state: {"in":"query","name":"state","ref":"CredentialState"}, @@ -3162,7 +3515,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3171,9 +3524,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getAllCredentials.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getAllCredentials', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3184,15 +3542,15 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(CredentialController)), ...(fetchMiddlewares(CredentialController.prototype.getAllW3c)), - async function CredentialController_getAllW3c(request: any, response: any, next: any) { - const args = { + async function CredentialController_getAllW3c(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { }; // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3201,9 +3559,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getAllW3c.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getAllW3c', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3214,8 +3577,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(CredentialController)), ...(fetchMiddlewares(CredentialController.prototype.getW3cById)), - async function CredentialController_getW3cById(request: any, response: any, next: any) { - const args = { + async function CredentialController_getW3cById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { id: {"in":"path","name":"id","required":true,"dataType":"string"}, }; @@ -3223,7 +3586,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3232,9 +3595,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getW3cById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getW3cById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3245,8 +3613,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(CredentialController)), ...(fetchMiddlewares(CredentialController.prototype.getCredentialById)), - async function CredentialController_getCredentialById(request: any, response: any, next: any) { - const args = { + async function CredentialController_getCredentialById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { credentialRecordId: {"in":"path","name":"credentialRecordId","required":true,"ref":"RecordId"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -3256,7 +3624,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3265,9 +3633,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getCredentialById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getCredentialById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3278,8 +3651,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(CredentialController)), ...(fetchMiddlewares(CredentialController.prototype.proposeCredential)), - async function CredentialController_proposeCredential(request: any, response: any, next: any) { - const args = { + async function CredentialController_proposeCredential(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { proposeCredentialOptions: {"in":"body","name":"proposeCredentialOptions","required":true,"ref":"ProposeCredentialOptions"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -3289,7 +3662,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3298,9 +3671,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.proposeCredential.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'proposeCredential', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3311,8 +3689,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(CredentialController)), ...(fetchMiddlewares(CredentialController.prototype.acceptProposal)), - async function CredentialController_acceptProposal(request: any, response: any, next: any) { - const args = { + async function CredentialController_acceptProposal(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, acceptCredentialProposal: {"in":"body","name":"acceptCredentialProposal","required":true,"ref":"AcceptCredentialProposalOptions"}, @@ -3322,7 +3700,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3331,9 +3709,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.acceptProposal.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'acceptProposal', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3344,8 +3727,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(CredentialController)), ...(fetchMiddlewares(CredentialController.prototype.createOffer)), - async function CredentialController_createOffer(request: any, response: any, next: any) { - const args = { + async function CredentialController_createOffer(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { createOfferOptions: {"in":"body","name":"createOfferOptions","required":true,"ref":"CreateOfferOptions"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, }; @@ -3354,7 +3737,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3363,9 +3746,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createOffer.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createOffer', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3376,8 +3764,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(CredentialController)), ...(fetchMiddlewares(CredentialController.prototype.createOfferOob)), - async function CredentialController_createOfferOob(request: any, response: any, next: any) { - const args = { + async function CredentialController_createOfferOob(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { outOfBandOption: {"in":"body","name":"outOfBandOption","required":true,"ref":"CreateOfferOobOptions"}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, }; @@ -3386,7 +3774,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3395,9 +3783,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.createOfferOob.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'createOfferOob', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3408,8 +3801,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(CredentialController)), ...(fetchMiddlewares(CredentialController.prototype.acceptOffer)), - async function CredentialController_acceptOffer(request: any, response: any, next: any) { - const args = { + async function CredentialController_acceptOffer(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, acceptCredentialOfferOptions: {"in":"body","name":"acceptCredentialOfferOptions","required":true,"ref":"CredentialOfferOptions"}, @@ -3419,7 +3812,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3428,9 +3821,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.acceptOffer.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'acceptOffer', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3441,8 +3839,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(CredentialController)), ...(fetchMiddlewares(CredentialController.prototype.acceptRequest)), - async function CredentialController_acceptRequest(request: any, response: any, next: any) { - const args = { + async function CredentialController_acceptRequest(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, acceptCredentialRequestOptions: {"in":"body","name":"acceptCredentialRequestOptions","required":true,"ref":"AcceptCredentialRequestOptions"}, @@ -3452,7 +3850,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3461,9 +3859,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.acceptRequest.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'acceptRequest', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3474,8 +3877,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(CredentialController)), ...(fetchMiddlewares(CredentialController.prototype.acceptCredential)), - async function CredentialController_acceptCredential(request: any, response: any, next: any) { - const args = { + async function CredentialController_acceptCredential(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, acceptCredential: {"in":"body","name":"acceptCredential","required":true,"ref":"AcceptCredential"}, @@ -3485,7 +3888,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3494,9 +3897,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.acceptCredential.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'acceptCredential', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3507,8 +3915,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ConnectionController)), ...(fetchMiddlewares(ConnectionController.prototype.getAllConnections)), - async function ConnectionController_getAllConnections(request: any, response: any, next: any) { - const args = { + async function ConnectionController_getAllConnections(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { outOfBandId: {"in":"query","name":"outOfBandId","dataType":"string"}, alias: {"in":"query","name":"alias","dataType":"string"}, state: {"in":"query","name":"state","ref":"DidExchangeState"}, @@ -3521,7 +3929,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3530,9 +3938,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getAllConnections.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getAllConnections', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3543,8 +3956,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ConnectionController)), ...(fetchMiddlewares(ConnectionController.prototype.getConnectionById)), - async function ConnectionController_getConnectionById(request: any, response: any, next: any) { - const args = { + async function ConnectionController_getConnectionById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { connectionId: {"in":"path","name":"connectionId","required":true,"ref":"RecordId"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, }; @@ -3553,7 +3966,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3562,9 +3975,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getConnectionById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getConnectionById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3575,8 +3993,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ConnectionController)), ...(fetchMiddlewares(ConnectionController.prototype.deleteConnection)), - async function ConnectionController_deleteConnection(request: any, response: any, next: any) { - const args = { + async function ConnectionController_deleteConnection(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { connectionId: {"in":"path","name":"connectionId","required":true,"ref":"RecordId"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -3586,7 +4004,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3595,9 +4013,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.deleteConnection.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'deleteConnection', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3608,8 +4031,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ConnectionController)), ...(fetchMiddlewares(ConnectionController.prototype.acceptRequest)), - async function ConnectionController_acceptRequest(request: any, response: any, next: any) { - const args = { + async function ConnectionController_acceptRequest(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { connectionId: {"in":"path","name":"connectionId","required":true,"ref":"RecordId"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -3619,7 +4042,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3628,9 +4051,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.acceptRequest.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'acceptRequest', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3641,8 +4069,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ConnectionController)), ...(fetchMiddlewares(ConnectionController.prototype.acceptResponse)), - async function ConnectionController_acceptResponse(request: any, response: any, next: any) { - const args = { + async function ConnectionController_acceptResponse(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { connectionId: {"in":"path","name":"connectionId","required":true,"ref":"RecordId"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -3652,7 +4080,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3661,9 +4089,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.acceptResponse.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'acceptResponse', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3673,8 +4106,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(ConnectionController)), ...(fetchMiddlewares(ConnectionController.prototype.getInvitation)), - async function ConnectionController_getInvitation(request: any, response: any, next: any) { - const args = { + async function ConnectionController_getInvitation(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { invitationId: {"in":"path","name":"invitationId","required":true,"dataType":"string"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, internalServerError: {"in":"res","name":"500","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"message":{"dataType":"string","required":true}}}, @@ -3684,7 +4117,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3693,9 +4126,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getInvitation.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getInvitation', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3706,8 +4144,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(BasicMessageController)), ...(fetchMiddlewares(BasicMessageController.prototype.getBasicMessages)), - async function BasicMessageController_getBasicMessages(request: any, response: any, next: any) { - const args = { + async function BasicMessageController_getBasicMessages(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { connectionId: {"in":"path","name":"connectionId","required":true,"ref":"RecordId"}, }; @@ -3715,7 +4153,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3724,9 +4162,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getBasicMessages.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getBasicMessages', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3737,8 +4180,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(BasicMessageController)), ...(fetchMiddlewares(BasicMessageController.prototype.sendMessage)), - async function BasicMessageController_sendMessage(request: any, response: any, next: any) { - const args = { + async function BasicMessageController_sendMessage(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { connectionId: {"in":"path","name":"connectionId","required":true,"ref":"RecordId"}, request: {"in":"body","name":"request","required":true,"ref":"Record_content.string_"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -3749,7 +4192,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3758,9 +4201,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.sendMessage.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'sendMessage', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3770,15 +4218,15 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(AgentController)), ...(fetchMiddlewares(AgentController.prototype.getAgentInfo)), - async function AgentController_getAgentInfo(request: any, response: any, next: any) { - const args = { + async function AgentController_getAgentInfo(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { }; // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3787,9 +4235,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getAgentInfo.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getAgentInfo', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3800,15 +4253,15 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(AgentController)), ...(fetchMiddlewares(AgentController.prototype.deleteWallet)), - async function AgentController_deleteWallet(request: any, response: any, next: any) { - const args = { + async function AgentController_deleteWallet(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { }; // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3817,9 +4270,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.deleteWallet.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'deleteWallet', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3830,8 +4288,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(QuestionAnswerController)), ...(fetchMiddlewares(QuestionAnswerController.prototype.getQuestionAnswerRecords)), - async function QuestionAnswerController_getQuestionAnswerRecords(request: any, response: any, next: any) { - const args = { + async function QuestionAnswerController_getQuestionAnswerRecords(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { connectionId: {"in":"query","name":"connectionId","dataType":"string"}, role: {"in":"query","name":"role","ref":"QuestionAnswerRole"}, state: {"in":"query","name":"state","ref":"QuestionAnswerState"}, @@ -3842,7 +4300,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3851,9 +4309,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getQuestionAnswerRecords.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getQuestionAnswerRecords', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3864,8 +4327,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(QuestionAnswerController)), ...(fetchMiddlewares(QuestionAnswerController.prototype.sendQuestion)), - async function QuestionAnswerController_sendQuestion(request: any, response: any, next: any) { - const args = { + async function QuestionAnswerController_sendQuestion(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { connectionId: {"in":"path","name":"connectionId","required":true,"ref":"RecordId"}, config: {"in":"body","name":"config","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"detail":{"dataType":"string"},"validResponses":{"dataType":"array","array":{"dataType":"refObject","ref":"ValidResponse"},"required":true},"question":{"dataType":"string","required":true}}}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -3876,7 +4339,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3885,9 +4348,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.sendQuestion.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'sendQuestion', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3898,8 +4366,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(QuestionAnswerController)), ...(fetchMiddlewares(QuestionAnswerController.prototype.sendAnswer)), - async function QuestionAnswerController_sendAnswer(request: any, response: any, next: any) { - const args = { + async function QuestionAnswerController_sendAnswer(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { id: {"in":"path","name":"id","required":true,"ref":"RecordId"}, request: {"in":"body","name":"request","required":true,"ref":"Record_response.string_"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, @@ -3910,7 +4378,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3919,9 +4387,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.sendAnswer.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'sendAnswer', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3932,8 +4405,8 @@ export function RegisterRoutes(app: Router) { ...(fetchMiddlewares(QuestionAnswerController)), ...(fetchMiddlewares(QuestionAnswerController.prototype.getQuestionAnswerRecordById)), - async function QuestionAnswerController_getQuestionAnswerRecordById(request: any, response: any, next: any) { - const args = { + async function QuestionAnswerController_getQuestionAnswerRecordById(request: ExRequest, response: ExResponse, next: any) { + const args: Record = { id: {"in":"path","name":"id","required":true,"ref":"RecordId"}, notFoundError: {"in":"res","name":"404","required":true,"dataType":"nestedObjectLiteral","nestedProperties":{"reason":{"dataType":"string","required":true}}}, }; @@ -3942,7 +4415,7 @@ export function RegisterRoutes(app: Router) { let validatedArgs: any[] = []; try { - validatedArgs = getValidatedArgs(args, request, response); + validatedArgs = templateService.getValidatedArgs({ args, request, response }); const container: IocContainer = typeof iocContainer === 'function' ? (iocContainer as IocContainerFactory)(request) : iocContainer; @@ -3951,9 +4424,14 @@ export function RegisterRoutes(app: Router) { controller.setStatus(undefined); } - - const promise = controller.getQuestionAnswerRecordById.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); + await templateService.apiHandler({ + methodName: 'getQuestionAnswerRecordById', + controller, + response, + next, + validatedArgs, + successStatus: undefined, + }); } catch (err) { return next(err); } @@ -3966,7 +4444,7 @@ export function RegisterRoutes(app: Router) { // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa function authenticateMiddleware(security: TsoaRoute.Security[] = []) { - return async function runAuthenticationMiddleware(request: any, _response: any, next: any) { + return async function runAuthenticationMiddleware(request: any, response: any, next: any) { // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa @@ -3986,7 +4464,7 @@ export function RegisterRoutes(app: Router) { for (const name in secMethod) { secMethodAndPromises.push( - expressAuthentication(request, name, secMethod[name]) + expressAuthenticationRecasted(request, name, secMethod[name], response) .catch(pushAndRethrow) ); } @@ -3998,7 +4476,7 @@ export function RegisterRoutes(app: Router) { } else { for (const name in secMethod) { secMethodOrPromises.push( - expressAuthentication(request, name, secMethod[name]) + expressAuthenticationRecasted(request, name, secMethod[name], response) .catch(pushAndRethrow) ); } @@ -4009,107 +4487,28 @@ export function RegisterRoutes(app: Router) { try { request['user'] = await Promise.any(secMethodOrPromises); + + // Response was sent in middleware, abort + if (response.writableEnded) { + return; + } + next(); } catch(err) { // Show most recent error as response const error = failedAttempts.pop(); error.status = error.status || 401; - next(error); - } - // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa - } - } - - // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa - - function isController(object: any): object is Controller { - return 'getHeaders' in object && 'getStatus' in object && 'setStatus' in object; - } - - function promiseHandler(controllerObj: any, promise: any, response: any, successStatus: any, next: any) { - return Promise.resolve(promise) - .then((data: any) => { - let statusCode = successStatus; - let headers; - if (isController(controllerObj)) { - headers = controllerObj.getHeaders(); - statusCode = controllerObj.getStatus() || statusCode; + // Response was sent in middleware, abort + if (response.writableEnded) { + return; } - - // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa - - returnHandler(response, statusCode, data, headers) - }) - .catch((error: any) => next(error)); - } - - // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa - - function returnHandler(response: any, statusCode?: number, data?: any, headers: any = {}) { - if (response.headersSent) { - return; - } - Object.keys(headers).forEach((name: string) => { - response.set(name, headers[name]); - }); - if (data && typeof data.pipe === 'function' && data.readable && typeof data._read === 'function') { - response.status(statusCode || 200) - data.pipe(response); - } else if (data !== null && data !== undefined) { - response.status(statusCode || 200).json(data); - } else { - response.status(statusCode || 204).end(); - } - } - - // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa - - function responder(response: any): TsoaResponse { - return function(status, data, headers) { - returnHandler(response, status, data, headers); - }; - }; - - // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa - - function getValidatedArgs(args: any, request: any, response: any): any[] { - const fieldErrors: FieldErrors = {}; - const values = Object.keys(args).map((key) => { - const name = args[key].name; - switch (args[key].in) { - case 'request': - return request; - case 'query': - return validationService.ValidateParam(args[key], request.query[name], name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"}); - case 'queries': - return validationService.ValidateParam(args[key], request.query, name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"}); - case 'path': - return validationService.ValidateParam(args[key], request.params[name], name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"}); - case 'header': - return validationService.ValidateParam(args[key], request.header(name), name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"}); - case 'body': - return validationService.ValidateParam(args[key], request.body, name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"}); - case 'body-prop': - return validationService.ValidateParam(args[key], request.body[name], name, fieldErrors, 'body.', {"noImplicitAdditionalProperties":"throw-on-extras"}); - case 'formData': - if (args[key].dataType === 'file') { - return validationService.ValidateParam(args[key], request.file, name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"}); - } else if (args[key].dataType === 'array' && args[key].array.dataType === 'file') { - return validationService.ValidateParam(args[key], request.files, name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"}); - } else { - return validationService.ValidateParam(args[key], request.body[name], name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"}); - } - case 'res': - return responder(response); + next(error); } - }); - if (Object.keys(fieldErrors).length > 0) { - throw new ValidateError(fieldErrors, ''); + // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa } - return values; } // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa diff --git a/src/routes/swagger.json b/src/routes/swagger.json index 8c48bc5c..914d405d 100644 --- a/src/routes/swagger.json +++ b/src/routes/swagger.json @@ -201,19 +201,11 @@ "$ref": "#/components/schemas/AutoAcceptProof" }, "goalCode": { -<<<<<<< HEAD "type": "string" }, "parentThreadId": { "type": "string" }, -======= - "type": "string" - }, - "parentThreadId": { - "type": "string" - }, ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "willConfirm": { "type": "boolean" } @@ -257,12 +249,9 @@ }, "recipientKey": { "type": "string" -<<<<<<< HEAD }, "invitationDid": { "type": "string" -======= ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) } }, "required": [ @@ -1564,7 +1553,6 @@ ] } ] -<<<<<<< HEAD }, "message": { "type": "string" @@ -1597,40 +1585,6 @@ "nextVersionId": { "type": "string" }, -======= - }, - "message": { - "type": "string" - }, - "servedFromCache": { - "type": "boolean" - } - }, - "type": "object", - "additionalProperties": false - }, - "DIDDocumentMetadata": { - "description": "Represents metadata about the DID document resulting from a {@link Resolvable.resolve} operation.", - "properties": { - "created": { - "type": "string" - }, - "updated": { - "type": "string" - }, - "deactivated": { - "type": "boolean" - }, - "versionId": { - "type": "string" - }, - "nextUpdate": { - "type": "string" - }, - "nextVersionId": { - "type": "string" - }, ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "equivalentId": { "type": "string" }, @@ -3033,7 +2987,6 @@ } } }, -<<<<<<< HEAD "404": { "description": "", "content": { @@ -3084,8 +3037,6 @@ } } }, -======= ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "404": { "description": "", "content": { @@ -3103,130 +3054,6 @@ } } } - } - }, -<<<<<<< HEAD - "description": "Deletes an out of band record from the repository.", -======= - "description": "Retrieve an out of band record by id", ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) - "tags": [ - "Out Of Band" - ], - "security": [ - { - "apiKey": [] - } - ], - "parameters": [ - { - "description": "Record identifier", - "in": "path", - "name": "outOfBandId", - "required": true, - "schema": { - "$ref": "#/components/schemas/RecordId" -<<<<<<< HEAD -======= - } - } - ] - }, - "delete": { - "operationId": "DeleteOutOfBandRecord", - "responses": { - "200": { - "description": "Ok", - "content": { - "application/json": { - "schema": {} - } ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) - } - } - ] - } - }, - "/oob/create-invitation": { - "post": { - "operationId": "CreateInvitation", - "responses": { - "200": { - "description": "Out of band record", - "content": { - "application/json": { - "schema": {}, - "examples": { - "Example 1": { - "value": { - "invitationUrl": "string", - "invitation": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/out-of-band/1.1/invitation", - "@id": "d6472943-e5d0-4d95-8b48-790ed5a41931", - "label": "Aries Test Agent", - "accept": [ - "didcomm/aip1", - "didcomm/aip2;env=rfc19" - ], - "handshake_protocols": [ - "https://didcomm.org/didexchange/1.0", - "https://didcomm.org/connections/1.0" - ], - "services": [ - { - "id": "#inline-0", - "serviceEndpoint": "https://6b77-89-20-162-146.ngrok.io", - "type": "did-communication", - "recipientKeys": [ - "did:key:z6MkmTBHTWrvLPN8pBmUj7Ye5ww9GiacXCYMNVvpScSpf1DM" - ], - "routingKeys": [] - } - ] - }, - "outOfBandRecord": { - "_tags": { - "invitationId": "1cbd22e4-1906-41e9-8807-83d84437f978", - "state": "await-response", - "role": "sender", - "recipientKeyFingerprints": [ - "z6MktUCPZjfRJXD4GMcYuXiqX2qZ8vBw6UAYpDFiHEUfwuLj" - ] - }, - "outOfBandInvitation": { - "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/out-of-band/1.1/invitation", - "@id": "d6472943-e5d0-4d95-8b48-790ed5a41931", - "label": "Aries Test Agent", - "accept": [ - "didcomm/aip1", - "didcomm/aip2;env=rfc19" - ], - "handshake_protocols": [ - "https://didcomm.org/didexchange/1.0", - "https://didcomm.org/connections/1.0" - ], - "services": [ - { - "id": "#inline-0", - "serviceEndpoint": "https://6b77-89-20-162-146.ngrok.io", - "type": "did-communication", - "recipientKeys": [ - "did:key:z6MkmTBHTWrvLPN8pBmUj7Ye5ww9GiacXCYMNVvpScSpf1DM" - ], - "routingKeys": [] - } - ] - }, - "metadata": {}, - "id": "42a95528-0e30-4f86-a462-0efb02178b53", - "createdAt": "2022-01-01T00:00:00.000Z", - "reusable": false - } - } - } - } - } - } }, "500": { "description": "", @@ -3247,11 +3074,7 @@ } } }, -<<<<<<< HEAD - "description": "Creates an outbound out-of-band record containing out-of-band invitation message defined in\nAries RFC 0434: Out-of-Band Protocol 1.1.", -======= "description": "Deletes an out of band record from the repository.", ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "tags": [ "Out Of Band" ], @@ -3260,25 +3083,6 @@ "apiKey": [] } ], -<<<<<<< HEAD - "parameters": [], - "requestBody": { - "description": "configuration of how out-of-band invitation should be created", - "required": true, - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CreateInvitationOptions" - }, - { - "$ref": "#/components/schemas/RecipientKeyOption" - } - ], - "description": "configuration of how out-of-band invitation should be created" - } -======= "parameters": [ { "description": "Record identifier", @@ -3287,37 +3091,24 @@ "required": true, "schema": { "$ref": "#/components/schemas/RecordId" ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) } } ] } }, -<<<<<<< HEAD - "/oob/create-legacy-invitation": { - "post": { - "operationId": "CreateLegacyInvitation", - "responses": { - "200": { - "description": "out-of-band record and invitation", -======= "/oob/create-invitation": { "post": { "operationId": "CreateInvitation", "responses": { "200": { "description": "Out of band record", ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "content": { "application/json": { "schema": {}, "examples": { "Example 1": { "value": { -<<<<<<< HEAD -======= "invitationUrl": "string", ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "invitation": { "@type": "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/out-of-band/1.1/invitation", "@id": "d6472943-e5d0-4d95-8b48-790ed5a41931", @@ -3386,8 +3177,6 @@ } } }, -<<<<<<< HEAD -======= "500": { "description": "", "content": { @@ -3423,7 +3212,14 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateInvitationOptions", + "allOf": [ + { + "$ref": "#/components/schemas/CreateInvitationOptions" + }, + { + "$ref": "#/components/schemas/RecipientKeyOption" + } + ], "description": "configuration of how out-of-band invitation should be created" } } @@ -3511,7 +3307,6 @@ } } }, ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "500": { "description": "", "content": { diff --git a/yarn.lock b/yarn.lock index 4ec93557..6f02e5dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24,23 +24,18 @@ node-addon-api "^3.0.0" node-gyp-build "^4.2.1" -"@aashutoshrathi/word-wrap@^1.2.3": - version "1.2.6" - resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" - integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== - "@adraffy/ens-normalize@1.10.1": version "1.10.1" resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz#63430d04bd8c5e74f8d7d049338f1cd9d4f02069" integrity sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw== "@ampproject/remapping@^2.2.0": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" - integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg== + version "2.3.0" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.3.0.tgz#ed441b6fa600072520ce18b43d2c8cc8caecc7f4" + integrity sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw== dependencies: - "@jridgewell/gen-mapping" "^0.3.0" - "@jridgewell/trace-mapping" "^0.3.9" + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.24" "@astronautlabs/jsonpath@^1.1.2": version "1.1.2" @@ -49,7 +44,6 @@ dependencies: static-eval "2.0.2" -<<<<<<< HEAD "@ayanworks/credo-polygon-w3c-module@0.0.2-alpha.8": version "0.0.2-alpha.8" resolved "https://registry.yarnpkg.com/@ayanworks/credo-polygon-w3c-module/-/credo-polygon-w3c-module-0.0.2-alpha.8.tgz#1d9f38cde0ba7ef2c09c805e390eab5928147c1c" @@ -71,29 +65,6 @@ "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4" "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.13" "@credo-ts/core" "0.5.3" -======= -"@ayanworks/credo-polygon-w3c-module@0.0.2-alpha.7": - version "0.0.2-alpha.7" - resolved "https://registry.yarnpkg.com/@ayanworks/credo-polygon-w3c-module/-/credo-polygon-w3c-module-0.0.2-alpha.7.tgz#003e09a4249a4618da914d3504ffafb522c74133" - integrity sha512-AK9rBqFYUvV8/VaD/X7b+/simfasbPuUgJCi1L1V4SIc2lJhJ2cxaI8OdEv5V1xBytmBdSC+THfSaKg0py3QRA== - dependencies: - "@ayanworks/polygon-did-registrar" "0.0.16-alpha.16" - "@ayanworks/polygon-did-resolver" "0.0.16-alpha.11" - "@ayanworks/polygon-schema-manager" "0.0.2-alpha.6" - "@credo-ts/askar" "0.5.1" - "@credo-ts/core" "0.5.1" - did-resolver "^4.1.0" - ethers "^6.9.0" - -"@ayanworks/polygon-did-registrar@0.0.16-alpha.16": - version "0.0.16-alpha.16" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registrar/-/polygon-did-registrar-0.0.16-alpha.16.tgz#8467412a8138ffb8b2305bf4ea7914a4ce979267" - integrity sha512-q3Y1bzeHmCAxRpbA6rXKaO9CQhLjlP4aMZuJxYiiicPlQ6plkRt+Icxdp1ozsCEcMouj3l4E5kgzjK48bhOxrw== - dependencies: - "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.3" - "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.11" - "@credo-ts/core" "0.5.1" ->>>>>>> 81e66a3... merge: develop to main (#98) "@ethersproject/basex" "^5.7.0" "@ethersproject/signing-key" "^5.7.0" "@ethersproject/transactions" "^5.7.0" @@ -107,23 +78,29 @@ resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registry-contract/-/polygon-did-registry-contract-2.0.1-alpha.4.tgz#5691d61f322959201813fe7ff2bd2234c8e7af72" integrity sha512-a35EtcPyLyKjq0y0uqi7uHXPeoMMSoC2oai88xY2PlLV9avQwyCIOaVsIKcuKdJaPWPmFQaeU5S7iY/pfVguWQ== -<<<<<<< HEAD -"@ayanworks/polygon-did-resolver@0.0.16-alpha.13", "@ayanworks/polygon-did-resolver@^0.0.16-alpha.13": +"@ayanworks/polygon-did-registry-contract@2.0.1-alpha.6": + version "2.0.1-alpha.6" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registry-contract/-/polygon-did-registry-contract-2.0.1-alpha.6.tgz#21da200874fe1035a0b37a2c90981c4048208479" + integrity sha512-b/Pk0ByQdsleC1bwfP9J2lC6vkpfk4UZk7oJff3/O86Ael9rk0kQ7t3yu4Q7lh4bWEoeJ9Gij8CR1o+ImT9U7g== + +"@ayanworks/polygon-did-resolver@0.0.16-alpha.13": version "0.0.16-alpha.13" resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-0.0.16-alpha.13.tgz#24a0e0c674dde0d64fa5f4767c5368f791abbab3" integrity sha512-8SRDPQpX/AU1xfmH2O7DzqeDtPdE1FA3z7ONp/v1xvP1h00GU2nKie4jeWHipCVfJOInEmiJbl0FIKFcviERsA== -======= -"@ayanworks/polygon-did-resolver@0.0.16-alpha.11", "@ayanworks/polygon-did-resolver@^0.0.16-alpha.11": - version "0.0.16-alpha.11" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-0.0.16-alpha.11.tgz#fe115f9a63eea5e0604712549e9c573dcef7d55c" - integrity sha512-rQ6iVz0uht/hLkYA29E2iHN7xW0EusG6ognndBJF0QUxuPBB2kbmcr/4kW1E1m8FJLPvmEX/ed5v0pbBnGSJwA== ->>>>>>> 81e66a3... merge: develop to main (#98) dependencies: "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4" did-resolver "^4.1.0" ethers "^5.1.0" -<<<<<<< HEAD +"@ayanworks/polygon-did-resolver@^0.0.16-alpha.13": + version "0.0.16-alpha.14" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-0.0.16-alpha.14.tgz#859d2f7cfe7070815b0760b0e3f4200bcd8f42c5" + integrity sha512-uxDzHScLbUP2x15Pvs3zKeaFx+tYzgep1rXQl0p2bxFD0sRxiX1nhJgMGXNzGtzNIKXCbbnt1Ak/IzB65CQx6Q== + dependencies: + "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.6" + did-resolver "^4.1.0" + ethers "^5.1.0" + "@ayanworks/polygon-schema-manager@0.0.2-alpha.7": version "0.0.2-alpha.7" resolved "https://registry.yarnpkg.com/@ayanworks/polygon-schema-manager/-/polygon-schema-manager-0.0.2-alpha.7.tgz#79b975e7f6524d86030b4a38453ea5c33079882a" @@ -131,15 +108,6 @@ dependencies: "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4" "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.13" -======= -"@ayanworks/polygon-schema-manager@0.0.2-alpha.6": - version "0.0.2-alpha.6" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-schema-manager/-/polygon-schema-manager-0.0.2-alpha.6.tgz#a872afc1166e39561dba63f0ba83f898376bb874" - integrity sha512-H8W0eS//Q3eDCiwtEqfqPhGW3bRLWOkJU1EYOuiwZGaIuZb4kWbYqAGdgl0s5g0ZP1rjirk4Ztx1w10cWqsZWw== - dependencies: - "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.3" - "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.11" ->>>>>>> 81e66a3... merge: develop to main (#98) "@nomicfoundation/hardhat-verify" "^2.0.3" axios "^1.6.3" did-resolver "^4.1.0" @@ -154,104 +122,50 @@ dependencies: "@babel/highlight" "^7.10.4" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.21.4.tgz#d0fa9e4413aca81f2b23b9442797bda1826edb39" - integrity sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g== +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.23.5", "@babel/code-frame@^7.24.2": + version "7.24.2" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.24.2.tgz#718b4b19841809a58b29b68cde80bc5e1aa6d9ae" + integrity sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ== dependencies: - "@babel/highlight" "^7.18.6" - -"@babel/code-frame@^7.23.5": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.23.5.tgz#9009b69a8c602293476ad598ff53e4562e15c244" - integrity sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA== - dependencies: - "@babel/highlight" "^7.23.4" - chalk "^2.4.2" - -"@babel/compat-data@^7.22.0": - version "7.22.3" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.3.tgz#cd502a6a0b6e37d7ad72ce7e71a7160a3ae36f7e" - integrity sha512-aNtko9OPOwVESUFp3MZfD8Uzxl7JzSeJpd7npIoxCasU37PFbAQRpKglkaKwlHOyeJdrREpo8TW8ldrkYWwvIQ== + "@babel/highlight" "^7.24.2" + picocolors "^1.0.0" "@babel/compat-data@^7.23.5": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.23.5.tgz#ffb878728bb6bdcb6f4510aa51b1be9afb8cfd98" - integrity sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw== - -"@babel/core@^7.1.0", "@babel/core@^7.12.3", "@babel/core@^7.7.2", "@babel/core@^7.8.0": - version "7.22.1" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.1.tgz#5de51c5206f4c6f5533562838337a603c1033cfd" - integrity sha512-Hkqu7J4ynysSXxmAahpN1jjRwVJ+NdpraFLIWflgjpVob3KNyK3/tIUc7Q7szed8WMp0JNa7Qtd1E9Oo22F9gA== - dependencies: - "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.21.4" - "@babel/generator" "^7.22.0" - "@babel/helper-compilation-targets" "^7.22.1" - "@babel/helper-module-transforms" "^7.22.1" - "@babel/helpers" "^7.22.0" - "@babel/parser" "^7.22.0" - "@babel/template" "^7.21.9" - "@babel/traverse" "^7.22.1" - "@babel/types" "^7.22.0" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.2.2" - semver "^6.3.0" + version "7.24.4" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.24.4.tgz#6f102372e9094f25d908ca0d34fc74c74606059a" + integrity sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ== -"@babel/core@^7.14.6": - version "7.24.0" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.24.0.tgz#56cbda6b185ae9d9bed369816a8f4423c5f2ff1b" - integrity sha512-fQfkg0Gjkza3nf0c7/w6Xf34BW4YvzNfACRLmmb7XRLa6XHdR+K9AlJlxneFfWYf6uhOzuzZVTjF/8KfndZANw== +"@babel/core@^7.1.0", "@babel/core@^7.12.3", "@babel/core@^7.14.6", "@babel/core@^7.7.2", "@babel/core@^7.8.0": + version "7.24.5" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.24.5.tgz#15ab5b98e101972d171aeef92ac70d8d6718f06a" + integrity sha512-tVQRucExLQ02Boi4vdPp49svNGcfL2GhdTCT9aldhXgCJVAI21EtRfBettiuLUwce/7r6bFdgs6JFkcdTiFttA== dependencies: "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.23.5" - "@babel/generator" "^7.23.6" + "@babel/code-frame" "^7.24.2" + "@babel/generator" "^7.24.5" "@babel/helper-compilation-targets" "^7.23.6" - "@babel/helper-module-transforms" "^7.23.3" - "@babel/helpers" "^7.24.0" - "@babel/parser" "^7.24.0" + "@babel/helper-module-transforms" "^7.24.5" + "@babel/helpers" "^7.24.5" + "@babel/parser" "^7.24.5" "@babel/template" "^7.24.0" - "@babel/traverse" "^7.24.0" - "@babel/types" "^7.24.0" + "@babel/traverse" "^7.24.5" + "@babel/types" "^7.24.5" convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.3" semver "^6.3.1" -"@babel/generator@^7.22.0", "@babel/generator@^7.22.3", "@babel/generator@^7.7.2": - version "7.22.3" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.3.tgz#0ff675d2edb93d7596c5f6728b52615cfc0df01e" - integrity sha512-C17MW4wlk//ES/CJDL51kPNwl+qiBQyN7b9SKyVp11BLGFeSPoVaHrv+MNt8jwQFhQWowW88z1eeBx3pFz9v8A== +"@babel/generator@^7.24.5", "@babel/generator@^7.7.2": + version "7.24.5" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.24.5.tgz#e5afc068f932f05616b66713e28d0f04e99daeb3" + integrity sha512-x32i4hEXvr+iI0NEoEfDKzlemF8AmtOP8CcrRaEcpzysWuoEb1KknpcvMsHKPONoKZiDuItklgWhB18xEhr9PA== dependencies: - "@babel/types" "^7.22.3" - "@jridgewell/gen-mapping" "^0.3.2" - "@jridgewell/trace-mapping" "^0.3.17" + "@babel/types" "^7.24.5" + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.25" jsesc "^2.5.1" -"@babel/generator@^7.23.6": - version "7.23.6" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.6.tgz#9e1fca4811c77a10580d17d26b57b036133f3c2e" - integrity sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw== - dependencies: - "@babel/types" "^7.23.6" - "@jridgewell/gen-mapping" "^0.3.2" - "@jridgewell/trace-mapping" "^0.3.17" - jsesc "^2.5.1" - -"@babel/helper-compilation-targets@^7.22.1": - version "7.22.1" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.1.tgz#bfcd6b7321ffebe33290d68550e2c9d7eb7c7a58" - integrity sha512-Rqx13UM3yVB5q0D/KwQ8+SPfX/+Rnsy1Lw1k/UwOC4KC6qrzIQoY3lYnBu5EHKBlEHHcj0M0W8ltPSkD8rqfsQ== - dependencies: - "@babel/compat-data" "^7.22.0" - "@babel/helper-validator-option" "^7.21.0" - browserslist "^4.21.3" - lru-cache "^5.1.1" - semver "^6.3.0" - "@babel/helper-compilation-targets@^7.23.6": version "7.23.6" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz#4d79069b16cbcf1461289eccfbbd81501ae39991" @@ -263,24 +177,11 @@ lru-cache "^5.1.1" semver "^6.3.1" -"@babel/helper-environment-visitor@^7.22.1": - version "7.22.1" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.1.tgz#ac3a56dbada59ed969d712cf527bd8271fe3eba8" - integrity sha512-Z2tgopurB/kTbidvzeBrc2To3PUP/9i5MUe+fU6QJCQDyPwSH2oRapkLw3KGECDYSjhQZCNxEvNvZlLw8JjGwA== - "@babel/helper-environment-visitor@^7.22.20": version "7.22.20" resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167" integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== -"@babel/helper-function-name@^7.21.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz#d552829b10ea9f120969304023cd0645fa00b1b4" - integrity sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg== - dependencies: - "@babel/template" "^7.20.7" - "@babel/types" "^7.21.0" - "@babel/helper-function-name@^7.23.0": version "7.23.0" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759" @@ -289,13 +190,6 @@ "@babel/template" "^7.22.15" "@babel/types" "^7.23.0" -"@babel/helper-hoist-variables@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678" - integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== - dependencies: - "@babel/types" "^7.18.6" - "@babel/helper-hoist-variables@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" @@ -303,158 +197,81 @@ dependencies: "@babel/types" "^7.22.5" -"@babel/helper-module-imports@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz#ac88b2f76093637489e718a90cec6cf8a9b029af" - integrity sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg== - dependencies: - "@babel/types" "^7.21.4" - -"@babel/helper-module-imports@^7.22.15": - version "7.22.15" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0" - integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== - dependencies: - "@babel/types" "^7.22.15" - -"@babel/helper-module-transforms@^7.22.1": - version "7.22.1" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.22.1.tgz#e0cad47fedcf3cae83c11021696376e2d5a50c63" - integrity sha512-dxAe9E7ySDGbQdCVOY/4+UcD8M9ZFqZcZhSPsPacvCG4M+9lwtDDQfI2EoaSvmf7W/8yCBkGU0m7Pvt1ru3UZw== +"@babel/helper-module-imports@^7.24.3": + version "7.24.3" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz#6ac476e6d168c7c23ff3ba3cf4f7841d46ac8128" + integrity sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg== dependencies: - "@babel/helper-environment-visitor" "^7.22.1" - "@babel/helper-module-imports" "^7.21.4" - "@babel/helper-simple-access" "^7.21.5" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/helper-validator-identifier" "^7.19.1" - "@babel/template" "^7.21.9" - "@babel/traverse" "^7.22.1" - "@babel/types" "^7.22.0" + "@babel/types" "^7.24.0" -"@babel/helper-module-transforms@^7.23.3": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz#d7d12c3c5d30af5b3c0fcab2a6d5217773e2d0f1" - integrity sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ== +"@babel/helper-module-transforms@^7.23.3", "@babel/helper-module-transforms@^7.24.5": + version "7.24.5" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.24.5.tgz#ea6c5e33f7b262a0ae762fd5986355c45f54a545" + integrity sha512-9GxeY8c2d2mdQUP1Dye0ks3VDyIMS98kt/llQ2nUId8IsWqTF0l1LkSX0/uP7l7MCDrzXS009Hyhe2gzTiGW8A== dependencies: "@babel/helper-environment-visitor" "^7.22.20" - "@babel/helper-module-imports" "^7.22.15" - "@babel/helper-simple-access" "^7.22.5" - "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/helper-validator-identifier" "^7.22.20" + "@babel/helper-module-imports" "^7.24.3" + "@babel/helper-simple-access" "^7.24.5" + "@babel/helper-split-export-declaration" "^7.24.5" + "@babel/helper-validator-identifier" "^7.24.5" -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.8.0": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.21.5.tgz#345f2377d05a720a4e5ecfa39cbf4474a4daed56" - integrity sha512-0WDaIlXKOX/3KfBK/dwP1oQGiPh6rjMkT7HIRv7i5RR2VUMwrx5ZL0dwBkKx7+SW1zwNdgjHd34IMk5ZjTeHVg== +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.24.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": + version "7.24.5" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.5.tgz#a924607dd254a65695e5bd209b98b902b3b2f11a" + integrity sha512-xjNLDopRzW2o6ba0gKbkZq5YWEBaK3PCyTOY1K2P/O07LGMhMqlMXPxwN4S5/RhWuCobT8z0jrlKGlYmeR1OhQ== -"@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.3": - version "7.24.0" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz#945681931a52f15ce879fd5b86ce2dae6d3d7f2a" - integrity sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w== - -"@babel/helper-simple-access@^7.21.5": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.21.5.tgz#d697a7971a5c39eac32c7e63c0921c06c8a249ee" - integrity sha512-ENPDAMC1wAjR0uaCUwliBdiSl1KBJAVnMTzXqi64c2MG8MPR6ii4qf7bSXDqSFbr4W6W028/rf5ivoHop5/mkg== +"@babel/helper-simple-access@^7.22.5", "@babel/helper-simple-access@^7.24.5": + version "7.24.5" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.24.5.tgz#50da5b72f58c16b07fbd992810be6049478e85ba" + integrity sha512-uH3Hmf5q5n7n8mz7arjUlDOCbttY/DW4DYhE6FUsjKJ/oYC1kQQUvwEQWxRwUpX9qQKRXeqLwWxrqilMrf32sQ== dependencies: - "@babel/types" "^7.21.5" + "@babel/types" "^7.24.5" -"@babel/helper-simple-access@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de" - integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w== +"@babel/helper-split-export-declaration@^7.24.5": + version "7.24.5" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.5.tgz#b9a67f06a46b0b339323617c8c6213b9055a78b6" + integrity sha512-5CHncttXohrHk8GWOFCcCl4oRD9fKosWlIRgWm4ql9VYioKm52Mk2xsmoohvm7f3JoiLSM5ZgJuRaf5QZZYd3Q== dependencies: - "@babel/types" "^7.22.5" + "@babel/types" "^7.24.5" -"@babel/helper-split-export-declaration@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" - integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== - dependencies: - "@babel/types" "^7.18.6" +"@babel/helper-string-parser@^7.24.1": + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz#f99c36d3593db9540705d0739a1f10b5e20c696e" + integrity sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ== -"@babel/helper-split-export-declaration@^7.22.6": - version "7.22.6" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" - integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== - dependencies: - "@babel/types" "^7.22.5" - -"@babel/helper-string-parser@^7.21.5": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.21.5.tgz#2b3eea65443c6bdc31c22d037c65f6d323b6b2bd" - integrity sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w== - -"@babel/helper-string-parser@^7.23.4": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz#9478c707febcbbe1ddb38a3d91a2e054ae622d83" - integrity sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ== - -"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": - version "7.19.1" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" - integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== - -"@babel/helper-validator-identifier@^7.22.20": - version "7.22.20" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" - integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== - -"@babel/helper-validator-option@^7.21.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" - integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ== +"@babel/helper-validator-identifier@^7.24.5": + version "7.24.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.5.tgz#918b1a7fa23056603506370089bd990d8720db62" + integrity sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA== "@babel/helper-validator-option@^7.23.5": version "7.23.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz#907a3fbd4523426285365d1206c423c4c5520307" integrity sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw== -"@babel/helpers@^7.22.0": - version "7.22.3" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.22.3.tgz#53b74351da9684ea2f694bf0877998da26dd830e" - integrity sha512-jBJ7jWblbgr7r6wYZHMdIqKc73ycaTcCaWRq4/2LpuPHcx7xMlZvpGQkOYc9HeSjn6rcx15CPlgVcBtZ4WZJ2w== - dependencies: - "@babel/template" "^7.21.9" - "@babel/traverse" "^7.22.1" - "@babel/types" "^7.22.3" - -"@babel/helpers@^7.24.0": - version "7.24.0" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.24.0.tgz#a3dd462b41769c95db8091e49cfe019389a9409b" - integrity sha512-ulDZdc0Aj5uLc5nETsa7EPx2L7rM0YJM8r7ck7U73AXi7qOV44IHHRAYZHY6iU1rr3C5N4NtTmMRUJP6kwCWeA== +"@babel/helpers@^7.24.5": + version "7.24.5" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.24.5.tgz#fedeb87eeafa62b621160402181ad8585a22a40a" + integrity sha512-CiQmBMMpMQHwM5m01YnrM6imUG1ebgYJ+fAIW4FZe6m4qHTPaRHti+R8cggAwkdz4oXhtO4/K9JWlh+8hIfR2Q== dependencies: "@babel/template" "^7.24.0" - "@babel/traverse" "^7.24.0" - "@babel/types" "^7.24.0" + "@babel/traverse" "^7.24.5" + "@babel/types" "^7.24.5" -"@babel/highlight@^7.10.4", "@babel/highlight@^7.23.4": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.23.4.tgz#edaadf4d8232e1a961432db785091207ead0621b" - integrity sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A== +"@babel/highlight@^7.10.4", "@babel/highlight@^7.24.2": + version "7.24.5" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.24.5.tgz#bc0613f98e1dd0720e99b2a9ee3760194a704b6e" + integrity sha512-8lLmua6AVh/8SLJRRVD6V8p73Hir9w5mJrhE+IPpILG31KKlI9iz5zmBYKcWPS59qSfgP9RaSBQSHHE81WKuEw== dependencies: - "@babel/helper-validator-identifier" "^7.22.20" + "@babel/helper-validator-identifier" "^7.24.5" chalk "^2.4.2" js-tokens "^4.0.0" + picocolors "^1.0.0" -"@babel/highlight@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" - integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== - dependencies: - "@babel/helper-validator-identifier" "^7.18.6" - chalk "^2.0.0" - js-tokens "^4.0.0" - -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.21.9", "@babel/parser@^7.22.0", "@babel/parser@^7.22.4": - version "7.22.4" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.4.tgz#a770e98fd785c231af9d93f6459d36770993fb32" - integrity sha512-VLLsx06XkEYqBtE5YGPwfSGwfrjnyPP5oiGty3S8pQLFDFLaS8VwWSIxkTXpcvr5zeYLE6+MBNl2npl/YnfofA== - -"@babel/parser@^7.24.0": - version "7.24.0" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.0.tgz#26a3d1ff49031c53a97d03b604375f028746a9ac" - integrity sha512-QuP/FxEAzMSjXygs8v4N9dvdXzEHN4W1oF3PxuWAtPo08UdM17u89RDMgjLn/mlc56iM0HlLmVkO/wgR+rDgHg== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.24.0", "@babel/parser@^7.24.5": + version "7.24.5" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.5.tgz#4a4d5ab4315579e5398a82dcf636ca80c3392790" + integrity sha512-EOv5IK8arwh3LI47dz1b0tKUb/1uhHAnHJOrjgtQMIpu1uXd9mlFrJg9IUgGUgZ41Ch0K8REPTYpO7B76b4vJg== "@babel/plugin-proposal-export-namespace-from@^7.14.5": version "7.18.9" @@ -556,31 +373,22 @@ "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-typescript@^7.7.2": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.21.4.tgz#2751948e9b7c6d771a8efa59340c15d4a2891ff8" - integrity sha512-xz0D39NvhQn4t4RNsHmDnnsaQizIlUkdtYvLs8La1BlfjQ6JEwxkJGeqJMW2tAXx+q6H+WFuUTXNdYVpEya0YA== + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.1.tgz#b3bcc51f396d15f3591683f90239de143c076844" + integrity sha512-Yhnmvy5HZEnHUty6i++gcfH1/l68AHnItFHnaCv6hn9dNh0hQvvQJsxpi4BMBFN5DLeHBuucT/0DgzXif/OyRw== dependencies: - "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-plugin-utils" "^7.24.0" "@babel/plugin-transform-modules-commonjs@^7.14.5": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.3.tgz#661ae831b9577e52be57dd8356b734f9700b53b4" - integrity sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA== + version "7.24.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.24.1.tgz#e71ba1d0d69e049a22bf90b3867e263823d3f1b9" + integrity sha512-szog8fFTUxBfw0b98gEWPaEqF42ZUD/T3bkynW/wtgx2p/XCP55WEsb+VosKceRSd6njipdZvNogqdtI4Q0chw== dependencies: "@babel/helper-module-transforms" "^7.23.3" - "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-plugin-utils" "^7.24.0" "@babel/helper-simple-access" "^7.22.5" -"@babel/template@^7.20.7", "@babel/template@^7.21.9", "@babel/template@^7.3.3": - version "7.21.9" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.21.9.tgz#bf8dad2859130ae46088a99c1f265394877446fb" - integrity sha512-MK0X5k8NKOuWRamiEfc3KEJiHMTkGZNUjzMipqCGDDc6ijRl/B7RGSKVGncu4Ro/HdyzzY6cmoXuKI2Gffk7vQ== - dependencies: - "@babel/code-frame" "^7.21.4" - "@babel/parser" "^7.21.9" - "@babel/types" "^7.21.5" - -"@babel/template@^7.22.15", "@babel/template@^7.24.0": +"@babel/template@^7.22.15", "@babel/template@^7.24.0", "@babel/template@^7.3.3": version "7.24.0" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.24.0.tgz#c6a524aa93a4a05d66aaf31654258fae69d87d50" integrity sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA== @@ -589,54 +397,29 @@ "@babel/parser" "^7.24.0" "@babel/types" "^7.24.0" -"@babel/traverse@^7.22.1", "@babel/traverse@^7.7.2": - version "7.22.4" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.4.tgz#c3cf96c5c290bd13b55e29d025274057727664c0" - integrity sha512-Tn1pDsjIcI+JcLKq1AVlZEr4226gpuAQTsLMorsYg9tuS/kG7nuwwJ4AB8jfQuEgb/COBwR/DqJxmoiYFu5/rQ== - dependencies: - "@babel/code-frame" "^7.21.4" - "@babel/generator" "^7.22.3" - "@babel/helper-environment-visitor" "^7.22.1" - "@babel/helper-function-name" "^7.21.0" - "@babel/helper-hoist-variables" "^7.18.6" - "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.22.4" - "@babel/types" "^7.22.4" - debug "^4.1.0" - globals "^11.1.0" - -"@babel/traverse@^7.24.0": - version "7.24.0" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.24.0.tgz#4a408fbf364ff73135c714a2ab46a5eab2831b1e" - integrity sha512-HfuJlI8qq3dEDmNU5ChzzpZRWq+oxCZQyMzIMEqLho+AQnhMnKQUzH6ydo3RBl/YjPCuk68Y6s0Gx0AeyULiWw== +"@babel/traverse@^7.24.5", "@babel/traverse@^7.7.2": + version "7.24.5" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.24.5.tgz#972aa0bc45f16983bf64aa1f877b2dd0eea7e6f8" + integrity sha512-7aaBLeDQ4zYcUFDUD41lJc1fG8+5IU9DaNSJAgal866FGvmD5EbWQgnEC6kO1gGLsX0esNkfnJSndbTXA3r7UA== dependencies: - "@babel/code-frame" "^7.23.5" - "@babel/generator" "^7.23.6" + "@babel/code-frame" "^7.24.2" + "@babel/generator" "^7.24.5" "@babel/helper-environment-visitor" "^7.22.20" "@babel/helper-function-name" "^7.23.0" "@babel/helper-hoist-variables" "^7.22.5" - "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/parser" "^7.24.0" - "@babel/types" "^7.24.0" + "@babel/helper-split-export-declaration" "^7.24.5" + "@babel/parser" "^7.24.5" + "@babel/types" "^7.24.5" debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.4", "@babel/types@^7.21.5", "@babel/types@^7.22.0", "@babel/types@^7.22.3", "@babel/types@^7.22.4", "@babel/types@^7.3.3": - version "7.22.4" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.4.tgz#56a2653ae7e7591365dabf20b76295410684c071" - integrity sha512-Tx9x3UBHTTsMSW85WB2kphxYQVvrZ/t1FxD88IpSgIjiUJlCm9z+xWIDwyo1vffTwSqteqyznB8ZE9vYYk16zA== +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.24.0", "@babel/types@^7.24.5", "@babel/types@^7.3.3": + version "7.24.5" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.24.5.tgz#7661930afc638a5383eb0c4aee59b74f38db84d7" + integrity sha512-6mQNsaLeXTw0nxYUYu+NSa4Hx4BlF1x1x8/PMFbiR+GBSr+2DkECc69b8hgy2frEodNcvPffeH8YfWd3LI6jhQ== dependencies: - "@babel/helper-string-parser" "^7.21.5" - "@babel/helper-validator-identifier" "^7.19.1" - to-fast-properties "^2.0.0" - -"@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.6", "@babel/types@^7.24.0": - version "7.24.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.24.0.tgz#3b951f435a92e7333eba05b7566fd297960ea1bf" - integrity sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w== - dependencies: - "@babel/helper-string-parser" "^7.23.4" - "@babel/helper-validator-identifier" "^7.22.20" + "@babel/helper-string-parser" "^7.24.1" + "@babel/helper-validator-identifier" "^7.24.5" to-fast-properties "^2.0.0" "@bcoe/v8-coverage@^0.2.3": @@ -644,9 +427,6 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -<<<<<<< HEAD -<<<<<<< HEAD -<<<<<<< HEAD "@credo-ts/anoncreds@0.5.3": version "0.5.3" resolved "https://registry.yarnpkg.com/@credo-ts/anoncreds/-/anoncreds-0.5.3.tgz#3e6775b461fc34e377bebe2c0ca53c34ee630a26" @@ -654,108 +434,33 @@ dependencies: "@astronautlabs/jsonpath" "^1.1.2" "@credo-ts/core" "0.5.3" -======= -"@credo-ts/anoncreds@0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@credo-ts/anoncreds/-/anoncreds-0.5.0.tgz#74bcaec9b3e5f75fd03924efc2e8bd67b905b035" - integrity sha512-fYPYxGV2S99dTCb0LHcHnJrVL3FLgrON5tFiv6U7By6aR9paT70Gwep/Lyp0WNzssg2vZ+a4gEf2gKjQiBE8pA== - dependencies: - "@astronautlabs/jsonpath" "^1.1.2" - "@credo-ts/core" "0.5.0" ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) -======= -"@credo-ts/anoncreds@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/anoncreds/-/anoncreds-0.5.1.tgz#d1ba19e5764e1de5982a0a7e51cd5bc1badce6ad" - integrity sha512-d97wELxvt7jOqgr21FOVfFqHFSu487L+qF0QObOVCl9xElsST9sYl1iaRPHHW2GzYUMWLlnSwZm8fN4pLo9UVA== - dependencies: - "@astronautlabs/jsonpath" "^1.1.2" - "@credo-ts/core" "0.5.1" ->>>>>>> 5dc99ac... feat: migrated to amoy (#96) -======= -"@credo-ts/anoncreds@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/anoncreds/-/anoncreds-0.5.1.tgz#d1ba19e5764e1de5982a0a7e51cd5bc1badce6ad" - integrity sha512-d97wELxvt7jOqgr21FOVfFqHFSu487L+qF0QObOVCl9xElsST9sYl1iaRPHHW2GzYUMWLlnSwZm8fN4pLo9UVA== - dependencies: - "@astronautlabs/jsonpath" "^1.1.2" - "@credo-ts/core" "0.5.1" ->>>>>>> 81e66a3... merge: develop to main (#98) big-integer "^1.6.51" bn.js "^5.2.1" class-transformer "0.5.1" class-validator "0.14.1" reflect-metadata "^0.1.13" -<<<<<<< HEAD -<<<<<<< HEAD -<<<<<<< HEAD "@credo-ts/askar@0.5.3": version "0.5.3" resolved "https://registry.yarnpkg.com/@credo-ts/askar/-/askar-0.5.3.tgz#53eaddd6247bbf0aabea436e722d646a0a603e2b" integrity sha512-AegnSygDAiY77cgidxNAb/ROeGtCNFo2L0nvxXs5MqBIGreT/+llslc5+/FIHDsDfUNB70Y/KK2qsLTVU3MtRg== dependencies: "@credo-ts/core" "0.5.3" -======= -"@credo-ts/askar@0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@credo-ts/askar/-/askar-0.5.0.tgz#5fa2e6443fe3ae1b15c8b66eb73e63beb5c096a1" - integrity sha512-84wxDU6GbucBTe4HV7gUbCieFdhXVX19q8o6dNK8a3zl87yiV3OVwPwtnzghjh47vv14Xr+gWRvqbRvZrhRsaA== - dependencies: - "@credo-ts/core" "0.5.0" ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) -======= -"@credo-ts/askar@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/askar/-/askar-0.5.1.tgz#107d2f91f6afecb77fc7f24556725ec0e7597989" - integrity sha512-O3XWnmpnEe5U/a0kGQHigzXPw6/SXKp2v4ob3DJdHA0kiK3DywANNeG/Hw44lxdg24nNpizmVlO5EjRa6ULcmw== - dependencies: - "@credo-ts/core" "0.5.1" ->>>>>>> 5dc99ac... feat: migrated to amoy (#96) -======= -"@credo-ts/askar@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/askar/-/askar-0.5.1.tgz#107d2f91f6afecb77fc7f24556725ec0e7597989" - integrity sha512-O3XWnmpnEe5U/a0kGQHigzXPw6/SXKp2v4ob3DJdHA0kiK3DywANNeG/Hw44lxdg24nNpizmVlO5EjRa6ULcmw== - dependencies: - "@credo-ts/core" "0.5.1" ->>>>>>> 81e66a3... merge: develop to main (#98) bn.js "^5.2.1" class-transformer "0.5.1" class-validator "0.14.1" rxjs "^7.8.0" tsyringe "^4.8.0" -<<<<<<< HEAD -<<<<<<< HEAD -<<<<<<< HEAD "@credo-ts/core@0.5.3": version "0.5.3" resolved "https://registry.yarnpkg.com/@credo-ts/core/-/core-0.5.3.tgz#cccbce993acbe7651fb397e7a0933ffde3246027" integrity sha512-bM9iNhhXWiJ4YdH5uqaIfK3XhZ6GjuzF0AwE1vMy586sZz05J1ZLQvIYzRpm/p3Buxj9rimnLrc4jcYNit0VUw== -======= -"@credo-ts/core@0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@credo-ts/core/-/core-0.5.0.tgz#a6366df4b176a492f4f45b7e2f45b8c905e1eeca" - integrity sha512-7SJBgs1yd2gpwv8BnCO+U63Uu06v6Cxzg+ypWpqyNkkG4nTsQZSI8r0oSQ+DgbiqwN/AZKsn9HuNISFftf5yKQ== ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) -======= -======= ->>>>>>> 81e66a3... merge: develop to main (#98) -"@credo-ts/core@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/core/-/core-0.5.1.tgz#bb38e2f5451753cea1d3a73b1d407255af02c4ed" - integrity sha512-ywwFw6wwiMft3A994Y91LAm8CrEg2G7CJQRyLD8UzneU4coMWZTeED63thAEX6XK/tyDmv2MAcrO04hE3KQPcA== -<<<<<<< HEAD ->>>>>>> 5dc99ac... feat: migrated to amoy (#96) -======= ->>>>>>> 81e66a3... merge: develop to main (#98) dependencies: "@digitalcredentials/jsonld" "^6.0.0" "@digitalcredentials/jsonld-signatures" "^9.4.0" "@digitalcredentials/vc" "^6.0.1" "@multiformats/base-x" "^4.0.1" -<<<<<<< HEAD "@sd-jwt/core" "^0.6.1" "@sd-jwt/decode" "^0.6.1" "@sd-jwt/types" "^0.6.1" @@ -763,13 +468,6 @@ "@sphereon/pex" "^3.3.2" "@sphereon/pex-models" "^2.2.4" "@sphereon/ssi-types" "^0.23.0" -======= - "@sd-jwt/core" "^0.2.1" - "@sd-jwt/decode" "^0.2.1" - "@sphereon/pex" "3.3.0" - "@sphereon/pex-models" "^2.2.2" - "@sphereon/ssi-types" "^0.18.1" ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "@stablelib/ed25519" "^1.0.2" "@stablelib/sha256" "^1.0.1" "@types/ws" "^8.5.4" @@ -793,9 +491,6 @@ varint "^6.0.0" web-did-resolver "^2.0.21" -<<<<<<< HEAD -<<<<<<< HEAD -<<<<<<< HEAD "@credo-ts/indy-vdr@0.5.3": version "0.5.3" resolved "https://registry.yarnpkg.com/@credo-ts/indy-vdr/-/indy-vdr-0.5.3.tgz#14c1fbe77b77f7214ee66807e4011a5e3c813819" @@ -812,126 +507,35 @@ "@2060.io/ffi-napi" "^4.0.9" "@2060.io/ref-napi" "^3.0.6" "@credo-ts/core" "0.5.3" -======= -"@credo-ts/indy-vdr@0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@credo-ts/indy-vdr/-/indy-vdr-0.5.0.tgz#1799b2a90599d000a43c5dc59e7bd1e1eda68fe1" - integrity sha512-hW7xDdL6fVIgTIclmJRfVz3mlpo87Cwk6hCiRY1/lWV62bsKs6RHGLv6RUp+WPwTIpPpbBs6T1Dm85ditBbxpA== -======= -======= ->>>>>>> 81e66a3... merge: develop to main (#98) -"@credo-ts/indy-vdr@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/indy-vdr/-/indy-vdr-0.5.1.tgz#1fe4719235f3e586e770e57aa46bba7182d53c10" - integrity sha512-pXRAKzLlwijaNaCOPheV9dHeZm0FAfiJw9kYEvpjBn+d/ARygb92kr9lJizUGK3cPtF9dbhrNBuLWwskM39fCw== -<<<<<<< HEAD ->>>>>>> 5dc99ac... feat: migrated to amoy (#96) -======= ->>>>>>> 81e66a3... merge: develop to main (#98) - dependencies: - "@credo-ts/anoncreds" "0.5.1" - "@credo-ts/core" "0.5.1" - -"@credo-ts/node@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/node/-/node-0.5.1.tgz#adf24f931fd80848722f8f313012be00da405deb" - integrity sha512-F/PA3wyKN9MvH2JFSUmYGqQT+JaeSGKWNJxT+OkQzqseCZnCbErAnr8oNWlTwBWogp6ECx31FEn9wMq9zAMLaw== - dependencies: - "@2060.io/ffi-napi" "^4.0.8" - "@2060.io/ref-napi" "^3.0.6" -<<<<<<< HEAD -<<<<<<< HEAD - "@credo-ts/core" "0.5.0" ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) -======= - "@credo-ts/core" "0.5.1" ->>>>>>> 5dc99ac... feat: migrated to amoy (#96) -======= - "@credo-ts/core" "0.5.1" ->>>>>>> 81e66a3... merge: develop to main (#98) "@types/express" "^4.17.15" express "^4.17.1" ws "^8.13.0" "@credo-ts/push-notifications@^0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@credo-ts/push-notifications/-/push-notifications-0.7.0.tgz#b689194b73542664ff5bb8b3a16dec1abcfc1102" - integrity sha512-3A+IOsK9u6aM2xsRJkEtsKRi4EbdPAEwEJ3vqkmV6jXT2SRGAGu2O4UThmZmS7YlRgkC4N+tMaDHerRBNz7nYA== + version "0.7.1" + resolved "https://registry.yarnpkg.com/@credo-ts/push-notifications/-/push-notifications-0.7.1.tgz#368c9c6f8a7b442a9ce2e6e31324d913f8a49350" + integrity sha512-HpaHT9MIeEF3Mlm2ETpgLS30gA6uA3UPxV5cRp5G48sCzHTSs1iIYzgTwcQl91M7Ccd6i85OTzKgw9W2S4xv8g== dependencies: class-transformer "0.5.1" class-validator "0.14.1" tsyringe "^4.6.0" -<<<<<<< HEAD -<<<<<<< HEAD -<<<<<<< HEAD "@credo-ts/question-answer@0.5.3": version "0.5.3" resolved "https://registry.yarnpkg.com/@credo-ts/question-answer/-/question-answer-0.5.3.tgz#dfe52999279df3016ad1ef8319bb9a14de3ca4ff" integrity sha512-xdclXz08iDbQX5KnlBPbMNaVqYjdrnjJ8tq3KILnCbWzwSbxIF7Ab7T3E9g6DKYkb5zmVaMVTUQU41ocyYCsJQ== dependencies: "@credo-ts/core" "0.5.3" -======= -"@credo-ts/question-answer@0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@credo-ts/question-answer/-/question-answer-0.5.0.tgz#d3871127a36f783c7977c3cbcca8a23523453a32" - integrity sha512-cF4RRoVIS05ssIMk4iNQcn53k5E3G4jHVTSrBr3ZoV5EAGHTQ0Y5NMlLCx7kLlY31KGvhdiPXxeECG/uSiS3sg== - dependencies: - "@credo-ts/core" "0.5.0" ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) -======= -"@credo-ts/question-answer@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/question-answer/-/question-answer-0.5.1.tgz#538dbfec8fc866de188c11ede9860bf0ef712937" - integrity sha512-yPjOl3tUfK5GT9BvX70hiTq86Fi5WTxB0pL42e17evq7+puBOMqhwQ1nv7dhDSWC2Oy+r0D0mF7Lz2hGulrJJg== - dependencies: - "@credo-ts/core" "0.5.1" ->>>>>>> 5dc99ac... feat: migrated to amoy (#96) -======= -"@credo-ts/question-answer@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/question-answer/-/question-answer-0.5.1.tgz#538dbfec8fc866de188c11ede9860bf0ef712937" - integrity sha512-yPjOl3tUfK5GT9BvX70hiTq86Fi5WTxB0pL42e17evq7+puBOMqhwQ1nv7dhDSWC2Oy+r0D0mF7Lz2hGulrJJg== - dependencies: - "@credo-ts/core" "0.5.1" ->>>>>>> 81e66a3... merge: develop to main (#98) class-transformer "0.5.1" class-validator "0.14.1" rxjs "^7.8.0" -<<<<<<< HEAD -<<<<<<< HEAD -<<<<<<< HEAD "@credo-ts/tenants@0.5.3": version "0.5.3" resolved "https://registry.yarnpkg.com/@credo-ts/tenants/-/tenants-0.5.3.tgz#bcea2693dff06349c777454e6f6a67c7b0e8ecdb" integrity sha512-4KwVCc0Nwdld8223w+d9PBa3Cj/NkuTFmit6/Bk/KIAZ1VasvMF4p/bYuGNB/MJaqy306fwRn12InClq36kJIw== dependencies: "@credo-ts/core" "0.5.3" -======= -"@credo-ts/tenants@0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@credo-ts/tenants/-/tenants-0.5.0.tgz#e32943d66580af3b7bf6970fb3321329a479271d" - integrity sha512-SB2btH9adWLBwBs2d3od9VTF6AA2Bfzl3oJovlrcdWHXSYQWf0Hm+PRkvmL8+RYwdGtDM8uBKQrkbdPBGWEWAA== - dependencies: - "@credo-ts/core" "0.5.0" ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) -======= -"@credo-ts/tenants@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/tenants/-/tenants-0.5.1.tgz#63ca79eb0a6c7d4bdf43ea00ed712d7399c25421" - integrity sha512-+wJ+Wd3rThY6eP9e3WYFeFlJKQEUrmJPhN5t+vr4zyhB5T7pM5Nsg53pzugWoCeWsMUNCqmHo12Tc9edQTH0bg== - dependencies: - "@credo-ts/core" "0.5.1" ->>>>>>> 5dc99ac... feat: migrated to amoy (#96) -======= -"@credo-ts/tenants@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@credo-ts/tenants/-/tenants-0.5.1.tgz#63ca79eb0a6c7d4bdf43ea00ed712d7399c25421" - integrity sha512-+wJ+Wd3rThY6eP9e3WYFeFlJKQEUrmJPhN5t+vr4zyhB5T7pM5Nsg53pzugWoCeWsMUNCqmHo12Tc9edQTH0bg== - dependencies: - "@credo-ts/core" "0.5.1" ->>>>>>> 81e66a3... merge: develop to main (#98) async-mutex "^0.4.0" "@cspotcode/source-map-support@^0.8.0": @@ -959,9 +563,9 @@ undici "^5.21.2" "@digitalbazaar/security-context@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@digitalbazaar/security-context/-/security-context-1.0.0.tgz#23624692cfadc6d97e1eb787ad38a19635d89297" - integrity sha512-mlj+UmodxTAdMCHGxnGVTRLHcSLyiEOVRiz3J6yiRliJWyrgeXs34wlWjBorDIEMDIjK2JwZrDuFEKO9bS5nKQ== + version "1.0.1" + resolved "https://registry.yarnpkg.com/@digitalbazaar/security-context/-/security-context-1.0.1.tgz#badc4b8da03411a32d4e7321ce7c4b355776b410" + integrity sha512-0WZa6tPiTZZF8leBtQgYAfXQePFQp2z5ivpCEN/iZguYYZ0TB9qRmWtan5XH6mNFuusHtMcyIzAcReyE6rZPhA== "@digitalbazaar/vc-status-list-context@^3.0.1": version "3.1.1" @@ -1036,18 +640,7 @@ ky "^0.25.1" ky-universal "^0.8.2" -"@digitalcredentials/jsonld-signatures@^9.3.1": - version "9.3.1" - resolved "https://registry.yarnpkg.com/@digitalcredentials/jsonld-signatures/-/jsonld-signatures-9.3.1.tgz#e00175ab4199c580c9b308effade021da805c695" - integrity sha512-YMh1e1GpTeHDqq2a2Kd+pLcHsMiPeKyE2Zs17NSwqckij7UMRVDQ54S5VQhHvoXZ1mlkpVaI2xtj5M5N6rzylw== - dependencies: - "@digitalbazaar/security-context" "^1.0.0" - "@digitalcredentials/jsonld" "^5.2.1" - fast-text-encoding "^1.0.3" - isomorphic-webcrypto "^2.3.8" - serialize-error "^8.0.1" - -"@digitalcredentials/jsonld-signatures@^9.3.2", "@digitalcredentials/jsonld-signatures@^9.4.0": +"@digitalcredentials/jsonld-signatures@^9.3.1", "@digitalcredentials/jsonld-signatures@^9.3.2", "@digitalcredentials/jsonld-signatures@^9.4.0": version "9.4.0" resolved "https://registry.yarnpkg.com/@digitalcredentials/jsonld-signatures/-/jsonld-signatures-9.4.0.tgz#d5881122c4202449b88a7e2384f8e615ae55582c" integrity sha512-DnR+HDTm7qpcDd0wcD1w6GdlAwfHjQSgu+ahion8REkCkkMRywF+CLunU7t8AZpFB2Gr/+N8naUtiEBNje1Oew== @@ -1059,9 +652,9 @@ serialize-error "^8.0.1" "@digitalcredentials/jsonld@^5.2.1": - version "5.2.1" - resolved "https://registry.yarnpkg.com/@digitalcredentials/jsonld/-/jsonld-5.2.1.tgz#60acf587bec8331e86324819fd19692939118775" - integrity sha512-pDiO1liw8xs+J/43qnMZsxyz0VOWOb7Q2yUlBt/tyjq6SlT9xPo+3716tJPbjGPnou2lQRw3H5/I++z+6oQ07w== + version "5.2.2" + resolved "https://registry.yarnpkg.com/@digitalcredentials/jsonld/-/jsonld-5.2.2.tgz#d2bdefe25788ece77e900a9491c64c2187e3344c" + integrity sha512-hz7YR3kv6+8UUdgMyTGl1o8NjVKKwnMry/Rh/rWeAvwL+NqgoUHorWzI3rM+PW+MPFyDC0ieXStClt9n9D9SGA== dependencies: "@digitalcredentials/http-client" "^1.0.0" "@digitalcredentials/rdf-canonize" "^1.0.0" @@ -1494,15 +1087,234 @@ "@ethersproject/strings" "^5.7.0" "@fastify/busboy@^2.0.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-2.1.0.tgz#0709e9f4cb252351c609c6e6d8d6779a8d25edff" - integrity sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA== + version "2.1.1" + resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-2.1.1.tgz#b9da6a878a371829a0502c9b6c1c143ef6663f4d" + integrity sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA== + +"@hapi/accept@^6.0.1": + version "6.0.3" + resolved "https://registry.yarnpkg.com/@hapi/accept/-/accept-6.0.3.tgz#eef0800a4f89cd969da8e5d0311dc877c37279ab" + integrity sha512-p72f9k56EuF0n3MwlBNThyVE5PXX40g+aQh+C/xbKrfzahM2Oispv3AXmOIU51t3j77zay1qrX7IIziZXspMlw== + dependencies: + "@hapi/boom" "^10.0.1" + "@hapi/hoek" "^11.0.2" + +"@hapi/ammo@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@hapi/ammo/-/ammo-6.0.1.tgz#1bc9f7102724ff288ca03b721854fc5393ad123a" + integrity sha512-pmL+nPod4g58kXrMcsGLp05O2jF4P2Q3GiL8qYV7nKYEh3cGf+rV4P5Jyi2Uq0agGhVU63GtaSAfBEZOlrJn9w== + dependencies: + "@hapi/hoek" "^11.0.2" + +"@hapi/b64@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@hapi/b64/-/b64-6.0.1.tgz#786b47dc070e14465af49e2428c1025bd06ed3df" + integrity sha512-ZvjX4JQReUmBheeCq+S9YavcnMMHWqx3S0jHNXWIM1kQDxB9cyfSycpVvjfrKcIS8Mh5N3hmu/YKo4Iag9g2Kw== + dependencies: + "@hapi/hoek" "^11.0.2" + +"@hapi/boom@^10.0.0", "@hapi/boom@^10.0.1": + version "10.0.1" + resolved "https://registry.yarnpkg.com/@hapi/boom/-/boom-10.0.1.tgz#ebb14688275ae150aa6af788dbe482e6a6062685" + integrity sha512-ERcCZaEjdH3OgSJlyjVk8pHIFeus91CjKP3v+MpgBNp5IvGzP2l/bRiD78nqYcKPaZdbKkK5vDBVPd2ohHBlsA== + dependencies: + "@hapi/hoek" "^11.0.2" + +"@hapi/bounce@^3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@hapi/bounce/-/bounce-3.0.1.tgz#25a51bf95733749c557c6bf948048bffa66435e4" + integrity sha512-G+/Pp9c1Ha4FDP+3Sy/Xwg2O4Ahaw3lIZFSX+BL4uWi64CmiETuZPxhKDUD4xBMOUZbBlzvO8HjiK8ePnhBadA== + dependencies: + "@hapi/boom" "^10.0.1" + "@hapi/hoek" "^11.0.2" + +"@hapi/bourne@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@hapi/bourne/-/bourne-3.0.0.tgz#f11fdf7dda62fe8e336fa7c6642d9041f30356d7" + integrity sha512-Waj1cwPXJDucOib4a3bAISsKJVb15MKi9IvmTI/7ssVEm6sywXGjVJDhl6/umt1pK1ZS7PacXU3A1PmFKHEZ2w== + +"@hapi/call@^9.0.1": + version "9.0.1" + resolved "https://registry.yarnpkg.com/@hapi/call/-/call-9.0.1.tgz#569b87d5b67abf0e58fb82a3894a61aaed3ca92e" + integrity sha512-uPojQRqEL1GRZR4xXPqcLMujQGaEpyVPRyBlD8Pp5rqgIwLhtveF9PkixiKru2THXvuN8mUrLeet5fqxKAAMGg== + dependencies: + "@hapi/boom" "^10.0.1" + "@hapi/hoek" "^11.0.2" + +"@hapi/catbox-memory@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@hapi/catbox-memory/-/catbox-memory-6.0.1.tgz#8f6b04c0cf2ce25da470324df360bd4e8d68b6ec" + integrity sha512-sVb+/ZxbZIvaMtJfAbdyY+QJUQg9oKTwamXpEg/5xnfG5WbJLTjvEn4kIGKz9pN3ENNbIL/bIdctmHmqi/AdGA== + dependencies: + "@hapi/boom" "^10.0.1" + "@hapi/hoek" "^11.0.2" + +"@hapi/catbox@^12.1.1": + version "12.1.1" + resolved "https://registry.yarnpkg.com/@hapi/catbox/-/catbox-12.1.1.tgz#9339dca0a5b18b3ca0a825ac5dfc916dbc5bab83" + integrity sha512-hDqYB1J+R0HtZg4iPH3LEnldoaBsar6bYp0EonBmNQ9t5CO+1CqgCul2ZtFveW1ReA5SQuze9GPSU7/aecERhw== + dependencies: + "@hapi/boom" "^10.0.1" + "@hapi/hoek" "^11.0.2" + "@hapi/podium" "^5.0.0" + "@hapi/validate" "^2.0.1" + +"@hapi/content@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@hapi/content/-/content-6.0.0.tgz#2427af3bac8a2f743512fce2a70cbdc365af29df" + integrity sha512-CEhs7j+H0iQffKfe5Htdak5LBOz/Qc8TRh51cF+BFv0qnuph3Em4pjGVzJMkI2gfTDdlJKWJISGWS1rK34POGA== + dependencies: + "@hapi/boom" "^10.0.0" + +"@hapi/cryptiles@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@hapi/cryptiles/-/cryptiles-6.0.1.tgz#7868a9d4233567ed66f0a9caf85fdcc56e980621" + integrity sha512-9GM9ECEHfR8lk5ASOKG4+4ZsEzFqLfhiryIJ2ISePVB92OHLp/yne4m+zn7z9dgvM98TLpiFebjDFQ0UHcqxXQ== + dependencies: + "@hapi/boom" "^10.0.1" + +"@hapi/file@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@hapi/file/-/file-3.0.0.tgz#f1fd824493ac89a6fceaf89c824afc5ae2121c09" + integrity sha512-w+lKW+yRrLhJu620jT3y+5g2mHqnKfepreykvdOcl9/6up8GrQQn+l3FRTsjHTKbkbfQFkuksHpdv2EcpKcJ4Q== + +"@hapi/hapi@^21.3.3": + version "21.3.9" + resolved "https://registry.yarnpkg.com/@hapi/hapi/-/hapi-21.3.9.tgz#953220abe26d12a7cbd308a57e434dedf0278cb3" + integrity sha512-AT5m+Rb8iSOFG3zWaiEuTJazf4HDYl5UpRpyxMJ3yR+g8tOEmqDv6FmXrLHShdvDOStAAepHGnr1G7egkFSRdw== + dependencies: + "@hapi/accept" "^6.0.1" + "@hapi/ammo" "^6.0.1" + "@hapi/boom" "^10.0.1" + "@hapi/bounce" "^3.0.1" + "@hapi/call" "^9.0.1" + "@hapi/catbox" "^12.1.1" + "@hapi/catbox-memory" "^6.0.1" + "@hapi/heavy" "^8.0.1" + "@hapi/hoek" "^11.0.2" + "@hapi/mimos" "^7.0.1" + "@hapi/podium" "^5.0.1" + "@hapi/shot" "^6.0.1" + "@hapi/somever" "^4.1.1" + "@hapi/statehood" "^8.1.1" + "@hapi/subtext" "^8.1.0" + "@hapi/teamwork" "^6.0.0" + "@hapi/topo" "^6.0.1" + "@hapi/validate" "^2.0.1" + +"@hapi/heavy@^8.0.1": + version "8.0.1" + resolved "https://registry.yarnpkg.com/@hapi/heavy/-/heavy-8.0.1.tgz#e2be4a6a249005b5a587f7604aafa8ed02461fb6" + integrity sha512-gBD/NANosNCOp6RsYTsjo2vhr5eYA3BEuogk6cxY0QdhllkkTaJFYtTXv46xd6qhBVMbMMqcSdtqey+UQU3//w== + dependencies: + "@hapi/boom" "^10.0.1" + "@hapi/hoek" "^11.0.2" + "@hapi/validate" "^2.0.1" + +"@hapi/hoek@^11.0.2": + version "11.0.4" + resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-11.0.4.tgz#42a7f244fd3dd777792bfb74b8c6340ae9182f37" + integrity sha512-PnsP5d4q7289pS2T2EgGz147BFJ2Jpb4yrEdkpz2IhgEUzos1S7HTl7ezWh1yfYzYlj89KzLdCRkqsP6SIryeQ== "@hapi/hoek@^9.0.0", "@hapi/hoek@^9.3.0": version "9.3.0" resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb" integrity sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ== +"@hapi/iron@^7.0.1": + version "7.0.1" + resolved "https://registry.yarnpkg.com/@hapi/iron/-/iron-7.0.1.tgz#f74bace8dad9340c7c012c27c078504f070f14b5" + integrity sha512-tEZnrOujKpS6jLKliyWBl3A9PaE+ppuL/+gkbyPPDb/l2KSKQyH4lhMkVb+sBhwN+qaxxlig01JRqB8dk/mPxQ== + dependencies: + "@hapi/b64" "^6.0.1" + "@hapi/boom" "^10.0.1" + "@hapi/bourne" "^3.0.0" + "@hapi/cryptiles" "^6.0.1" + "@hapi/hoek" "^11.0.2" + +"@hapi/mimos@^7.0.1": + version "7.0.1" + resolved "https://registry.yarnpkg.com/@hapi/mimos/-/mimos-7.0.1.tgz#5b65c76bb9da28ba34b0092215891f2c72bc899d" + integrity sha512-b79V+BrG0gJ9zcRx1VGcCI6r6GEzzZUgiGEJVoq5gwzuB2Ig9Cax8dUuBauQCFKvl2YWSWyOc8mZ8HDaJOtkew== + dependencies: + "@hapi/hoek" "^11.0.2" + mime-db "^1.52.0" + +"@hapi/nigel@^5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@hapi/nigel/-/nigel-5.0.1.tgz#a6dfe357e9d48d944e2ffc552bd95cb701d79ee9" + integrity sha512-uv3dtYuB4IsNaha+tigWmN8mQw/O9Qzl5U26Gm4ZcJVtDdB1AVJOwX3X5wOX+A07qzpEZnOMBAm8jjSqGsU6Nw== + dependencies: + "@hapi/hoek" "^11.0.2" + "@hapi/vise" "^5.0.1" + +"@hapi/pez@^6.1.0": + version "6.1.0" + resolved "https://registry.yarnpkg.com/@hapi/pez/-/pez-6.1.0.tgz#64d9f95580fc7d8f1d13437ee4a8676709954fda" + integrity sha512-+FE3sFPYuXCpuVeHQ/Qag1b45clR2o54QoonE/gKHv9gukxQ8oJJZPR7o3/ydDTK6racnCJXxOyT1T93FCJMIg== + dependencies: + "@hapi/b64" "^6.0.1" + "@hapi/boom" "^10.0.1" + "@hapi/content" "^6.0.0" + "@hapi/hoek" "^11.0.2" + "@hapi/nigel" "^5.0.1" + +"@hapi/podium@^5.0.0", "@hapi/podium@^5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@hapi/podium/-/podium-5.0.1.tgz#f292b4c0ca3118747394a102c6c3340bda96662f" + integrity sha512-eznFTw6rdBhAijXFIlBOMJJd+lXTvqbrBIS4Iu80r2KTVIo4g+7fLy4NKp/8+UnSt5Ox6mJtAlKBU/Sf5080TQ== + dependencies: + "@hapi/hoek" "^11.0.2" + "@hapi/teamwork" "^6.0.0" + "@hapi/validate" "^2.0.1" + +"@hapi/shot@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@hapi/shot/-/shot-6.0.1.tgz#ea84d1810b7c8599d5517c23b4ec55a529d7dc16" + integrity sha512-s5ynMKZXYoDd3dqPw5YTvOR/vjHvMTxc388+0qL0jZZP1+uwXuUD32o9DuuuLsmTlyXCWi02BJl1pBpwRuUrNA== + dependencies: + "@hapi/hoek" "^11.0.2" + "@hapi/validate" "^2.0.1" + +"@hapi/somever@^4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@hapi/somever/-/somever-4.1.1.tgz#b492c78408303c72cd1a39c5060f35d18a404b27" + integrity sha512-lt3QQiDDOVRatS0ionFDNrDIv4eXz58IibQaZQDOg4DqqdNme8oa0iPWcE0+hkq/KTeBCPtEOjDOBKBKwDumVg== + dependencies: + "@hapi/bounce" "^3.0.1" + "@hapi/hoek" "^11.0.2" + +"@hapi/statehood@^8.1.1": + version "8.1.1" + resolved "https://registry.yarnpkg.com/@hapi/statehood/-/statehood-8.1.1.tgz#db4bd14c90810a1389763cb0b0b8f221aa4179c1" + integrity sha512-YbK7PSVUA59NArAW5Np0tKRoIZ5VNYUicOk7uJmWZF6XyH5gGL+k62w77SIJb0AoAJ0QdGQMCQ/WOGL1S3Ydow== + dependencies: + "@hapi/boom" "^10.0.1" + "@hapi/bounce" "^3.0.1" + "@hapi/bourne" "^3.0.0" + "@hapi/cryptiles" "^6.0.1" + "@hapi/hoek" "^11.0.2" + "@hapi/iron" "^7.0.1" + "@hapi/validate" "^2.0.1" + +"@hapi/subtext@^8.1.0": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@hapi/subtext/-/subtext-8.1.0.tgz#58733020a6655bc4d978df9e2f75e31696ff3f91" + integrity sha512-PyaN4oSMtqPjjVxLny1k0iYg4+fwGusIhaom9B2StinBclHs7v46mIW706Y+Wo21lcgulGyXbQrmT/w4dus6ww== + dependencies: + "@hapi/boom" "^10.0.1" + "@hapi/bourne" "^3.0.0" + "@hapi/content" "^6.0.0" + "@hapi/file" "^3.0.0" + "@hapi/hoek" "^11.0.2" + "@hapi/pez" "^6.1.0" + "@hapi/wreck" "^18.0.1" + +"@hapi/teamwork@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@hapi/teamwork/-/teamwork-6.0.0.tgz#b3a173cf811ba59fc6ee22318a1b51f4561f06e0" + integrity sha512-05HumSy3LWfXpmJ9cr6HzwhAavrHkJ1ZRCmNE2qJMihdM5YcWreWPfyN0yKT2ZjCM92au3ZkuodjBxOibxM67A== + "@hapi/topo@^5.1.0": version "5.1.0" resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-5.1.0.tgz#dc448e332c6c6e37a4dc02fd84ba8d44b9afb012" @@ -1510,6 +1322,37 @@ dependencies: "@hapi/hoek" "^9.0.0" +"@hapi/topo@^6.0.1": + version "6.0.2" + resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-6.0.2.tgz#f219c1c60da8430228af4c1f2e40c32a0d84bbb4" + integrity sha512-KR3rD5inZbGMrHmgPxsJ9dbi6zEK+C3ZwUwTa+eMwWLz7oijWUTWD2pMSNNYJAU6Qq+65NkxXjqHr/7LM2Xkqg== + dependencies: + "@hapi/hoek" "^11.0.2" + +"@hapi/validate@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@hapi/validate/-/validate-2.0.1.tgz#45cf228c4c8cfc61ba2da7e0a5ba93ff3b9afff1" + integrity sha512-NZmXRnrSLK8MQ9y/CMqE9WSspgB9xA41/LlYR0k967aSZebWr4yNrpxIbov12ICwKy4APSlWXZga9jN5p6puPA== + dependencies: + "@hapi/hoek" "^11.0.2" + "@hapi/topo" "^6.0.1" + +"@hapi/vise@^5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@hapi/vise/-/vise-5.0.1.tgz#5c9f16bcf1c039ddd4b6cad5f32d71eeb6bb7dac" + integrity sha512-XZYWzzRtINQLedPYlIkSkUr7m5Ddwlu99V9elh8CSygXstfv3UnWIXT0QD+wmR0VAG34d2Vx3olqcEhRRoTu9A== + dependencies: + "@hapi/hoek" "^11.0.2" + +"@hapi/wreck@^18.0.1": + version "18.1.0" + resolved "https://registry.yarnpkg.com/@hapi/wreck/-/wreck-18.1.0.tgz#68e631fc7568ebefc6252d5b86cb804466c8dbe6" + integrity sha512-0z6ZRCmFEfV/MQqkQomJ7sl/hyxvcZM7LtuVqN3vdAO4vM9eBbowl0kaqQj9EJJQab+3Uuh1GxbGIBFy4NfJ4w== + dependencies: + "@hapi/boom" "^10.0.1" + "@hapi/bourne" "^3.0.0" + "@hapi/hoek" "^11.0.2" + "@humanwhocodes/config-array@^0.5.0": version "0.5.0" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9" @@ -1524,7 +1367,6 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== -<<<<<<< HEAD "@hyperledger/anoncreds-nodejs@0.2.2": version "0.2.2" resolved "https://registry.yarnpkg.com/@hyperledger/anoncreds-nodejs/-/anoncreds-nodejs-0.2.2.tgz#5344427c554fc7280efe22f2061e3a26023fdd84" @@ -1533,21 +1375,10 @@ "@2060.io/ffi-napi" "^4.0.9" "@2060.io/ref-napi" "^3.0.6" "@hyperledger/anoncreds-shared" "0.2.2" -======= -"@hyperledger/anoncreds-nodejs@0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@hyperledger/anoncreds-nodejs/-/anoncreds-nodejs-0.2.1.tgz#7dbde3e878758371e4d44542daa7f54ecf48f38e" - integrity sha512-wfQEVSqYHq6mQFTLRMVayyi8kbHlz3RGEIe10JOQSHCw4ZCTifQ1XuVajSwOj8ykNYwxuckcfNikJtJScs7l+w== - dependencies: - "@2060.io/ffi-napi" "4.0.8" - "@2060.io/ref-napi" "3.0.6" - "@hyperledger/anoncreds-shared" "0.2.1" ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "@mapbox/node-pre-gyp" "^1.0.11" ref-array-di "1.2.2" ref-struct-di "1.1.1" -<<<<<<< HEAD "@hyperledger/anoncreds-shared@0.2.2": version "0.2.2" resolved "https://registry.yarnpkg.com/@hyperledger/anoncreds-shared/-/anoncreds-shared-0.2.2.tgz#492995d076448d682a828312bbba58314e943c4a" @@ -1561,27 +1392,11 @@ "@2060.io/ffi-napi" "^4.0.9" "@2060.io/ref-napi" "^3.0.6" "@hyperledger/aries-askar-shared" "0.2.1" -======= -"@hyperledger/anoncreds-shared@0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@hyperledger/anoncreds-shared/-/anoncreds-shared-0.2.1.tgz#7a8be78473e8cdd33b73ccdf2e9b838226aef0f9" - integrity sha512-QpkmsiDBto4B3MS7+tJKn8DHCuhaZuzPKy+SoSAIH8wrjBmQ4NQqzMBZXs0z0JnNr1egkIFR3HIFsIu9ayK20g== - -"@hyperledger/aries-askar-nodejs@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@hyperledger/aries-askar-nodejs/-/aries-askar-nodejs-0.2.0.tgz#7a0b469184f0682d0e31955e29d091956f662273" - integrity sha512-d73D2zK1f1cM5y8MFp4BK+NvkquujDlRr91THpxkuRwmLf407gibOY3G4OdGIkL1kQtorGM5c5U0/qMzW+8E1Q== - dependencies: - "@2060.io/ffi-napi" "4.0.8" - "@2060.io/ref-napi" "3.0.6" - "@hyperledger/aries-askar-shared" "0.2.0" ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "@mapbox/node-pre-gyp" "^1.0.10" node-cache "^5.1.2" ref-array-di "^1.2.2" ref-struct-di "^1.1.1" -<<<<<<< HEAD "@hyperledger/aries-askar-shared@0.2.1": version "0.2.1" resolved "https://registry.yarnpkg.com/@hyperledger/aries-askar-shared/-/aries-askar-shared-0.2.1.tgz#0c01abe47fd53dd1629ee41af51c9d9d42f7f86f" @@ -1597,38 +1412,14 @@ "@2060.io/ffi-napi" "^4.0.9" "@2060.io/ref-napi" "^3.0.6" "@hyperledger/indy-vdr-shared" "0.2.2" -======= -"@hyperledger/aries-askar-shared@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@hyperledger/aries-askar-shared/-/aries-askar-shared-0.2.0.tgz#9291733f8fa1e3039dfe36e1fabca1819b93bd1b" - integrity sha512-A6bHbTwTtV1YT3XphNFltX34DCBtj7qPyip4R+WAQFnus5286a2xsppNvl5OAPMAxgKjQTdyFBqcYaNRc0lqIQ== - dependencies: - buffer "^6.0.3" - -"@hyperledger/indy-vdr-nodejs@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@hyperledger/indy-vdr-nodejs/-/indy-vdr-nodejs-0.2.0.tgz#c5fd2c211d5a2b2a0637efa6b9636b208d919c06" - integrity sha512-yv+p0mU9NBUgmUDJijNgxtLonhzhDP54wRl4Mfn/s/ZyzLbEQakswmqa2sX0mYQDTLG14iq5uEN6d0eRzUtDeg== - dependencies: - "@2060.io/ffi-napi" "4.0.8" - "@2060.io/ref-napi" "3.0.6" - "@hyperledger/indy-vdr-shared" "0.2.0" ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "@mapbox/node-pre-gyp" "^1.0.10" ref-array-di "^1.2.2" ref-struct-di "^1.1.1" -<<<<<<< HEAD "@hyperledger/indy-vdr-shared@0.2.2": version "0.2.2" resolved "https://registry.yarnpkg.com/@hyperledger/indy-vdr-shared/-/indy-vdr-shared-0.2.2.tgz#9ca8b56cd89ab18792d129a0358b641e211274e3" integrity sha512-9425MHU3K+/ahccCRjOIX3Z/51gqxvp3Nmyujyqlx9cd7PWG2Rianx7iNWecFBkdAEqS0DfHsb6YqqH39YZp/A== -======= -"@hyperledger/indy-vdr-shared@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@hyperledger/indy-vdr-shared/-/indy-vdr-shared-0.2.0.tgz#4781e38bffe69366e694e8d025a8d017b8a1cb5b" - integrity sha512-/aPzpzb6Wks7poRSercSp6f3mFOBoQmxSIyo50XO6ci/Jfa4ZGuV8y8YWU2SJktsdz4TtL5YJxt2WVfOus9bEQ== ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) "@isaacs/cliui@^8.0.2": version "8.0.2" @@ -1827,36 +1618,26 @@ "@types/yargs" "^16.0.0" chalk "^4.0.0" -"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": - version "0.3.3" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" - integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== +"@jridgewell/gen-mapping@^0.3.5": + version "0.3.5" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz#dcce6aff74bdf6dad1a95802b69b04a2fcb1fb36" + integrity sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg== dependencies: - "@jridgewell/set-array" "^1.0.1" + "@jridgewell/set-array" "^1.2.1" "@jridgewell/sourcemap-codec" "^1.4.10" - "@jridgewell/trace-mapping" "^0.3.9" + "@jridgewell/trace-mapping" "^0.3.24" -"@jridgewell/resolve-uri@3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" - integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== - -"@jridgewell/resolve-uri@^3.0.3": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721" - integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA== - -"@jridgewell/set-array@^1.0.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" - integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== +"@jridgewell/resolve-uri@^3.0.3", "@jridgewell/resolve-uri@^3.1.0": + version "3.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" + integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== -"@jridgewell/sourcemap-codec@1.4.14": - version "1.4.14" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" - integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== +"@jridgewell/set-array@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280" + integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A== -"@jridgewell/sourcemap-codec@^1.4.10": +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14": version "1.4.15" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== @@ -1869,13 +1650,13 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" -"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.18" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz#25783b2086daf6ff1dcb53c9249ae480e4dd4cd6" - integrity sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA== +"@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": + version "0.3.25" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" + integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== dependencies: - "@jridgewell/resolve-uri" "3.1.0" - "@jridgewell/sourcemap-codec" "1.4.14" + "@jridgewell/resolve-uri" "^3.1.0" + "@jridgewell/sourcemap-codec" "^1.4.14" "@mapbox/node-pre-gyp@^1.0.10", "@mapbox/node-pre-gyp@^1.0.11": version "1.0.11" @@ -1931,9 +1712,9 @@ fastq "^1.6.0" "@nomicfoundation/hardhat-verify@^2.0.3": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-verify/-/hardhat-verify-2.0.4.tgz#65b86787fc7b47d38fd941862266065c7eb9bca4" - integrity sha512-B8ZjhOrmbbRWqJi65jvQblzjsfYktjqj2vmOm+oc2Vu8drZbT2cjeSCRHZKbS7lOtfW78aJZSFvw+zRLCiABJA== + version "2.0.6" + resolved "https://registry.yarnpkg.com/@nomicfoundation/hardhat-verify/-/hardhat-verify-2.0.6.tgz#02623c431244c92a852c524008239fc616e1c658" + integrity sha512-oKUI5fl8QC8jysE2LUBHE6rObzEmccJcc4b43Ov7LFMlCBZJE27qoqGIsg/++wX7L8Jdga+bkejPxl8NvsecpQ== dependencies: "@ethersproject/abi" "^5.1.2" "@ethersproject/address" "^5.0.2" @@ -1945,14 +1726,14 @@ table "^6.8.0" undici "^5.14.0" -"@peculiar/asn1-schema@^2.3.6": - version "2.3.6" - resolved "https://registry.yarnpkg.com/@peculiar/asn1-schema/-/asn1-schema-2.3.6.tgz#3dd3c2ade7f702a9a94dfb395c192f5fa5d6b922" - integrity sha512-izNRxPoaeJeg/AyH8hER6s+H7p4itk+03QCa4sbxI3lNdseQYCuxzgsuNK8bTXChtLTjpJz6NmXKA73qLa3rCA== +"@peculiar/asn1-schema@^2.3.8": + version "2.3.8" + resolved "https://registry.yarnpkg.com/@peculiar/asn1-schema/-/asn1-schema-2.3.8.tgz#04b38832a814e25731232dd5be883460a156da3b" + integrity sha512-ULB1XqHKx1WBU/tTFIA+uARuRoBVZ4pNdOA878RDrRbBfBGcSzi5HBkdScC6ZbHn8z7L8gmKCgPC1LHRrP46tA== dependencies: asn1js "^3.0.5" - pvtsutils "^1.3.2" - tslib "^2.4.0" + pvtsutils "^1.3.5" + tslib "^2.6.2" "@peculiar/json-schema@^1.1.12": version "1.1.12" @@ -1962,22 +1743,21 @@ tslib "^2.0.0" "@peculiar/webcrypto@^1.0.22": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@peculiar/webcrypto/-/webcrypto-1.4.3.tgz#078b3e8f598e847b78683dc3ba65feb5029b93a7" - integrity sha512-VtaY4spKTdN5LjJ04im/d/joXuvLbQdgy5Z4DXF4MFZhQ+MTrejbNMkfZBp1Bs3O5+bFqnJgyGdPuZQflvIa5A== + version "1.4.6" + resolved "https://registry.yarnpkg.com/@peculiar/webcrypto/-/webcrypto-1.4.6.tgz#607af294c4f205efeeb172aa32cb20024fe4aecf" + integrity sha512-YBcMfqNSwn3SujUJvAaySy5tlYbYm6tVt9SKoXu8BaTdKGROiJDgPR3TXpZdAKUfklzm3lRapJEAltiMQtBgZg== dependencies: - "@peculiar/asn1-schema" "^2.3.6" + "@peculiar/asn1-schema" "^2.3.8" "@peculiar/json-schema" "^1.1.12" - pvtsutils "^1.3.2" - tslib "^2.5.0" - webcrypto-core "^1.7.7" + pvtsutils "^1.3.5" + tslib "^2.6.2" + webcrypto-core "^1.7.9" "@pkgjs/parseargs@^0.11.0": version "0.11.0" resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== -<<<<<<< HEAD "@sd-jwt/core@^0.6.1": version "0.6.1" resolved "https://registry.yarnpkg.com/@sd-jwt/core/-/core-0.6.1.tgz#d28be10d0f4b672636fcf7ad71737cb08e5dae96" @@ -1993,133 +1773,30 @@ resolved "https://registry.yarnpkg.com/@sd-jwt/decode/-/decode-0.6.1.tgz#141f7782df53bab7159a75d91ed4711e1c14a7ea" integrity sha512-QgTIoYd5zyKKLgXB4xEYJTrvumVwtsj5Dog0v0L9UH9ZvHekDaeexS247X7A4iSdzTvmZzUpGskgABOa4D8NmQ== dependencies: - "@sd-jwt/types" "0.6.1" - "@sd-jwt/utils" "0.6.1" - -"@sd-jwt/present@0.6.1", "@sd-jwt/present@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@sd-jwt/present/-/present-0.6.1.tgz#82b9188becb0fa240897c397d84a54d55c7d169e" - integrity sha512-QRD3TUDLj4PqQNZ70bBxh8FLLrOE9mY8V9qiZrJSsaDOLFs2p1CtZG+v9ig62fxFYJZMf4bWKwYjz+qqGAtxCg== - dependencies: - "@sd-jwt/decode" "0.6.1" - "@sd-jwt/types" "0.6.1" - "@sd-jwt/utils" "0.6.1" - -"@sd-jwt/types@0.6.1", "@sd-jwt/types@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@sd-jwt/types/-/types-0.6.1.tgz#fc4235e00cf40d35a21d6bc02e44e12d7162aa9b" - integrity sha512-LKpABZJGT77jNhOLvAHIkNNmGqXzyfwBT+6r+DN9zNzMx1CzuNR0qXk1GMUbast9iCfPkGbnEpUv/jHTBvlIvg== - -"@sd-jwt/utils@0.6.1", "@sd-jwt/utils@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@sd-jwt/utils/-/utils-0.6.1.tgz#33273b20c9eb1954e4eab34118158b646b574ff9" - integrity sha512-1NHZ//+GecGQJb+gSdDicnrHG0DvACUk9jTnXA5yLZhlRjgkjyfJLNsCZesYeCyVp/SiyvIC9B+JwoY4kI0TwQ== - dependencies: - "@sd-jwt/types" "0.6.1" - js-base64 "^3.7.6" - -"@sideway/address@^4.1.5": - version "4.1.5" - resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5" - integrity sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q== - dependencies: - "@hapi/hoek" "^9.0.0" - -"@sideway/formula@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.1.tgz#80fcbcbaf7ce031e0ef2dd29b1bfc7c3f583611f" - integrity sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg== - -"@sideway/pinpoint@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df" - integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ== -======= -"@sd-jwt/core@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@sd-jwt/core/-/core-0.2.1.tgz#75b0b273758e6be050e042a75bd6a0c4a2a7258e" - integrity sha512-8auyt3mfzgAK+IP9mNc3kSONdo5x2Y8ypNj5gHKP7N81nVeyI+DHethoPQv84JVcqYYcNwHwyrc2Z5k7rg2lFQ== - dependencies: - "@sd-jwt/decode" "0.2.1" - "@sd-jwt/present" "0.2.1" - "@sd-jwt/types" "0.2.1" - "@sd-jwt/utils" "0.2.1" - -"@sd-jwt/decode@0.2.1", "@sd-jwt/decode@^0.2.0", "@sd-jwt/decode@^0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@sd-jwt/decode/-/decode-0.2.1.tgz#e0fb32dd2a95440ad69237e66ea2cd4770ec7e09" - integrity sha512-rs55WB3llrMObxN8jeMl06km/h0WivO9jSWNubO9JUIdlfrVhssU38xoXakvQeSDjAJkUUhfZcvmC2vNo1X6Wg== - dependencies: - "@sd-jwt/types" "0.2.1" - "@sd-jwt/utils" "0.2.1" - -"@sd-jwt/decode@^0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@sd-jwt/decode/-/decode-0.3.0.tgz#23627ce1b7c678a6ac685d7241e7f64e18bd9a8c" - integrity sha512-jCN1g3VzopiUxUtBZWq0Ojfzbg+wYkE1/gV86Xq7/gV8aNacCJo7Su5a3pYtoYg/rnH7ou1kwpD6vteQFkvXMQ== - dependencies: - "@sd-jwt/types" "0.3.0" - "@sd-jwt/utils" "0.3.0" - -"@sd-jwt/present@0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@sd-jwt/present/-/present-0.2.1.tgz#ff9958626b271a60d539dd1e601763ff33c024e8" - integrity sha512-yWIAR2C/q1jNUwzAeUlUcf3WCTEcSSGo9pltHW5AXptELjyaWGSmC5p6o9ucDXHvBnicfPONhe5OdUCSpiCntw== - dependencies: - "@sd-jwt/types" "0.2.1" - "@sd-jwt/utils" "0.2.1" - -"@sd-jwt/present@^0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@sd-jwt/present/-/present-0.3.0.tgz#e054f66c0ec9c339570ec028e0f2291d75c279e3" - integrity sha512-dICPhH5hqOLXmuJMdTaA47ZMpCDkTzbWUQXsIgw0vma7Aj9Bc6ySNevPwlsUx4K8XBjPgYWwBM9tKdrs3tsCvQ== - dependencies: - "@sd-jwt/types" "0.3.0" - "@sd-jwt/utils" "0.3.0" - -"@sd-jwt/types@0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@sd-jwt/types/-/types-0.2.1.tgz#e1e6b47728dffa90ed244e15e2253bd01793cb96" - integrity sha512-nbNik/cq6UIMsN144FcgPZQzaqIsjEEj307j3ZSFORkQBR4Tsmcj54aswTuNh0Z0z/4aSbfw14vOKBZvRWyVLQ== - -"@sd-jwt/types@0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@sd-jwt/types/-/types-0.3.0.tgz#12f2fa7b448f1f5e368ddfac8db2143ed58c38f7" - integrity sha512-JbpZICZ+nWPiKPKw+Veg5tf0Oftit4EzxhLJyvcd0u4R6IulNZvi6LCoUL7b2IT1H86eYPd/qB1KvSh43ByZOA== - -"@sd-jwt/utils@0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@sd-jwt/utils/-/utils-0.2.1.tgz#35ad83232eab2de911e765d93222acd871982a5e" - integrity sha512-9eRrge44dhE3fenawR/RZGxP5iuW9DtgdOVANu/JK5PEl80r0fDsMwm/gDjuv8OgLDCmQ6uSaVte1lYaTG71bQ== - dependencies: - "@sd-jwt/types" "0.2.1" - buffer "*" - -"@sd-jwt/utils@0.3.0", "@sd-jwt/utils@^0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@sd-jwt/utils/-/utils-0.3.0.tgz#73ce9809ccc98b35d5a6d1bf1ed34758bcdfb39d" - integrity sha512-jQNYxvyfLda9StVLeUqUZtv5csI6IuzcD6b55/wsC9xJgTuntZqf8vyJvuu4MwEJUFwm9PdGkCJXyl/nbpmNLw== - dependencies: - "@sd-jwt/types" "0.3.0" - buffer "*" ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) + "@sd-jwt/types" "0.6.1" + "@sd-jwt/utils" "0.6.1" -"@sideway/address@^4.1.5": - version "4.1.5" - resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5" - integrity sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q== +"@sd-jwt/present@0.6.1", "@sd-jwt/present@^0.6.1": + version "0.6.1" + resolved "https://registry.yarnpkg.com/@sd-jwt/present/-/present-0.6.1.tgz#82b9188becb0fa240897c397d84a54d55c7d169e" + integrity sha512-QRD3TUDLj4PqQNZ70bBxh8FLLrOE9mY8V9qiZrJSsaDOLFs2p1CtZG+v9ig62fxFYJZMf4bWKwYjz+qqGAtxCg== dependencies: - "@hapi/hoek" "^9.0.0" + "@sd-jwt/decode" "0.6.1" + "@sd-jwt/types" "0.6.1" + "@sd-jwt/utils" "0.6.1" -"@sideway/formula@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.1.tgz#80fcbcbaf7ce031e0ef2dd29b1bfc7c3f583611f" - integrity sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg== +"@sd-jwt/types@0.6.1", "@sd-jwt/types@^0.6.1": + version "0.6.1" + resolved "https://registry.yarnpkg.com/@sd-jwt/types/-/types-0.6.1.tgz#fc4235e00cf40d35a21d6bc02e44e12d7162aa9b" + integrity sha512-LKpABZJGT77jNhOLvAHIkNNmGqXzyfwBT+6r+DN9zNzMx1CzuNR0qXk1GMUbast9iCfPkGbnEpUv/jHTBvlIvg== -"@sideway/pinpoint@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df" - integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ== +"@sd-jwt/utils@0.6.1", "@sd-jwt/utils@^0.6.1": + version "0.6.1" + resolved "https://registry.yarnpkg.com/@sd-jwt/utils/-/utils-0.6.1.tgz#33273b20c9eb1954e4eab34118158b646b574ff9" + integrity sha512-1NHZ//+GecGQJb+gSdDicnrHG0DvACUk9jTnXA5yLZhlRjgkjyfJLNsCZesYeCyVp/SiyvIC9B+JwoY4kI0TwQ== + dependencies: + "@sd-jwt/types" "0.6.1" + js-base64 "^3.7.6" "@sideway/address@^4.1.5": version "4.1.5" @@ -2162,7 +1839,6 @@ resolved "https://registry.yarnpkg.com/@sovpro/delimited-stream/-/delimited-stream-1.1.0.tgz#4334bba7ee241036e580fdd99c019377630d26b4" integrity sha512-kQpk267uxB19X3X2T1mvNMjyvIEonpNSHrMlK5ZaBU6aZxw7wPbpgKJOjHN3+/GPVpXgAV9soVT2oyHpLkLtyw== -<<<<<<< HEAD "@sphereon/pex-models@^2.2.4": version "2.2.4" resolved "https://registry.yarnpkg.com/@sphereon/pex-models/-/pex-models-2.2.4.tgz#0ce28e9858b38012fe1ff7d9fd12ec503473ee66" @@ -2179,30 +1855,11 @@ "@sd-jwt/types" "^0.6.1" "@sphereon/pex-models" "^2.2.4" "@sphereon/ssi-types" "0.22.0" -======= -"@sphereon/pex-models@^2.2.2": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@sphereon/pex-models/-/pex-models-2.2.2.tgz#3f8b12c49d8fab7372b4b47eae5bcbf8729cccba" - integrity sha512-CZIsBoaV5rMZEWYBsmH+RxsdoxpXf5FSDwDz0GB0qOf5WFk1BGUnzpZzi5yJ+2L151mhPk97dlRc9Wb01Awr4Q== - -"@sphereon/pex@3.3.0": - version "3.3.0" - resolved "https://registry.yarnpkg.com/@sphereon/pex/-/pex-3.3.0.tgz#86384f7ee6e5a966b98d3e8010a27e93eb144317" - integrity sha512-CNthF/6dlIECqTqdOWGD5HOT72OWjzKTFVuFGmSbgOqsEtEtGU0e0g0gYbvXWNm0hYKsyFgS5XIZ1Uj3NR5UMg== - dependencies: - "@astronautlabs/jsonpath" "^1.1.2" - "@sd-jwt/decode" "^0.3.0" - "@sd-jwt/present" "^0.3.0" - "@sd-jwt/utils" "^0.3.0" - "@sphereon/pex-models" "^2.2.2" - "@sphereon/ssi-types" "0.18.1" ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) ajv "^8.12.0" ajv-formats "^2.1.1" jwt-decode "^3.1.2" nanoid "^3.3.7" string.prototype.matchall "^4.0.10" -<<<<<<< HEAD uint8arrays "^3.1.1" "@sphereon/ssi-types@0.22.0": @@ -2219,15 +1876,6 @@ integrity sha512-1lM2yfOEhpcYYBxm/12KYY4n3ZSahVf5rFqGdterQkMJMthwr20HqTjw3+VK5p7IVf+86DyBoZJyS4V9tSsoCA== dependencies: "@sd-jwt/decode" "^0.6.1" -======= - -"@sphereon/ssi-types@0.18.1", "@sphereon/ssi-types@^0.18.1": - version "0.18.1" - resolved "https://registry.yarnpkg.com/@sphereon/ssi-types/-/ssi-types-0.18.1.tgz#c00e4939149f4e441fae56af860735886a4c33a5" - integrity sha512-uM0gb1woyc0R+p+qh8tVDi15ZWmpzo9BP0iBp/yRkJar7gAfgwox/yvtEToaH9jROKnDCwL3DDQCDeNucpMkwg== - dependencies: - "@sd-jwt/decode" "^0.2.0" ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) jwt-decode "^3.1.2" "@stablelib/binary@^1.0.1": @@ -2300,9 +1948,9 @@ integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== "@tsconfig/node10@^1.0.7": - version "1.0.9" - resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2" - integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA== + version "1.0.11" + resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.11.tgz#6ee46400685f130e278128c7b38b7e031ff5b2f2" + integrity sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw== "@tsconfig/node12@^1.0.7": version "1.0.11" @@ -2319,37 +1967,48 @@ resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.4.tgz#0b92dcc0cc1c81f6f306a381f28e31b1a56536e9" integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA== -"@tsoa/cli@^6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/@tsoa/cli/-/cli-6.0.1.tgz#8e27d47b8d76ffcf1a842a69296277d1de23572d" - integrity sha512-SpdWPIzAtfG6Jcb6KIvT4VVo9VnAfAiY6+dCrrlKURlEfah05rRQ7k09jeJdAZoeeoKVwyJNj+43zlh9w1u7bg== +"@tsoa/cli@^6.2.1": + version "6.2.1" + resolved "https://registry.yarnpkg.com/@tsoa/cli/-/cli-6.2.1.tgz#5deefe40fcf4d9b4ca2c04de2953edd5a2ca171a" + integrity sha512-SS28cvL2uurau2PZbBO8Ks6O9LF497iMlnUfMr7hffbgxh81SftfG+qvddeniNw0ttSB593Mljvv+fPabEbrfQ== dependencies: - "@tsoa/runtime" "^6.0.0" + "@tsoa/runtime" "^6.2.1" "@types/multer" "^1.4.11" - deepmerge "^4.3.1" fs-extra "^11.2.0" glob "^10.3.10" handlebars "^4.7.8" merge-anything "^5.1.4" minimatch "^9.0.1" + ts-deepmerge "^7.0.0" typescript "^5.3.3" validator "^13.11.0" - yamljs "^0.3.0" + yaml "^2.4.1" yargs "^17.7.1" -"@tsoa/runtime@^6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@tsoa/runtime/-/runtime-6.0.0.tgz#e8e6f5ae7704f7d6913da40ff8cbbe6661d60a6f" - integrity sha512-n0LYcjII313kDn3M4bZdAjU+sX7595sIEA3bw4pvxWRrkandyDdDFNrfQL8nZ3Pw6dkTmK7brZi0YBBDhe0Rzw== +"@tsoa/runtime@^6.0.0", "@tsoa/runtime@^6.2.1": + version "6.2.1" + resolved "https://registry.yarnpkg.com/@tsoa/runtime/-/runtime-6.2.1.tgz#b99c3e9a4267135b109c0d7095157a1342075ba2" + integrity sha512-YOA7ha6W6GQsSr3Pvb5omb5AwizvQd7GUu54Oi2TjNWYOzfczBROZonReMfKBiNULiZBDmEc5r1Hs+Kbbfjgyw== dependencies: + "@hapi/boom" "^10.0.1" + "@hapi/hapi" "^21.3.3" + "@types/koa" "^2.15.0" "@types/multer" "^1.4.11" + express "^4.18.3" reflect-metadata "^0.2.1" validator "^13.11.0" +"@types/accepts@*": + version "1.3.7" + resolved "https://registry.yarnpkg.com/@types/accepts/-/accepts-1.3.7.tgz#3b98b1889d2b2386604c2bbbe62e4fb51e95b265" + integrity sha512-Pay9fq2lM2wXPWbteBsRAGiWH2hig4ZE2asK+mm7kUzlxRTfL961rj89I6zV/E3PcIkDqyuBEcMxFT7rccugeQ== + dependencies: + "@types/node" "*" + "@types/babel__core@^7.0.0", "@types/babel__core@^7.1.14": - version "7.20.1" - resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.1.tgz#916ecea274b0c776fec721e333e55762d3a9614b" - integrity sha512-aACu/U/omhdk15O4Nfb+fHgH/z3QsfQzpnvRZhYhThms83ZnAOZz7zZAWO7mn2yyNQaA4xTO8GLK3uqFU4bYYw== + version "7.20.5" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" + integrity sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA== dependencies: "@babel/parser" "^7.20.7" "@babel/types" "^7.20.7" @@ -2358,31 +2017,31 @@ "@types/babel__traverse" "*" "@types/babel__generator@*": - version "7.6.4" - resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7" - integrity sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg== + version "7.6.8" + resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.8.tgz#f836c61f48b1346e7d2b0d93c6dacc5b9535d3ab" + integrity sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw== dependencies: "@babel/types" "^7.0.0" "@types/babel__template@*": - version "7.4.1" - resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969" - integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== + version "7.4.4" + resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.4.tgz#5672513701c1b2199bc6dad636a9d7491586766f" + integrity sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A== dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.4", "@types/babel__traverse@^7.0.6": - version "7.20.1" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.1.tgz#dd6f1d2411ae677dcb2db008c962598be31d6acf" - integrity sha512-MitHFXnhtgwsGZWtT68URpOvLN4EREih1u3QtQiN4VdAxWKRVvGCSvw/Qth0M0Qq3pJpnGOu5JaM/ydK7OGbqg== + version "7.20.5" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.5.tgz#7b7502be0aa80cc4ef22978846b983edaafcd4dd" + integrity sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ== dependencies: "@babel/types" "^7.20.7" "@types/body-parser@*", "@types/body-parser@^1.19.2": - version "1.19.2" - resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.2.tgz#aea2059e28b7658639081347ac4fab3de166e6f0" - integrity sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g== + version "1.19.5" + resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.5.tgz#04ce9a3b677dc8bd681a17da1ab9835dc9d3ede4" + integrity sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg== dependencies: "@types/connect" "*" "@types/node" "*" @@ -2398,28 +2057,43 @@ "@types/responselike" "^1.0.0" "@types/connect@*": - version "3.4.35" - resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.35.tgz#5fcf6ae445e4021d1fc2219a4873cc73a3bb2ad1" - integrity sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ== + version "3.4.38" + resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.38.tgz#5ba7f3bc4fbbdeaff8dded952e5ff2cc53f8d858" + integrity sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug== dependencies: "@types/node" "*" -"@types/cookiejar@*": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@types/cookiejar/-/cookiejar-2.1.2.tgz#66ad9331f63fe8a3d3d9d8c6e3906dd10f6446e8" - integrity sha512-t73xJJrvdTjXrn4jLS9VSGRbz0nUY3cl2DMGDU48lKl+HR9dbbjW2A9r3g40VA++mQpy6uuHg33gy7du2BKpog== +"@types/content-disposition@*": + version "0.5.8" + resolved "https://registry.yarnpkg.com/@types/content-disposition/-/content-disposition-0.5.8.tgz#6742a5971f490dc41e59d277eee71361fea0b537" + integrity sha512-QVSSvno3dE0MgO76pJhmv4Qyi/j0Yk9pBp0Y7TJ2Tlj+KCgJWY6qX7nnxCOLkZ3VYRSIk1WTxCvwUSdx6CCLdg== + +"@types/cookiejar@^2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@types/cookiejar/-/cookiejar-2.1.5.tgz#14a3e83fa641beb169a2dd8422d91c3c345a9a78" + integrity sha512-he+DHOWReW0nghN24E1WUqM0efK4kI9oTqDm6XmK8ZPe2djZ90BSNdGnIyCLzCPw7/pogPlGbzI2wHGGmi4O/Q== + +"@types/cookies@*": + version "0.9.0" + resolved "https://registry.yarnpkg.com/@types/cookies/-/cookies-0.9.0.tgz#a2290cfb325f75f0f28720939bee854d4142aee2" + integrity sha512-40Zk8qR147RABiQ7NQnBzWzDcjKzNrntB5BAmeGCb2p/MIyOE+4BVvc17wumsUqUw00bJYqoXFHYygQnEFh4/Q== + dependencies: + "@types/connect" "*" + "@types/express" "*" + "@types/keygrip" "*" + "@types/node" "*" "@types/cors@^2.8.12": - version "2.8.13" - resolved "https://registry.yarnpkg.com/@types/cors/-/cors-2.8.13.tgz#b8ade22ba455a1b8cb3b5d3f35910fd204f84f94" - integrity sha512-RG8AStHlUiV5ysZQKq97copd2UmVYw3/pRMLefISZ3S1hK104Cwm7iLQ3fTKx+lsUH2CE8FlLaYeEA2LSeqYUA== + version "2.8.17" + resolved "https://registry.yarnpkg.com/@types/cors/-/cors-2.8.17.tgz#5d718a5e494a8166f569d986794e49c48b216b2b" + integrity sha512-8CGDvrBj1zgo2qE+oS3pOCyYNqCPryMWY2bGfwA0dcfopWGgxs+78df0Rs3rc9THP4JkOhLsAa+15VdpAqkcUA== dependencies: "@types/node" "*" "@types/eslint@^8.40.2": - version "8.56.2" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.56.2.tgz#1c72a9b794aa26a8b94ad26d5b9aa51c8a6384bb" - integrity sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw== + version "8.56.10" + resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.56.10.tgz#eb2370a73bf04a901eeba8f22595c7ee0f7eb58d" + integrity sha512-Shavhk87gCtY2fhXDctcfS3e6FdxWkCx1iUZ9eEUbh7rTqlZT0/IzOkCOVt0fCjcFuZ9FPYfuezTBImfHCDBGQ== dependencies: "@types/estree" "*" "@types/json-schema" "*" @@ -2430,9 +2104,9 @@ integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== "@types/express-serve-static-core@^4.17.33": - version "4.17.35" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.35.tgz#c95dd4424f0d32e525d23812aa8ab8e4d3906c4f" - integrity sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg== + version "4.19.0" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.19.0.tgz#3ae8ab3767d98d0b682cda063c3339e1e86ccfaa" + integrity sha512-bGyep3JqPCRry1wq+O5n7oiBgGWmeIJXPjXXCo8EK0u8duZGSYar7cGqd3ML2JUsLGeB7fmc06KYo9fLGWqPvQ== dependencies: "@types/node" "*" "@types/qs" "*" @@ -2440,9 +2114,9 @@ "@types/send" "*" "@types/express@*", "@types/express@^4.17.13", "@types/express@^4.17.15": - version "4.17.17" - resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.17.tgz#01d5437f6ef9cfa8668e616e13c2f2ac9a491ae4" - integrity sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q== + version "4.17.21" + resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.21.tgz#c26d4a151e60efe0084b23dc3369ebc631ed192d" + integrity sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ== dependencies: "@types/body-parser" "*" "@types/express-serve-static-core" "^4.17.33" @@ -2450,33 +2124,43 @@ "@types/serve-static" "*" "@types/graceful-fs@^4.1.2": - version "4.1.6" - resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.6.tgz#e14b2576a1c25026b7f02ede1de3b84c3a1efeae" - integrity sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw== + version "4.1.9" + resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.9.tgz#2a06bc0f68a20ab37b3e36aa238be6abdf49e8b4" + integrity sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ== dependencies: "@types/node" "*" +"@types/http-assert@*": + version "1.5.5" + resolved "https://registry.yarnpkg.com/@types/http-assert/-/http-assert-1.5.5.tgz#dfb1063eb7c240ee3d3fe213dac5671cfb6a8dbf" + integrity sha512-4+tE/lwdAahgZT1g30Jkdm9PzFRde0xwxBNUyRsCitRvCQB90iuA2uJYdUnhnANRcqGXaWOGY4FEoxeElNAK2g== + "@types/http-cache-semantics@*": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812" - integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ== + version "4.0.4" + resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz#b979ebad3919799c979b17c72621c0bc0a31c6c4" + integrity sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA== -"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": +"@types/http-errors@*": version "2.0.4" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" - integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== + resolved "https://registry.yarnpkg.com/@types/http-errors/-/http-errors-2.0.4.tgz#7eb47726c391b7345a6ec35ad7f4de469cf5ba4f" + integrity sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA== + +"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": + version "2.0.6" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz#7739c232a1fee9b4d3ce8985f314c0c6d33549d7" + integrity sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w== "@types/istanbul-lib-report@*": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686" - integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== + version "3.0.3" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz#53047614ae72e19fc0401d872de3ae2b4ce350bf" + integrity sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA== dependencies: "@types/istanbul-lib-coverage" "*" "@types/istanbul-reports@^3.0.0": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff" - integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== + version "3.0.4" + resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz#0f03e3d2f670fbdac586e34b433783070cc16f54" + integrity sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ== dependencies: "@types/istanbul-lib-report" "*" @@ -2499,12 +2183,17 @@ integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== "@types/jsonwebtoken@^9.0.5": - version "9.0.5" - resolved "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-9.0.5.tgz#0bd9b841c9e6c5a937c17656e2368f65da025588" - integrity sha512-VRLSGzik+Unrup6BsouBeHsf4d1hOEgYWTm/7Nmw1sXoN1+tRly/Gy/po3yeahnP4jfnQWWAhQAqcNfH7ngOkA== + version "9.0.6" + resolved "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-9.0.6.tgz#d1af3544d99ad992fb6681bbe60676e06b032bd3" + integrity sha512-/5hndP5dCjloafCXns6SZyESp3Ldq7YjH3zwzwczYnjxIT0Fqzk5ROSYVGfFyczIue7IUEj8hkvLbPoLQ18vQw== dependencies: "@types/node" "*" +"@types/keygrip@*": + version "1.0.6" + resolved "https://registry.yarnpkg.com/@types/keygrip/-/keygrip-1.0.6.tgz#1749535181a2a9b02ac04a797550a8787345b740" + integrity sha512-lZuNAY9xeJt7Bx4t4dx0rYCDqGPW8RXhQZK1td7d4H6E9zYbLoOtjBvfwdTKpsyxQI/2jv+armjX/RW+ZNpXOQ== + "@types/keyv@^3.1.4": version "3.1.4" resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.4.tgz#3ccdb1c6751b0c7e52300bcdacd5bcbf8faa75b6" @@ -2512,30 +2201,44 @@ dependencies: "@types/node" "*" -"@types/mime@*": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10" - integrity sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA== +"@types/koa-compose@*": + version "3.2.8" + resolved "https://registry.yarnpkg.com/@types/koa-compose/-/koa-compose-3.2.8.tgz#dec48de1f6b3d87f87320097686a915f1e954b57" + integrity sha512-4Olc63RY+MKvxMwVknCUDhRQX1pFQoBZ/lXcRLP69PQkEpze/0cr8LNqJQe5NFb/b19DWi2a5bTi2VAlQzhJuA== + dependencies: + "@types/koa" "*" + +"@types/koa@*", "@types/koa@^2.15.0": + version "2.15.0" + resolved "https://registry.yarnpkg.com/@types/koa/-/koa-2.15.0.tgz#eca43d76f527c803b491731f95df575636e7b6f2" + integrity sha512-7QFsywoE5URbuVnG3loe03QXuGajrnotr3gQkXcEBShORai23MePfFYdhz90FEtBBpkyIYQbVD+evKtloCgX3g== + dependencies: + "@types/accepts" "*" + "@types/content-disposition" "*" + "@types/cookies" "*" + "@types/http-assert" "*" + "@types/http-errors" "*" + "@types/keygrip" "*" + "@types/koa-compose" "*" + "@types/node" "*" + +"@types/methods@^1.1.4": + version "1.1.4" + resolved "https://registry.yarnpkg.com/@types/methods/-/methods-1.1.4.tgz#d3b7ac30ac47c91054ea951ce9eed07b1051e547" + integrity sha512-ymXWVrDiCxTBE3+RIrrP533E70eA+9qu7zdWoHuOmGujkYtzf4HQF96b8nwHLqhuf4ykX61IGRIB38CC6/sImQ== "@types/mime@^1": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.2.tgz#93e25bf9ee75fe0fd80b594bc4feb0e862111b5a" - integrity sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw== + version "1.3.5" + resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.5.tgz#1ef302e01cf7d2b5a0fa526790c9123bf1d06690" + integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w== -"@types/multer@^1.4.11": +"@types/multer@^1.4.11", "@types/multer@^1.4.7": version "1.4.11" resolved "https://registry.yarnpkg.com/@types/multer/-/multer-1.4.11.tgz#c70792670513b4af1159a2b60bf48cc932af55c5" integrity sha512-svK240gr6LVWvv3YGyhLlA+6LRRWA4mnGIU7RcNmgjBYFl6665wcXrRfxGp5tEPVHUNm5FMcmq7too9bxCwX/w== dependencies: "@types/express" "*" -"@types/multer@^1.4.7": - version "1.4.7" - resolved "https://registry.yarnpkg.com/@types/multer/-/multer-1.4.7.tgz#89cf03547c28c7bbcc726f029e2a76a7232cc79e" - integrity sha512-/SNsDidUFCvqqcWDwxv2feww/yqhNeTRL5CVoL3jU4Goc4kKEL10T7Eye65ZqPNi4HRx8sAEX59pV1aEH7drNA== - dependencies: - "@types/express" "*" - "@types/node-fetch@^2.6.4": version "2.6.11" resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.11.tgz#9b39b78665dae0e82a08f02f4967d62c66f95d24" @@ -2545,9 +2248,11 @@ form-data "^4.0.0" "@types/node@*": - version "20.2.5" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.2.5.tgz#26d295f3570323b2837d322180dfbf1ba156fefb" - integrity sha512-JJulVEQXmiY9Px5axXHeYGLSjhkZEnD+MDPDGbCbIAbMslkKwmygtZFy1X6s/075Yo94sf8GuSlFfPzysQrWZQ== + version "20.12.11" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.11.tgz#c4ef00d3507000d17690643278a60dc55a9dc9be" + integrity sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw== + dependencies: + undici-types "~5.26.4" "@types/node@18.15.13": version "18.15.13" @@ -2555,9 +2260,9 @@ integrity sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q== "@types/node@^18.18.8": - version "18.19.24" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.24.tgz#707d8a4907e55901466e60e8f7a62bc6197ace95" - integrity sha512-eghAz3gnbQbvnHqB+mgB2ZR3aH6RhdEmHGS48BnV75KceQPHqabkxKI0BbUSsqhqy2Ddhc2xD/VAR9ySZd57Lw== + version "18.19.33" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.33.tgz#98cd286a1b8a5e11aa06623210240bcc28e95c48" + integrity sha512-NR9+KrpSajr2qBVp/Yt5TU/rp+b5Mayi3+OlMlcg2cVCfRmcG5PWZ7S4+MG9PZ5gWBoc9Pd0BKSRViuBCRPu0A== dependencies: undici-types "~5.26.4" @@ -2572,14 +2277,14 @@ integrity sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA== "@types/qs@*": - version "6.9.7" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb" - integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw== + version "6.9.15" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.15.tgz#adde8a060ec9c305a82de1babc1056e73bd64dce" + integrity sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg== "@types/range-parser@*": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc" - integrity sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw== + version "1.2.7" + resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.7.tgz#50ae4353eaaddc04044279812f52c8c65857dbcb" + integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== "@types/ref-array-di@^1.2.8": version "1.2.8" @@ -2603,37 +2308,38 @@ "@types/ref-napi" "*" "@types/responselike@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29" - integrity sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA== + version "1.0.3" + resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.3.tgz#cc29706f0a397cfe6df89debfe4bf5cea159db50" + integrity sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw== dependencies: "@types/node" "*" "@types/semver@^7.5.0": - version "7.5.6" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.6.tgz#c65b2bfce1bec346582c07724e3f8c1017a20339" - integrity sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A== + version "7.5.8" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.8.tgz#8268a8c57a3e4abd25c165ecd36237db7948a55e" + integrity sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ== "@types/send@*": - version "0.17.1" - resolved "https://registry.yarnpkg.com/@types/send/-/send-0.17.1.tgz#ed4932b8a2a805f1fe362a70f4e62d0ac994e301" - integrity sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q== + version "0.17.4" + resolved "https://registry.yarnpkg.com/@types/send/-/send-0.17.4.tgz#6619cd24e7270793702e4e6a4b958a9010cfc57a" + integrity sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA== dependencies: "@types/mime" "^1" "@types/node" "*" "@types/serve-static@*": - version "1.15.1" - resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.1.tgz#86b1753f0be4f9a1bee68d459fcda5be4ea52b5d" - integrity sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ== + version "1.15.7" + resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.7.tgz#22174bbd74fb97fe303109738e9b5c2f3064f714" + integrity sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw== dependencies: - "@types/mime" "*" + "@types/http-errors" "*" "@types/node" "*" + "@types/send" "*" "@types/stack-utils@^2.0.0": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" - integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== + version "2.0.3" + resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.3.tgz#6209321eb2c1712a7e7466422b8cb1fc0d9dd5d8" + integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw== "@types/strip-bom@^3.0.0": version "3.0.0" @@ -2646,24 +2352,25 @@ integrity sha512-7NQmHra/JILCd1QqpSzl8+mJRc8ZHz3uDm8YV1Ks9IhK0epEiTw8aIErbvH9PI+6XbqhyIQy3462nEsn7UVzjQ== "@types/superagent@*": - version "4.1.18" - resolved "https://registry.yarnpkg.com/@types/superagent/-/superagent-4.1.18.tgz#e8f037d015cb3b55e64dd00c4d07a84be6d16d34" - integrity sha512-LOWgpacIV8GHhrsQU+QMZuomfqXiqzz3ILLkCtKx3Us6AmomFViuzKT9D693QTKgyut2oCytMG8/efOop+DB+w== + version "8.1.7" + resolved "https://registry.yarnpkg.com/@types/superagent/-/superagent-8.1.7.tgz#1153819ed4db34427409a1cc58f3e2f13eeec862" + integrity sha512-NmIsd0Yj4DDhftfWvvAku482PZum4DBW7U51OvS8gvOkDDY0WT1jsVyDV3hK+vplrsYw8oDwi9QxOM7U68iwww== dependencies: - "@types/cookiejar" "*" + "@types/cookiejar" "^2.1.5" + "@types/methods" "^1.1.4" "@types/node" "*" "@types/supertest@^2.0.12": - version "2.0.12" - resolved "https://registry.yarnpkg.com/@types/supertest/-/supertest-2.0.12.tgz#ddb4a0568597c9aadff8dbec5b2e8fddbe8692fc" - integrity sha512-X3HPWTwXRerBZS7Mo1k6vMVR1Z6zmJcDVn5O/31whe0tnjE4te6ZJSJGq1RiqHPjzPdMTfjCFogDJmwng9xHaQ== + version "2.0.16" + resolved "https://registry.yarnpkg.com/@types/supertest/-/supertest-2.0.16.tgz#7a1294edebecb960d957bbe9b26002a2b7f21cd7" + integrity sha512-6c2ogktZ06tr2ENoZivgm7YnprnhYE4ZoXGMY+oA7IuAf17M8FWvujXZGmxLv8y0PTyts4x5A+erSwVUFA8XSg== dependencies: "@types/superagent" "*" "@types/swagger-ui-express@^4.1.3": - version "4.1.3" - resolved "https://registry.yarnpkg.com/@types/swagger-ui-express/-/swagger-ui-express-4.1.3.tgz#7adbbbf5343b45869debef1e9ff39c9ba73e380f" - integrity sha512-jqCjGU/tGEaqIplPy3WyQg+Nrp6y80DCFnDEAvVKWkJyv0VivSSDCChkppHRHAablvInZe6pijDFMnavtN0vqA== + version "4.1.6" + resolved "https://registry.yarnpkg.com/@types/swagger-ui-express/-/swagger-ui-express-4.1.6.tgz#d0929e3fabac1a96a8a9c6c7ee8d42362c5cdf48" + integrity sha512-UVSiGYXa5IzdJJG3hrc86e8KdZWLYxyEsVoUI4iPXc7CO4VZ3AfNP8d/8+hrDRIqz+HAaSMtZSqAsF3Nq2X/Dg== dependencies: "@types/express" "*" "@types/serve-static" "*" @@ -2679,41 +2386,41 @@ integrity sha512-FCTsikRozryfayPuiI46QzH3fnrOoctTjvOYZkho9BTFLCOZ2rgZJHMOVgCOfttjPJcgOx52EpkY0CMfy87MIw== "@types/ws@^8.5.4": - version "8.5.4" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.4.tgz#bb10e36116d6e570dd943735f86c933c1587b8a5" - integrity sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg== + version "8.5.10" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.10.tgz#4acfb517970853fa6574a3a6886791d04a396787" + integrity sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A== dependencies: "@types/node" "*" "@types/yargs-parser@*": - version "21.0.0" - resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" - integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== + version "21.0.3" + resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" + integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== "@types/yargs@^16.0.0": - version "16.0.5" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-16.0.5.tgz#12cc86393985735a283e387936398c2f9e5f88e3" - integrity sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ== + version "16.0.9" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-16.0.9.tgz#ba506215e45f7707e6cbcaf386981155b7ab956e" + integrity sha512-tHhzvkFXZQeTECenFoRljLBYPZJ7jAVxqqtEI0qTLOmuultnFp4I9yKE17vTuhf7BkhCu7I4XuemPgikDVuYqA== dependencies: "@types/yargs-parser" "*" "@types/yauzl@^2.9.1": - version "2.10.0" - resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.10.0.tgz#b3248295276cf8c6f153ebe6a9aba0c988cb2599" - integrity sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw== + version "2.10.3" + resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.10.3.tgz#e9b2808b4f109504a03cda958259876f61017999" + integrity sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q== dependencies: "@types/node" "*" "@typescript-eslint/eslint-plugin@^6.19.1": - version "6.19.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.19.1.tgz#bb0676af940bc23bf299ca58dbdc6589c2548c2e" - integrity sha512-roQScUGFruWod9CEyoV5KlCYrubC/fvG8/1zXuT0WTcxX87GnMMmnksMwSg99lo1xiKrBzw2icsJPMAw1OtKxg== + version "6.21.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.21.0.tgz#30830c1ca81fd5f3c2714e524c4303e0194f9cd3" + integrity sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA== dependencies: "@eslint-community/regexpp" "^4.5.1" - "@typescript-eslint/scope-manager" "6.19.1" - "@typescript-eslint/type-utils" "6.19.1" - "@typescript-eslint/utils" "6.19.1" - "@typescript-eslint/visitor-keys" "6.19.1" + "@typescript-eslint/scope-manager" "6.21.0" + "@typescript-eslint/type-utils" "6.21.0" + "@typescript-eslint/utils" "6.21.0" + "@typescript-eslint/visitor-keys" "6.21.0" debug "^4.3.4" graphemer "^1.4.0" ignore "^5.2.4" @@ -2722,46 +2429,46 @@ ts-api-utils "^1.0.1" "@typescript-eslint/parser@^6.19.1": - version "6.19.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.19.1.tgz#68a87bb21afaf0b1689e9cdce0e6e75bc91ada78" - integrity sha512-WEfX22ziAh6pRE9jnbkkLGp/4RhTpffr2ZK5bJ18M8mIfA8A+k97U9ZyaXCEJRlmMHh7R9MJZWXp/r73DzINVQ== - dependencies: - "@typescript-eslint/scope-manager" "6.19.1" - "@typescript-eslint/types" "6.19.1" - "@typescript-eslint/typescript-estree" "6.19.1" - "@typescript-eslint/visitor-keys" "6.19.1" + version "6.21.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.21.0.tgz#af8fcf66feee2edc86bc5d1cf45e33b0630bf35b" + integrity sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ== + dependencies: + "@typescript-eslint/scope-manager" "6.21.0" + "@typescript-eslint/types" "6.21.0" + "@typescript-eslint/typescript-estree" "6.21.0" + "@typescript-eslint/visitor-keys" "6.21.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@6.19.1": - version "6.19.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.19.1.tgz#2f527ee30703a6169a52b31d42a1103d80acd51b" - integrity sha512-4CdXYjKf6/6aKNMSly/BP4iCSOpvMmqtDzRtqFyyAae3z5kkqEjKndR5vDHL8rSuMIIWP8u4Mw4VxLyxZW6D5w== +"@typescript-eslint/scope-manager@6.21.0": + version "6.21.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz#ea8a9bfc8f1504a6ac5d59a6df308d3a0630a2b1" + integrity sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg== dependencies: - "@typescript-eslint/types" "6.19.1" - "@typescript-eslint/visitor-keys" "6.19.1" + "@typescript-eslint/types" "6.21.0" + "@typescript-eslint/visitor-keys" "6.21.0" -"@typescript-eslint/type-utils@6.19.1": - version "6.19.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.19.1.tgz#6a130e3afe605a4898e043fa9f72e96309b54935" - integrity sha512-0vdyld3ecfxJuddDjACUvlAeYNrHP/pDeQk2pWBR2ESeEzQhg52DF53AbI9QCBkYE23lgkhLCZNkHn2hEXXYIg== +"@typescript-eslint/type-utils@6.21.0": + version "6.21.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.21.0.tgz#6473281cfed4dacabe8004e8521cee0bd9d4c01e" + integrity sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag== dependencies: - "@typescript-eslint/typescript-estree" "6.19.1" - "@typescript-eslint/utils" "6.19.1" + "@typescript-eslint/typescript-estree" "6.21.0" + "@typescript-eslint/utils" "6.21.0" debug "^4.3.4" ts-api-utils "^1.0.1" -"@typescript-eslint/types@6.19.1": - version "6.19.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.19.1.tgz#2d4c9d492a63ede15e7ba7d129bdf7714b77f771" - integrity sha512-6+bk6FEtBhvfYvpHsDgAL3uo4BfvnTnoge5LrrCj2eJN8g3IJdLTD4B/jK3Q6vo4Ql/Hoip9I8aB6fF+6RfDqg== +"@typescript-eslint/types@6.21.0": + version "6.21.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.21.0.tgz#205724c5123a8fef7ecd195075fa6e85bac3436d" + integrity sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg== -"@typescript-eslint/typescript-estree@6.19.1": - version "6.19.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.19.1.tgz#796d88d88882f12e85bb33d6d82d39e1aea54ed1" - integrity sha512-aFdAxuhzBFRWhy+H20nYu19+Km+gFfwNO4TEqyszkMcgBDYQjmPJ61erHxuT2ESJXhlhrO7I5EFIlZ+qGR8oVA== +"@typescript-eslint/typescript-estree@6.21.0": + version "6.21.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz#c47ae7901db3b8bddc3ecd73daff2d0895688c46" + integrity sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ== dependencies: - "@typescript-eslint/types" "6.19.1" - "@typescript-eslint/visitor-keys" "6.19.1" + "@typescript-eslint/types" "6.21.0" + "@typescript-eslint/visitor-keys" "6.21.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" @@ -2769,25 +2476,25 @@ semver "^7.5.4" ts-api-utils "^1.0.1" -"@typescript-eslint/utils@6.19.1": - version "6.19.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.19.1.tgz#df93497f9cfddde2bcc2a591da80536e68acd151" - integrity sha512-JvjfEZuP5WoMqwh9SPAPDSHSg9FBHHGhjPugSRxu5jMfjvBpq5/sGTD+9M9aQ5sh6iJ8AY/Kk/oUYVEMAPwi7w== +"@typescript-eslint/utils@6.21.0": + version "6.21.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.21.0.tgz#4714e7a6b39e773c1c8e97ec587f520840cd8134" + integrity sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ== dependencies: "@eslint-community/eslint-utils" "^4.4.0" "@types/json-schema" "^7.0.12" "@types/semver" "^7.5.0" - "@typescript-eslint/scope-manager" "6.19.1" - "@typescript-eslint/types" "6.19.1" - "@typescript-eslint/typescript-estree" "6.19.1" + "@typescript-eslint/scope-manager" "6.21.0" + "@typescript-eslint/types" "6.21.0" + "@typescript-eslint/typescript-estree" "6.21.0" semver "^7.5.4" -"@typescript-eslint/visitor-keys@6.19.1": - version "6.19.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.19.1.tgz#2164073ed4fc34a5ff3b5e25bb5a442100454c4c" - integrity sha512-gkdtIO+xSO/SmI0W68DBg4u1KElmIUo3vXzgHyGPs6cxgB0sa3TlptRAAE0hUY1hM6FcDKEv7aIwiTGm76cXfQ== +"@typescript-eslint/visitor-keys@6.21.0": + version "6.21.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz#87a99d077aa507e20e238b11d56cc26ade45fe47" + integrity sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A== dependencies: - "@typescript-eslint/types" "6.19.1" + "@typescript-eslint/types" "6.21.0" eslint-visitor-keys "^3.4.1" "@unimodules/core@*": @@ -2854,9 +2561,9 @@ acorn-walk@^7.1.1: integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== acorn-walk@^8.1.1: - version "8.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" - integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== + version "8.3.2" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.2.tgz#7703af9415f1b6db9315d6895503862e231d34aa" + integrity sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A== acorn@^7.1.1, acorn@^7.4.0: version "7.4.1" @@ -2864,9 +2571,9 @@ acorn@^7.1.1, acorn@^7.4.0: integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== acorn@^8.2.4, acorn@^8.4.1: - version "8.8.2" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" - integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== + version "8.11.3" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" + integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== aes-js@3.0.0: version "3.0.0" @@ -2903,14 +2610,14 @@ ajv@^6.10.0, ajv@^6.12.4: uri-js "^4.2.2" ajv@^8.0.0, ajv@^8.0.1, ajv@^8.12.0: - version "8.12.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" - integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== + version "8.13.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.13.0.tgz#a3939eaec9fb80d217ddf0c3376948c023f28c91" + integrity sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA== dependencies: - fast-deep-equal "^3.1.1" + fast-deep-equal "^3.1.3" json-schema-traverse "^1.0.0" require-from-string "^2.0.2" - uri-js "^4.2.2" + uri-js "^4.4.1" ansi-colors@^4.1.1: version "4.1.3" @@ -2991,13 +2698,13 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" -array-buffer-byte-length@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz#fabe8bc193fea865f317fe7807085ee0dee5aead" - integrity sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A== +array-buffer-byte-length@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz#1e5583ec16763540a27ae52eed99ff899223568f" + integrity sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg== dependencies: - call-bind "^1.0.2" - is-array-buffer "^3.0.1" + call-bind "^1.0.5" + is-array-buffer "^3.0.4" array-flatten@1.1.1: version "1.1.1" @@ -3005,14 +2712,15 @@ array-flatten@1.1.1: integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== array-includes@^3.1.7: - version "3.1.7" - resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.7.tgz#8cd2e01b26f7a3086cbc87271593fe921c62abda" - integrity sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ== + version "3.1.8" + resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.8.tgz#5e370cbe172fdd5dd6530c1d4aadda25281ba97d" + integrity sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - get-intrinsic "^1.2.1" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-object-atoms "^1.0.0" + get-intrinsic "^1.2.4" is-string "^1.0.7" array-index@^1.0.0: @@ -3029,15 +2737,16 @@ array-union@^2.1.0: integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== array.prototype.findlastindex@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz#b37598438f97b579166940814e2c0493a4f50207" - integrity sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA== + version "1.2.5" + resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz#8c35a755c72908719453f87145ca011e39334d0d" + integrity sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - es-shim-unscopables "^1.0.0" - get-intrinsic "^1.2.1" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + es-shim-unscopables "^1.0.2" array.prototype.flat@^1.3.2: version "1.3.2" @@ -3059,17 +2768,18 @@ array.prototype.flatmap@^1.3.2: es-abstract "^1.22.1" es-shim-unscopables "^1.0.0" -arraybuffer.prototype.slice@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz#98bd561953e3e74bb34938e77647179dfe6e9f12" - integrity sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw== +arraybuffer.prototype.slice@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz#097972f4255e41bc3425e37dc3f6421cf9aefde6" + integrity sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A== dependencies: - array-buffer-byte-length "^1.0.0" - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - get-intrinsic "^1.2.1" - is-array-buffer "^3.0.2" + array-buffer-byte-length "^1.0.1" + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.2.1" + get-intrinsic "^1.2.3" + is-array-buffer "^3.0.4" is-shared-array-buffer "^1.0.2" asap@^2.0.0: @@ -3113,26 +2823,19 @@ at-least-node@^1.0.0: resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== -available-typed-arrays@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" - integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== - -axios@^1.4.0: - version "1.6.5" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.5.tgz#2c090da14aeeab3770ad30c3a1461bc970fb0cd8" - integrity sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg== +available-typed-arrays@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz#a5cc375d6a03c2efc87a553f3e0b1522def14846" + integrity sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ== dependencies: - follow-redirects "^1.15.4" - form-data "^4.0.0" - proxy-from-env "^1.1.0" + possible-typed-array-names "^1.0.0" -axios@^1.6.3: - version "1.6.7" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.7.tgz#7b48c2e27c96f9c68a2f8f31e2ab19f59b06b0a7" - integrity sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA== +axios@^1.4.0, axios@^1.6.3: + version "1.6.8" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.8.tgz#66d294951f5d988a00e87a0ffb955316a619ea66" + integrity sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ== dependencies: - follow-redirects "^1.15.4" + follow-redirects "^1.15.6" form-data "^4.0.0" proxy-from-env "^1.1.0" @@ -3251,19 +2954,19 @@ bech32@1.1.4: integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== big-integer@^1.6.51: - version "1.6.51" - resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" - integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== + version "1.6.52" + resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.52.tgz#60a887f3047614a8e1bffe5d7173490a97dc8c85" + integrity sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg== bignumber.js@^9.0.0: - version "9.1.1" - resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.1.tgz#c4df7dc496bd849d4c9464344c1aa74228b4dac6" - integrity sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig== + version "9.1.2" + resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" + integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== binary-extensions@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" - integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== + version "2.3.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" + integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== bn.js@^4.11.9: version "4.12.0" @@ -3275,25 +2978,7 @@ bn.js@^5.2.0, bn.js@^5.2.1: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== -body-parser@1.20.1: - version "1.20.1" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" - integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== - dependencies: - bytes "3.1.2" - content-type "~1.0.4" - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - http-errors "2.0.0" - iconv-lite "0.4.24" - on-finished "2.4.1" - qs "6.11.0" - raw-body "2.5.1" - type-is "~1.6.18" - unpipe "1.0.0" - -body-parser@^1.20.0: +body-parser@1.20.2, body-parser@^1.20.0: version "1.20.2" resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.2.tgz#6feb0e21c4724d06de7ff38da36dad4f57a747fd" integrity sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA== @@ -3356,16 +3041,6 @@ browser-process-hrtime@^1.0.0: resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== -browserslist@^4.21.3: - version "4.21.7" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.7.tgz#e2b420947e5fb0a58e8f4668ae6e23488127e551" - integrity sha512-BauCXrQ7I2ftSqd2mvKHGo85XR0u7Ru3C/Hxsy/0TkfCtjrmAbPdzLGasmoiBxplpDXlPvdjX9u7srIMfgasNA== - dependencies: - caniuse-lite "^1.0.30001489" - electron-to-chromium "^1.4.411" - node-releases "^2.0.12" - update-browserslist-db "^1.0.11" - browserslist@^4.22.2: version "4.23.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.0.tgz#8f3acc2bbe73af7213399430890f86c63a5674ab" @@ -3405,7 +3080,7 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer@*, buffer@^6.0.3: +buffer@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== @@ -3424,9 +3099,9 @@ cacheable-lookup@^5.0.3: integrity sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA== cacheable-request@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.2.tgz#ea0d0b889364a25854757301ca12b2da77f91d27" - integrity sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew== + version "7.0.4" + resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.4.tgz#7a33ebf08613178b403635be7b899d3e69bbe817" + integrity sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg== dependencies: clone-response "^1.0.2" get-stream "^5.1.0" @@ -3436,24 +3111,7 @@ cacheable-request@^7.0.2: normalize-url "^6.0.1" responselike "^2.0.0" -call-bind@^1.0.0, call-bind@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" - integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== - dependencies: - function-bind "^1.1.1" - get-intrinsic "^1.0.2" - -call-bind@^1.0.4, call-bind@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.5.tgz#6fa2b7845ce0ea49bf4d8b9ef64727a2c2e2e513" - integrity sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ== - dependencies: - function-bind "^1.1.2" - get-intrinsic "^1.2.1" - set-function-length "^1.1.1" - -call-bind@^1.0.6: +call-bind@^1.0.2, call-bind@^1.0.5, call-bind@^1.0.6, call-bind@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9" integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== @@ -3479,15 +3137,10 @@ camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001489: - version "1.0.30001495" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001495.tgz#64a0ccef1911a9dcff647115b4430f8eff1ef2d9" - integrity sha512-F6x5IEuigtUfU5ZMQK2jsy5JqUUlEFRVZq8bO2a+ysq5K7jD6PPc9YXZj78xDNS3uNchesp1Jw47YXEqr+Viyg== - caniuse-lite@^1.0.30001587: - version "1.0.30001597" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001597.tgz#8be94a8c1d679de23b22fbd944232aa1321639e6" - integrity sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w== + version "1.0.30001617" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001617.tgz#809bc25f3f5027ceb33142a7d6c40759d7a901eb" + integrity sha512-mLyjzNI9I+Pix8zwcrpxEbGlfqOkF9kM3ptzmKNw5tizSyYwMe+nGLTqMK9cO+0E+Bh6TsBxNAaHWEM8xwSsmA== canonicalize@^1.0.1: version "1.0.8" @@ -3501,7 +3154,7 @@ cbor@^8.1.0: dependencies: nofilter "^3.1.0" -chalk@^2.0.0, chalk@^2.4.2: +chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -3524,9 +3177,9 @@ char-regex@^1.0.2: integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== chokidar@^3.5.1: - version "3.5.3" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" - integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + version "3.6.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" + integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== dependencies: anymatch "~3.1.2" braces "~3.0.2" @@ -3543,20 +3196,15 @@ chownr@^2.0.0: resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== -ci-info@^3.2.0: - version "3.8.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" - integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw== - -ci-info@^3.7.0: +ci-info@^3.2.0, ci-info@^3.7.0: version "3.9.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== cjs-module-lexer@^1.0.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40" - integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA== + version "1.3.1" + resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz#c485341ae8fd999ca4ee5af2d7a1c9ae01e0099c" + integrity sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q== class-transformer@0.5.1: version "0.5.1" @@ -3608,9 +3256,9 @@ co@^4.6.0: integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== collect-v8-coverage@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" - integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg== + version "1.0.2" + resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz#c0b29bcd33bcd0779a1344c2136051e6afd3d9e9" + integrity sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q== color-convert@^1.9.0: version "1.9.3" @@ -3664,9 +3312,9 @@ compare-versions@^3.4.0: integrity sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA== component-emitter@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" - integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== + version "1.3.1" + resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.1.tgz#ef1d5796f7d93f135ee6fb684340b26403c97d17" + integrity sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ== concat-map@0.0.1: version "0.0.1" @@ -3690,7 +3338,7 @@ content-type@~1.0.4, content-type@~1.0.5: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== -convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: +convert-source-map@^1.4.0, convert-source-map@^1.6.0: version "1.9.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== @@ -3705,10 +3353,10 @@ cookie-signature@1.0.6: resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== -cookie@0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" - integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== +cookie@0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051" + integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw== cookiejar@^2.1.4: version "2.1.4" @@ -3733,12 +3381,12 @@ credentials-context@^2.0.0: resolved "https://registry.yarnpkg.com/credentials-context/-/credentials-context-2.0.0.tgz#68a9a1a88850c398d3bba4976c8490530af093e8" integrity sha512-/mFKax6FK26KjgV2KW2D4YqKgoJ5DVJpNt87X2Jc9IxT2HBMy7nEIlc+n7pEi+YFFe721XqrvZPd+jbyyBjsvQ== -cross-fetch@^3.1.5: - version "3.1.6" - resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.6.tgz#bae05aa31a4da760969756318feeee6e70f15d6c" - integrity sha512-riRvo06crlE8HiqOwIpQhxwdOk4fOeR7FVM/wXoxchFEqMNUjvbs3bfo4OTgMEMHzppd4DxFBDbyySj8Cv781g== +cross-fetch@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-4.0.0.tgz#f037aef1580bb3a1a35164ea2a848ba81b445983" + integrity sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g== dependencies: - node-fetch "^2.6.11" + node-fetch "^2.6.12" cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" @@ -3771,13 +3419,13 @@ cssstyle@^2.3.0: dependencies: cssom "~0.3.6" -d@1, d@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" - integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== +d@1, d@^1.0.1, d@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/d/-/d-1.0.2.tgz#2aefd554b81981e7dccf72d6842ae725cb17e5de" + integrity sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw== dependencies: - es5-ext "^0.10.50" - type "^1.0.1" + es5-ext "^0.10.64" + type "^2.7.2" data-uri-to-buffer@^3.0.1: version "3.0.1" @@ -3798,6 +3446,33 @@ data-urls@^2.0.0: whatwg-mimetype "^2.3.0" whatwg-url "^8.0.0" +data-view-buffer@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/data-view-buffer/-/data-view-buffer-1.0.1.tgz#8ea6326efec17a2e42620696e671d7d5a8bc66b2" + integrity sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA== + dependencies: + call-bind "^1.0.6" + es-errors "^1.3.0" + is-data-view "^1.0.1" + +data-view-byte-length@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz#90721ca95ff280677eb793749fce1011347669e2" + integrity sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ== + dependencies: + call-bind "^1.0.7" + es-errors "^1.3.0" + is-data-view "^1.0.1" + +data-view-byte-offset@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz#5e0bbfb4828ed2d1b9b400cd8a7d119bca0ff18a" + integrity sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA== + dependencies: + call-bind "^1.0.6" + es-errors "^1.3.0" + is-data-view "^1.0.1" + debug@2.6.9, debug@^2.2.0: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" @@ -3846,7 +3521,7 @@ deep-is@^0.1.3, deep-is@~0.1.3: resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== -deepmerge@^4.2.2, deepmerge@^4.3.1: +deepmerge@^4.2.2: version "4.3.1" resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== @@ -3856,16 +3531,7 @@ defer-to-connect@^2.0.0: resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== -define-data-property@^1.0.1, define-data-property@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.1.tgz#c35f7cd0ab09883480d12ac5cb213715587800b3" - integrity sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ== - dependencies: - get-intrinsic "^1.2.1" - gopd "^1.0.1" - has-property-descriptors "^1.0.0" - -define-data-property@^1.1.2: +define-data-property@^1.0.1, define-data-property@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== @@ -3874,15 +3540,7 @@ define-data-property@^1.1.2: es-errors "^1.3.0" gopd "^1.0.1" -define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.0.tgz#52988570670c9eacedd8064f4a990f2405849bd5" - integrity sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA== - dependencies: - has-property-descriptors "^1.0.0" - object-keys "^1.1.1" - -define-properties@^1.2.1: +define-properties@^1.2.0, define-properties@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== @@ -3912,9 +3570,9 @@ destroy@1.2.0: integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== detect-libc@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.2.tgz#8ccf2ba9315350e1241b88d0ac3b0e1fbd99605d" - integrity sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw== + version "2.0.3" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.3.tgz#f0cd503b40f9939b894697d19ad50895e30cf700" + integrity sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw== detect-newline@^3.0.0: version "3.1.0" @@ -4006,15 +3664,10 @@ ee-first@1.1.1: resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== -electron-to-chromium@^1.4.411: - version "1.4.421" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.421.tgz#2b8c0ef98ba00d4aef4c664933d570922da52161" - integrity sha512-wZOyn3s/aQOtLGAwXMZfteQPN68kgls2wDAnYOA8kCjBvKVrW5RwmWVspxJYTqrcN7Y263XJVsC66VCIGzDO3g== - electron-to-chromium@^1.4.668: - version "1.4.704" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.704.tgz#218696fc0b1cb42298b9ae0612d9c4ffd6f8500e" - integrity sha512-OK01+86Qvby1V6cTiowVbhp25aX4DLZnwar+NocAOXdzKAByd+jq5156bmo4kHwevWMknznW18Y/Svfk2dU91A== + version "1.4.761" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.761.tgz#d1bdf8c50a254f8a756641bb1ac48bb52e4d0ec3" + integrity sha512-PIbxpiJGx6Bb8dQaonNc6CGTRlVntdLg/2nMa1YhnrwYOORY9a3ZgGN0UQYE6lAcj/lkyduJN7BPt/JiY+jAQQ== elliptic@6.5.4: version "6.5.4" @@ -4057,9 +3710,9 @@ end-of-stream@^1.1.0: once "^1.4.0" enhanced-resolve@^5.12.0: - version "5.15.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35" - integrity sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg== + version "5.16.1" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.16.1.tgz#e8bc63d51b826d6f1cbc0a150ecb5a8b0c62e567" + integrity sha512-4U5pNsuDl0EhuZpq46M5xPslstkviJuhrdobaRDBk2Jy2KO37FDAJl4lb2KlNabxT0m4MTK2UHNrsAcphE8nyw== dependencies: graceful-fs "^4.2.4" tapable "^2.2.0" @@ -4079,50 +3732,57 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.22.1: - version "1.22.3" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.22.3.tgz#48e79f5573198de6dee3589195727f4f74bc4f32" - integrity sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA== - dependencies: - array-buffer-byte-length "^1.0.0" - arraybuffer.prototype.slice "^1.0.2" - available-typed-arrays "^1.0.5" - call-bind "^1.0.5" - es-set-tostringtag "^2.0.1" +es-abstract@^1.22.1, es-abstract@^1.22.3, es-abstract@^1.23.0, es-abstract@^1.23.2: + version "1.23.3" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.23.3.tgz#8f0c5a35cd215312573c5a27c87dfd6c881a0aa0" + integrity sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A== + dependencies: + array-buffer-byte-length "^1.0.1" + arraybuffer.prototype.slice "^1.0.3" + available-typed-arrays "^1.0.7" + call-bind "^1.0.7" + data-view-buffer "^1.0.1" + data-view-byte-length "^1.0.1" + data-view-byte-offset "^1.0.0" + es-define-property "^1.0.0" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + es-set-tostringtag "^2.0.3" es-to-primitive "^1.2.1" function.prototype.name "^1.1.6" - get-intrinsic "^1.2.2" - get-symbol-description "^1.0.0" + get-intrinsic "^1.2.4" + get-symbol-description "^1.0.2" globalthis "^1.0.3" gopd "^1.0.1" - has-property-descriptors "^1.0.0" - has-proto "^1.0.1" + has-property-descriptors "^1.0.2" + has-proto "^1.0.3" has-symbols "^1.0.3" - hasown "^2.0.0" - internal-slot "^1.0.5" - is-array-buffer "^3.0.2" + hasown "^2.0.2" + internal-slot "^1.0.7" + is-array-buffer "^3.0.4" is-callable "^1.2.7" - is-negative-zero "^2.0.2" + is-data-view "^1.0.1" + is-negative-zero "^2.0.3" is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" + is-shared-array-buffer "^1.0.3" is-string "^1.0.7" - is-typed-array "^1.1.12" + is-typed-array "^1.1.13" is-weakref "^1.0.2" object-inspect "^1.13.1" object-keys "^1.1.1" - object.assign "^4.1.4" - regexp.prototype.flags "^1.5.1" - safe-array-concat "^1.0.1" - safe-regex-test "^1.0.0" - string.prototype.trim "^1.2.8" - string.prototype.trimend "^1.0.7" - string.prototype.trimstart "^1.0.7" - typed-array-buffer "^1.0.0" - typed-array-byte-length "^1.0.0" - typed-array-byte-offset "^1.0.0" - typed-array-length "^1.0.4" + object.assign "^4.1.5" + regexp.prototype.flags "^1.5.2" + safe-array-concat "^1.1.2" + safe-regex-test "^1.0.3" + string.prototype.trim "^1.2.9" + string.prototype.trimend "^1.0.8" + string.prototype.trimstart "^1.0.8" + typed-array-buffer "^1.0.2" + typed-array-byte-length "^1.0.1" + typed-array-byte-offset "^1.0.2" + typed-array-length "^1.0.6" unbox-primitive "^1.0.2" - which-typed-array "^1.1.13" + which-typed-array "^1.1.15" es-define-property@^1.0.0: version "1.0.0" @@ -4131,21 +3791,28 @@ es-define-property@^1.0.0: dependencies: get-intrinsic "^1.2.4" -es-errors@^1.3.0: +es-errors@^1.2.1, es-errors@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== -es-set-tostringtag@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8" - integrity sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg== +es-object-atoms@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.0.0.tgz#ddb55cd47ac2e240701260bc2a8e31ecb643d941" + integrity sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw== dependencies: - get-intrinsic "^1.1.3" - has "^1.0.3" - has-tostringtag "^1.0.0" + es-errors "^1.3.0" + +es-set-tostringtag@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz#8bb60f0a440c2e4281962428438d58545af39777" + integrity sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ== + dependencies: + get-intrinsic "^1.2.4" + has-tostringtag "^1.0.2" + hasown "^2.0.1" -es-shim-unscopables@^1.0.0: +es-shim-unscopables@^1.0.0, es-shim-unscopables@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz#1f6942e71ecc7835ed1c8a83006d8771a63a3763" integrity sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw== @@ -4161,13 +3828,14 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -es5-ext@^0.10.35, es5-ext@^0.10.50: - version "0.10.62" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.62.tgz#5e6adc19a6da524bf3d1e02bbc8960e5eb49a9a5" - integrity sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA== +es5-ext@^0.10.35, es5-ext@^0.10.62, es5-ext@^0.10.64, es5-ext@~0.10.14: + version "0.10.64" + resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.64.tgz#12e4ffb48f1ba2ea777f1fcdd1918ef73ea21714" + integrity sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg== dependencies: es6-iterator "^2.0.3" es6-symbol "^3.1.3" + esniff "^2.0.1" next-tick "^1.1.0" es6-iterator@^2.0.3: @@ -4180,17 +3848,17 @@ es6-iterator@^2.0.3: es6-symbol "^3.1.1" es6-symbol@^3.0.2, es6-symbol@^3.1.1, es6-symbol@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" - integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== + version "3.1.4" + resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.4.tgz#f4e7d28013770b4208ecbf3e0bf14d3bcb557b8c" + integrity sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg== dependencies: - d "^1.0.1" - ext "^1.1.2" + d "^1.0.2" + ext "^1.7.0" -escalade@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" - integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== +escalade@^3.1.1, escalade@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.2.tgz#54076e9ab29ea5bf3d8f1ed62acffbb88272df27" + integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA== escape-html@~1.0.3: version "1.0.3" @@ -4225,14 +3893,13 @@ escodegen@^1.8.1: source-map "~0.6.1" escodegen@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.0.0.tgz#5e32b12833e8aa8fa35e1bf0befa89380484c7dd" - integrity sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw== + version "2.1.0" + resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.1.0.tgz#ba93bbb7a43986d29d6041f99f5262da773e2e17" + integrity sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w== dependencies: esprima "^4.0.1" estraverse "^5.2.0" esutils "^2.0.2" - optionator "^0.8.1" optionalDependencies: source-map "~0.6.1" @@ -4264,9 +3931,9 @@ eslint-import-resolver-typescript@^3.5.5: is-glob "^4.0.3" eslint-module-utils@^2.7.4, eslint-module-utils@^2.8.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz#e439fee65fc33f6bba630ff621efc38ec0375c49" - integrity sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw== + version "2.8.1" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz#52f2404300c3bd33deece9d7372fb337cc1d7c34" + integrity sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q== dependencies: debug "^3.2.7" @@ -4376,6 +4043,16 @@ eslint@^7.32.0: text-table "^0.2.0" v8-compile-cache "^2.0.3" +esniff@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/esniff/-/esniff-2.0.1.tgz#a4d4b43a5c71c7ec51c51098c1d8a29081f9b308" + integrity sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg== + dependencies: + d "^1.0.1" + es5-ext "^0.10.62" + event-emitter "^0.3.5" + type "^2.7.2" + espree@^7.3.0, espree@^7.3.1: version "7.3.1" resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6" @@ -4466,9 +4143,9 @@ ethers@^5.1.0: "@ethersproject/wordlists" "5.7.0" ethers@^6.9.0: - version "6.11.1" - resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.11.1.tgz#96aae00b627c2e35f9b0a4d65c7ab658259ee6af" - integrity sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg== + version "6.12.1" + resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.12.1.tgz#517ff6d66d4fd5433e38e903051da3e57c87ff37" + integrity sha512-j6wcVoZf06nqEcBbDWkKg8Fp895SS96dSnTCjiXT+8vt2o02raTn4Lo9ERUuIVU5bAjoPYeA+7ytQFexFmLuVw== dependencies: "@adraffy/ens-normalize" "1.10.1" "@noble/curves" "1.2.0" @@ -4478,6 +4155,14 @@ ethers@^6.9.0: tslib "2.4.0" ws "8.5.0" +event-emitter@^0.3.5: + version "0.3.5" + resolved "https://registry.yarnpkg.com/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39" + integrity sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA== + dependencies: + d "1" + es5-ext "~0.10.14" + event-target-shim@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" @@ -4525,28 +4210,28 @@ expo-modules-autolinking@^0.0.3: fs-extra "^9.1.0" expo-random@*: - version "13.1.1" - resolved "https://registry.yarnpkg.com/expo-random/-/expo-random-13.1.1.tgz#15e781911d5db4fbcee75e26ac109bc2523fe00c" - integrity sha512-+KkhGp7xW45GvMRzlcSOzvDwzTgyXo6C84GaG4GI43rOdECBQ2lGUJ12st39OtfZm1lORNskpi66DjnuJ73g9w== + version "14.0.1" + resolved "https://registry.yarnpkg.com/expo-random/-/expo-random-14.0.1.tgz#aedc6a3b6ff86c74a85989d77d20e0f1762ed669" + integrity sha512-gX2mtR9o+WelX21YizXUCD/y+a4ZL+RDthDmFkHxaYbdzjSYTn8u/igoje/l3WEO+/RYspmqUFa8w/ckNbt6Vg== dependencies: base64-js "^1.3.0" express-rate-limit@^7.1.5: - version "7.1.5" - resolved "https://registry.yarnpkg.com/express-rate-limit/-/express-rate-limit-7.1.5.tgz#af4c81143a945ea97f2599d13957440a0ddbfcfe" - integrity sha512-/iVogxu7ueadrepw1bS0X0kaRC/U0afwiYRSLg68Ts+p4Dc85Q5QKsOnPS/QUjPMHvOJQtBDrZgvkOzf8ejUYw== + version "7.2.0" + resolved "https://registry.yarnpkg.com/express-rate-limit/-/express-rate-limit-7.2.0.tgz#06ce387dd5388f429cab8263c514fc07bf90a445" + integrity sha512-T7nul1t4TNyfZMJ7pKRKkdeVJWa2CqB8NA1P8BwYaoDI5QSBZARv5oMS43J7b7I5P+4asjVXjb7ONuwDKucahg== -express@^4.17.1, express@^4.18.1: - version "4.18.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" - integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== +express@^4.17.1, express@^4.18.1, express@^4.18.3: + version "4.19.2" + resolved "https://registry.yarnpkg.com/express/-/express-4.19.2.tgz#e25437827a3aa7f2a827bc8171bbbb664a356465" + integrity sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q== dependencies: accepts "~1.3.8" array-flatten "1.1.1" - body-parser "1.20.1" + body-parser "1.20.2" content-disposition "0.5.4" content-type "~1.0.4" - cookie "0.5.0" + cookie "0.6.0" cookie-signature "1.0.6" debug "2.6.9" depd "2.0.0" @@ -4573,7 +4258,7 @@ express@^4.17.1, express@^4.18.1: utils-merge "1.0.1" vary "~1.1.2" -ext@^1.1.2: +ext@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/ext/-/ext-1.7.0.tgz#0ea4383c0103d60e70be99e9a7f11027a33c4f5f" integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== @@ -4601,18 +4286,7 @@ fast-diff@^1.1.2: resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.3.0.tgz#ece407fa550a64d638536cd727e129c61616e0f0" integrity sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw== -fast-glob@^3.2.5: - version "3.2.12" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" - integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== - dependencies: - "@nodelib/fs.stat" "^2.0.2" - "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.2" - merge2 "^1.3.0" - micromatch "^4.0.4" - -fast-glob@^3.2.9, fast-glob@^3.3.1: +fast-glob@^3.2.5, fast-glob@^3.2.9, fast-glob@^3.3.1: version "3.3.2" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== @@ -4751,14 +4425,14 @@ flat-cache@^3.0.4: rimraf "^3.0.2" flatted@^3.2.9: - version "3.2.9" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.9.tgz#7eb4c67ca1ba34232ca9d2d93e9886e611ad7daf" - integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ== + version "3.3.1" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a" + integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== -follow-redirects@^1.15.4: - version "1.15.5" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.5.tgz#54d4d6d062c0fa7d9d17feb008461550e3ba8020" - integrity sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw== +follow-redirects@^1.15.6: + version "1.15.6" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" + integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== for-each@^0.3.3: version "0.3.3" @@ -4852,14 +4526,9 @@ fs.realpath@^1.0.0: integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== fsevents@^2.3.2, fsevents@~2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" - integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== - -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== function-bind@^1.1.2: version "1.1.2" @@ -4906,32 +4575,12 @@ gensync@^1.0.0-beta.2: resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== -get-caller-file@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - -get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz#d295644fed4505fc9cde952c37ee12b477a83d82" - integrity sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw== - dependencies: - function-bind "^1.1.1" - has "^1.0.3" - has-proto "^1.0.1" - has-symbols "^1.0.3" - -get-intrinsic@^1.2.1, get-intrinsic@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.2.tgz#281b7622971123e1ef4b3c90fd7539306da93f3b" - integrity sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA== - dependencies: - function-bind "^1.1.2" - has-proto "^1.0.1" - has-symbols "^1.0.3" - hasown "^2.0.0" +get-caller-file@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" + integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.2.3, get-intrinsic@^1.2.4: +get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.3, get-intrinsic@^1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== @@ -4959,13 +4608,14 @@ get-stream@^6.0.0: resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== -get-symbol-description@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" - integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== +get-symbol-description@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.2.tgz#533744d5aa20aca4e079c8e5daf7fd44202821f5" + integrity sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg== dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.1" + call-bind "^1.0.5" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" get-symbol-from-current-process-h@^1.0.1, get-symbol-from-current-process-h@^1.0.2: version "1.0.2" @@ -4973,9 +4623,9 @@ get-symbol-from-current-process-h@^1.0.1, get-symbol-from-current-process-h@^1.0 integrity sha512-syloC6fsCt62ELLrr1VKBM1ggOpMdetX9hTrdW77UQdcApPHLmf7CI7OKcN1c9kYuNxKcDe4iJ4FY9sX3aw2xw== get-tsconfig@^4.5.0: - version "4.7.2" - resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.7.2.tgz#0dcd6fb330391d46332f4c6c1bf89a6514c2ddce" - integrity sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A== + version "4.7.4" + resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.7.4.tgz#228e1a3e37125aeb4467e9b992b92c4533093bd2" + integrity sha512-ofbkKj+0pjXjhejr007J/fLf+sW+8H7K5GCm+msC8q3IpvgjobpyPqSRFemNyIMxklC0zeJpi7VDFna19FacvQ== dependencies: resolve-pkg-maps "^1.0.0" @@ -4994,17 +4644,17 @@ glob-parent@^5.1.2, glob-parent@~5.1.2: is-glob "^4.0.1" glob@^10.3.10: - version "10.3.10" - resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b" - integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== + version "10.3.12" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.12.tgz#3a65c363c2e9998d220338e88a5f6ac97302960b" + integrity sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg== dependencies: foreground-child "^3.1.0" - jackspeak "^2.3.5" + jackspeak "^2.3.6" minimatch "^9.0.1" - minipass "^5.0.0 || ^6.0.2 || ^7.0.0" - path-scurry "^1.10.1" + minipass "^7.0.4" + path-scurry "^1.10.2" -glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: +glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -5029,11 +4679,12 @@ globals@^13.6.0, globals@^13.9.0: type-fest "^0.20.2" globalthis@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.3.tgz#5852882a52b80dc301b0660273e1ed082f0b6ccf" - integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + version "1.0.4" + resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.4.tgz#7430ed3a975d97bfb59bcce41f5cabbafa651236" + integrity sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ== dependencies: - define-properties "^1.1.3" + define-properties "^1.2.1" + gopd "^1.0.1" globby@^11.1.0: version "11.1.0" @@ -5108,49 +4759,35 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -has-property-descriptors@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" - integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== - dependencies: - get-intrinsic "^1.1.1" - -has-property-descriptors@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz#52ba30b6c5ec87fd89fa574bc1c39125c6f65340" - integrity sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg== +has-property-descriptors@^1.0.0, has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== dependencies: - get-intrinsic "^1.2.2" + es-define-property "^1.0.0" -has-proto@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" - integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== +has-proto@^1.0.1, has-proto@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.3.tgz#b31ddfe9b0e6e9914536a6ab286426d0214f77fd" + integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q== has-symbols@^1.0.2, has-symbols@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== -has-tostringtag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" - integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== +has-tostringtag@^1.0.0, has-tostringtag@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc" + integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== dependencies: - has-symbols "^1.0.2" + has-symbols "^1.0.3" has-unicode@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== -has@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== - dependencies: - function-bind "^1.1.1" - hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3: version "1.1.7" resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" @@ -5159,10 +4796,10 @@ hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3: inherits "^2.0.3" minimalistic-assert "^1.0.1" -hasown@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c" - integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA== +hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== dependencies: function-bind "^1.1.2" @@ -5260,16 +4897,11 @@ ignore@^4.0.6: resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.2.0: +ignore@^5.2.0, ignore@^5.2.4: version "5.3.1" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== -ignore@^5.2.4: - version "5.3.0" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78" - integrity sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg== - import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" @@ -5304,13 +4936,13 @@ inherits@2, inherits@2.0.4, inherits@^2.0.3, inherits@^2.0.4: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -internal-slot@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.5.tgz#f2a2ee21f668f8627a4667f309dc0f4fb6674986" - integrity sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ== +internal-slot@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.7.tgz#c06dcca3ed874249881007b0a5523b172a190802" + integrity sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g== dependencies: - get-intrinsic "^1.2.0" - has "^1.0.3" + es-errors "^1.3.0" + hasown "^2.0.0" side-channel "^1.0.4" invariant@^2.2.4: @@ -5325,14 +4957,13 @@ ipaddr.js@1.9.1: resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== -is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz#f2653ced8412081638ecb0ebbd0c41c6e0aecbbe" - integrity sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w== +is-array-buffer@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.4.tgz#7a1f92b3d61edd2bc65d24f130530ea93d7fae98" + integrity sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw== dependencies: call-bind "^1.0.2" - get-intrinsic "^1.2.0" - is-typed-array "^1.1.10" + get-intrinsic "^1.2.1" is-arrayish@^0.2.1: version "0.2.1" @@ -5366,20 +4997,20 @@ is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== -is-core-module@^2.11.0: - version "2.12.1" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.12.1.tgz#0c0b6885b6f80011c71541ce15c8d66cf5a4f9fd" - integrity sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg== - dependencies: - has "^1.0.3" - -is-core-module@^2.13.0, is-core-module@^2.13.1: +is-core-module@^2.11.0, is-core-module@^2.13.0, is-core-module@^2.13.1: version "2.13.1" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== dependencies: hasown "^2.0.0" +is-data-view@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-data-view/-/is-data-view-1.0.1.tgz#4b4d3a511b70f3dc26d42c03ca9ca515d847759f" + integrity sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w== + dependencies: + is-typed-array "^1.1.13" + is-date-object@^1.0.1: version "1.0.5" resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" @@ -5414,10 +5045,10 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: dependencies: is-extglob "^2.1.1" -is-negative-zero@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" - integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== +is-negative-zero@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.3.tgz#ced903a027aca6381b777a5743069d7376a49747" + integrity sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw== is-number-object@^1.0.4: version "1.0.7" @@ -5444,12 +5075,12 @@ is-regex@^1.1.4: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-shared-array-buffer@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" - integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== +is-shared-array-buffer@^1.0.2, is-shared-array-buffer@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz#1237f1cba059cdb62431d378dcc37d9680181688" + integrity sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg== dependencies: - call-bind "^1.0.2" + call-bind "^1.0.7" is-stream@^2.0.0: version "2.0.1" @@ -5470,23 +5101,12 @@ is-symbol@^1.0.2, is-symbol@^1.0.3: dependencies: has-symbols "^1.0.2" -is-typed-array@^1.1.10, is-typed-array@^1.1.9: - version "1.1.10" - resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f" - integrity sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A== - dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - for-each "^0.3.3" - gopd "^1.0.1" - has-tostringtag "^1.0.0" - -is-typed-array@^1.1.12: - version "1.1.12" - resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.12.tgz#d0bab5686ef4a76f7a73097b95470ab199c57d4a" - integrity sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg== +is-typed-array@^1.1.13: + version "1.1.13" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.13.tgz#d6c5ca56df62334959322d7d7dd1cca50debe229" + integrity sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw== dependencies: - which-typed-array "^1.1.11" + which-typed-array "^1.1.14" is-typedarray@^1.0.0: version "1.0.0" @@ -5546,9 +5166,9 @@ isomorphic-webcrypto@^2.3.8: react-native-securerandom "^0.1.1" istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" - integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== + version "3.2.2" + resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" + integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== istanbul-lib-instrument@^5.0.4, istanbul-lib-instrument@^5.1.0: version "5.2.1" @@ -5562,12 +5182,12 @@ istanbul-lib-instrument@^5.0.4, istanbul-lib-instrument@^5.1.0: semver "^6.3.0" istanbul-lib-report@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" - integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw== + version "3.0.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" + integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== dependencies: istanbul-lib-coverage "^3.0.0" - make-dir "^3.0.0" + make-dir "^4.0.0" supports-color "^7.1.0" istanbul-lib-source-maps@^4.0.0: @@ -5580,14 +5200,14 @@ istanbul-lib-source-maps@^4.0.0: source-map "^0.6.1" istanbul-reports@^3.1.3: - version "3.1.5" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.5.tgz#cc9a6ab25cb25659810e4785ed9d9fb742578bae" - integrity sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w== + version "3.1.7" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.7.tgz#daed12b9e1dca518e15c056e1e537e741280fa0b" + integrity sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g== dependencies: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -jackspeak@^2.3.5: +jackspeak@^2.3.6: version "2.3.6" resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== @@ -6002,9 +5622,9 @@ jest@^27.3.1: jest-cli "^27.5.1" joi@^17.12.3: - version "17.12.3" - resolved "https://registry.yarnpkg.com/joi/-/joi-17.12.3.tgz#944646979cd3b460178547b12ba37aca8482f63d" - integrity sha512-2RRziagf555owrm9IRVtdKynOBeITiDpuZqIpgwqXShPncPKNiRQoiGsl/T8SQdq+8ugRzH2LqY67irr2y/d+g== + version "17.13.1" + resolved "https://registry.yarnpkg.com/joi/-/joi-17.13.1.tgz#9c7b53dc3b44dd9ae200255cc3b398874918a6ca" + integrity sha512-vaBlIKCyo4FCUtCm7Eu4QZd/q02bWcxfUO6YSXAZOWF6gzcLBeba8kwotUdYJjDLW8Cz8RywsSOqiNJZW0mNvg== dependencies: "@hapi/hoek" "^9.3.0" "@hapi/topo" "^5.1.0" @@ -6012,17 +5632,11 @@ joi@^17.12.3: "@sideway/formula" "^3.0.1" "@sideway/pinpoint" "^2.0.0" -<<<<<<< HEAD -<<<<<<< HEAD js-base64@^3.7.6: version "3.7.7" resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-3.7.7.tgz#e51b84bf78fbf5702b9541e2cb7bfcb893b43e79" integrity sha512-7rCnleh0z2CkXhH67J8K1Ytz0b2Y+yxTPL+/KOJoa20hfnVQ/3/T6W/KflYI4bRHRagNeXeU2bkNGI3v1oS/lw== -======= ->>>>>>> 5dc99ac... feat: migrated to amoy (#96) -======= ->>>>>>> 81e66a3... merge: develop to main (#98) js-sha3@0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" @@ -6121,7 +5735,7 @@ json-text-sequence@~0.3.0: dependencies: "@sovpro/delimited-stream" "^1.1.0" -json5@2.x, json5@^2.2.2, json5@^2.2.3: +json5@2.x, json5@^2.2.3: version "2.2.3" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== @@ -6231,14 +5845,7 @@ keccak@^3.0.2: node-gyp-build "^4.2.0" readable-stream "^3.6.0" -keyv@^4.0.0: - version "4.5.2" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.2.tgz#0e310ce73bf7851ec702f2eaf46ec4e3805cce56" - integrity sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g== - dependencies: - json-buffer "3.0.1" - -keyv@^4.5.3: +keyv@^4.0.0, keyv@^4.5.3: version "4.5.4" resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== @@ -6305,9 +5912,9 @@ levn@~0.3.0: type-check "~0.3.2" libphonenumber-js@^1.10.53: - version "1.10.58" - resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.10.58.tgz#2015877bd47fd3d32d9fbfcedd75df35be230c9a" - integrity sha512-53A0IpJFL9LdHbpeatwizf8KSwPICrqn9H0g3Y7WQ+Jgeu9cQ4Ew3WrRtrLBu/CX2lXd5+rgT01/tGlkbkzOjw== + version "1.11.1" + resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.11.1.tgz#2596683e1876bfee74082bb49339fe0a85ae34f9" + integrity sha512-Wze1LPwcnzvcKGcRHFGFECTaLzxOtujwpf924difr5zniyYv1C2PiW0419qDR7m8lKDxsImu5mwxFuXhXpjmvw== lines-and-columns@^1.1.6: version "1.2.4" @@ -6400,6 +6007,11 @@ lowercase-keys@^2.0.0: resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== +lru-cache@^10.2.0: + version "10.2.2" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.2.tgz#48206bc114c1252940c41b25b41af5b545aca878" + integrity sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ== + lru-cache@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" @@ -6414,28 +6026,30 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" -"lru-cache@^9.1.1 || ^10.0.0": - version "10.2.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3" - integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== - lru_map@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/lru_map/-/lru_map-0.4.1.tgz#f7b4046283c79fb7370c36f8fca6aee4324b0a98" integrity sha512-I+lBvqMMFfqaV8CJCISjI3wbjmwVu/VyOoU7+qtu9d7ioW5klMgsTTiUOUp+DJvfTTzKXoPbyC6YfgkNcyPSOg== luxon@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/luxon/-/luxon-3.3.0.tgz#d73ab5b5d2b49a461c47cedbc7e73309b4805b48" - integrity sha512-An0UCfG/rSiqtAIiBPO0Y9/zAnHUZxAMiCpTd5h2smgsj7GGmcenvrvww2cqNA8/4A5ZrD1gJpHN2mIHZQF+Mg== + version "3.4.4" + resolved "https://registry.yarnpkg.com/luxon/-/luxon-3.4.4.tgz#cf20dc27dc532ba41a169c43fdcc0063601577af" + integrity sha512-zobTr7akeGHnv7eBOXcRgMeCP6+uyYsczwmeRCauvpvaAltgNyTbLH/+VaEAPUeWBT+1GuNmz4wC/6jtQzbbVA== -make-dir@^3.0.0, make-dir@^3.1.0: +make-dir@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== dependencies: semver "^6.0.0" +make-dir@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" + integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== + dependencies: + semver "^7.5.3" + make-error@1.x, make-error@^1.1.1, make-error@^1.3.6: version "1.3.6" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" @@ -6488,7 +6102,7 @@ micromatch@^4.0.2, micromatch@^4.0.4: braces "^3.0.2" picomatch "^2.3.1" -mime-db@1.52.0: +mime-db@1.52.0, mime-db@^1.52.0: version "1.52.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== @@ -6535,7 +6149,7 @@ minimalistic-crypto-utils@^1.0.1: resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== -minimatch@9.0.3, minimatch@^9.0.1: +minimatch@9.0.3: version "9.0.3" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== @@ -6549,6 +6163,13 @@ minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: dependencies: brace-expansion "^1.1.7" +minimatch@^9.0.1: + version "9.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.4.tgz#8e49c731d1749cbec05050ee5145147b32496a51" + integrity sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw== + dependencies: + brace-expansion "^2.0.1" + minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" @@ -6566,10 +6187,10 @@ minipass@^5.0.0: resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== -"minipass@^5.0.0 || ^6.0.2 || ^7.0.0": - version "7.0.4" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" - integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.4: + version "7.1.0" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.0.tgz#b545f84af94e567386770159302ca113469c80b8" + integrity sha512-oGZRv2OT1lO2UF1zUcwdTb3wqUwI0kBGTgt/T7OdSj6M6N5m3o5uPf0AIW6lVxGGoiWUR7e2AwTE+xiwK8WQig== minizlib@^2.1.1: version "2.1.2" @@ -6604,14 +6225,11 @@ msrcrypto@^1.5.6: resolved "https://registry.yarnpkg.com/msrcrypto/-/msrcrypto-1.5.8.tgz#be419be4945bf134d8af52e9d43be7fa261f4a1c" integrity sha512-ujZ0TRuozHKKm6eGbKHfXef7f+esIhEckmThVnz7RNyiOJd7a6MXj2JGBoL9cnPDW+JMG16MoTUh5X+XXjI66Q== -<<<<<<< HEAD multiformats@^9.4.2: version "9.9.0" resolved "https://registry.yarnpkg.com/multiformats/-/multiformats-9.9.0.tgz#c68354e7d21037a8f1f8833c8ccd68618e8f1d37" integrity sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg== -======= ->>>>>>> 1374790... feat: upgrade credo to 0.5.0 (#78) nanoid@^3.3.7: version "3.3.7" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" @@ -6681,10 +6299,10 @@ node-fetch@3.0.0-beta.9: data-uri-to-buffer "^3.0.1" fetch-blob "^2.1.1" -node-fetch@^2.6.11, node-fetch@^2.6.7: - version "2.6.11" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.11.tgz#cde7fc71deef3131ef80a738919f999e6edfff25" - integrity sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w== +node-fetch@^2.6.12, node-fetch@^2.6.7: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== dependencies: whatwg-url "^5.0.0" @@ -6697,26 +6315,16 @@ node-fetch@^3.2.10: fetch-blob "^3.1.4" formdata-polyfill "^4.0.10" -node-gyp-build@^4.2.0: - version "4.8.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.0.tgz#3fee9c1731df4581a3f9ead74664369ff00d26dd" - integrity sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og== - -node-gyp-build@^4.2.1: - version "4.6.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" - integrity sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ== +node-gyp-build@^4.2.0, node-gyp-build@^4.2.1: + version "4.8.1" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.1.tgz#976d3ad905e71b76086f4f0b0d3637fe79b6cda5" + integrity sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw== node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== -node-releases@^2.0.12: - version "2.0.12" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.12.tgz#35627cc224a23bfb06fb3380f2b3afaaa7eb1039" - integrity sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ== - node-releases@^2.0.14: version "2.0.14" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b" @@ -6762,21 +6370,16 @@ npmlog@^5.0.1: set-blocking "^2.0.0" nwsapi@^2.2.0: - version "2.2.5" - resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.5.tgz#a52744c61b3889dd44b0a158687add39b8d935e2" - integrity sha512-6xpotnECFy/og7tKSBVmUNft7J3jyXAka4XvG6AUhFWRz+Q/Ljus7znJAA3bxColfQLdS+XsjoodtJfCgeTEFQ== + version "2.2.9" + resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.9.tgz#7f3303218372db2e9f27c27766bcfc59ae7e61c6" + integrity sha512-2f3F0SEEer8bBu0dsNCFF50N0cTThV1nWFYcEYFZttdW0lDAoybv9cQoK7X7/68Z89S7FoRrVjP1LPX4XRf9vg== object-assign@^4, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== -object-inspect@^1.10.3, object-inspect@^1.9.0: - version "1.12.3" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" - integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== - -object-inspect@^1.13.1: +object-inspect@^1.10.3, object-inspect@^1.13.1: version "1.13.1" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2" integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ== @@ -6786,43 +6389,43 @@ object-keys@^1.1.1: resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== -object.assign@^4.1.4: - version "4.1.4" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" - integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== +object.assign@^4.1.5: + version "4.1.5" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.5.tgz#3a833f9ab7fdb80fc9e8d2300c803d216d8fdbb0" + integrity sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" + call-bind "^1.0.5" + define-properties "^1.2.1" has-symbols "^1.0.3" object-keys "^1.1.1" object.fromentries@^2.0.7: - version "2.0.7" - resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.7.tgz#71e95f441e9a0ea6baf682ecaaf37fa2a8d7e616" - integrity sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA== + version "2.0.8" + resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.8.tgz#f7195d8a9b97bd95cbc1999ea939ecd1a2b00c65" + integrity sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-object-atoms "^1.0.0" object.groupby@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.1.tgz#d41d9f3c8d6c778d9cbac86b4ee9f5af103152ee" - integrity sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ== + version "1.0.3" + resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.3.tgz#9b125c36238129f6f7b61954a1e7176148d5002e" + integrity sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - get-intrinsic "^1.2.1" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" object.values@^1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.7.tgz#617ed13272e7e1071b43973aa1655d9291b8442a" - integrity sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng== + version "1.2.0" + resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.2.0.tgz#65405a9d92cee68ac2d303002e0b8470a4d9ab1b" + integrity sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" on-finished@2.4.1: version "2.4.1" @@ -6866,16 +6469,16 @@ optionator@^0.8.1: word-wrap "~1.2.3" optionator@^0.9.1: - version "0.9.3" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64" - integrity sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg== + version "0.9.4" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.4.tgz#7ea1c1a5d91d764fb282139c88fe11e182a3a734" + integrity sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g== dependencies: - "@aashutoshrathi/word-wrap" "^1.2.3" deep-is "^0.1.3" fast-levenshtein "^2.0.6" levn "^0.4.1" prelude-ls "^1.2.1" type-check "^0.4.0" + word-wrap "^1.2.5" os-tmpdir@~1.0.2: version "1.0.2" @@ -6993,12 +6596,12 @@ path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== -path-scurry@^1.10.1: - version "1.10.1" - resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698" - integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ== +path-scurry@^1.10.2: + version "1.10.2" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.2.tgz#8f6357eb1239d5fa1da8b9f70e9c080675458ba7" + integrity sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA== dependencies: - lru-cache "^9.1.1 || ^10.0.0" + lru-cache "^10.2.0" minipass "^5.0.0 || ^6.0.2 || ^7.0.0" path-to-regexp@0.1.7: @@ -7027,9 +6630,9 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== pirates@^4.0.4: - version "4.0.5" - resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" - integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== + version "4.0.6" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" + integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== pkg-dir@^4.2.0: version "4.2.0" @@ -7038,6 +6641,11 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" +possible-typed-array-names@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz#89bb63c6fada2c3e90adc4a647beeeb39cc7bf8f" + integrity sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q== + postinstall-postinstall@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/postinstall-postinstall/-/postinstall-postinstall-2.1.0.tgz#4f7f77441ef539d1512c40bd04c71b06a4704ca3" @@ -7113,22 +6721,17 @@ pump@^3.0.0: end-of-stream "^1.1.0" once "^1.3.1" -punycode@^2.1.0: +punycode@^2.1.0, punycode@^2.1.1: version "2.3.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== -punycode@^2.1.1: - version "2.3.0" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" - integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== - -pvtsutils@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/pvtsutils/-/pvtsutils-1.3.2.tgz#9f8570d132cdd3c27ab7d51a2799239bf8d8d5de" - integrity sha512-+Ipe2iNUyrZz+8K/2IOo+kKikdtfhRKzNpQbruF2URmqPtoqAs8g3xS7TJvFF2GcPXjh7DkqMnpVveRFq4PgEQ== +pvtsutils@^1.3.2, pvtsutils@^1.3.5: + version "1.3.5" + resolved "https://registry.yarnpkg.com/pvtsutils/-/pvtsutils-1.3.5.tgz#b8705b437b7b134cd7fd858f025a23456f1ce910" + integrity sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA== dependencies: - tslib "^2.4.0" + tslib "^2.6.1" pvutils@^1.1.3: version "1.1.3" @@ -7143,11 +6746,11 @@ qs@6.11.0: side-channel "^1.0.4" qs@^6.11.0: - version "6.11.2" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.2.tgz#64bea51f12c1f5da1bc01496f48ffcff7c69d7d9" - integrity sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA== + version "6.12.1" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.12.1.tgz#39422111ca7cbdb70425541cba20c7d7b216599a" + integrity sha512-zWmv4RSuB9r2mYQw3zxQuHWeU+42aKi1wWig/j4ele4ygELZ7PEO6MM7rim9oAQH2A5MWfsAVf/jPvTPgCbvUQ== dependencies: - side-channel "^1.0.4" + side-channel "^1.0.6" query-string@^7.0.1: version "7.1.3" @@ -7179,16 +6782,6 @@ range-parser@~1.2.1: resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== -raw-body@2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857" - integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== - dependencies: - bytes "3.1.2" - http-errors "2.0.0" - iconv-lite "0.4.24" - unpipe "1.0.0" - raw-body@2.5.2: version "2.5.2" resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a" @@ -7250,16 +6843,16 @@ ref-struct-di@1.1.1, ref-struct-di@^1.1.0, ref-struct-di@^1.1.1: debug "^3.1.0" reflect-metadata@^0.1.13: - version "0.1.13" - resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.13.tgz#67ae3ca57c972a2aa1642b10fe363fe32d49dc08" - integrity sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg== + version "0.1.14" + resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.14.tgz#24cf721fe60677146bb77eeb0e1f9dece3d65859" + integrity sha512-ZhYeb6nRaXCfhnndflDK8qI6ZQ/YcWZCISRAWICW9XYqMUwjZM9Z0DveWX/ABN01oxSHwVxKQmxeYZSsm0jh5A== reflect-metadata@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.2.1.tgz#8d5513c0f5ef2b4b9c3865287f3c0940c1f67f74" - integrity sha512-i5lLI6iw9AU3Uu4szRNPPEkomnkjRTaVt9hy/bn5g/oSzekBSMeLZblcjP74AW0vBabqERLLIrz+gR8QYR54Tw== + version "0.2.2" + resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.2.2.tgz#400c845b6cba87a21f2c65c4aeb158f4fa4d9c5b" + integrity sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q== -regexp.prototype.flags@^1.5.0: +regexp.prototype.flags@^1.5.2: version "1.5.2" resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz#138f644a3350f981a858c44f6bb1a61ff59be334" integrity sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw== @@ -7269,15 +6862,6 @@ regexp.prototype.flags@^1.5.0: es-errors "^1.3.0" set-function-name "^2.0.1" -regexp.prototype.flags@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz#90ce989138db209f81492edd734183ce99f9677e" - integrity sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - set-function-name "^2.0.0" - regexpp@^3.1.0: version "3.2.0" resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" @@ -7330,16 +6914,7 @@ resolve.exports@^1.1.0: resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.1.tgz#05cfd5b3edf641571fd46fa608b610dda9ead999" integrity sha512-/NtpHNDN7jWhAaQ9BvBUYZ6YTXsRBgfqWFWP7BZBaoMJO/I3G5OFzvTuWNlZC3aPjins1F+TNrLKsGbH4rfsRQ== -resolve@^1.0.0, resolve@^1.20.0: - version "1.22.2" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f" - integrity sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g== - dependencies: - is-core-module "^2.11.0" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -resolve@^1.22.4: +resolve@^1.0.0, resolve@^1.20.0, resolve@^1.22.4: version "1.22.8" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== @@ -7388,13 +6963,13 @@ rxjs@^7.8.0: dependencies: tslib "^2.1.0" -safe-array-concat@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.1.0.tgz#8d0cae9cb806d6d1c06e08ab13d847293ebe0692" - integrity sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg== +safe-array-concat@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.1.2.tgz#81d77ee0c4e8b863635227c721278dd524c20edb" + integrity sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q== dependencies: - call-bind "^1.0.5" - get-intrinsic "^1.2.2" + call-bind "^1.0.7" + get-intrinsic "^1.2.4" has-symbols "^1.0.3" isarray "^2.0.5" @@ -7403,13 +6978,13 @@ safe-buffer@5.2.1, safe-buffer@^5.0.1, safe-buffer@~5.2.0: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== -safe-regex-test@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" - integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA== +safe-regex-test@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.3.tgz#a5b4c0f06e0ab50ea2c395c14d8371232924c377" + integrity sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw== dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.3" + call-bind "^1.0.6" + es-errors "^1.3.0" is-regex "^1.1.4" "safer-buffer@>= 2.1.2 < 3": @@ -7429,37 +7004,16 @@ scrypt-js@3.0.1: resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312" integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA== -semver@7.x, semver@^7.3.2, semver@^7.3.5, semver@^7.3.8: - version "7.5.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.1.tgz#c90c4d631cf74720e46b21c1d37ea07edfab91ec" - integrity sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw== - dependencies: - lru-cache "^6.0.0" - -semver@^6.0.0, semver@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@7.x, semver@^7.2.1, semver@^7.3.2, semver@^7.3.5, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: + version "7.6.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.1.tgz#60bfe090bf907a25aa8119a72b9f90ef7ca281b2" + integrity sha512-f/vbBsu+fOiYt+lmwZV0rVwJScl46HppnOA1ZvIuBWKOTlllpyJ3bfVax76/OrhCH38dyxoDIA8K7uB963IYgA== -semver@^6.3.1: +semver@^6.0.0, semver@^6.3.0, semver@^6.3.1: version "6.3.1" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.2.1: - version "7.6.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" - integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== - dependencies: - lru-cache "^6.0.0" - -semver@^7.5.3, semver@^7.5.4: - version "7.5.4" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" - integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== - dependencies: - lru-cache "^6.0.0" - send@0.18.0: version "0.18.0" resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" @@ -7501,37 +7055,27 @@ set-blocking@^2.0.0: resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== -set-function-length@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.0.tgz#2f81dc6c16c7059bda5ab7c82c11f03a515ed8e1" - integrity sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w== - dependencies: - define-data-property "^1.1.1" - function-bind "^1.1.2" - get-intrinsic "^1.2.2" - gopd "^1.0.1" - has-property-descriptors "^1.0.1" - set-function-length@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.1.tgz#47cc5945f2c771e2cf261c6737cf9684a2a5e425" - integrity sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g== + version "1.2.2" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== dependencies: - define-data-property "^1.1.2" + define-data-property "^1.1.4" es-errors "^1.3.0" function-bind "^1.1.2" - get-intrinsic "^1.2.3" + get-intrinsic "^1.2.4" gopd "^1.0.1" - has-property-descriptors "^1.0.1" + has-property-descriptors "^1.0.2" -set-function-name@^2.0.0, set-function-name@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.1.tgz#12ce38b7954310b9f61faa12701620a0c882793a" - integrity sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA== +set-function-name@^2.0.1, set-function-name@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.2.tgz#16a705c5a0dc2f5e638ca96d8a8cd4e1c2b90985" + integrity sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ== dependencies: - define-data-property "^1.0.1" + define-data-property "^1.1.4" + es-errors "^1.3.0" functions-have-names "^1.2.3" - has-property-descriptors "^1.0.0" + has-property-descriptors "^1.0.2" setimmediate@^1.0.5: version "1.0.5" @@ -7555,14 +7099,15 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -side-channel@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" - integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== +side-channel@^1.0.4, side-channel@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.6.tgz#abd25fb7cd24baf45466406b1096b7831c9215f2" + integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA== dependencies: - call-bind "^1.0.0" - get-intrinsic "^1.0.2" - object-inspect "^1.9.0" + call-bind "^1.0.7" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + object-inspect "^1.13.1" signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: version "3.0.7" @@ -7682,46 +7227,50 @@ string-width@^5.0.1, string-width@^5.1.2: strip-ansi "^7.0.1" string.prototype.matchall@^4.0.10: - version "4.0.10" - resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.10.tgz#a1553eb532221d4180c51581d6072cd65d1ee100" - integrity sha512-rGXbGmOEosIQi6Qva94HUjgPs9vKW+dkG7Y8Q5O2OYkWL6wFaTRZO8zM4mhP94uX55wgyrXzfS2aGtGzUL7EJQ== + version "4.0.11" + resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.11.tgz#1092a72c59268d2abaad76582dccc687c0297e0a" + integrity sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - get-intrinsic "^1.2.1" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + get-intrinsic "^1.2.4" + gopd "^1.0.1" has-symbols "^1.0.3" - internal-slot "^1.0.5" - regexp.prototype.flags "^1.5.0" - set-function-name "^2.0.0" - side-channel "^1.0.4" + internal-slot "^1.0.7" + regexp.prototype.flags "^1.5.2" + set-function-name "^2.0.2" + side-channel "^1.0.6" -string.prototype.trim@^1.2.8: - version "1.2.8" - resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz#f9ac6f8af4bd55ddfa8895e6aea92a96395393bd" - integrity sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ== +string.prototype.trim@^1.2.9: + version "1.2.9" + resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz#b6fa326d72d2c78b6df02f7759c73f8f6274faa4" + integrity sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.0" + es-object-atoms "^1.0.0" -string.prototype.trimend@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz#1bb3afc5008661d73e2dc015cd4853732d6c471e" - integrity sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA== +string.prototype.trimend@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz#3651b8513719e8a9f48de7f2f77640b26652b229" + integrity sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" -string.prototype.trimstart@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz#d4cdb44b83a4737ffbac2d406e405d43d0184298" - integrity sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg== +string.prototype.trimstart@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz#7ee834dda8c7c17eff3118472bb35bfedaa34dde" + integrity sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" string_decoder@^1.1.1: version "1.3.0" @@ -7769,10 +7318,10 @@ strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== -superagent@^8.0.5: - version "8.0.9" - resolved "https://registry.yarnpkg.com/superagent/-/superagent-8.0.9.tgz#2c6fda6fadb40516515f93e9098c0eb1602e0535" - integrity sha512-4C7Bh5pyHTvU33KpZgwrNKh/VQnvgtCSqPRfJAUdmrtSYePVzVg4E4OzsrbkhJj9O7SO6Bnv75K/F8XVZT8YHA== +superagent@^8.1.2: + version "8.1.2" + resolved "https://registry.yarnpkg.com/superagent/-/superagent-8.1.2.tgz#03cb7da3ec8b32472c9d20f6c2a57c7f3765f30b" + integrity sha512-6WTxW1EB6yCxV5VFOIPQruWGHqc3yI7hEmZK6h+pyk69Lk/Ut7rLUY6W/ONF2MjBuGjvmMiIpsrVJ2vjrHlslA== dependencies: component-emitter "^1.3.0" cookiejar "^2.1.4" @@ -7786,12 +7335,12 @@ superagent@^8.0.5: semver "^7.3.8" supertest@^6.2.3: - version "6.3.3" - resolved "https://registry.yarnpkg.com/supertest/-/supertest-6.3.3.tgz#42f4da199fee656106fd422c094cf6c9578141db" - integrity sha512-EMCG6G8gDu5qEqRQ3JjjPs6+FYT1a7Hv5ApHvtSghmOFJYtsU5S+pSb6Y2EUeCEY3CmEL3mmQ8YWlPOzQomabA== + version "6.3.4" + resolved "https://registry.yarnpkg.com/supertest/-/supertest-6.3.4.tgz#2145c250570c2ea5d337db3552dbfb78a2286218" + integrity sha512-erY3HFDG0dPnhw4U+udPfrzXa4xhSG+n4rxfRuZWCUvjFWwKl+OxWf/7zk50s84/fAAs7vf5QAb9uRa0cCykxw== dependencies: methods "^1.1.2" - superagent "^8.0.5" + superagent "^8.1.2" supports-color@^5.3.0: version "5.5.0" @@ -7828,9 +7377,9 @@ supports-preserve-symlinks-flag@^1.0.0: integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== swagger-ui-dist@>=4.11.0: - version "4.19.0" - resolved "https://registry.yarnpkg.com/swagger-ui-dist/-/swagger-ui-dist-4.19.0.tgz#33c927f36ccac20fcfb5f0f70ad422ab0ee9e3c3" - integrity sha512-9C9fJGI18gK5AhaU5YRyPY1lXJH4lmWh8h9zFMrJBkYzdRjCbAzYl1ayWPYgwFvag/Luqi3Co599OK/39IS2QQ== + version "5.17.7" + resolved "https://registry.yarnpkg.com/swagger-ui-dist/-/swagger-ui-dist-5.17.7.tgz#64113eefe01b05d49845cf163793c94c5b71a303" + integrity sha512-hKnq2Dss6Nvqxzj+tToBz0IJvKXgp7FExxX0Zj0rMajXJp8CJ98yLAwbKwKu8rxQf+2iIDUTGir84SCA8AN+fQ== swagger-ui-express@^4.4.0: version "4.6.3" @@ -7845,9 +7394,9 @@ symbol-tree@^3.2.4: integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== table@^6.0.9, table@^6.8.0: - version "6.8.1" - resolved "https://registry.yarnpkg.com/table/-/table-6.8.1.tgz#ea2b71359fe03b017a5fbc296204471158080bdf" - integrity sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA== + version "6.8.2" + resolved "https://registry.yarnpkg.com/table/-/table-6.8.2.tgz#c5504ccf201213fa227248bdc8c5569716ac6c58" + integrity sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA== dependencies: ajv "^8.0.1" lodash.truncate "^4.4.2" @@ -7861,9 +7410,9 @@ tapable@^2.2.0: integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== tar@^6.1.11: - version "6.2.0" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.0.tgz#b14ce49a79cb1cd23bc9b016302dea5474493f73" - integrity sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ== + version "6.2.1" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a" + integrity sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0" @@ -7929,9 +7478,9 @@ toidentifier@1.0.1: integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== tough-cookie@^4.0.0: - version "4.1.3" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.3.tgz#97b9adb0728b42280aa3d814b6b999b2ff0318bf" - integrity sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw== + version "4.1.4" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.4.tgz#945f1461b45b5a8c76821c33ea49c3ac192c1b36" + integrity sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag== dependencies: psl "^1.1.33" punycode "^2.1.1" @@ -7956,9 +7505,14 @@ tree-kill@^1.2.2: integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== ts-api-utils@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.3.tgz#f12c1c781d04427313dbac808f453f050e54a331" - integrity sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg== + version "1.3.0" + resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.3.0.tgz#4b490e27129f1e8e686b45cc4ab63714dc60eea1" + integrity sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ== + +ts-deepmerge@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/ts-deepmerge/-/ts-deepmerge-7.0.0.tgz#ee824dc177d452603348c7e6f3b90223434a6b44" + integrity sha512-WZ/iAJrKDhdINv1WG6KZIGHrZDar6VfhftG1QJFpVbOYZMYJLJOvZOo1amictRXVdBXZIgBHKswMTXzElngprA== ts-jest@^27.0.7: version "27.1.5" @@ -7991,9 +7545,9 @@ ts-node-dev@^2.0.0: tsconfig "^7.0.0" ts-node@^10.4.0: - version "10.9.1" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" - integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw== + version "10.9.2" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f" + integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ== dependencies: "@cspotcode/source-map-support" "^0.8.0" "@tsconfig/node10" "^1.0.7" @@ -8039,10 +7593,10 @@ tslib@^1.9.3: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.0.0, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.5.0: - version "2.5.3" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.3.tgz#24944ba2d990940e6e982c4bea147aba80209913" - integrity sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w== +tslib@^2.0.0, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.6.1, tslib@^2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== tslog@^3.3.3: version "3.3.4" @@ -8052,12 +7606,12 @@ tslog@^3.3.3: source-map-support "^0.5.21" tsoa@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/tsoa/-/tsoa-6.0.1.tgz#0a1a9ea80b4eca979b71cf4b33db49375b87e422" - integrity sha512-Far5BFpFvMYVMZxt87O7hOFGpa6dALQ8XHhdDytry0IhIUJnRliVXLZ2t2KGcgNw0bIwsk+2XkWra18LL6cORA== + version "6.2.1" + resolved "https://registry.yarnpkg.com/tsoa/-/tsoa-6.2.1.tgz#f3dcfeb31835ea1f7f3018bcb46f2d675daf69ac" + integrity sha512-cK+Wmw99IdkVMuNPl8OM+SufIxvS1b5XY9mwjLrTJ4ytwiUkF1AOKvF6pX5k/xDnHXFLCrfHzbgaogj0JJO9EA== dependencies: - "@tsoa/cli" "^6.0.1" - "@tsoa/runtime" "^6.0.0" + "@tsoa/cli" "^6.2.1" + "@tsoa/runtime" "^6.2.1" tsyringe@^4.6.0, tsyringe@^4.8.0: version "4.8.0" @@ -8103,54 +7657,54 @@ type-is@~1.6.18: media-typer "0.3.0" mime-types "~2.1.24" -type@^1.0.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" - integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== - type@^2.7.2: version "2.7.2" resolved "https://registry.yarnpkg.com/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== -typed-array-buffer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz#18de3e7ed7974b0a729d3feecb94338d1472cd60" - integrity sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw== +typed-array-buffer@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz#1867c5d83b20fcb5ccf32649e5e2fc7424474ff3" + integrity sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ== dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.2.1" - is-typed-array "^1.1.10" + call-bind "^1.0.7" + es-errors "^1.3.0" + is-typed-array "^1.1.13" -typed-array-byte-length@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz#d787a24a995711611fb2b87a4052799517b230d0" - integrity sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA== +typed-array-byte-length@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz#d92972d3cff99a3fa2e765a28fcdc0f1d89dec67" + integrity sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw== dependencies: - call-bind "^1.0.2" + call-bind "^1.0.7" for-each "^0.3.3" - has-proto "^1.0.1" - is-typed-array "^1.1.10" + gopd "^1.0.1" + has-proto "^1.0.3" + is-typed-array "^1.1.13" -typed-array-byte-offset@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz#cbbe89b51fdef9cd6aaf07ad4707340abbc4ea0b" - integrity sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg== +typed-array-byte-offset@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz#f9ec1acb9259f395093e4567eb3c28a580d02063" + integrity sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA== dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" + available-typed-arrays "^1.0.7" + call-bind "^1.0.7" for-each "^0.3.3" - has-proto "^1.0.1" - is-typed-array "^1.1.10" + gopd "^1.0.1" + has-proto "^1.0.3" + is-typed-array "^1.1.13" -typed-array-length@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb" - integrity sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng== +typed-array-length@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.6.tgz#57155207c76e64a3457482dfdc1c9d1d3c4c73a3" + integrity sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g== dependencies: - call-bind "^1.0.2" + call-bind "^1.0.7" for-each "^0.3.3" - is-typed-array "^1.1.9" + gopd "^1.0.1" + has-proto "^1.0.3" + is-typed-array "^1.1.13" + possible-typed-array-names "^1.0.0" typedarray-to-buffer@^3.1.5: version "3.1.5" @@ -8160,9 +7714,9 @@ typedarray-to-buffer@^3.1.5: is-typedarray "^1.0.0" typescript@^5.3.3: - version "5.3.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" - integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== + version "5.4.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" + integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== uglify-js@^3.1.4: version "3.17.4" @@ -8197,9 +7751,9 @@ undici-types@~5.26.4: integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== undici@^5.14.0, undici@^5.21.2: - version "5.28.3" - resolved "https://registry.yarnpkg.com/undici/-/undici-5.28.3.tgz#a731e0eff2c3fcfd41c1169a869062be222d1e5b" - integrity sha512-3ItfzbrhDlINjaP0duwnNsKpDQk3acHI3gVJ1z4fmwMK31k5G9OVIAMLSIaP6w4FaGkaAkN6zaQO9LUvZ1t7VA== + version "5.28.4" + resolved "https://registry.yarnpkg.com/undici/-/undici-5.28.4.tgz#6b280408edb6a1a604a9b20340f45b422e373068" + integrity sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g== dependencies: "@fastify/busboy" "^2.0.0" @@ -8209,32 +7763,24 @@ universalify@^0.2.0: integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== universalify@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" - integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== + version "2.0.1" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" + integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== unpipe@1.0.0, unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== -update-browserslist-db@^1.0.11: - version "1.0.11" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940" - integrity sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA== - dependencies: - escalade "^3.1.1" - picocolors "^1.0.0" - update-browserslist-db@^1.0.13: - version "1.0.13" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4" - integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg== + version "1.0.15" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.15.tgz#60ed9f8cba4a728b7ecf7356f641a31e3a691d97" + integrity sha512-K9HWH62x3/EalU1U6sjSZiylm9C8tgq2mSvshZpqc7QE69RaA2qjhkW2HlNA0tFpEbtyFz7HTqbSdN4MSwUodA== dependencies: - escalade "^3.1.1" + escalade "^3.1.2" picocolors "^1.0.0" -uri-js@^4.2.2: +uri-js@^4.2.2, uri-js@^4.4.1: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== @@ -8264,12 +7810,7 @@ utils-merge@1.0.1: resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== -uuid@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.0.tgz#592f550650024a38ceb0c562f2f6aa435761efb5" - integrity sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg== - -uuid@^9.0.1: +uuid@^9.0.0, uuid@^9.0.1: version "9.0.1" resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== @@ -8294,9 +7835,9 @@ v8-to-istanbul@^8.1.0: source-map "^0.7.3" validator@^13.11.0, validator@^13.9.0: - version "13.11.0" - resolved "https://registry.yarnpkg.com/validator/-/validator-13.11.0.tgz#23ab3fd59290c61248364eabf4067f04955fbb1b" - integrity sha512-Ii+sehpSfZy+At5nPdnyMhx78fEoPDkR2XW/zimHEL3MyGJQOCQ7WeP20jPYRz7ZCpcKLB21NxuXHF3bxjStBQ== + version "13.12.0" + resolved "https://registry.yarnpkg.com/validator/-/validator-13.12.0.tgz#7d78e76ba85504da3fee4fd1922b385914d4b35f" + integrity sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg== varint@^6.0.0: version "6.0.0" @@ -8330,11 +7871,11 @@ walker@^1.0.7: makeerror "1.0.12" web-did-resolver@^2.0.21: - version "2.0.24" - resolved "https://registry.yarnpkg.com/web-did-resolver/-/web-did-resolver-2.0.24.tgz#557aae25d5c88ea662c23115fbebd46885d958db" - integrity sha512-tJfOfMeXyucV42D3tU7wcPcsvY92CiuaqeF5JRIE6GP7G9z07X6LhNQMFMHUL5D9Jqb7Twk19oKZGE2ivKeC1w== + version "2.0.27" + resolved "https://registry.yarnpkg.com/web-did-resolver/-/web-did-resolver-2.0.27.tgz#21884a41d64c2042c307acb2d6e2061244e09806" + integrity sha512-YxQlNdeYBXLhVpMW62+TPlc6sSOiWyBYq7DNvY6FXmXOD9g0zLeShpq2uCKFFQV/WlSrBi/yebK/W5lMTDxMUQ== dependencies: - cross-fetch "^3.1.5" + cross-fetch "^4.0.0" did-resolver "^4.0.0" web-streams-polyfill@^3.0.3: @@ -8342,16 +7883,16 @@ web-streams-polyfill@^3.0.3: resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz#2073b91a2fdb1fbfbd401e7de0ac9f8214cecb4b" integrity sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw== -webcrypto-core@^1.7.7: - version "1.7.7" - resolved "https://registry.yarnpkg.com/webcrypto-core/-/webcrypto-core-1.7.7.tgz#06f24b3498463e570fed64d7cab149e5437b162c" - integrity sha512-7FjigXNsBfopEj+5DV2nhNpfic2vumtjjgPmeDKk45z+MJwXKKfhPB7118Pfzrmh4jqOMST6Ch37iPAHoImg5g== +webcrypto-core@^1.7.9: + version "1.7.9" + resolved "https://registry.yarnpkg.com/webcrypto-core/-/webcrypto-core-1.7.9.tgz#a585f0032dbc88d202cff4f266cbef02ba48bd7a" + integrity sha512-FE+a4PPkOmBbgNDIyRmcHhgXn+2ClRl3JzJdDu/P4+B8y81LqKe6RAsI9b3lAOHe1T1BMkSjsRHTYRikImZnVA== dependencies: - "@peculiar/asn1-schema" "^2.3.6" + "@peculiar/asn1-schema" "^2.3.8" "@peculiar/json-schema" "^1.1.12" asn1js "^3.0.1" - pvtsutils "^1.3.2" - tslib "^2.4.0" + pvtsutils "^1.3.5" + tslib "^2.6.2" webcrypto-shim@^0.1.4: version "0.1.7" @@ -8413,16 +7954,16 @@ which-boxed-primitive@^1.0.2: is-string "^1.0.5" is-symbol "^1.0.3" -which-typed-array@^1.1.11, which-typed-array@^1.1.13: - version "1.1.13" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.13.tgz#870cd5be06ddb616f504e7b039c4c24898184d36" - integrity sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow== +which-typed-array@^1.1.14, which-typed-array@^1.1.15: + version "1.1.15" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.15.tgz#264859e9b11a649b388bfaaf4f767df1f779b38d" + integrity sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA== dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.4" + available-typed-arrays "^1.0.7" + call-bind "^1.0.7" for-each "^0.3.3" gopd "^1.0.1" - has-tostringtag "^1.0.0" + has-tostringtag "^1.0.2" which@^2.0.1: version "2.0.2" @@ -8438,10 +7979,10 @@ wide-align@^1.1.2: dependencies: string-width "^1.0.2 || 2 || 3 || 4" -word-wrap@~1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" - integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== +word-wrap@^1.2.5, word-wrap@~1.2.3: + version "1.2.5" + resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34" + integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== wordwrap@^1.0.0: version "1.0.0" @@ -8497,9 +8038,9 @@ ws@^7.4.6: integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== ws@^8.13.0: - version "8.13.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" - integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== + version "8.17.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.17.0.tgz#d145d18eca2ed25aaf791a183903f7be5e295fea" + integrity sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow== xml-name-validator@^3.0.0: version "3.0.0" @@ -8536,18 +8077,10 @@ yaml@^1.10.0: resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== -yaml@^2.2.2: - version "2.3.4" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.4.tgz#53fc1d514be80aabf386dc6001eb29bf3b7523b2" - integrity sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA== - -yamljs@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/yamljs/-/yamljs-0.3.0.tgz#dc060bf267447b39f7304e9b2bfbe8b5a7ddb03b" - integrity sha512-C/FsVVhht4iPQYXOInoxUM/1ELSf9EsgKH34FofQOp6hwCPrW4vG4w5++TED3xRUo8gD7l0P1J1dLlDYzODsTQ== - dependencies: - argparse "^1.0.7" - glob "^7.0.5" +yaml@^2.2.2, yaml@^2.4.1: + version "2.4.2" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.4.2.tgz#7a2b30f2243a5fc299e1f14ca58d475ed4bc5362" + integrity sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA== yargs-parser@20.x, yargs-parser@^20.2.2: version "20.2.9" From 83beb8c489ea2d76bc691e55ea5ec3ac0009d4b8 Mon Sep 17 00:00:00 2001 From: pallavicoder Date: Thu, 9 May 2024 17:40:07 +0530 Subject: [PATCH 15/20] chore:fix alignment issue Signed-off-by: pallavicoder --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 83cbdd01..f5fd1328 100644 --- a/package.json +++ b/package.json @@ -102,4 +102,4 @@ "engines": { "node": ">=18" } -} \ No newline at end of file +} From ba1b934a8901336d6853745003ff9f8a2606deb7 Mon Sep 17 00:00:00 2001 From: tipusinghaw Date: Fri, 10 May 2024 12:11:00 +0530 Subject: [PATCH 16/20] refactor: updated contract address and packages Signed-off-by: tipusinghaw --- package.json | 2 +- samples/cliConfig.json | 2 +- src/cliAgent.ts | 2 +- yarn.lock | 72 +++++++++++++++++------------------------- 4 files changed, 32 insertions(+), 46 deletions(-) diff --git a/package.json b/package.json index f5fd1328..a2f61844 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "validate": "yarn lint && yarn check-types && yarn check-format" }, "dependencies": { - "@ayanworks/credo-polygon-w3c-module": "0.0.2-alpha.8", + "@ayanworks/credo-polygon-w3c-module": "0.0.2-alpha.10", "@credo-ts/anoncreds": "0.5.3", "@credo-ts/askar": "0.5.3", "@credo-ts/core": "0.5.3", diff --git a/samples/cliConfig.json b/samples/cliConfig.json index 5b1b80c7..8af41a17 100644 --- a/samples/cliConfig.json +++ b/samples/cliConfig.json @@ -39,7 +39,7 @@ "autoAcceptMediationRequests": false, "adminPort": 4001, "tenancy": true, - "didRegistryContractAddress": "0xC1c392DC1073a86821B4ae37f1F0faCDcFFf45bF", + "didRegistryContractAddress": "0x1adeA199dCf07E17232415Cb232442BE52517Add", "schemaManagerContractAddress": "0x289c7Bd4C7d38cC54bff370d6f9f01b74Df51b11", "rpcUrl": "https://rpc-amoy.polygon.technology", "fileServerUrl": "https://schema.credebl.id/", diff --git a/src/cliAgent.ts b/src/cliAgent.ts index c07b0506..a6db21f2 100644 --- a/src/cliAgent.ts +++ b/src/cliAgent.ts @@ -176,7 +176,7 @@ const getModules = (networkConfig: [IndyVdrPoolConfig, ...IndyVdrPoolConfig[]]) questionAnswer: new QuestionAnswerModule(), polygon: new PolygonModule({ - didContractAddress: '0xC1c392DC1073a86821B4ae37f1F0faCDcFFf45bF', + didContractAddress: '0x1adeA199dCf07E17232415Cb232442BE52517Add', schemaManagerContractAddress: '0x289c7Bd4C7d38cC54bff370d6f9f01b74Df51b11', fileServerToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJBeWFuV29ya3MiLCJpZCI6ImNhZDI3ZjhjLTMyNWYtNDRmZC04ZmZkLWExNGNhZTY3NTMyMSJ9.I3IR7abjWbfStnxzn1BhxhV0OEzt1x3mULjDdUcgWHk', diff --git a/yarn.lock b/yarn.lock index 6f02e5dd..0a2cecf0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -44,26 +44,26 @@ dependencies: static-eval "2.0.2" -"@ayanworks/credo-polygon-w3c-module@0.0.2-alpha.8": - version "0.0.2-alpha.8" - resolved "https://registry.yarnpkg.com/@ayanworks/credo-polygon-w3c-module/-/credo-polygon-w3c-module-0.0.2-alpha.8.tgz#1d9f38cde0ba7ef2c09c805e390eab5928147c1c" - integrity sha512-E0kThegDCKo9MnOpYcxmGbMNixJY/MhiCvmFVss8uE1AyuQvbQJ6CZ5BVZungn1eyn/nipm6qiwvvk7Vf5dprA== - dependencies: - "@ayanworks/polygon-did-registrar" "0.0.16-alpha.18" - "@ayanworks/polygon-did-resolver" "0.0.16-alpha.13" - "@ayanworks/polygon-schema-manager" "0.0.2-alpha.7" +"@ayanworks/credo-polygon-w3c-module@0.0.2-alpha.10": + version "0.0.2-alpha.10" + resolved "https://registry.yarnpkg.com/@ayanworks/credo-polygon-w3c-module/-/credo-polygon-w3c-module-0.0.2-alpha.10.tgz#41d2a493aeed0fec4a92e3bd5d2f70d5e044e6c2" + integrity sha512-M2IWdeEZxHwT7+oW3Pm/ycOSxad9VnJx315Wd1+PPZdonwSYKK6U2YdvLe3CiozevhjWReDjnIatRnCmk38Xnw== + dependencies: + "@ayanworks/polygon-did-registrar" "0.0.16-alpha.20" + "@ayanworks/polygon-did-resolver" "0.0.16-alpha.15" + "@ayanworks/polygon-schema-manager" "0.0.2-alpha.9" "@credo-ts/askar" "0.5.3" "@credo-ts/core" "0.5.3" did-resolver "^4.1.0" ethers "^6.9.0" -"@ayanworks/polygon-did-registrar@0.0.16-alpha.18": - version "0.0.16-alpha.18" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registrar/-/polygon-did-registrar-0.0.16-alpha.18.tgz#69a737ea159218373e5add5fccc8b47311ade9dc" - integrity sha512-vXD2ClM36QeiKoq6kYsOg74K8ht795eQg+z2bMELdSrKytTDTD2gYnxG1u1eZ4mKPLJHE/WFv01roxNNrZE7xA== +"@ayanworks/polygon-did-registrar@0.0.16-alpha.20": + version "0.0.16-alpha.20" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registrar/-/polygon-did-registrar-0.0.16-alpha.20.tgz#c17fc082db84959cf1fd745515ad41c16a810236" + integrity sha512-4gH4Vq01fEtkgOzn43J/3B7sWs4N+KvkL2tvrtOF3cfELlUE4UuRx97JAXJlX9ayGWIspTYg+GMbnkvfTLT8GQ== dependencies: - "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4" - "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.13" + "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.7" + "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.15" "@credo-ts/core" "0.5.3" "@ethersproject/basex" "^5.7.0" "@ethersproject/signing-key" "^5.7.0" @@ -73,41 +73,27 @@ ethers "^6.9.0" uuid "^9.0.1" -"@ayanworks/polygon-did-registry-contract@2.0.1-alpha.4": - version "2.0.1-alpha.4" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registry-contract/-/polygon-did-registry-contract-2.0.1-alpha.4.tgz#5691d61f322959201813fe7ff2bd2234c8e7af72" - integrity sha512-a35EtcPyLyKjq0y0uqi7uHXPeoMMSoC2oai88xY2PlLV9avQwyCIOaVsIKcuKdJaPWPmFQaeU5S7iY/pfVguWQ== +"@ayanworks/polygon-did-registry-contract@2.0.1-alpha.7": + version "2.0.1-alpha.7" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registry-contract/-/polygon-did-registry-contract-2.0.1-alpha.7.tgz#4f694602701ac1f7b0503c150a8764a289b0294c" + integrity sha512-pwX45XsGT3LrIBpnIJ6FrzPuB3gSTWiNVSyGGniL0ofUgcsNGqXOv2g3WQSDcG9b7/+AGeoJ6tYqshCbnjsmvQ== -"@ayanworks/polygon-did-registry-contract@2.0.1-alpha.6": - version "2.0.1-alpha.6" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-registry-contract/-/polygon-did-registry-contract-2.0.1-alpha.6.tgz#21da200874fe1035a0b37a2c90981c4048208479" - integrity sha512-b/Pk0ByQdsleC1bwfP9J2lC6vkpfk4UZk7oJff3/O86Ael9rk0kQ7t3yu4Q7lh4bWEoeJ9Gij8CR1o+ImT9U7g== - -"@ayanworks/polygon-did-resolver@0.0.16-alpha.13": - version "0.0.16-alpha.13" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-0.0.16-alpha.13.tgz#24a0e0c674dde0d64fa5f4767c5368f791abbab3" - integrity sha512-8SRDPQpX/AU1xfmH2O7DzqeDtPdE1FA3z7ONp/v1xvP1h00GU2nKie4jeWHipCVfJOInEmiJbl0FIKFcviERsA== - dependencies: - "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4" - did-resolver "^4.1.0" - ethers "^5.1.0" - -"@ayanworks/polygon-did-resolver@^0.0.16-alpha.13": - version "0.0.16-alpha.14" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-0.0.16-alpha.14.tgz#859d2f7cfe7070815b0760b0e3f4200bcd8f42c5" - integrity sha512-uxDzHScLbUP2x15Pvs3zKeaFx+tYzgep1rXQl0p2bxFD0sRxiX1nhJgMGXNzGtzNIKXCbbnt1Ak/IzB65CQx6Q== +"@ayanworks/polygon-did-resolver@0.0.16-alpha.15", "@ayanworks/polygon-did-resolver@^0.0.16-alpha.15": + version "0.0.16-alpha.15" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-did-resolver/-/polygon-did-resolver-0.0.16-alpha.15.tgz#f12969e6d7b7eba2432ccd2f6d9b4a1de5f3dcf9" + integrity sha512-JyjgFaWWSQzzj1LKsopYVvIJjeo6lzqfVIheILmgxcxvTo1/skFatthocBNmyQ4Vc8QyKc05s5AbTUkm74wNbg== dependencies: - "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.6" + "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.7" did-resolver "^4.1.0" ethers "^5.1.0" -"@ayanworks/polygon-schema-manager@0.0.2-alpha.7": - version "0.0.2-alpha.7" - resolved "https://registry.yarnpkg.com/@ayanworks/polygon-schema-manager/-/polygon-schema-manager-0.0.2-alpha.7.tgz#79b975e7f6524d86030b4a38453ea5c33079882a" - integrity sha512-XKHgvh7IT0pUuypeoPuf2pcSUlvpezjDTLie4ayncPWb1FI5drS6RvtiiHvZ2HTVQU7/PBldM6lCNLt4kvnV6A== +"@ayanworks/polygon-schema-manager@0.0.2-alpha.9": + version "0.0.2-alpha.9" + resolved "https://registry.yarnpkg.com/@ayanworks/polygon-schema-manager/-/polygon-schema-manager-0.0.2-alpha.9.tgz#24566f6d41bffc16d0483576df8b766217312fef" + integrity sha512-eHGNWQE8sYEPzYynnDswSLUlkF+BHMDHN5iSIfupbxPObScfMXPtYO/qSu0V4F+QmmmqH5WUpZ7qGBgOyi7j8Q== dependencies: - "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.4" - "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.13" + "@ayanworks/polygon-did-registry-contract" "2.0.1-alpha.7" + "@ayanworks/polygon-did-resolver" "^0.0.16-alpha.15" "@nomicfoundation/hardhat-verify" "^2.0.3" axios "^1.6.3" did-resolver "^4.1.0" From c46eeddd259cbfa5d04c76fab53c2fa701ab3959 Mon Sep 17 00:00:00 2001 From: tipusinghaw Date: Fri, 10 May 2024 16:01:32 +0530 Subject: [PATCH 17/20] feat: added schema url and logic to create config.json Signed-off-by: tipusinghaw --- samples/cliConfig.json | 1 + src/cli.ts | 1 + src/cliAgent.ts | 16 +++++----- src/controllers/did/DidController.ts | 5 +-- .../multi-tenancy/MultiTenancyController.ts | 31 ++++++++++++++----- src/controllers/polygon/PolygonController.ts | 22 ++++++++++++- src/controllers/types.ts | 7 +++++ src/routes/routes.ts | 11 +++++++ src/routes/swagger.json | 26 +++++++++++++++- src/server.ts | 3 +- src/utils/ServerConfig.ts | 1 + 11 files changed, 105 insertions(+), 19 deletions(-) diff --git a/samples/cliConfig.json b/samples/cliConfig.json index 8af41a17..59027773 100644 --- a/samples/cliConfig.json +++ b/samples/cliConfig.json @@ -39,6 +39,7 @@ "autoAcceptMediationRequests": false, "adminPort": 4001, "tenancy": true, + "schemaFileServerURL": "https://schema.credebl.id/schemas/", "didRegistryContractAddress": "0x1adeA199dCf07E17232415Cb232442BE52517Add", "schemaManagerContractAddress": "0x289c7Bd4C7d38cC54bff370d6f9f01b74Df51b11", "rpcUrl": "https://rpc-amoy.polygon.technology", diff --git a/src/cli.ts b/src/cli.ts index 4f57ea24..4b0dd997 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -193,6 +193,7 @@ export async function runCliServer() { webhookUrl: parsed['webhook-url'], adminPort: parsed['admin-port'], tenancy: parsed['tenancy'], + schemaFileServerURL: parsed['schemaFileServerURL'], didRegistryContractAddress: parsed['didRegistryContractAddress'], schemaManagerContractAddress: parsed['schemaManagerContractAddress'], rpcUrl: parsed['rpcUrl'], diff --git a/src/cliAgent.ts b/src/cliAgent.ts index a6db21f2..233a770a 100644 --- a/src/cliAgent.ts +++ b/src/cliAgent.ts @@ -80,6 +80,7 @@ export interface AriesRestConfig { label: string walletConfig: WalletConfig indyLedger: indyLedger[] + adminPort: number publicDidSeed?: string endpoints?: string[] autoAcceptConnections?: boolean @@ -93,12 +94,12 @@ export interface AriesRestConfig { connectionImageUrl?: string tenancy?: boolean webhookUrl?: string - adminPort: number - didRegistryContractAddress: string - schemaManagerContractAddress: string - rpcUrl: string - fileServerUrl: string - fileServerToken: string + didRegistryContractAddress?: string + schemaManagerContractAddress?: string + rpcUrl?: string + fileServerUrl?: string + fileServerToken?: string + schemaFileServerURL?: string } export async function readRestConfig(path: string) { @@ -217,6 +218,7 @@ async function generateSecretKey(length: number = 32): Promise { export async function runRestAgent(restConfig: AriesRestConfig) { const { + schemaFileServerURL, logLevel, inboundTransports = [], outboundTransports = [], @@ -357,12 +359,12 @@ export async function runRestAgent(restConfig: AriesRestConfig) { const recordWithToken = genericRecord.find((record) => record?.content?.token !== undefined) token = recordWithToken?.content.token as string } - const app = await setupServer( agent, { webhookUrl, port: adminPort, + schemaFileServerURL, }, token ) diff --git a/src/controllers/did/DidController.ts b/src/controllers/did/DidController.ts index 15623268..dd883633 100644 --- a/src/controllers/did/DidController.ts +++ b/src/controllers/did/DidController.ts @@ -399,7 +399,8 @@ export class DidController extends Controller { public async handlePolygon(createDidOptions: DidCreate) { // need to discuss try catch logic const { endpoint, network, privatekey } = createDidOptions - if (network !== 'mainnet' && network !== 'testnet') { + const networkName = network?.split(':')[1] + if (networkName !== 'mainnet' && networkName !== 'testnet') { throw Error('Invalid network type') } if (!privatekey || typeof privatekey !== 'string' || !privatekey.trim() || privatekey.length !== 64) { @@ -409,7 +410,7 @@ export class DidController extends Controller { return this.agent.dids.create({ method: 'polygon', options: { - network, + network: networkName, endpoint, }, secret: { diff --git a/src/controllers/multi-tenancy/MultiTenancyController.ts b/src/controllers/multi-tenancy/MultiTenancyController.ts index 9a05e91e..009eb1f7 100644 --- a/src/controllers/multi-tenancy/MultiTenancyController.ts +++ b/src/controllers/multi-tenancy/MultiTenancyController.ts @@ -1,6 +1,6 @@ import type { RestAgentModules, RestMultiTenantAgentModules } from '../../cliAgent' import type { Version } from '../examples' -import type { RecipientKeyOption } from '../types' +import type { RecipientKeyOption, SchemaMetadata } from '../types' import type { PolygonDidCreateOptions } from '@ayanworks/credo-polygon-w3c-module/build/dids' import type { AcceptProofRequestOptions, @@ -49,6 +49,7 @@ import { } from '@credo-ts/core' import { QuestionAnswerRole, QuestionAnswerState } from '@credo-ts/question-answer' import axios from 'axios' +import * as fs from 'fs' import { CredentialEnum, DidMethod, Network, Role } from '../../enums/enum' import { BCOVRIN_REGISTER_URL, INDICIO_NYM_URL } from '../../utils/util' @@ -992,23 +993,39 @@ export class MultiTenancyController extends Controller { }, @Path('tenantId') tenantId: string, @Res() internalServerError: TsoaResponse<500, { message: string }> - ): Promise { + ): Promise { try { - let schemaResponse const { did, schemaName, schema } = createSchemaRequest if (!did || !schemaName || !schema) { throw Error('One or more parameters are empty or undefined.') } - await this.agent.modules.tenants.withTenantAgent({ tenantId }, async (tenantAgent) => { - //need to add the return type after adding the scham URL - schemaResponse = await tenantAgent.modules.polygon.createSchema({ + const schemaResponse = await this.agent.modules.tenants.withTenantAgent({ tenantId }, async (tenantAgent) => { + return await tenantAgent.modules.polygon.createSchema({ did, schemaName, schema, }) }) - return schemaResponse + + const configFileData = fs.readFileSync('config.json', 'utf-8') + const config = JSON.parse(configFileData) + + if (config.schemaFileServerURL.lenghth > 0 && config.schemaFileServerURL != undefined) { + throw new Error('Please provide valid schema file server URL') + } + + if (!schemaResponse?.schemaId) { + throw new Error('Invalid schema response') + } + const schemaPayload: SchemaMetadata = { + schemaUrl: config.schemaFileServerURL + schemaResponse?.schemaId, + did: schemaResponse?.did, + schemaId: schemaResponse?.schemaId, + schemaTxnHash: schemaResponse?.resourceTxnHash, + } + + return schemaPayload } catch (error) { return internalServerError(500, { message: `something went wrong: ${error}` }) } diff --git a/src/controllers/polygon/PolygonController.ts b/src/controllers/polygon/PolygonController.ts index f486751e..c36070cf 100644 --- a/src/controllers/polygon/PolygonController.ts +++ b/src/controllers/polygon/PolygonController.ts @@ -1,8 +1,10 @@ import type { RestAgentModules } from '../../cliAgent' +import type { SchemaMetadata } from '../types' import { generateSecp256k1KeyPair } from '@ayanworks/credo-polygon-w3c-module' import { DidOperation } from '@ayanworks/credo-polygon-w3c-module/build/ledger' import { Agent, CredoError } from '@credo-ts/core' +import * as fs from 'fs' import { injectable } from 'tsyringe' import { Route, Tags, Security, Controller, Post, TsoaResponse, Res, Body, Get, Path } from 'tsoa' @@ -62,11 +64,29 @@ export class Polygon extends Controller { }) } - return this.agent.modules.polygon.createSchema({ + const schemaResponse = await this.agent.modules.polygon.createSchema({ did, schemaName, schema, }) + + const configFileData = fs.readFileSync('config.json', 'utf-8') + const config = JSON.parse(configFileData) + + if (config.schemaFileServerURL.lenghth > 0 && config.schemaFileServerURL != undefined) { + throw new Error('Please provide valid schema file server URL') + } + + if (!schemaResponse?.schemaId) { + throw new Error('Invalid schema response') + } + const schemaPayload: SchemaMetadata = { + schemaUrl: config.schemaFileServerURL + schemaResponse?.schemaId, + did: schemaResponse?.did, + schemaId: schemaResponse?.schemaId, + schemaTxnHash: schemaResponse?.resourceTxnHash, + } + return schemaPayload } catch (error) { return internalServerError(500, { message: `something went wrong: ${error}` }) } diff --git a/src/controllers/types.ts b/src/controllers/types.ts index 7e117e72..b4e358bc 100644 --- a/src/controllers/types.ts +++ b/src/controllers/types.ts @@ -383,3 +383,10 @@ export interface WriteTransaction { export interface RecipientKeyOption { recipientKey?: string } + +export interface SchemaMetadata { + did: string + schemaId: string + schemaTxnHash?: string + schemaUrl?: string +} diff --git a/src/routes/routes.ts b/src/routes/routes.ts index 11d5af2a..cacc7edd 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -466,6 +466,17 @@ const models: TsoaRoute.Models = { "type": {"dataType":"string","validators":{}}, }, // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa + "SchemaMetadata": { + "dataType": "refObject", + "properties": { + "did": {"dataType":"string","required":true}, + "schemaId": {"dataType":"string","required":true}, + "schemaTxnHash": {"dataType":"string"}, + "schemaUrl": {"dataType":"string"}, + }, + "additionalProperties": false, + }, + // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa "WriteTransaction": { "dataType": "refObject", "properties": { diff --git a/src/routes/swagger.json b/src/routes/swagger.json index 914d405d..71ff49df 100644 --- a/src/routes/swagger.json +++ b/src/routes/swagger.json @@ -1104,6 +1104,28 @@ "type": "string", "example": "1.0.0" }, + "SchemaMetadata": { + "properties": { + "did": { + "type": "string" + }, + "schemaId": { + "type": "string" + }, + "schemaTxnHash": { + "type": "string" + }, + "schemaUrl": { + "type": "string" + } + }, + "required": [ + "did", + "schemaId" + ], + "type": "object", + "additionalProperties": false + }, "WriteTransaction": { "properties": { "endorsedTransaction": { @@ -4825,7 +4847,9 @@ "description": "Ok", "content": { "application/json": { - "schema": {} + "schema": { + "$ref": "#/components/schemas/SchemaMetadata" + } } } }, diff --git a/src/server.ts b/src/server.ts index 7cc1c599..56f4c943 100644 --- a/src/server.ts +++ b/src/server.ts @@ -7,6 +7,7 @@ import bodyParser from 'body-parser' import cors from 'cors' import express from 'express' import { rateLimit } from 'express-rate-limit' +import * as fs from 'fs' import { serve, generateHTML } from 'swagger-ui-express' import { container } from 'tsyringe' @@ -24,7 +25,7 @@ import { ValidateError, type Exception } from 'tsoa' export const setupServer = async (agent: Agent, config: ServerConfig, apiKey?: string) => { container.registerInstance(Agent, agent) - + fs.writeFileSync('config.json', JSON.stringify(config, null, 2)) const app = config.app ?? express() if (config.cors) app.use(cors()) diff --git a/src/utils/ServerConfig.ts b/src/utils/ServerConfig.ts index 3e628d82..4f66c053 100644 --- a/src/utils/ServerConfig.ts +++ b/src/utils/ServerConfig.ts @@ -8,4 +8,5 @@ export interface ServerConfig { webhookUrl?: string /* Socket server is used for sending events over websocket to clients */ socketServer?: Server + schemaFileServerURL?: string } From 30e2bd7a4f9eed1b5bc890e158626c0ad3677962 Mon Sep 17 00:00:00 2001 From: tipusinghaw Date: Fri, 10 May 2024 17:21:33 +0530 Subject: [PATCH 18/20] fix: invalid validation Signed-off-by: tipusinghaw --- src/controllers/multi-tenancy/MultiTenancyController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/multi-tenancy/MultiTenancyController.ts b/src/controllers/multi-tenancy/MultiTenancyController.ts index 009eb1f7..e02795fe 100644 --- a/src/controllers/multi-tenancy/MultiTenancyController.ts +++ b/src/controllers/multi-tenancy/MultiTenancyController.ts @@ -1011,7 +1011,7 @@ export class MultiTenancyController extends Controller { const configFileData = fs.readFileSync('config.json', 'utf-8') const config = JSON.parse(configFileData) - if (config.schemaFileServerURL.lenghth > 0 && config.schemaFileServerURL != undefined) { + if (!config.schemaFileServerURL) { throw new Error('Please provide valid schema file server URL') } From bc2adbd495fb7dc028a382485fe133eaa79e3a43 Mon Sep 17 00:00:00 2001 From: tipusinghaw Date: Tue, 14 May 2024 11:08:01 +0530 Subject: [PATCH 19/20] feat: added schema URL dynamically Signed-off-by: tipusinghaw --- src/controllers/multi-tenancy/MultiTenancyController.ts | 1 - src/controllers/polygon/PolygonController.ts | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/controllers/multi-tenancy/MultiTenancyController.ts b/src/controllers/multi-tenancy/MultiTenancyController.ts index e02795fe..f02568ed 100644 --- a/src/controllers/multi-tenancy/MultiTenancyController.ts +++ b/src/controllers/multi-tenancy/MultiTenancyController.ts @@ -1010,7 +1010,6 @@ export class MultiTenancyController extends Controller { const configFileData = fs.readFileSync('config.json', 'utf-8') const config = JSON.parse(configFileData) - if (!config.schemaFileServerURL) { throw new Error('Please provide valid schema file server URL') } diff --git a/src/controllers/polygon/PolygonController.ts b/src/controllers/polygon/PolygonController.ts index c36070cf..12c552a4 100644 --- a/src/controllers/polygon/PolygonController.ts +++ b/src/controllers/polygon/PolygonController.ts @@ -72,8 +72,7 @@ export class Polygon extends Controller { const configFileData = fs.readFileSync('config.json', 'utf-8') const config = JSON.parse(configFileData) - - if (config.schemaFileServerURL.lenghth > 0 && config.schemaFileServerURL != undefined) { + if (!config.schemaFileServerURL) { throw new Error('Please provide valid schema file server URL') } From 891004659a300b28a6e73b5f0f9dca40d156ed7a Mon Sep 17 00:00:00 2001 From: tipusinghaw Date: Tue, 14 May 2024 12:15:50 +0530 Subject: [PATCH 20/20] fix: duplicate code issue Signed-off-by: tipusinghaw --- src/controllers/polygon/PolygonController.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/controllers/polygon/PolygonController.ts b/src/controllers/polygon/PolygonController.ts index 12c552a4..86427367 100644 --- a/src/controllers/polygon/PolygonController.ts +++ b/src/controllers/polygon/PolygonController.ts @@ -70,9 +70,9 @@ export class Polygon extends Controller { schema, }) - const configFileData = fs.readFileSync('config.json', 'utf-8') - const config = JSON.parse(configFileData) - if (!config.schemaFileServerURL) { + const schemaServerConfig = fs.readFileSync('config.json', 'utf-8') + const configJson = JSON.parse(schemaServerConfig) + if (!configJson.schemaFileServerURL) { throw new Error('Please provide valid schema file server URL') } @@ -80,7 +80,7 @@ export class Polygon extends Controller { throw new Error('Invalid schema response') } const schemaPayload: SchemaMetadata = { - schemaUrl: config.schemaFileServerURL + schemaResponse?.schemaId, + schemaUrl: configJson.schemaFileServerURL + schemaResponse?.schemaId, did: schemaResponse?.did, schemaId: schemaResponse?.schemaId, schemaTxnHash: schemaResponse?.resourceTxnHash,