@metamask-institutional/websocket-client
Advanced tools
Comparing version
@@ -6,2 +6,30 @@ # Change Log | ||
## [0.1.12](https://github.com/consensys-vertical-apps/metamask-institutional/compare/@metamask-institutional/websocket-client@0.1.7...@metamask-institutional/websocket-client@0.1.12) (2023-02-02) | ||
**Note:** Version bump only for package @metamask-institutional/websocket-client | ||
### Dependencies | ||
- The following workspace dependencies were updated | ||
- dependencies | ||
- @metamask-institutional/custody-keyring bumped from ^0.0.10 to ^0.0.11 | ||
### Dependencies | ||
- The following workspace dependencies were updated | ||
- dependencies | ||
- @metamask-institutional/custody-keyring bumped from ^0.0.11 to ^0.0.12 | ||
### Dependencies | ||
- The following workspace dependencies were updated | ||
- dependencies | ||
- @metamask-institutional/custody-keyring bumped from ^0.0.12 to ^0.0.13 | ||
### Dependencies | ||
- The following workspace dependencies were updated | ||
- dependencies | ||
- @metamask-institutional/custody-keyring bumped from ^0.0.13 to ^0.0.14 | ||
## [0.1.7](https://github.com/consensys-vertical-apps/metamask-institutional/compare/@metamask-institutional/websocket-client@0.1.5...@metamask-institutional/websocket-client@0.1.7) (2023-02-01) | ||
@@ -8,0 +36,0 @@ |
{ | ||
"name": "@metamask-institutional/websocket-client", | ||
"version": "0.1.7", | ||
"version": "0.1.12", | ||
"description": "This package will export WebsocketClient, responsible for establishing a connection to the WebSocket API and handle all the messages for transaction updates.", | ||
@@ -22,3 +22,3 @@ "author": "Antonio Regadas <apregadas@gmail.com>", | ||
"build": "yarn clean && tsc --build && cp \"./package.json\" ./dist/", | ||
"test": "yarn jest", | ||
"test": "yarn jest --forceExit", | ||
"lint": "eslint 'src/**/*.ts'", | ||
@@ -31,6 +31,6 @@ "lint:fix": "eslint --fix 'src/**/*.ts'", | ||
}, | ||
"gitHead": "13328a96bef1d69dd6b06a3bac48c9208a07c59e", | ||
"gitHead": "3fd651f60441a42333c1ab10d6f63eed610df3d0", | ||
"dependencies": { | ||
"@metamask-institutional/custody-keyring": "^0.0.10", | ||
"@metamask-institutional/sdk": "^0.1.12", | ||
"@metamask-institutional/custody-keyring": "^0.0.15", | ||
"@metamask-institutional/sdk": "^0.1.13", | ||
"@metamask-institutional/types": "^1.0.1", | ||
@@ -37,0 +37,0 @@ "mock-socket": "^9.1.5" |
@@ -57,3 +57,3 @@ "use strict"; | ||
this.captureException(new Error(msg.error)); | ||
console.error(msg.error); | ||
console.log(msg.error); | ||
this.onFailure(); | ||
@@ -90,3 +90,3 @@ } | ||
onError(event) { | ||
console.error(`[error] ${JSON.stringify(event)}`); | ||
console.log(`[error] ${JSON.stringify(event)}`); | ||
this.ws.close(); | ||
@@ -93,0 +93,0 @@ } |
{ | ||
"name": "@metamask-institutional/websocket-client", | ||
"version": "0.1.7", | ||
"version": "0.1.12", | ||
"description": "This package will export WebsocketClient, responsible for establishing a connection to the WebSocket API and handle all the messages for transaction updates.", | ||
@@ -22,3 +22,3 @@ "author": "Antonio Regadas <apregadas@gmail.com>", | ||
"build": "yarn clean && tsc --build && cp \"./package.json\" ./dist/", | ||
"test": "yarn jest", | ||
"test": "yarn jest --forceExit", | ||
"lint": "eslint 'src/**/*.ts'", | ||
@@ -31,6 +31,6 @@ "lint:fix": "eslint --fix 'src/**/*.ts'", | ||
}, | ||
"gitHead": "13328a96bef1d69dd6b06a3bac48c9208a07c59e", | ||
"gitHead": "3fd651f60441a42333c1ab10d6f63eed610df3d0", | ||
"dependencies": { | ||
"@metamask-institutional/custody-keyring": "^0.0.10", | ||
"@metamask-institutional/sdk": "^0.1.12", | ||
"@metamask-institutional/custody-keyring": "^0.0.15", | ||
"@metamask-institutional/sdk": "^0.1.13", | ||
"@metamask-institutional/types": "^1.0.1", | ||
@@ -37,0 +37,0 @@ "mock-socket": "^9.1.5" |
@@ -101,3 +101,3 @@ import { MmiConfigurationController } from "@metamask-institutional/custody-keyring"; | ||
this.captureException(new Error(msg.error)); | ||
console.error(msg.error); | ||
console.log(msg.error); | ||
@@ -145,3 +145,3 @@ this.onFailure(); | ||
public onError(event: any): void { | ||
console.error(`[error] ${JSON.stringify(event)}`); | ||
console.log(`[error] ${JSON.stringify(event)}`); | ||
@@ -148,0 +148,0 @@ this.ws.close(); |
Sorry, the diff of this file is not supported yet
57502
1.69%+ Added
+ Added
- Removed
- Removed