🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@mearl/native-host

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mearl/native-host - npm Package Compare versions

Comparing version
2.2.0
to
2.2.1
+2
dist/cdp-backend/send-request.d.ts
import { type SendRequestParams } from '@mearl/browser-core';
export declare function executeNodeSendRequest(data: SendRequestParams, cookieMap?: Map<string, string>): Promise<any>;
import { type RunActionsParams, type SendRequestParams } from '@mearl/browser-core';
type SendExtensionTransferAction = (action: string, data: any, timeoutMs: number) => Promise<any>;
export declare function hasSendRequestFiles(data: unknown): boolean;
export declare function hasRunActionsSendRequestFiles(data: unknown): boolean;
export declare function sendRequestWithTransferredFiles(data: SendRequestParams, send: SendExtensionTransferAction): Promise<any>;
export declare function sendRunActionsWithTransferredFiles(data: RunActionsParams, send: SendExtensionTransferAction, resolveTimeoutMs: (data: RunActionsParams) => number): Promise<any>;
export {};
import { type SendRequestFile } from '@mearl/browser-core';
interface SendRequestFileDescriptor {
fieldName: string;
filename: string;
contentType: string;
byteLength: number;
}
export interface ResolvedSendRequestFile {
descriptor: SendRequestFileDescriptor;
filePath?: string;
content?: Buffer;
}
export declare function resolveSendRequestFiles(files: SendRequestFile[]): Promise<ResolvedSendRequestFile[]>;
export {};
+2
-1

@@ -35,3 +35,3 @@ /**

headers?: Record<string, string>;
body?: string;
body?: string | Uint8Array;
timeoutMs?: number;

@@ -43,2 +43,3 @@ }): Promise<{

body: string;
bodyBuffer: Buffer;
}>;

@@ -45,0 +46,0 @@ export declare function getCookiesForUrl(session: PageSession, targetUrl: string): Promise<Map<string, string>>;

import { type PageActNavigationObserver } from '@mearl/browser-core';
import type { PageSession } from './cdp-session.js';
export declare function startCdpNavigationObserver(session: PageSession, urlBefore: string, options?: {
import type { CdpSession, PageSession } from './cdp-session.js';
export declare function startCdpNavigationObserver(cdpSession: CdpSession, pageSession: PageSession, urlBefore: string, options?: {
trackNetwork?: boolean;
networkIdleMs?: number;
contentReadyAfterMs?: number;
trackOpenedTabs?: boolean;
sourceTabId?: number;
}): Promise<PageActNavigationObserver>;
{
"name": "@mearl/native-host",
"version": "2.2.0",
"version": "2.2.1",
"description": "Native Messaging Host for Mearl — bridges Chrome Extension and local socket server",

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

"typescript": "^5.8.3",
"@mearl/browser-core": "2.2.0",
"@mearl/daemon-core": "2.2.0"
"@mearl/browser-core": "2.2.1",
"@mearl/daemon-core": "2.2.1"
},

@@ -39,0 +39,0 @@ "scripts": {

Sorry, the diff of this file is too big to display