New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hylid/types

Package Overview
Dependencies
Maintainers
0
Versions
120
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.0-alpha.6 to 4.0.0-alpha.7

14

lib/mp.d.ts

@@ -25,2 +25,7 @@ /// <reference types="miniprogram" />

}
export interface AsyncCallback<T = any> {
success?: ((res: T) => void) | undefined;
fail?: ((err: AsyncCallbackFailObject) => void) | undefined;
complete?: ((res?: any) => any) | undefined;
}
export interface MPApi extends Omit<MiniprogramApi, 'request'> {

@@ -112,3 +117,6 @@ authorize: (opt: any) => void;

url: string;
} & AsyncCallback<void>) => void;
} & AsyncCallback<{
succeed: boolean;
channelName: string;
}>) => void;
homeAddAppToMyApps: (args: {

@@ -128,4 +136,4 @@ appId: string;

keep?: boolean;
callback: (res: any) => void;
} & AsyncCallback<void>) => void;
callback?: (res: any) => void;
} & AsyncCallback<any>) => void;
postNotification: (args: {

@@ -132,0 +140,0 @@ name: string;

{
"name": "@hylid/types",
"version": "4.0.0-alpha.6",
"version": "4.0.0-alpha.7",
"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