@alipay/ams-checkout
Advanced tools
Comparing version 0.0.1724942009-dev.3 to 0.0.1724942009-dev.4
@@ -28,2 +28,3 @@ import type AMSCheckout from '../../core/instance'; | ||
private _multipleCallbackEvents; | ||
private _isAppWebview; | ||
_merchantAppointParam: IMerchantAppointParam; | ||
@@ -30,0 +31,0 @@ private _webAppHeartBeatTimeoutFn; |
@@ -84,2 +84,3 @@ /** | ||
appearance?: Record<string, any>; | ||
isAppWebview?: boolean; | ||
merchantAppointParam?: IMerchantAppointParam; | ||
@@ -86,0 +87,0 @@ } |
@@ -32,3 +32,2 @@ /** | ||
declare const isPC: () => boolean; | ||
declare const isWebView: (mockUA?: string) => boolean; | ||
declare const queryParse: (url?: string) => Record<string, any>; | ||
@@ -51,2 +50,2 @@ declare const getDesignFontSize: () => number; | ||
}, logger: any): Promise<unknown>; | ||
export { getType, EventCenter, getViewPort, getOrigin, serialize, isJsonString, isDom, isFunction, device, safeJson, isPC, isWebView, queryParse, getDesignFontSize, amsSetSize, addSetFontSizeEvent, getOrSetStorageId, checkTimeElapsed, parseBase64ToString, loadSDKScript, }; | ||
export { getType, EventCenter, getViewPort, getOrigin, serialize, isJsonString, isDom, isFunction, device, safeJson, isPC, queryParse, getDesignFontSize, amsSetSize, addSetFontSizeEvent, getOrSetStorageId, checkTimeElapsed, parseBase64ToString, loadSDKScript, }; |
@@ -174,6 +174,2 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } | ||
}; | ||
var isWebView = function isWebView(mockUA) { | ||
var ua = mockUA || navigator.userAgent; | ||
return /webview|wv|ip((?!.*safari)|(?=.*like safari))/i.test(ua); | ||
}; | ||
var queryParse = function queryParse(url) { | ||
@@ -340,2 +336,2 @@ var qs = {}; | ||
} | ||
export { getType, EventCenter, getViewPort, getOrigin, serialize, isJsonString, isDom, isFunction, device, safeJson, isPC, isWebView, queryParse, getDesignFontSize, amsSetSize, addSetFontSizeEvent, getOrSetStorageId, checkTimeElapsed, parseBase64ToString, loadSDKScript }; | ||
export { getType, EventCenter, getViewPort, getOrigin, serialize, isJsonString, isDom, isFunction, device, safeJson, isPC, queryParse, getDesignFontSize, amsSetSize, addSetFontSizeEvent, getOrSetStorageId, checkTimeElapsed, parseBase64ToString, loadSDKScript }; |
{ | ||
"name": "@alipay/ams-checkout", | ||
"version": "0.0.1724942009-dev.3", | ||
"version": "0.0.1724942009-dev.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2775620