Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hylid/types

Package Overview
Dependencies
Maintainers
0
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hylid/types - npm Package Compare versions

Comparing version 4.0.8 to 4.0.9

64

lib/mp.d.ts

@@ -47,3 +47,9 @@ /// <reference types="miniprogram" />

isInstalledApp(args?: any): void;
navigateToBizScene(args?: any): void;
navigateToBizScene(args: {
sceneCode: string;
param?: {
scheme?: string;
[key: string]: any;
};
} & AsyncCallback<void>): void;
paySignCenter(args?: any): void;

@@ -145,7 +151,7 @@ rpc(args: IRPCArgs & AsyncCallback<{

path?: string;
} & AsyncCallback<void>) => void;
}) => Promise<void>;
openInApp: (args: {
url: string;
path?: string;
} & AsyncCallback<void>) => void;
}) => Promise<void>;
openOtherApp: (args: {

@@ -155,10 +161,10 @@ appId: string;

launchParams?: Record<string, any>;
} & AsyncCallback<void>) => void;
}) => Promise<void>;
openInBrowser: (args: {
url: string;
path?: string;
} & AsyncCallback<void>) => void;
openPayCodePage: () => void;
openApPayCodePage: () => void;
openScanPage: () => void;
}) => Promise<void>;
openPayCodePage: () => Promise<void>;
openApPayCodePage: () => Promise<void>;
openScanPage: () => Promise<void>;
getMainSelectedCity: (args: AsyncCallback<{

@@ -214,5 +220,47 @@ fullName: string;

}) => void;
getRunScene: (args: AsyncCallback<{
envVersion: 'develop' | 'trial' | 'release';
}>) => void;
setCanPullDown: (args: {
canPullDown: boolean;
} & AsyncCallback<void>) => void;
chooseFileFromDisk: (args: AsyncCallback<{
success: boolean;
apFilePath: string;
}> & {
appId?: string;
}) => void;
chooseVideo: (args: AsyncCallback<{
filePath: string;
duration: number;
size: number;
height: number;
width: number;
tempFilePath: string;
}> & {
sourceType?: string[];
compressed?: boolean;
maxDuration?: number;
camera?: string;
}) => void;
compressImage: (args: AsyncCallback<{
apFilePaths: string[];
}> & {
apFilePaths: string[];
compressLevel?: number;
compressedWidth?: number;
compressedHeight?: number;
maxWidth?: number;
maxHeight?: number;
}) => void;
setTabBarItem: (args: {
index?: number;
text: string;
iconPath: string;
selectedIconPath: string;
} & AsyncCallback<void>) => void;
showTabBar: (args: {
animation?: boolean;
} & AsyncCallback<void>) => void;
hideBackHome: () => void;
}

@@ -219,0 +267,0 @@ export declare type HeadModel = {

2

package.json
{
"name": "@hylid/types",
"version": "4.0.8",
"version": "4.0.9",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "files": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc