browserstack-node-sdk 1.55.5 → 1.55.7

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.
Files changed (202) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/generated/sdk-messages_pb.d.ts +40 -0
  41. package/generated/sdk-messages_pb.js +322 -2
  42. package/package.json +2 -2
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test.setup.js +1 -1
  69. package/src/bin/jest/test_before.setup.js +1 -1
  70. package/src/bin/launcher/launcher.js +1 -1
  71. package/src/bin/load/index.js +1 -1
  72. package/src/bin/load/loadUtils.js +1 -1
  73. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  74. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  75. package/src/bin/mocha/command.js +1 -1
  76. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  77. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  78. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  79. package/src/bin/mocha/test.setup.js +1 -1
  80. package/src/bin/newman/command.js +1 -1
  81. package/src/bin/newman/helper.js +1 -1
  82. package/src/bin/newman/reporter/index.js +1 -1
  83. package/src/bin/newman/scriptRunner.js +1 -1
  84. package/src/bin/nightwatch/command.js +1 -1
  85. package/src/bin/playwright/accessibility-helper.js +1 -1
  86. package/src/bin/playwright/command.js +1 -1
  87. package/src/bin/playwright/globalSetup.js +1 -1
  88. package/src/bin/playwright/mock-process.js +1 -1
  89. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  90. package/src/bin/playwright/patches.js +1 -1
  91. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  92. package/src/bin/playwright/reporter/reporter.js +1 -1
  93. package/src/bin/playwright/reporter/test-details.js +1 -1
  94. package/src/bin/playwright/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/patches.js +1 -1
  96. package/src/bin/puppeteer/sessionDetails.js +1 -1
  97. package/src/bin/puppeteer/test.setup.js +1 -1
  98. package/src/bin/runner.js +1 -1
  99. package/src/bin/setup.js +1 -1
  100. package/src/bin/test-runner/index.js +1 -1
  101. package/src/bin/test-runner/runTest.js +1 -1
  102. package/src/bin/test-runner/testWorker.js +1 -1
  103. package/src/bin/utils/apiUtilityMethods.js +1 -1
  104. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  105. package/src/bin/utils/constants.js +1 -1
  106. package/src/bin/utils/log4jsAppender.js +1 -1
  107. package/src/bin/utils/logPatcher.js +1 -1
  108. package/src/bin/utils/logReportingAPI.js +1 -1
  109. package/src/bin/utils/playwright-patcher.js +1 -1
  110. package/src/bin/utils/puppeteer-patcher.js +1 -1
  111. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  112. package/src/bin/utils/sharedUtils.js +1 -1
  113. package/src/bin/v2/TestInfo.js +1 -1
  114. package/src/bin/v2/browserstackCLI.js +1 -1
  115. package/src/bin/v2/cliUtils.js +1 -1
  116. package/src/bin/v2/customTagManager.js +1 -1
  117. package/src/bin/v2/eventDispatcher.js +1 -1
  118. package/src/bin/v2/framework/automationFramework.js +1 -1
  119. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  120. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  121. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  122. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  123. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  124. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  126. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  127. package/src/bin/v2/framework/testFramework.js +1 -1
  128. package/src/bin/v2/grpcClient.js +1 -1
  129. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  130. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  131. package/src/bin/v2/instances/trackedContext.js +1 -1
  132. package/src/bin/v2/instances/trackedInstance.js +1 -1
  133. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  134. package/src/bin/v2/modules/baseModule.js +1 -1
  135. package/src/bin/v2/modules/loadTestModule.js +1 -1
  136. package/src/bin/v2/modules/observabilityModule.js +1 -1
  137. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  138. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  139. package/src/bin/v2/modules/testhubModule.js +1 -1
  140. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  141. package/src/bin/v2/state/hookState.js +1 -1
  142. package/src/bin/v2/state/testFrameworkState.js +1 -1
  143. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  144. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  145. package/src/bin/v2/utils/jest-utils.js +1 -1
  146. package/src/bin/vanilla-js/command.js +1 -1
  147. package/src/browserStackSdk.js +1 -1
  148. package/src/helpers/BrowserStackSetup.js +1 -1
  149. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  150. package/src/helpers/accessibility-automation/constants.js +1 -1
  151. package/src/helpers/accessibility-automation/helper.js +1 -1
  152. package/src/helpers/accessibility-automation/scripts.js +1 -1
  153. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  154. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  155. package/src/helpers/ats/constants.js +1 -1
  156. package/src/helpers/ats/helper.js +1 -1
  157. package/src/helpers/caCertHelper.js +1 -0
  158. package/src/helpers/capsMapping.js +1 -1
  159. package/src/helpers/central-scanner/constants.js +1 -1
  160. package/src/helpers/central-scanner/helpers.js +1 -1
  161. package/src/helpers/classLogger.js +1 -1
  162. package/src/helpers/globals.js +1 -1
  163. package/src/helpers/helper.js +1 -1
  164. package/src/helpers/logger.js +1 -1
  165. package/src/helpers/metadata.js +1 -1
  166. package/src/helpers/patchHelper.js +1 -1
  167. package/src/helpers/patchHelpers.js +1 -1
  168. package/src/helpers/percy/Percy.js +1 -1
  169. package/src/helpers/percy/PercyBinary.js +1 -1
  170. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  171. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  172. package/src/helpers/percy/PercySDK.js +1 -1
  173. package/src/helpers/percy/index.js +1 -1
  174. package/src/helpers/percy/utils.js +1 -1
  175. package/src/helpers/performance/constants.js +1 -1
  176. package/src/helpers/performance/performance-tester.js +1 -1
  177. package/src/helpers/playwright-helper.js +1 -1
  178. package/src/helpers/processHelper.js +1 -1
  179. package/src/helpers/puppeteer-helper.js +1 -1
  180. package/src/helpers/request-spy.js +1 -1
  181. package/src/helpers/setKeepAlive.js +1 -1
  182. package/src/helpers/stackFrameUtils.js +1 -1
  183. package/src/helpers/test-observability/constants.js +1 -1
  184. package/src/helpers/test-observability/error-handler.js +1 -1
  185. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  186. package/src/helpers/test-observability/sessionHandler.js +1 -1
  187. package/src/helpers/test-observability/utils.js +1 -1
  188. package/src/helpers/test-orchestration/constants.js +1 -1
  189. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  190. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  191. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  192. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  193. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  194. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  195. package/src/helpers/testhub/constants.js +1 -1
  196. package/src/helpers/testhub/testhubHandler.js +1 -1
  197. package/src/helpers/testhub/utils.js +1 -1
  198. package/src/helpers/timeoutPromise.js +1 -1
  199. package/src/helpers/utilities.js +1 -1
  200. package/src/helpers/w3cMapping.js +1 -1
  201. package/src/hubAllocationMethods.js +1 -1
  202. package/src/index.js +1 -1
