Skip to content

Update src/instant_messaging/L2PSMessagingPeer.ts

8cee729
Select commit
Loading
Failed to load commit list.
Merged

feat: add L2PS messaging client and protocol types #82

Update src/instant_messaging/L2PSMessagingPeer.ts
8cee729
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 26, 2026 in 51s

Annotations

Check warning on line 479 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0qzlFH8tYMFOVoRWkf&open=AZ0qzlFH8tYMFOVoRWkf&pullRequest=82

Check warning on line 491 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0qzlFH8tYMFOVoRWkg&open=AZ0qzlFH8tYMFOVoRWkg&pullRequest=82

Check warning on line 106 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'maxReconnectAttempts' is never reassigned; mark it as `readonly`.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0BUIQO9xZfPpEopmtM&open=AZ0BUIQO9xZfPpEopmtM&pullRequest=82

Check warning on line 180 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to variable "key".

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0BUIQO9xZfPpEopmtO&open=AZ0BUIQO9xZfPpEopmtO&pullRequest=82

Check warning on line 89 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'connectionStateHandlers' is never reassigned; mark it as `readonly`.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0BUIQO9xZfPpEopmtJ&open=AZ0BUIQO9xZfPpEopmtJ&pullRequest=82

Check warning on line 481 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0BUIQO9xZfPpEopmtQ&open=AZ0BUIQO9xZfPpEopmtQ&pullRequest=82

Check warning on line 86 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'errorHandlers' is never reassigned; mark it as `readonly`.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0BUIQO9xZfPpEopmtG&open=AZ0BUIQO9xZfPpEopmtG&pullRequest=82

Check warning on line 93 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'pendingResponses' is never reassigned; mark it as `readonly`.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0BUIQO9xZfPpEopmtK&open=AZ0BUIQO9xZfPpEopmtK&pullRequest=82

Check warning on line 107 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'baseReconnectDelay' is never reassigned; mark it as `readonly`.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0BUIQO9xZfPpEopmtN&open=AZ0BUIQO9xZfPpEopmtN&pullRequest=82

Check warning on line 88 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'peerLeftHandlers' is never reassigned; mark it as `readonly`.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0BUIQO9xZfPpEopmtI&open=AZ0BUIQO9xZfPpEopmtI&pullRequest=82

Check warning on line 157 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since the receiver accepts the original type of the expression.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0qzlFH8tYMFOVoRWkd&open=AZ0qzlFH8tYMFOVoRWkd&pullRequest=82

Check warning on line 85 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'messageHandlers' is never reassigned; mark it as `readonly`.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0BUIQO9xZfPpEopmtF&open=AZ0BUIQO9xZfPpEopmtF&pullRequest=82

Check warning on line 102 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'messageQueue' is never reassigned; mark it as `readonly`.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0BUIQO9xZfPpEopmtL&open=AZ0BUIQO9xZfPpEopmtL&pullRequest=82

Check warning on line 28 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'StoredMessage'.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0BUIQO9xZfPpEopmtD&open=AZ0BUIQO9xZfPpEopmtD&pullRequest=82

Check warning on line 87 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'peerJoinedHandlers' is never reassigned; mark it as `readonly`.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0BUIQO9xZfPpEopmtH&open=AZ0BUIQO9xZfPpEopmtH&pullRequest=82

Check warning on line 82 in src/instant_messaging/L2PSMessagingPeer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'config' is never reassigned; mark it as `readonly`.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_sdks&issues=AZ0BUIQO9xZfPpEopmtE&open=AZ0BUIQO9xZfPpEopmtE&pullRequest=82