@re-ai/inner-tool-sdk
Advanced tools
Comparing version 0.2.11 to 0.2.12
@@ -5,2 +5,3 @@ "use strict"; | ||
const WSBridgeAgent_1 = require("../libs/WSBridgeAgent"); | ||
const Logger_1 = require("../utils/Logger"); | ||
class NetBridgeService { | ||
@@ -27,2 +28,3 @@ agent; | ||
catch (e) { | ||
Logger_1.Logger.error("request err", e.message); | ||
reject(e); | ||
@@ -29,0 +31,0 @@ } |
{ | ||
"name": "@re-ai/inner-tool-sdk", | ||
"version": "0.2.11", | ||
"version": "0.2.12", | ||
"description": "ReAI内部接口sdk", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -84,3 +84,2 @@ import WebSocket, { CloseEvent, ErrorEvent, MessageEvent } from "ws" | ||
} catch (err) { | ||
@@ -87,0 +86,0 @@ Logger.error("[WSBridge] message err", err) |
@@ -5,2 +5,3 @@ import WebSocket from "ws"; | ||
import { WSBridgePayload, WSBridgeResponse } from "../types/bridge"; | ||
import { Logger } from "../utils/Logger"; | ||
@@ -31,3 +32,4 @@ export class NetBridgeService implements NetBridge { | ||
}); | ||
} catch (e) { | ||
} catch (e: any) { | ||
Logger.error("request err", e.message) | ||
reject(e); | ||
@@ -34,0 +36,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
157229
4162