webdriver 9.4.1 → 9.4.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAI7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAgB,aAAa,EAAE,MAAM,YAAY,CAAA;AAKzE,MAAM,CAAC,OAAO,WACV,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,eAAe,EAC5B,qBAAqB,UAAQ,UAIgB,UAAU,WAAW,GAAG,EAAE,KAAG,OAAO,CAAC,iBAAiB,GAAG,aAAa,GAAG,IAAI,CAAC,CA0K9H"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAI7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAgB,aAAa,EAAE,MAAM,YAAY,CAAA;AAKzE,MAAM,CAAC,OAAO,WACV,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,eAAe,EAC5B,qBAAqB,UAAQ,UAIgB,UAAU,WAAW,GAAG,EAAE,KAAG,OAAO,CAAC,iBAAiB,GAAG,aAAa,GAAG,IAAI,CAAC,CA6K9H"}
package/build/index.js CHANGED
@@ -146,6 +146,9 @@ function command_default(method, endpointUri, commandInfo, doubleEncodeVariables
146
146
  }
147
147
  }
148
148
  return result.value;
149
+ }).catch((error) => {
150
+ this.emit("result", { command, method, endpoint, body, result: { error } });
151
+ throw error;
149
152
  });
150
153
  };
151
154
  }
@@ -1529,7 +1532,7 @@ var WebDriverResponseError = class _WebDriverResponseError extends WebDriverErro
1529
1532
  // package.json
1530
1533
  var package_default = {
1531
1534
  name: "webdriver",
1532
- version: "9.4.0",
1535
+ version: "9.4.1",
1533
1536
  description: "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
1534
1537
  author: "Christian Bromann <mail@bromann.dev>",
1535
1538
  homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
package/build/node.js CHANGED
@@ -138,6 +138,9 @@ Actual: ${actual}` + moreInfo
138
138
  }
139
139
  }
140
140
  return result.value;
141
+ }).catch((error) => {
142
+ this.emit("result", { command, method, endpoint, body, result: { error } });
143
+ throw error;
141
144
  });
142
145
  };
143
146
  }
@@ -1467,7 +1470,7 @@ var WebDriverResponseError = class _WebDriverResponseError extends WebDriverErro
1467
1470
  // package.json
1468
1471
  var package_default = {
1469
1472
  name: "webdriver",
1470
- version: "9.4.0",
1473
+ version: "9.4.1",
1471
1474
  description: "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
1472
1475
  author: "Christian Bromann <mail@bromann.dev>",
1473
1476
  homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver",
3
- "version": "9.4.1",
3
+ "version": "9.4.2",
4
4
  "description": "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
@@ -38,14 +38,14 @@
38
38
  "dependencies": {
39
39
  "@types/node": "^20.1.0",
40
40
  "@types/ws": "^8.5.3",
41
- "@wdio/config": "9.2.8",
41
+ "@wdio/config": "9.4.2",
42
42
  "@wdio/logger": "9.1.3",
43
43
  "@wdio/protocols": "9.2.2",
44
- "@wdio/types": "9.2.2",
45
- "@wdio/utils": "9.2.8",
44
+ "@wdio/types": "9.4.2",
45
+ "@wdio/utils": "9.4.2",
46
46
  "deepmerge-ts": "^7.0.3",
47
47
  "undici": "^6.20.1",
48
48
  "ws": "^8.8.0"
49
49
  },
50
- "gitHead": "237685b97c0cee717c98ae9e906f738dab81004f"
50
+ "gitHead": "e42d3e8d6958fd9a734fe1d9a9768357b6045893"
51
51
  }