@@ -37,6 +37,7 @@ goog.exportSymbol('proto.browserstack.sdk.v1.AutomationFrameworkStopRequest', nu
37
37
  goog.exportSymbol('proto.browserstack.sdk.v1.AutomationFrameworkStopResponse', null, global);
38
38
  goog.exportSymbol('proto.browserstack.sdk.v1.ConnectBinSessionRequest', null, global);
39
39
  goog.exportSymbol('proto.browserstack.sdk.v1.ConnectBinSessionResponse', null, global);
40
+ goog.exportSymbol('proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry', null, global);
40
41
  goog.exportSymbol('proto.browserstack.sdk.v1.DriverInitRequest', null, global);
41
42
  goog.exportSymbol('proto.browserstack.sdk.v1.DriverInitResponse', null, global);
42
43
  goog.exportSymbol('proto.browserstack.sdk.v1.EnqueueTestEventRequest', null, global);
@@ -369,7 +370,7 @@ if (goog.DEBUG && !COMPILED) {
369
370
  * @constructor
370
371
  */
371
372
  proto.browserstack.sdk.v1.StopBinSessionResponse = function(opt_data) {
372
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
373
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.browserstack.sdk.v1.StopBinSessionResponse.repeatedFields_, null);
373
374
  };
374
375
  goog.inherits(proto.browserstack.sdk.v1.StopBinSessionResponse, jspb.Message);
375
376
  if (goog.DEBUG && !COMPILED) {
@@ -379,6 +380,27 @@ if (goog.DEBUG && !COMPILED) {
379
380
  */
380
381
  proto.browserstack.sdk.v1.StopBinSessionResponse.displayName = 'proto.browserstack.sdk.v1.StopBinSessionResponse';
381
382
  }
383
+ /**
384
+ * Generated by JsPbCodeGenerator.
385
+ * @param {Array=} opt_data Optional initial data array, typically from a
386
+ * server response, or constructed directly in Javascript. The array is used
387
+ * in place and becomes part of the constructed object. It is not cloned.
388
+ * If no data is provided, the constructed object will be empty, but still
389
+ * valid.
390
+ * @extends {jspb.Message}
391
+ * @constructor
392
+ */
393
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry = function(opt_data) {
394
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
395
+ };
396
+ goog.inherits(proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry, jspb.Message);
397
+ if (goog.DEBUG && !COMPILED) {
398
+ /**
399
+ * @public
400
+ * @override
401
+ */
402
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.displayName = 'proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry';
403
+ }
382
404
  /**
383
405
  * Generated by JsPbCodeGenerator.
384
406
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4609,6 +4631,13 @@ proto.browserstack.sdk.v1.StopBinSessionRequest.prototype.hasCustomMetadata = fu
4609
4631
 
4610
4632
 
4611
4633
 
4634
+ /**
4635
+ * List of repeated fields within this message type.
4636
+ * @private {!Array<number>}
4637
+ * @const
4638
+ */
4639
+ proto.browserstack.sdk.v1.StopBinSessionResponse.repeatedFields_ = [5];
4640
+
4612
4641
 
4613
4642
 
4614
4643
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -4643,7 +4672,9 @@ proto.browserstack.sdk.v1.StopBinSessionResponse.toObject = function(includeInst
4643
4672
  success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
4644
4673
  error: jspb.Message.getFieldWithDefault(msg, 2, ""),
4645
4674
  automateBuildlink: jspb.Message.getFieldWithDefault(msg, 3, ""),
4646
- hashedId: jspb.Message.getFieldWithDefault(msg, 4, "")
4675
+ hashedId: jspb.Message.getFieldWithDefault(msg, 4, ""),
4676
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
4677
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.toObject, includeInstance)
4647
4678
  };
4648
4679
 
4649
4680
  if (includeInstance) {
@@ -4696,6 +4727,11 @@ proto.browserstack.sdk.v1.StopBinSessionResponse.deserializeBinaryFromReader = f
4696
4727
  var value = /** @type {string} */ (reader.readString());
4697
4728
  msg.setHashedId(value);
4698
4729
  break;
4730
+ case 5:
4731
+ var value = new proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry;
4732
+ reader.readMessage(value,proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.deserializeBinaryFromReader);
4733
+ msg.addEntries(value);
4734
+ break;
4699
4735
  default:
4700
4736
  reader.skipField();
4701
4737
  break;
@@ -4753,6 +4789,14 @@ proto.browserstack.sdk.v1.StopBinSessionResponse.serializeBinaryToWriter = funct
4753
4789
  f
4754
4790
  );
4755
4791
  }
