From bb39a13512eab143a48a086be6cf28e283d97409 Mon Sep 17 00:00:00 2001 From: MarkusGarmeister Date: Thu, 1 Aug 2024 10:03:51 +0200 Subject: [PATCH] fixed prettier format errors with linting --- src/cli/createDidConfig.ts | 2 +- src/getExtension/index.ts | 2 +- src/index.ts | 2 +- src/messaging/CredentialApiMessageType.ts | 2 +- src/messaging/Error.ts | 8 ++++---- src/messaging/Message.test.ts | 2 +- src/messaging/MessageEnvelope.ts | 2 +- src/messaging/index.ts | 2 +- src/messaging/interface/attestation/Attestation.test.ts | 2 +- src/messaging/interface/attestation/index.ts | 2 +- src/messaging/interface/attestation/request.ts | 2 +- src/messaging/interface/attestation/response.ts | 2 +- src/messaging/interface/index.ts | 2 +- src/messaging/interface/misc/index.ts | 2 +- src/messaging/interface/session/Session.test.ts | 2 +- src/messaging/interface/session/index.ts | 2 +- src/messaging/interface/session/request.ts | 2 +- src/messaging/interface/session/response.ts | 2 +- src/messaging/interface/verifier/Verifier.test.ts | 2 +- src/messaging/interface/verifier/index.ts | 2 +- src/messaging/interface/verifier/request.ts | 2 +- src/messaging/interface/verifier/response.ts | 2 +- src/messaging/utils.ts | 2 +- src/quote/Error.ts | 2 +- src/quote/Quote.test.ts | 2 +- src/quote/Quote.ts | 2 +- src/quote/QuoteSchema.ts | 2 +- src/quote/index.ts | 2 +- src/tests/index.ts | 2 +- src/tests/messageUtils.ts | 2 +- src/tests/utils.ts | 2 +- src/types/Credential.ts | 2 +- src/types/Imported.ts | 2 +- src/types/Message.ts | 2 +- src/types/Quote.ts | 2 +- src/types/Session.ts | 2 +- src/types/Window.ts | 2 +- src/types/index.ts | 2 +- src/utils/TypeGuards.ts | 2 +- src/utils/index.ts | 2 +- src/wellKnownDidConfiguration/index.ts | 2 +- .../wellKnownDidConfiguration.test.ts | 2 +- 42 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src/cli/createDidConfig.ts b/src/cli/createDidConfig.ts index f8dc6db..a52194a 100644 --- a/src/cli/createDidConfig.ts +++ b/src/cli/createDidConfig.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/getExtension/index.ts b/src/getExtension/index.ts index 68bbf97..7ae0817 100644 --- a/src/getExtension/index.ts +++ b/src/getExtension/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/index.ts b/src/index.ts index 31611fd..beb9374 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/CredentialApiMessageType.ts b/src/messaging/CredentialApiMessageType.ts index 1a89149..1a045b5 100644 --- a/src/messaging/CredentialApiMessageType.ts +++ b/src/messaging/CredentialApiMessageType.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/Error.ts b/src/messaging/Error.ts index d8d9b7d..8a92b27 100644 --- a/src/messaging/Error.ts +++ b/src/messaging/Error.ts @@ -1,11 +1,11 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. */ -import { SDKErrors } from "@kiltprotocol/sdk-js"; +import { SDKErrors } from '@kiltprotocol/sdk-js' export class UnknownMessageBodyTypeError extends SDKErrors.SDKError {} export class DecodingMessageError extends SDKErrors.SDKError {} @@ -13,7 +13,7 @@ export class CTypeUnknownPropertiesError extends SDKErrors.SDKError {} export class KeyError extends SDKErrors.SDKError {} export class IdentityMismatchError extends SDKErrors.SDKError { constructor(context?: string, type?: string) { - super(`Identity mismatch${context ? ` in context: ${context}` : ''}${type ? ` of type ${type}` : ''}`); - this.name = 'IdentityMismatchError'; + super(`Identity mismatch${context ? ` in context: ${context}` : ''}${type ? ` of type ${type}` : ''}`) + this.name = 'IdentityMismatchError' } } \ No newline at end of file diff --git a/src/messaging/Message.test.ts b/src/messaging/Message.test.ts index 178d33e..32bb690 100644 --- a/src/messaging/Message.test.ts +++ b/src/messaging/Message.test.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/MessageEnvelope.ts b/src/messaging/MessageEnvelope.ts index d85c0e1..4620602 100644 --- a/src/messaging/MessageEnvelope.ts +++ b/src/messaging/MessageEnvelope.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/index.ts b/src/messaging/index.ts index e7f85ff..05ce19d 100644 --- a/src/messaging/index.ts +++ b/src/messaging/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/attestation/Attestation.test.ts b/src/messaging/interface/attestation/Attestation.test.ts index 76874f8..5681dc2 100644 --- a/src/messaging/interface/attestation/Attestation.test.ts +++ b/src/messaging/interface/attestation/Attestation.test.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/attestation/index.ts b/src/messaging/interface/attestation/index.ts index ab25048..76bd425 100644 --- a/src/messaging/interface/attestation/index.ts +++ b/src/messaging/interface/attestation/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/attestation/request.ts b/src/messaging/interface/attestation/request.ts index b159179..4712f38 100644 --- a/src/messaging/interface/attestation/request.ts +++ b/src/messaging/interface/attestation/request.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/attestation/response.ts b/src/messaging/interface/attestation/response.ts index d02a581..62d8e8f 100644 --- a/src/messaging/interface/attestation/response.ts +++ b/src/messaging/interface/attestation/response.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/index.ts b/src/messaging/interface/index.ts index a432bcc..b19a7d3 100644 --- a/src/messaging/interface/index.ts +++ b/src/messaging/interface/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/misc/index.ts b/src/messaging/interface/misc/index.ts index 90c3d26..749b3ee 100644 --- a/src/messaging/interface/misc/index.ts +++ b/src/messaging/interface/misc/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/session/Session.test.ts b/src/messaging/interface/session/Session.test.ts index fa38cea..b0d4dfd 100644 --- a/src/messaging/interface/session/Session.test.ts +++ b/src/messaging/interface/session/Session.test.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/session/index.ts b/src/messaging/interface/session/index.ts index ab25048..76bd425 100644 --- a/src/messaging/interface/session/index.ts +++ b/src/messaging/interface/session/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/session/request.ts b/src/messaging/interface/session/request.ts index 89738d8..b7b04ec 100644 --- a/src/messaging/interface/session/request.ts +++ b/src/messaging/interface/session/request.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/session/response.ts b/src/messaging/interface/session/response.ts index c64ac5d..3e644c1 100644 --- a/src/messaging/interface/session/response.ts +++ b/src/messaging/interface/session/response.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/verifier/Verifier.test.ts b/src/messaging/interface/verifier/Verifier.test.ts index 3f750d1..8138c6a 100644 --- a/src/messaging/interface/verifier/Verifier.test.ts +++ b/src/messaging/interface/verifier/Verifier.test.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/verifier/index.ts b/src/messaging/interface/verifier/index.ts index ab25048..76bd425 100644 --- a/src/messaging/interface/verifier/index.ts +++ b/src/messaging/interface/verifier/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/verifier/request.ts b/src/messaging/interface/verifier/request.ts index 43e8193..48295a1 100644 --- a/src/messaging/interface/verifier/request.ts +++ b/src/messaging/interface/verifier/request.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/interface/verifier/response.ts b/src/messaging/interface/verifier/response.ts index b10e79f..37337bf 100644 --- a/src/messaging/interface/verifier/response.ts +++ b/src/messaging/interface/verifier/response.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/messaging/utils.ts b/src/messaging/utils.ts index d158c79..1099ac6 100644 --- a/src/messaging/utils.ts +++ b/src/messaging/utils.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/quote/Error.ts b/src/quote/Error.ts index 6ed9a28..ad7096c 100644 --- a/src/quote/Error.ts +++ b/src/quote/Error.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/quote/Quote.test.ts b/src/quote/Quote.test.ts index 9212570..e8d5de6 100644 --- a/src/quote/Quote.test.ts +++ b/src/quote/Quote.test.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/quote/Quote.ts b/src/quote/Quote.ts index 6e2741a..11ea317 100644 --- a/src/quote/Quote.ts +++ b/src/quote/Quote.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/quote/QuoteSchema.ts b/src/quote/QuoteSchema.ts index f982258..84b1bb0 100644 --- a/src/quote/QuoteSchema.ts +++ b/src/quote/QuoteSchema.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/quote/index.ts b/src/quote/index.ts index c761819..0013f40 100644 --- a/src/quote/index.ts +++ b/src/quote/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/tests/index.ts b/src/tests/index.ts index 5dd5e97..1e90c93 100644 --- a/src/tests/index.ts +++ b/src/tests/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/tests/messageUtils.ts b/src/tests/messageUtils.ts index b2fa680..5db1f1c 100644 --- a/src/tests/messageUtils.ts +++ b/src/tests/messageUtils.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/tests/utils.ts b/src/tests/utils.ts index b69d83c..07bc935 100644 --- a/src/tests/utils.ts +++ b/src/tests/utils.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/types/Credential.ts b/src/types/Credential.ts index f40f220..475b969 100644 --- a/src/types/Credential.ts +++ b/src/types/Credential.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/types/Imported.ts b/src/types/Imported.ts index 8e535a9..a217839 100644 --- a/src/types/Imported.ts +++ b/src/types/Imported.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/types/Message.ts b/src/types/Message.ts index 9632d36..922fd78 100644 --- a/src/types/Message.ts +++ b/src/types/Message.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/types/Quote.ts b/src/types/Quote.ts index a6e683e..3b658cf 100644 --- a/src/types/Quote.ts +++ b/src/types/Quote.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/types/Session.ts b/src/types/Session.ts index 5a46c10..7f1c3ca 100644 --- a/src/types/Session.ts +++ b/src/types/Session.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/types/Window.ts b/src/types/Window.ts index 7eda995..5c7051c 100644 --- a/src/types/Window.ts +++ b/src/types/Window.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/types/index.ts b/src/types/index.ts index 6253a55..c8bc163 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/utils/TypeGuards.ts b/src/utils/TypeGuards.ts index 6dd9285..717713e 100644 --- a/src/utils/TypeGuards.ts +++ b/src/utils/TypeGuards.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/utils/index.ts b/src/utils/index.ts index 2e57ead..5456991 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/wellKnownDidConfiguration/index.ts b/src/wellKnownDidConfiguration/index.ts index 74ffb68..16153dc 100644 --- a/src/wellKnownDidConfiguration/index.ts +++ b/src/wellKnownDidConfiguration/index.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree. diff --git a/src/wellKnownDidConfiguration/wellKnownDidConfiguration.test.ts b/src/wellKnownDidConfiguration/wellKnownDidConfiguration.test.ts index 3408f1e..d55cc1c 100644 --- a/src/wellKnownDidConfiguration/wellKnownDidConfiguration.test.ts +++ b/src/wellKnownDidConfiguration/wellKnownDidConfiguration.test.ts @@ -1,5 +1,5 @@ /** - * Copyright (c) 2018-2024, Built on KILT. + * Copyright (c) 2018-2023, Built on KILT. * * This source code is licensed under the BSD 4-Clause "Original" license * found in the LICENSE file in the root directory of this source tree.