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

zmp-sdk

Package Overview
Dependencies
Maintainers
1
Versions
349
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zmp-sdk - npm Package Compare versions

Comparing version 1.4.5 to 1.5.0-0

15

dist/types/src/apis.d.ts

@@ -297,2 +297,17 @@ import * as DataType from './types/data';

getNetworkType(): Promise<DataType.NetworkTypeSuccessCallback>;
/**
* Listens on the network status change event.
*
* @function onNetworkStatusChange
* @category Device
*
* @example
* zmpApis.onNetworkStatusChange(function (res) {
* console.log(res.isConnected);
* console.log(res.networkType);
* })
*
* @param {Function} callback - The callback function for the network status change event.
*/
onNetworkStatusChange(callback: (res: DataType.OnNetworkStatusChangeCallback) => void): void;
}

@@ -216,2 +216,12 @@ /**

};
/**
* On network status change callback
* @typedef OnNetworkStatusChangeCallback
*/
export declare type OnNetworkStatusChangeCallback = {
/** Indicates whether it is connected to the network */
isConnected: boolean;
/** Network Type */
networkType: NetworkType;
};
export {};

2

package.json
{
"name": "zmp-sdk",
"version": "1.4.5",
"version": "1.5.0-0",
"description": "Zalo Mini App SDK",

@@ -5,0 +5,0 @@ "license": "MIT",

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

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

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

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

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