@xmobitea/gn-typescript-client 2.4.3 → 2.4.4

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.
package/dist/index.js CHANGED
@@ -5380,7 +5380,7 @@ class OperationRequest {
5380
5380
  }
5381
5381
  toString() {
5382
5382
  var _a;
5383
- 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;
5383
+ 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;
5384
5384
  }
5385
5385
  }
5386
5386
  OperationRequest.defaultTimeOut = 15;
@@ -25902,7 +25902,7 @@ class OperationEvent {
25902
25902
  }
25903
25903
  toString() {
25904
25904
  var _a;
25905
- return "Code: " + CodeHelper.getEventCodeName(this.eventCode) + " (" + this.eventCode + ")" + ", parameters " + ((_a = this.parameters) === null || _a === void 0 ? void 0 : _a.toData()) + ", encrypted " + this.encrypted;
25905
+ 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;
25906
25906
  }
25907
25907
  }
25908
25908
 
@@ -25996,7 +25996,7 @@ class OperationResponse {
25996
25996
  let stringBuilder = "";
25997
25997
  stringBuilder += "Code: " + CodeHelper.getOperationCodeName(this.operationCode) + " (" + this.operationCode + ")" + ", responseId: " + this.responseId + ", returnCode " + CodeHelper.getReturnCodeName(this.returnCode);
25998
25998
  if (this.returnCode == ReturnCode.Ok)
25999
- stringBuilder += ", parameters " + ((_a = this.parameters) === null || _a === void 0 ? void 0 : _a.toData());
25999
+ stringBuilder += ", parameters " + JSON.stringify((_a = this.parameters) === null || _a === void 0 ? void 0 : _a.toData());
26000
26000
  else if (this.returnCode == ReturnCode.InvalidRequestParameters) {
26001
26001
  if (this.invalidMembers != null) {
26002
26002
  let invalidStr = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmobitea/gn-typescript-client",
3
- "version": "2.4.3",
3
+ "version": "2.4.4",
4
4
  "description": "",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",