export const noPromiseApis = new Set([
  'offSocketClose',
  'offSocketError',
  'offSocketMessage',
  'offSocketOpen',
  'getAppIdSync',
  'calculateRoute',
  'createWebViewContext',
  'hideAddToDesktopMenu',
  'hideAllAddToDesktopMenu',
  'hideAllFavoriteMenu',
  'hideBackHome',
  'hideFavoriteMenu',
  'openCardDetail',
  'openCardList',
  'openKBVoucherDetail',
  'openMerchantCardList',
  'openMerchantTicketList',
  'openMerchantVoucherList',
  'openTicketDetail',
  'openTicketList',
  'openVoucherDetail',
  'openVoucherList',
  'setCanPullDown',
  'setOptionMenu',
  'showSharePanel'
])

export const needPromiseApis = new Set([
  'addCardAuth',
  'getOpenUserInfo',
  'chooseAlipayContact',
  'chooseCity',
  'chooseContact',
  'choosePhoneContact',
  'datePicker',
  'getAddress',
  'getAuthCode',
  'getPhoneNumber',
  'getRunData',
  'getRunScene',
  'getServerTime',
  'getTitleColor',
  'rsa',
  'paySignCenter',
  'tradePay',
  'isCollected',
  'multiLevelSelect',
  'onLocatedComplete',
  'optionsSelect',
  'prompt',
  'regionPicker',
  'setLocatedCity',
  'showAuthGuide',
  'textRiskIdentification',
  'vibrate',
  'watchShake'
])
