@nbakka/mcp-appium 2.0.1 → 2.0.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.
Files changed (2) hide show
  1. package/lib/server.js +5 -5
  2. package/package.json +1 -1
package/lib/server.js CHANGED
@@ -219,11 +219,6 @@ await new Promise(resolve => setTimeout(resolve, 5000));
219
219
  const orientation = await robot.getOrientation();
220
220
  return `Current device orientation is ${orientation}`;
221
221
  });
222
- // async check for latest agent version
223
- checkForLatestAgentVersion().then();
224
- return server;
225
- };
226
-
227
222
  tool(
228
223
  "mobile_create_session",
229
224
  "create a mobile session once so that session id can be used in other tools where it is needed",
@@ -304,4 +299,9 @@ tool(
304
299
  return `Clicked on element with text: "${text}" in session: ${sessionId}`;
305
300
  }
306
301
  );
302
+ // async check for latest agent version
303
+ checkForLatestAgentVersion().then();
304
+ return server;
305
+ };
306
+
307
307
  exports.createMcpServer = createMcpServer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nbakka/mcp-appium",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Appium MCP",
5
5
  "engines": {
6
6
  "node": ">=18"