@xmobitea/gn-typescript-client 2.4.3-esnext → 2.4.4-esnext
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,6 +28,6 @@ export class OperationEvent {
|
|
|
28
28
|
}
|
|
29
29
|
toString() {
|
|
30
30
|
var _a;
|
|
31
|
-
return "Code: " + CodeHelper.getEventCodeName(this.eventCode) + " (" + this.eventCode + ")" + ", parameters " + ((_a = this.parameters) === null || _a === void 0 ? void 0 : _a.toData()) + ", encrypted " + this.encrypted;
|
|
31
|
+
return "Code: " + CodeHelper.getEventCodeName(this.eventCode) + " (" + this.eventCode + ")" + ", parameters " + JSON.stringify((_a = this.parameters) === null || _a === void 0 ? void 0 : _a.toData()) + ", encrypted " + this.encrypted;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -45,7 +45,7 @@ export class OperationRequest {
|
|
|
45
45
|
}
|
|
46
46
|
toString() {
|
|
47
47
|
var _a;
|
|
48
|
-
return "Code: " + CodeHelper.getOperationCodeName(this.operationCode) + " (" + this.operationCode + ")" + ", requestId: " + this.requestId + ", parameters " + ((_a = this.parameters) === null || _a === void 0 ? void 0 : _a.toData()) + ", encrypted " + this.encrypted;
|
|
48
|
+
return "Code: " + CodeHelper.getOperationCodeName(this.operationCode) + " (" + this.operationCode + ")" + ", requestId: " + this.requestId + ", parameters " + JSON.stringify((_a = this.parameters) === null || _a === void 0 ? void 0 : _a.toData()) + ", encrypted " + this.encrypted;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
OperationRequest.defaultTimeOut = 15;
|
|
@@ -62,7 +62,7 @@ export class OperationResponse {
|
|
|
62
62
|
let stringBuilder = "";
|
|
63
63
|
stringBuilder += "Code: " + CodeHelper.getOperationCodeName(this.operationCode) + " (" + this.operationCode + ")" + ", responseId: " + this.responseId + ", returnCode " + CodeHelper.getReturnCodeName(this.returnCode);
|
|
64
64
|
if (this.returnCode == ReturnCode.Ok)
|
|
65
|
-
stringBuilder += ", parameters " + ((_a = this.parameters) === null || _a === void 0 ? void 0 : _a.toData());
|
|
65
|
+
stringBuilder += ", parameters " + JSON.stringify((_a = this.parameters) === null || _a === void 0 ? void 0 : _a.toData());
|
|
66
66
|
else if (this.returnCode == ReturnCode.InvalidRequestParameters) {
|
|
67
67
|
if (this.invalidMembers != null) {
|
|
68
68
|
let invalidStr = "";
|