@wdio/browserstack-service 9.34.0 → 9.34.1

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.
@@ -75,6 +75,7 @@ export default class BrowserstackService implements Services.ServiceInstance {
75
75
  onReload(oldSessionId: string, newSessionId: string): Promise<void>;
76
76
  _isAppAutomate(): boolean;
77
77
  _updateJob(requestBody: unknown): Promise<unknown>;
78
+ _routeBidiExecutorToHttp(browser: WebdriverIO.Browser): void;
78
79
  _multiRemoteAction(action: MultiRemoteAction): Promise<unknown>;
79
80
  _update(sessionId: string, requestBody: unknown): Promise<void> | Promise<Response>;
80
81
  _printSessionURL(): Promise<void>;
package/build/util.d.ts CHANGED
@@ -272,6 +272,13 @@ export declare function createDir(dir: string): void;
272
272
  export declare function isWritable(dirPath: string): boolean;
273
273
  export declare function setReadWriteAccess(dirPath: string): void;
274
274
  export declare function getMochaTestHierarchy(test: Frameworks.Test): string[];
275
+ /**
276
+ * True only for the hub-interpreted `browserstack_executor: {…}` magic string.
277
+ * Anchored to the start (leading whitespace tolerated) and case-sensitive, matching
278
+ * how the hub reads the payload — a plain script merely mentioning the token must not
279
+ * be rerouted off its normal transport.
280
+ */
281
+ export declare const isBrowserstackExecutorScript: (script: unknown) => script is string;
275
282
  export declare const performO11ySync: (browser: WebdriverIO.Browser) => Promise<void>;
276
283
  /**
277
284
  * Checks if the capabilities represent a multiremote configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/browserstack-service",
3
- "version": "9.34.0",
3
+ "version": "9.34.1",
4
4
  "description": "WebdriverIO service for better Browserstack integration",
5
5
  "author": "BrowserStack <support@browserstack.com>",
6
6
  "homepage": "https://github.com/browserstack/wdio-browserstack-service",