@airtop/sdk 1.0.0-alpha2.21 → 1.0.0-alpha2.22

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.cjs CHANGED
@@ -9,7 +9,7 @@ var require_package = __commonJS({
9
9
  module.exports = {
10
10
  name: "@airtop/sdk",
11
11
  description: "Airtop SDK for TypeScript",
12
- version: "1.0.0-alpha2.21",
12
+ version: "1.0.0-alpha2.22",
13
13
  type: "module",
14
14
  main: "./dist/index.cjs",
15
15
  module: "./dist/index.js",
@@ -80,7 +80,7 @@ var require_package = __commonJS({
80
80
  optionalDependencies: {
81
81
  "@airtop/json-schema-adapter-zod": "workspace:*"
82
82
  },
83
- packageManager: "pnpm@10.12.4"
83
+ packageManager: "pnpm@10.14.0"
84
84
  };
85
85
  }
86
86
  });
@@ -1180,12 +1180,13 @@ var AirtopSessionClient = class extends AirtopBase {
1180
1180
  * @param requestOptions - Request options
1181
1181
  * @returns A new AirtopWindow<AirtopWindowCreateResponse> instance
1182
1182
  */
1183
- async createWindow(url, requestOptions = {}) {
1183
+ async createWindow(url, createOptions = {}, requestOptions = {}) {
1184
1184
  this.log.info("Creating window");
1185
1185
  const results = await this.client.windows.create(
1186
1186
  this.sessionId,
1187
1187
  {
1188
- url
1188
+ url,
1189
+ ...createOptions
1189
1190
  },
1190
1191
  this.resolveRequestOptions(requestOptions)
1191
1192
  );