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

jet-miniapp

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jet-miniapp - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

1

dist/my.d.ts
export function setNavigationBar(title: any, image: any, backgroundColor: any, borderBottomColor: any, reset: any): Promise<any>;
export function switchTab(url: any): Promise<any>;
export function reLaunch(url: any): Promise<any>;
export function navigateTo(url: any): Promise<any>;
export function redirectTo(url: any): Promise<any>;

@@ -5,0 +6,0 @@ export function navigateBack(delta: any): Promise<any>;

@@ -59,2 +59,16 @@ "use strict";

exports.redirectTo = redirectTo;
const navigateTo = function (url) {
return new Promise((resolve, reject) => {
my.redirectTo({
url, success: (data) => {
resolve(data);
}, fail: (error) => {
reject(error);
}, complete: () => {
resolve();
}
});
});
};
exports.navigateTo = navigateTo;
const navigateBack = function (delta) {

@@ -61,0 +75,0 @@ return new Promise((resolve, reject) => {

2

package.json
{
"name": "jet-miniapp",
"version": "2.0.6",
"version": "2.0.7",
"description": "客户端sdk",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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