Skip to content

Commit

Permalink
fixed prettier format errors with linting
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusGarmeister committed Aug 1, 2024
1 parent de5a952 commit bb39a13
Show file tree
Hide file tree
Showing 42 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion src/cli/createDidConfig.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/getExtension/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/CredentialApiMessageType.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
8 changes: 4 additions & 4 deletions src/messaging/Error.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/**
* 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 {}
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'
}
}
2 changes: 1 addition & 1 deletion src/messaging/Message.test.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/MessageEnvelope.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/attestation/Attestation.test.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/attestation/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/attestation/request.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/attestation/response.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/misc/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/session/Session.test.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/session/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/session/request.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/session/response.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/verifier/Verifier.test.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/verifier/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/verifier/request.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/interface/verifier/response.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/utils.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/quote/Error.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/quote/Quote.test.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/quote/Quote.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/quote/QuoteSchema.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/quote/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/tests/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/tests/messageUtils.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/tests/utils.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/types/Credential.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/types/Imported.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/types/Message.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/types/Quote.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/types/Session.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/types/Window.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/utils/TypeGuards.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/wellKnownDidConfiguration/index.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit bb39a13

Please sign in to comment.