New:Socket for Asana Is Now Available.Learn more
Get Started

mini-pc-types

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-pc-types - npm Package Compare versions

Comparing version
1.1.9
to
1.2.9
+17
types/api/webview/webview.d.ts
/**
* @file webivew
*/
declare namespace my {
type ICreateWebViewContextOptions = string;
interface ICreateWebViewContextResult {
postMessage: (params: any) => void;
}
/**
* 通过创建 webviewContext 提供从小程序向 web-view 发送消息的能力
*/
function createWebViewContext(
arg: ICreateWebViewContextOptions
): ICreateWebViewContextResult;
}
+3
-3
{
"name": "mini-pc-types",
"version": "1.1.9",
"version": "1.2.9",
"description": "taobao-mini-app",

@@ -29,5 +29,5 @@ "scripts": {

"devDependencies": {
"dtslint": "^3.6.12",
"typescript": "^3.9.7"
"dtslint": "^4.0.7",
"typescript": "^4.2.3"
}
}

@@ -78,2 +78,16 @@ /**

function openChat(options: IOpenChatOptions): void;
interface IImGetActiveUserOptions {
success?: (res: IImGetActiveUserSuccessResult) => void;
fail?: (res: any) => void;
}
interface IImGetActiveUserSuccessResult {
user_nick: string;
}
/**
* 获取当前IM旺旺联系人
*/
function imGetActiveUser(): void;
}