Skip to content

Commit

Permalink
Merge pull request #21 from runtimeverification/raoul/ws-to-wss
Browse files Browse the repository at this point in the history
Move to wss:// instead of ws://
  • Loading branch information
RaoulSchaffranek authored Oct 30, 2024
2 parents 8639a6b + 9d42581 commit 01d99f3
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 133 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the "Simbolik VSCode" extension will be documented in this file.

## [3.1.1] - 2024-30-10

- Communication with the Simbolik API is now done over HTTPS and WSS

## [3.1.0] - 2024-16-10

- Added `chainId` option to attach-configurations
Expand Down
176 changes: 47 additions & 129 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"publisher": "runtimeverification",
"description": "Advanced Solidity and EVM Debugger",
"version": "3.1.0",
"version": "3.1.1",
"engines": {
"vscode": "^1.79.0"
},
Expand Down Expand Up @@ -51,7 +51,7 @@
},
"simbolik.server": {
"type": "string",
"default": "ws://beta.simbolik.runtimeverification.com:3000",
"default": "wss://beta.simbolik.runtimeverification.com",
"description": "The websocket URL where the simbolik server is listening. Do not change this unless you are running your own simbolik server.",
"order": 1
},
Expand Down
2 changes: 1 addition & 1 deletion src/DebugAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class SolidityDebugAdapterDescriptorFactory
executable: vscode.DebugAdapterExecutable | undefined
): Promise<vscode.ProviderResult<vscode.DebugAdapterDescriptor>> {
return new Promise((resolve, reject) => {
const server = getConfigValue('server', 'ws://beta.simbolik.runtimeverification.com:3000');
const server = getConfigValue('server', 'wss://beta.simbolik.runtimeverification.com');
const websocket = new WebSocket(server);
websocket.once('open', () => {
const websocketAdapter = new WebsocketDebugAdapter(websocket, session.configuration);
Expand Down
2 changes: 1 addition & 1 deletion src/DebugAdapter.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class SolidityDebugAdapterDescriptorFactory
executable: vscode.DebugAdapterExecutable | undefined
): Promise<vscode.ProviderResult<vscode.DebugAdapterDescriptor>> {
return new Promise((resolve, reject) => {
const server = getConfigValue('server', 'ws://beta.simbolik.runtimeverification.com:3000');
const server = getConfigValue('server', 'wss://beta.simbolik.runtimeverification.com');
const websocket = new WebSocket(server);
websocket.onopen = () => {
const websocketAdapter = new WebsocketDebugAdapter(websocket);
Expand Down

0 comments on commit 01d99f3

Please sign in to comment.