Sign In

@mearl/cloud-client

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mearl/cloud-client - npm Package Compare versions

Comparing version
2.0.2
to
2.1.0
+10
-1
dist/cli.js

@@ -77,2 +77,5 @@ #!/usr/bin/env node

}
browserRelease(..._args) {
return this.invoke("browser_release", {});
}
browserLaunch(...args2) {

@@ -150,2 +153,8 @@ return this.invoke("browser_launch", args2[0] ?? {});

}
getCookie(...args2) {
return this.invoke("get_cookie", args2[0] ?? {});
}
setCookie(...args2) {
return this.invoke("set_cookie", args2[0] ?? {});
}
getUserInfo(...args2) {

@@ -370,3 +379,3 @@ return this.invoke("get_user_info", args2[0] ?? {});

import { resolve } from "node:path";
var CLOUD_CLIENT_VERSION = true ? "2.0.2" : "unknown";
var CLOUD_CLIENT_VERSION = true ? "2.1.0" : "unknown";
var args = process.argv.slice(2);

@@ -373,0 +382,0 @@ if (args.includes("--version") || args.includes("-v")) {

@@ -13,2 +13,3 @@ import type * as Client from '@mearl/client';

export declare function selectBrowser(...args: Parameters<typeof Client.selectBrowser>): ReturnType<typeof Client.selectBrowser>;
export declare function browserRelease(..._args: Parameters<typeof Client.browserRelease>): ReturnType<typeof Client.browserRelease>;
export declare function browserLaunch(...args: Parameters<typeof Client.browserLaunch>): ReturnType<typeof Client.browserLaunch>;

@@ -36,3 +37,5 @@ export declare function browserClose(...args: Parameters<typeof Client.browserClose>): ReturnType<typeof Client.browserClose>;

export declare function setTimezone(...args: Parameters<typeof Client.setTimezone>): ReturnType<typeof Client.setTimezone>;
export declare function getCookie(...args: Parameters<typeof Client.getCookie>): ReturnType<typeof Client.getCookie>;
export declare function setCookie(...args: Parameters<typeof Client.setCookie>): ReturnType<typeof Client.setCookie>;
export declare function getUserInfo(...args: Parameters<typeof Client.getUserInfo>): ReturnType<typeof Client.getUserInfo>;
export declare function runActions(...args: Parameters<typeof Client.runActions>): ReturnType<typeof Client.runActions>;

@@ -15,2 +15,3 @@ import type * as Client from '@mearl/client';

selectBrowser(...args: Parameters<typeof Client.selectBrowser>): ReturnType<typeof Client.selectBrowser>;
browserRelease(..._args: Parameters<typeof Client.browserRelease>): ReturnType<typeof Client.browserRelease>;
browserLaunch(...args: Parameters<typeof Client.browserLaunch>): ReturnType<typeof Client.browserLaunch>;

@@ -38,4 +39,6 @@ browserClose(...args: Parameters<typeof Client.browserClose>): ReturnType<typeof Client.browserClose>;

setTimezone(...args: Parameters<typeof Client.setTimezone>): ReturnType<typeof Client.setTimezone>;
getCookie(...args: Parameters<typeof Client.getCookie>): ReturnType<typeof Client.getCookie>;
setCookie(...args: Parameters<typeof Client.setCookie>): ReturnType<typeof Client.setCookie>;
getUserInfo(...args: Parameters<typeof Client.getUserInfo>): ReturnType<typeof Client.getUserInfo>;
runActions(...args: Parameters<typeof Client.runActions>): ReturnType<typeof Client.runActions>;
}
+1
-1

@@ -1,1 +0,1 @@

export type { ActionStep, BrowserCloseParams, BrowserInfo, BrowserInfoBase, BrowserLaunchParams, BrowserListResult, BrowserStatus, DevicePresetName, EmulationOptions, GetApiSchemaParams, GetEventsParams, GetLogsParams, GetMocksParams, GetRequestsParams, GetUserInfoParams, InvokeOptions, ManagedBrowserAccount, ManagedBrowserInfo, PageClickParams, PageEvalParams, PageFramesParams, PageHoverParams, PageNavigateParams, PageObserveOptions, PagePressParams, PageScreenshotParams, PageScrollParams, PageSelectedElementParams, PageSnapshotParams, PageSnapshotQuery, PageTypeParams, PageUploadParams, PageWaitParams, RegularBrowserInfo, RunActionsParams, SelectBrowserParams, SelectBrowserResult, SendMtopRequestParams, SendRequestParams, SetDeviceEmulationParams, SetMockParams, SetRuleParams, SetTimezoneParams, SetTimezoneResult, TabCloseParams, TabOpenParams, TdbankAccountParams, } from '@mearl/client';
export type { ActionStep, BrowserCloseParams, BrowserInfo, BrowserInfoBase, BrowserLaunchParams, BrowserListResult, BrowserReleaseFailure, BrowserReleaseResult, BrowserStatus, DevicePresetName, EmulationOptions, GetApiSchemaParams, GetCookieParams, GetCookieResult, GetEventsParams, GetLogsParams, GetMocksParams, GetRequestsParams, GetUserInfoParams, InvokeOptions, ManagedBrowserAccount, ManagedBrowserInfo, PageClickParams, PageEvalParams, PageFramesParams, PageHoverParams, PageNavigateParams, PageObserveOptions, PagePressParams, PageScreenshotParams, PageScrollParams, PageSelectedElementParams, PageSnapshotParams, PageSnapshotQuery, PageTypeParams, PageUploadParams, PageWaitParams, RegularBrowserInfo, RunActionsParams, SelectBrowserParams, SelectBrowserResult, SendMtopRequestParams, SendRequestParams, SetCookieParams, SetCookieResult, SetDeviceEmulationParams, SetMockParams, SetRuleParams, SetTimezoneParams, SetTimezoneResult, TabCloseParams, TabOpenParams, TdbankAccountParams, } from '@mearl/client';

@@ -75,2 +75,5 @@ // src/index.ts

}
browserRelease(..._args) {
return this.invoke("browser_release", {});
}
browserLaunch(...args) {

@@ -148,2 +151,8 @@ return this.invoke("browser_launch", args[0] ?? {});

}
getCookie(...args) {
return this.invoke("get_cookie", args[0] ?? {});
}
setCookie(...args) {
return this.invoke("set_cookie", args[0] ?? {});
}
getUserInfo(...args) {

@@ -191,2 +200,5 @@ return this.invoke("get_user_info", args[0] ?? {});

}
function browserRelease(..._args) {
return invoke("browser_release", {});
}
function browserLaunch(...args) {

@@ -258,2 +270,8 @@ return invoke("browser_launch", args[0] ?? {});

}
function getCookie(...args) {
return invoke("get_cookie", args[0] ?? {});
}
function setCookie(...args) {
return invoke("set_cookie", args[0] ?? {});
}
function getUserInfo(...args) {

@@ -503,3 +521,5 @@ return invoke("get_user_info", args[0] ?? {});

browserList,
browserRelease,
getApiSchema,
getCookie,
getEvents,

@@ -529,2 +549,3 @@ getLogs,

sendRequest,
setCookie,
setDeviceEmulation,

@@ -531,0 +552,0 @@ setMock,

{
"name": "@mearl/cloud-client",
"version": "2.0.2",
"version": "2.1.0",
"description": "Cloud client SDK for Mearl — communicate with local browser via cloud server",

@@ -32,4 +32,4 @@ "type": "module",

"ws": "^8.18.0",
"@mearl/client": "2.0.2",
"@mearl/cloud-types": "2.0.2"
"@mearl/cloud-types": "2.1.0",
"@mearl/client": "2.1.0"
},

@@ -36,0 +36,0 @@ "devDependencies": {