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

@mpxjs/api-proxy

Package Overview
Dependencies
Maintainers
13
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mpxjs/api-proxy - npm Package Compare versions

Comparing version 2.9.18 to 2.9.19

83

./@types/index.d.ts

@@ -0,1 +1,3 @@

/// <reference types="miniprogram-api-typings" />
type AddPromise<W> = {

@@ -32,4 +34,85 @@ [K in keyof W]: W[K] extends (...args: any) => any

export const getProxy: (...args: any) => void
export const promisify: (listObj: object, whiteList: string[], customBlackList: string[]) => object
export const showActionSheet: WechatMiniprogram.Wx['showActionSheet']
export const addPhoneContact: WechatMiniprogram.Wx['addPhoneContact']
export const onAppShow: WechatMiniprogram.Wx['onAppShow']
export const onAppHide: WechatMiniprogram.Wx['onAppHide']
export const offAppShow: WechatMiniprogram.Wx['offAppShow']
export const offAppHide: WechatMiniprogram.Wx['offAppHide']
export const onError: WechatMiniprogram.Wx['onError']
export const offError: WechatMiniprogram.Wx['offError']
export const createInnerAudioContext: WechatMiniprogram.Wx['createInnerAudioContext']
export const base64ToArrayBuffer: WechatMiniprogram.Wx['base64ToArrayBuffer']
export const arrayBufferToBase64: WechatMiniprogram.Wx['arrayBufferToBase64']
export const closeBLEConnection: WechatMiniprogram.Wx['closeBLEConnection']
export const createBLEConnection: WechatMiniprogram.Wx['createBLEConnection']
export const onBLEConnectionStateChange: WechatMiniprogram.Wx['onBLEConnectionStateChange']
export const createCanvasContext: WechatMiniprogram.Wx['createCanvasContext']
export const canvasToTempFilePath: WechatMiniprogram.Wx['canvasToTempFilePath']
export const canvasGetImageData: WechatMiniprogram.Wx['canvasGetImageData']
export const checkSession: WechatMiniprogram.Wx['checkSession']
export const setClipboardData: WechatMiniprogram.Wx['setClipboardData']
export const getClipboardData: WechatMiniprogram.Wx['getClipboardData']
export const createIntersectionObserver: WechatMiniprogram.Wx['createIntersectionObserver']
export const createSelectorQuery: WechatMiniprogram.Wx['createSelectorQuery']
export const getNetworkType: WechatMiniprogram.Wx['getNetworkType']
export const onNetworkStatusChange: WechatMiniprogram.Wx['onNetworkStatusChange']
export const offNetworkStatusChange: WechatMiniprogram.Wx['offNetworkStatusChange']
export const EventChannel: WechatMiniprogram.EventChannel
export const downloadFile: WechatMiniprogram.Wx['downloadFile']
export const uploadFile: WechatMiniprogram.Wx['uploadFile']
export const getUserInfo: WechatMiniprogram.Wx['getUserInfo']
export const previewImage: WechatMiniprogram.Wx['previewImage']
export const compressImage: WechatMiniprogram.Wx['compressImage']
export const getEnterOptionsSync: WechatMiniprogram.Wx['getEnterOptionsSync']
export const login: WechatMiniprogram.Wx['login']
export const makePhoneCall: WechatMiniprogram.Wx['makePhoneCall']
export const showModal: WechatMiniprogram.Wx['showModal']
export const nextTick: WechatMiniprogram.Wx['nextTick']
export const pageScrollTo: WechatMiniprogram.Wx['pageScrollTo']
export const stopPullDownRefresh: WechatMiniprogram.Wx['stopPullDownRefresh']
export const startPullDownRefresh:WechatMiniprogram.Wx['startPullDownRefresh']
export const request: WechatMiniprogram.Wx['request']
export const requestPayment: WechatMiniprogram.Wx['requestPayment']
export const redirectTo: WechatMiniprogram.Wx['redirectTo']
export const navigateTo: WechatMiniprogram.Wx['navigateTo']
export const navigateBack: WechatMiniprogram.Wx['navigateBack']
export const reLaunch: WechatMiniprogram.Wx['reLaunch']
export const switchTab: WechatMiniprogram.Wx['switchTab']
export const scanCode: WechatMiniprogram.Wx['scanCode']
export const setScreenBrightness: WechatMiniprogram.Wx['setScreenBrightness']
export const getScreenBrightness: WechatMiniprogram.Wx['getScreenBrightness']
export const setNavigationBarTitle: WechatMiniprogram.Wx['setNavigationBarTitle']
export const setNavigationBarColor: WechatMiniprogram.Wx['setNavigationBarColor']
export const connectSocket: WechatMiniprogram.Wx['connectSocket']
export const setStorage: WechatMiniprogram.Wx['setStorage']
export const setStorageSync: WechatMiniprogram.Wx['setStorageSync']
export const getStorage: WechatMiniprogram.Wx['getStorage']
export const removeStorage: WechatMiniprogram.Wx['removeStorage']
export const getStorageSync: WechatMiniprogram.Wx['getStorageSync']
export const getStorageInfo: WechatMiniprogram.Wx['getStorageInfo']
export const getStorageInfoSync: WechatMiniprogram.Wx['getStorageInfoSync']
export const removeStorageSync: WechatMiniprogram.Wx['removeStorageSync']
export const clearStorage: WechatMiniprogram.Wx['clearStorage']
export const clearStorageSync: WechatMiniprogram.Wx['clearStorageSync']
export const getSystemInfo: WechatMiniprogram.Wx['getSystemInfo']
export const getSystemInfoSync: WechatMiniprogram.Wx['getSystemInfoSync']
export const setTabBarItem: WechatMiniprogram.Wx['setTabBarItem']
export const setTabBarStyle: WechatMiniprogram.Wx['setTabBarStyle']
export const showTabBar: WechatMiniprogram.Wx['showTabBar']
export const hideTabBar: WechatMiniprogram.Wx['hideTabBar']
export const showToast: WechatMiniprogram.Wx['showToast']
export const showLoading: WechatMiniprogram.Wx['showLoading']
export const hideToast: WechatMiniprogram.Wx['hideToast']
export const hideLoading: WechatMiniprogram.Wx['hideLoading']
export const createVideoContext: WechatMiniprogram.Wx['createVideoContext']
export const onWindowResize: WechatMiniprogram.Wx['onWindowResize']
export const offWindowResize: WechatMiniprogram.Wx['offWindowResize']
export const createAnimation: WechatMiniprogram.Wx['createAnimation']
declare const install: (...args: any) => any
export default install

4

package.json
{
"name": "@mpxjs/api-proxy",
"version": "2.9.18",
"version": "2.9.19",
"description": "convert miniprogram API at each end",

@@ -42,3 +42,3 @@ "module": "src/index.js",

},
"gitHead": "ec6a5d714daf59eed0e5651aa4611a9f9383d233"
"gitHead": "3dbb31fbe48d689bbe0d0f2aaf7fbf80943b73d9"
}

@@ -110,1 +110,4 @@ // showActionSheet

export * from './api/lifecycle'
// EventChannel
export * from './api/event-channel'
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