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

@mpxjs/api-proxy

Package Overview
Dependencies
Maintainers
14
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.27 to 2.9.28

4

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

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

},
"gitHead": "3939aaaa7d9be0c86e51da16080a6cd8d7863a1a"
"gitHead": "d573387d467bb2efb88cca627380627a1d45a4cd"
}

@@ -103,2 +103,5 @@ /**

}
const ENV_OBJ = getEnvObj()
export {

@@ -115,3 +118,4 @@ changeOpts,

hasOwn,
throwSSRWarning
throwSSRWarning,
ENV_OBJ
}

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

import { changeOpts, noop } from '../../../common/js'
import { ENV_OBJ, changeOpts, noop } from '../../../common/js'
function showActionSheet (options = {}) {

@@ -23,3 +24,3 @@ const opts = changeOpts(options, {

my.showActionSheet(opts)
return ENV_OBJ.showActionSheet(opts)
}

@@ -26,0 +27,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const showActionSheet = ENV_OBJ.showActionSheet || envError('showActionSheet')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts } from '../../../common/js'
import { ENV_OBJ, changeOpts } from '../../../common/js'

@@ -8,3 +8,3 @@ function addPhoneContact (options = {}) {

my.addPhoneContact(opts)
return ENV_OBJ.addPhoneContact(opts)
}

@@ -11,0 +11,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const addPhoneContact = ENV_OBJ.addPhoneContact || envError('addPhoneContact')

@@ -6,0 +4,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const createAnimation = ENV_OBJ.createAnimation || envError('createAnimation')

@@ -6,0 +4,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const onError = ENV_OBJ.onError || envError('onError')

@@ -6,0 +4,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const createInnerAudioContext = ENV_OBJ.createInnerAudioContext || envError('createInnerAudioContext')

@@ -6,0 +4,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const base64ToArrayBuffer = ENV_OBJ.base64ToArrayBuffer || envError('base64ToArrayBuffer')

@@ -6,0 +4,0 @@

import { fromByteArray, toByteArray } from './base64'
function base64ToArrayBuffer (base64) {
return toByteArray(base64)
return toByteArray(base64)?.buffer
}

@@ -6,0 +6,0 @@

@@ -0,11 +1,13 @@

import { ENV_OBJ } from '../../../common/js'
function closeBLEConnection (options = {}) {
my.disconnectBLEDevice(options)
return ENV_OBJ.disconnectBLEDevice(options)
}
function createBLEConnection (options = {}) {
my.connectBLEDevice(options)
return ENV_OBJ.connectBLEDevice(options)
}
function onBLEConnectionStateChange (callback) {
my.onBLEConnectionStateChanged(callback)
return ENV_OBJ.onBLEConnectionStateChanged(callback)
}

@@ -12,0 +14,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const closeBLEConnection = ENV_OBJ.closeBLEConnection || envError('closeBLEConnection')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts, envError, handleSuccess } from '../../../common/js'
import { ENV_OBJ, changeOpts, envError, handleSuccess } from '../../../common/js'

@@ -11,11 +11,9 @@ function canvasToTempFilePath (options = {}) {

my.canvasToTempFilePath(options)
return ENV_OBJ.canvasToTempFilePath(options)
}
const createCanvasContext = envError('createCanvasContext')
const canvasGetImageData = envError('canvasGetImageData')
export {
createCanvasContext,
canvasToTempFilePath,
canvasGetImageData
}

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const createCanvasContext = ENV_OBJ.createCanvasContext || envError('createCanvasContext')
const canvasToTempFilePath = ENV_OBJ.canvasToTempFilePath || envError('canvasToTempFilePath')

@@ -12,5 +8,4 @@

export {
createCanvasContext,
canvasToTempFilePath,
canvasGetImageData
}

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const checkSession = ENV_OBJ.checkSession || envError('checkSession')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts, handleSuccess } from '../../../common/js'
import { ENV_OBJ, changeOpts, handleSuccess } from '../../../common/js'

@@ -14,3 +14,3 @@ function setClipboardData (options = {}) {

})
my.setClipboard(opts)
return ENV_OBJ.setClipboard(opts)
}

@@ -25,3 +25,3 @@

my.getClipboard(opts)
return ENV_OBJ.getClipboard(opts)
}

@@ -28,0 +28,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const setClipboardData = ENV_OBJ.setClipboardData || envError('setClipboardData')

@@ -6,0 +4,0 @@

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

import { ENV_OBJ } from '../../../common/js'
function createIntersectionObserver (component, options = {}) {
return my.createIntersectionObserver(options)
return ENV_OBJ.createIntersectionObserver(options)
}

@@ -4,0 +6,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const createIntersectionObserver = ENV_OBJ.createIntersectionObserver || envError('createIntersectionObserver')

@@ -6,0 +4,0 @@

@@ -1,5 +0,5 @@

import { noop } from '../../../common/js'
import { ENV_OBJ, noop } from '../../../common/js'
function createSelectorQuery (options = {}) {
const selectorQuery = my.createSelectorQuery(options)
const selectorQuery = ENV_OBJ.createSelectorQuery(options)
const proxyMethods = ['boundingClientRect', 'scrollOffset']

@@ -6,0 +6,0 @@ const cbs = []

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const createSelectorQuery = ENV_OBJ.createSelectorQuery || envError('createSelectorQuery')

@@ -6,0 +4,0 @@

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

import { getEnvObj, envError } from '../../../../common/js'
import { ENV_OBJ, envError } from '../../../../common/js'
const ENV_OBJ = getEnvObj()
const getNetworkType = ENV_OBJ.getNetworkType || envError('getNetworkType')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts, handleSuccess } from '../../../common/js'
import { ENV_OBJ, changeOpts, handleSuccess } from '../../../common/js'

@@ -10,3 +10,3 @@ function downloadFile (options = {}) {

return my.downloadFile(opts)
return ENV_OBJ.downloadFile(opts)
}

@@ -17,3 +17,3 @@

return my.uploadFile(opts)
return ENV_OBJ.uploadFile(opts)
}

@@ -30,3 +30,3 @@

my.saveFile(opts)
return ENV_OBJ.saveFile(opts)
}

@@ -33,0 +33,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const downloadFile = ENV_OBJ.downloadFile || envError('downloadFile')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { warn } from '../../../common/js'
import { ENV_OBJ, warn } from '../../../common/js'

@@ -13,3 +13,3 @@ const TIPS_NAME = '支付宝环境 mpx'

my.getOpenUserInfo(options)
return ENV_OBJ.getOpenUserInfo(options)
}

@@ -16,0 +16,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const getUserInfo = ENV_OBJ.getUserInfo || envError('getUserInfo')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts, handleSuccess } from '../../../common/js'
import { ENV_OBJ, changeOpts, handleSuccess } from '../../../common/js'

@@ -11,3 +11,3 @@ function previewImage (options = {}) {

my.previewImage(opts)
return ENV_OBJ.previewImage(opts)
}

@@ -31,3 +31,3 @@

my.compressImage(opts)
return ENV_OBJ.compressImage(opts)
}

@@ -34,0 +34,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const previewImage = ENV_OBJ.previewImage || envError('previewImage')

@@ -6,0 +4,0 @@

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

import { ENV_OBJ } from '../../../common/js'
function getEnterOptionsSync () {
return my.getEnterOptionsSync()
return ENV_OBJ.getEnterOptionsSync()
}

@@ -4,0 +6,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const getEnterOptionsSync = ENV_OBJ.getEnterOptionsSync || envError('getEnterOptionsSync')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts, handleSuccess } from '../../../common/js'
import { ENV_OBJ, changeOpts, handleSuccess } from '../../../common/js'

@@ -10,3 +10,3 @@ function login (options = {}) {

my.getAuthCode(opts)
return ENV_OBJ.getAuthCode(opts)
}

@@ -13,0 +13,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const login = ENV_OBJ.login || envError('login')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts } from '../../../common/js'
import { ENV_OBJ, changeOpts } from '../../../common/js'

@@ -7,3 +7,3 @@ function makePhoneCall (options = {}) {

})
my.makePhoneCall(opts)
return ENV_OBJ.makePhoneCall(opts)
}

@@ -10,0 +10,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const makePhoneCall = ENV_OBJ.makePhoneCall || envError('makePhoneCall')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts, handleSuccess } from '../../../common/js'
import { ENV_OBJ, changeOpts, handleSuccess } from '../../../common/js'

@@ -16,3 +16,3 @@ function showModal (options = {}) {

my.confirm(opts)
return ENV_OBJ.confirm(opts)
} else {

@@ -27,3 +27,3 @@ opts = changeOpts(options, {

my.alert(opts)
return ENV_OBJ.alert(opts)
}

@@ -30,0 +30,0 @@ }

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const showModal = ENV_OBJ.showModal || envError('showModal')

@@ -6,0 +4,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const nextTick = ENV_OBJ.nextTick || envError('nextTick')

@@ -6,0 +4,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const pageScrollTo = ENV_OBJ.pageScrollTo || envError('pageScrollTo')

@@ -6,0 +4,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const stopPullDownRefresh = ENV_OBJ.stopPullDownRefresh || envError('stopPullDownRefresh')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts, error, noop } from '../../../common/js'
import { ENV_OBJ, changeOpts, error, noop } from '../../../common/js'

@@ -40,3 +40,3 @@ const TIPS_NAME = '支付宝环境 mpx'

my.tradePay(opts)
return ENV_OBJ.tradePay(opts)
}

@@ -43,0 +43,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const requestPayment = ENV_OBJ.requestPayment || envError('requestPayment')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts, handleSuccess } from '../../../common/js'
import { ENV_OBJ, changeOpts, handleSuccess } from '../../../common/js'

@@ -17,6 +17,6 @@ function request (options = {}) {

// httpRequest 即将被废弃,钉钉端仍需要使用
if (my.canIUse('request')) {
return my.request(opts)
if (ENV_OBJ.canIUse('request')) {
return ENV_OBJ.request(opts)
} else {
return my.httpRequest(opts)
return ENV_OBJ.httpRequest(opts)
}

@@ -23,0 +23,0 @@ }

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const request = ENV_OBJ.request || envError('request')

@@ -6,0 +4,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const redirectTo = ENV_OBJ.redirectTo || envError('redirectTo')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts, handleSuccess } from '../../../common/js'
import { ENV_OBJ, changeOpts, handleSuccess } from '../../../common/js'

@@ -12,3 +12,3 @@ function scanCode (options = {}) {

my.scan(opts)
return ENV_OBJ.scan(opts)
}

@@ -15,0 +15,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const scanCode = ENV_OBJ.scanCode || envError('scanCode')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts, handleSuccess } from '../../../common/js'
import { ENV_OBJ, changeOpts, handleSuccess } from '../../../common/js'

@@ -10,3 +10,3 @@ function setScreenBrightness (options = {}) {

})
my.setScreenBrightness(opts)
return ENV_OBJ.setScreenBrightness(opts)
}

@@ -21,3 +21,3 @@

my.getScreenBrightness(opts)
return ENV_OBJ.getScreenBrightness(opts)
}

@@ -24,0 +24,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const setScreenBrightness = ENV_OBJ.setScreenBrightness || envError('setScreenBrightness')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts, handleSuccess } from '../../../common/js'
import { ENV_OBJ, changeOpts, handleSuccess } from '../../../common/js'

@@ -7,15 +7,13 @@ function setNavigationBarTitle (options = {}) {

})
if (my.canIUse('setNavigationBarTitle')) {
my.setNavigationBarTitle(options)
return
if (ENV_OBJ.canIUse('setNavigationBarTitle')) {
return ENV_OBJ.setNavigationBarTitle(options)
}
my.setNavigationBar(options)
return ENV_OBJ.setNavigationBar(options)
}
function setNavigationBarColor (options = {}) {
if (my.canIUse('setNavigationBarColor')) {
my.setNavigationBarColor(options)
return
if (ENV_OBJ.canIUse('setNavigationBarColor')) {
return ENV_OBJ.setNavigationBarColor(options)
}
my.setNavigationBar(options)
return ENV_OBJ.setNavigationBar(options)
}

@@ -22,0 +20,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const setNavigationBarTitle = ENV_OBJ.setNavigationBarTitle || envError('setNavigationBarTitle')

@@ -6,0 +4,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const connectSocket = ENV_OBJ.connectSocket || envError('connectSocket')

@@ -6,0 +4,0 @@

@@ -0,7 +1,9 @@

import { ENV_OBJ } from '../../../common/js'
function setStorage (options) {
my.setStorage(options)
return ENV_OBJ.setStorage(options)
}
function setStorageSync (key, data) {
my.setStorageSync({
return ENV_OBJ.setStorageSync({
key,

@@ -13,7 +15,7 @@ data

function getStorage (options) {
my.getStorage(options)
return ENV_OBJ.getStorage(options)
}
function getStorageSync (key) {
return my.getStorageSync({
return ENV_OBJ.getStorageSync({
key

@@ -24,15 +26,15 @@ }).data

function getStorageInfo (options) {
return my.getStorageInfo(options)
return ENV_OBJ.getStorageInfo(options)
}
function getStorageInfoSync () {
return my.getStorageInfoSync()
return ENV_OBJ.getStorageInfoSync()
}
function removeStorage (options) {
return my.removeStorage(options)
return ENV_OBJ.removeStorage(options)
}
function removeStorageSync (key) {
my.removeStorageSync({
return ENV_OBJ.removeStorageSync({
key

@@ -43,7 +45,7 @@ })

function clearStorage (options) {
my.clearStorage(options)
return ENV_OBJ.clearStorage(options)
}
function clearStorageSync (options) {
my.clearStorageSync(options)
return ENV_OBJ.clearStorageSync(options)
}

@@ -50,0 +52,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const setStorage = ENV_OBJ.setStorage || envError('setStorage')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts, handleSuccess } from '../../../common/js'
import { ENV_OBJ, changeOpts, handleSuccess } from '../../../common/js'

@@ -8,3 +8,3 @@ function getSystemInfo (options = {}) {

res.system = `${res.platform} ${res.system}`
res.SDKVersion = my.SDKVersion
res.SDKVersion = ENV_OBJ.SDKVersion

@@ -19,10 +19,10 @@ // 支付宝 windowHeight 可能为 0

my.getSystemInfo(opts)
return ENV_OBJ.getSystemInfo(opts)
}
function getSystemInfoSync () {
const res = my.getSystemInfoSync() || {}
const res = ENV_OBJ.getSystemInfoSync() || {}
res.system = `${res.platform} ${res.system}`
res.SDKVersion = my.SDKVersion
res.SDKVersion = ENV_OBJ.SDKVersion

@@ -29,0 +29,0 @@ // 支付宝 windowHeight 可能为 0

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const getSystemInfo = ENV_OBJ.getSystemInfo || envError('getSystemInfo')

@@ -6,0 +4,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const setTabBarItem = ENV_OBJ.setTabBarItem || envError('setTabBarItem')

@@ -6,0 +4,0 @@

@@ -1,2 +0,2 @@

import { changeOpts, warn } from '../../../common/js'
import { ENV_OBJ, changeOpts, warn } from '../../../common/js'

@@ -10,3 +10,3 @@ const TIPS_NAME = '支付宝环境 mpx'

})
my.showToast(opts)
return ENV_OBJ.showToast(opts)
}

@@ -18,3 +18,3 @@

}
my.hideToast(options)
return ENV_OBJ.hideToast(options)
}

@@ -26,3 +26,3 @@

})
my.showLoading(opts)
return ENV_OBJ.showLoading(opts)
}

@@ -34,3 +34,3 @@

}
my.hideLoading(options)
return ENV_OBJ.hideLoading(options)
}

@@ -37,0 +37,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const showToast = ENV_OBJ.showToast || envError('showToast')

@@ -6,0 +4,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const createVideoContext = ENV_OBJ.createVideoContext || envError('createVideoContext')

@@ -6,0 +4,0 @@

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

import { getEnvObj, envError } from '../../../common/js'
import { ENV_OBJ, envError } from '../../../common/js'
const ENV_OBJ = getEnvObj()
const onWindowResize = ENV_OBJ.onWindowResize || envError('onWindowResize')

@@ -6,0 +4,0 @@

@@ -22,3 +22,3 @@ // showActionSheet

// createCanvasContext, canvasToTempFilePath, canvasGetImageData
// canvasToTempFilePath, canvasGetImageData
export * from './api/canvas'

@@ -25,0 +25,0 @@

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