@airtop/sdk 1.0.0-alpha2.20 → 1.0.0-alpha2.21
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 +19 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -5
- package/dist/index.d.ts +12 -5
- package/dist/index.js +19 -7
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
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.
|
12
|
+
version: "1.0.0-alpha2.21",
|
13
13
|
type: "module",
|
14
14
|
main: "./dist/index.cjs",
|
15
15
|
module: "./dist/index.js",
|
@@ -44,26 +44,26 @@ var require_package = __commonJS({
|
|
44
44
|
clean: "rm -rf .turbo node_modules dist",
|
45
45
|
lint: "biome check --no-errors-on-unmatched --write --unsafe src",
|
46
46
|
"lint:staged": "biome check --no-errors-on-unmatched --write --unsafe --staged src",
|
47
|
-
"verify-types": "tsc --noEmit"
|
47
|
+
"verify-types": "tsc --noEmit && tsc --noEmit --project tsconfig.e2e.json"
|
48
48
|
},
|
49
49
|
dependencies: {
|
50
50
|
"@airtop/json-schema-adapter": "workspace:*",
|
51
|
-
"@airtop/core": "0.1.0-alpha.
|
51
|
+
"@airtop/core": "0.1.0-alpha.37",
|
52
52
|
"date-fns": "4.1.0",
|
53
53
|
loglayer: "6.6.0",
|
54
54
|
"serialize-error": "12.0.0",
|
55
55
|
uuid: "11.1.0"
|
56
56
|
},
|
57
57
|
devDependencies: {
|
58
|
-
"@biomejs/biome": "2.1.
|
59
|
-
"@dotenvx/dotenvx": "1.48.
|
58
|
+
"@biomejs/biome": "2.1.3",
|
59
|
+
"@dotenvx/dotenvx": "1.48.4",
|
60
60
|
"@internal/tsconfig": "workspace:*",
|
61
61
|
"deep-utility-types": "1.3.1",
|
62
62
|
"env-var": "7.5.0",
|
63
|
-
"hash-runner": "
|
63
|
+
"hash-runner": "3.1.0",
|
64
64
|
nanoid: "5.1.5",
|
65
65
|
tsup: "8.5.0",
|
66
|
-
typescript: "5.
|
66
|
+
typescript: "5.9.2",
|
67
67
|
"utility-types": "3.11.0",
|
68
68
|
uuid: "11.1.0",
|
69
69
|
vitest: "3.2.4",
|
@@ -1273,6 +1273,18 @@ var AirtopSessionClient = class extends AirtopBase {
|
|
1273
1273
|
requestOptions
|
1274
1274
|
);
|
1275
1275
|
}
|
1276
|
+
/**
|
1277
|
+
* Retrieves the list of connected services available for the current session.
|
1278
|
+
* @param requestOptions - Request options
|
1279
|
+
* @returns A promise that resolves to the connected services response containing service details
|
1280
|
+
*/
|
1281
|
+
async getConnectedServices(requestOptions = {}) {
|
1282
|
+
return withRequestCompletionPolling(
|
1283
|
+
this.client,
|
1284
|
+
() => this.client.sessions.getConnectedServices(this.sessionId),
|
1285
|
+
requestOptions
|
1286
|
+
);
|
1287
|
+
}
|
1276
1288
|
};
|
1277
1289
|
|
1278
1290
|
// src/session/AirtopSession.ts
|