4792
+ f = message.getEntriesList();
4793
+ if (f.length > 0) {
4794
+ writer.writeRepeatedMessage(
4795
+ 5,
4796
+ f,
4797
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.serializeBinaryToWriter
4798
+ );
4799
+ }
4756
4800
  };
4757
4801
 
4758
4802
 
@@ -4882,6 +4926,282 @@ proto.browserstack.sdk.v1.StopBinSessionResponse.prototype.hasHashedId = functio
4882
4926
  };
4883
4927
 
4884
4928
 
4929
+ /**
4930
+ * repeated CustomerVisibleSummaryEntry entries = 5;
4931
+ * @return {!Array<!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry>}
4932
+ */
4933
+ proto.browserstack.sdk.v1.StopBinSessionResponse.prototype.getEntriesList = function() {
4934
+ return /** @type{!Array<!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry>} */ (
4935
+ jspb.Message.getRepeatedWrapperField(this, proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry, 5));
4936
+ };
4937
+
4938
+
4939
+ /**
4940
+ * @param {!Array<!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry>} value
4941
+ * @return {!proto.browserstack.sdk.v1.StopBinSessionResponse} returns this
4942
+ */
4943
+ proto.browserstack.sdk.v1.StopBinSessionResponse.prototype.setEntriesList = function(value) {
4944
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
4945
+ };
4946
+
4947
+
4948
+ /**
4949
+ * @param {!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry=} opt_value
4950
+ * @param {number=} opt_index
4951
+ * @return {!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry}
4952
+ */
4953
+ proto.browserstack.sdk.v1.StopBinSessionResponse.prototype.addEntries = function(opt_value, opt_index) {
4954
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry, opt_index);
4955
+ };
4956
+
4957
+
4958
+ /**
4959
+ * Clears the list making it empty but non-null.
4960
+ * @return {!proto.browserstack.sdk.v1.StopBinSessionResponse} returns this
4961
+ */
4962
+ proto.browserstack.sdk.v1.StopBinSessionResponse.prototype.clearEntriesList = function() {
4963
+ return this.setEntriesList([]);
4964
+ };
4965
+
4966
+
4967
+
4968
+
4969
+
4970
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4971
+ /**
4972
+ * Creates an object representation of this proto.
4973
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4974
+ * Optional fields that are not set will be set to undefined.
4975
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4976
+ * For the list of reserved names please see:
4977
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4978
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4979
+ * JSPB instance for transitional soy proto support:
4980
+ * http://goto/soy-param-migration
4981
+ * @return {!Object}
4982
+ */
4983
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.prototype.toObject = function(opt_includeInstance) {
4984
+ return proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.toObject(opt_includeInstance, this);
4985
+ };
4986
+
4987
+
4988
+ /**
4989
+ * Static version of the {@see toObject} method.
4990
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4991
+ * the JSPB instance for transitional soy proto support:
4992
+ * http://goto/soy-param-migration
4993
+ * @param {!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry} msg The msg instance to transform.
4994
+ * @return {!Object}
4995
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4996
+ */
4997
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.toObject = function(includeInstance, msg) {
4998
+ var f, obj = {
4999
+ entryType: jspb.Message.getFieldWithDefault(msg, 1, ""),
5000
+ severity: jspb.Message.getFieldWithDefault(msg, 2, ""),
5001
+ body: jspb.Message.getFieldWithDefault(msg, 3, ""),
5002
+ docLink: jspb.Message.getFieldWithDefault(msg, 4, "")
5003
+ };
5004
+
5005
+ if (includeInstance) {
5006
+ obj.$jspbMessageInstance = msg;
5007
+ }
5008
+ return obj;
5009
+ };
5010
+ }
5011
+
5012
+
5013
+ /**
5014
+ * Deserializes binary data (in protobuf wire format).
5015
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5016
+ * @return {!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry}
5017
+ */
5018
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.deserializeBinary = function(bytes) {
5019
+ var reader = new jspb.BinaryReader(bytes);
5020
+ var msg = new proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry;
5021
+ return proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.deserializeBinaryFromReader(msg, reader);
5022
+ };
5023
+
5024
+
5025
+ /**
5026
+ * Deserializes binary data (in protobuf wire format) from the
5027
+ * given reader into the given message object.
5028
+ * @param {!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry} msg The message object to deserialize into.
5029
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5030
+ * @return {!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry}
5031
+ */
5032
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.deserializeBinaryFromReader = function(msg, reader) {
5033
+ while (reader.nextField()) {
5034
+ if (reader.isEndGroup()) {
5035
+ break;
5036
+ }
5037
+ var field = reader.getFieldNumber();
5038
+ switch (field) {
5039
+ case 1:
5040
+ var value = /** @type {string} */ (reader.readString());
5041
+ msg.setEntryType(value);
5042
+ break;
5043
+ case 2:
5044
+ var value = /** @type {string} */ (reader.readString());
5045
+ msg.setSeverity(value);
5046
+ break;
5047
+ case 3:
5048
+ var value = /** @type {string} */ (reader.readString());
5049
+ msg.setBody(value);
5050
+ break;
5051
+ case 4:
5052
+ var value = /** @type {string} */ (reader.readString());
5053
+ msg.setDocLink(value);
5054
+ break;
5055
+ default:
5056
+ reader.skipField();
5057
+ break;
5058
+ }
5059
+ }
5060
+ return msg;
5061
+ };
5062
+
5063
+
5064
+ /**
5065
+ * Serializes the message to binary data (in protobuf wire format).
5066
+ * @return {!Uint8Array}
5067
+ */
5068
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.prototype.serializeBinary = function() {
5069
+ var writer = new jspb.BinaryWriter();
5070
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.serializeBinaryToWriter(this, writer);
5071
+ return writer.getResultBuffer();
5072
+ };
5073
+
5074
+
5075
+ /**
5076
+ * Serializes the given message to binary data (in protobuf wire
5077
+ * format), writing to the given BinaryWriter.
5078
+ * @param {!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry} message
5079
+ * @param {!jspb.BinaryWriter} writer
5080
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5081
+ */
5082
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.serializeBinaryToWriter = function(message, writer) {
5083
+ var f = undefined;
5084
+ f = message.getEntryType();
5085
+ if (f.length > 0) {
5086
+ writer.writeString(
5087
+ 1,
5088
+ f
5089
+ );
5090
+ }
5091
+ f = message.getSeverity();
5092
+ if (f.length > 0) {
5093
+ writer.writeString(
5094
+ 2,
5095
+ f
5096
+ );
5097
+ }
5098
+ f = message.getBody();
5099
+ if (f.length > 0) {
5100
+ writer.writeString(
5101
+ 3,
5102
+ f
5103
+ );
5104
+ }
5105
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
5106
+ if (f != null) {
5107
+ writer.writeString(
5108
+ 4,
5109
+ f
5110
+ );
5111
+ }
5112
+ };
5113
+
5114
+
5115
+ /**
5116
+ * optional string entry_type = 1;
5117
+ * @return {string}
5118
+ */
5119
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.prototype.getEntryType = function() {
5120
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5121
+ };
5122
+
5123
+
5124
+ /**
5125
+ * @param {string} value
5126
+ * @return {!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry} returns this
5127
+ */
5128
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.prototype.setEntryType = function(value) {
5129
+ return jspb.Message.setProto3StringField(this, 1, value);
5130
+ };
5131
+
5132
+
5133
+ /**
5134
+ * optional string severity = 2;
5135
+ * @return {string}
5136
+ */
5137
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.prototype.getSeverity = function() {
5138
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5139
+ };
5140
+
5141
+
5142
+ /**
5143
+ * @param {string} value
5144
+ * @return {!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry} returns this
5145
+ */
5146
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.prototype.setSeverity = function(value) {
5147
+ return jspb.Message.setProto3StringField(this, 2, value);
5148
+ };
5149
+
5150
+
5151
+ /**
5152
+ * optional string body = 3;
5153
+ * @return {string}
5154
+ */
5155
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.prototype.getBody = function() {
5156
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
5157
+ };
5158
+
5159
+
5160
+ /**
5161
+ * @param {string} value
5162
+ * @return {!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry} returns this
5163
+ */
5164
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.prototype.setBody = function(value) {
5165
+ return jspb.Message.setProto3StringField(this, 3, value);
5166
+ };
5167
+
5168
+
5169
+ /**
5170
+ * optional string doc_link = 4;
5171
+ * @return {string}
5172
+ */
5173
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.prototype.getDocLink = function() {
5174
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
5175
+ };
5176
+
5177
+
5178
+ /**
5179
+ * @param {string} value
5180
+ * @return {!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry} returns this
5181
+ */
5182
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.prototype.setDocLink = function(value) {
5183
+ return jspb.Message.setField(this, 4, value);
5184
+ };
5185
+
5186
+
5187
+ /**
5188
+ * Clears the field making it undefined.
5189
+ * @return {!proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry} returns this
5190
+ */
5191
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.prototype.clearDocLink = function() {
5192
+ return jspb.Message.setField(this, 4, undefined);
5193
+ };
5194
+
5195
+
5196
+ /**
5197
+ * Returns whether this field is set.
5198
+ * @return {boolean}
5199
+ */
5200
+ proto.browserstack.sdk.v1.CustomerVisibleSummaryEntry.prototype.hasDocLink = function() {
5201
+ return jspb.Message.getField(this, 4) != null;
5202
+ };
5203
+
5204
+
4885
5205
 
4886
5206
 
4887
5207
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browserstack-node-sdk",
3
- "version": "1.55.5",
3
+ "version": "1.55.7",
4
4
  "private": false,
5
5
  "description": "Node SDK for browserstack selenium-webdriver tests",
6
6
  "main": "./src/index.js",
@@ -64,7 +64,7 @@
64
64
  "winston-transport": "^4.5.0",
65
65
  "ws": "^8.17.1",
66
66
  "yargs": "^17.5.1",
67
- "yauzl": "^2.10.0"
67
+ "yauzl": "^3.3.1"
68
68
  },
69
69
  "devDependencies": {},
70
70
  "overrides": {