@dynamic-labs/utils
Advanced tools
Comparing version 0.17.0-RC.16 to 0.17.0-RC.17
{ | ||
"name": "@dynamic-labs/utils", | ||
"version": "0.17.0-RC.16", | ||
"version": "0.17.0-RC.17", | ||
"repository": { | ||
@@ -29,5 +29,5 @@ "type": "git", | ||
"dependencies": { | ||
"@dynamic-labs/types": "0.17.0-RC.16" | ||
"@dynamic-labs/types": "0.17.0-RC.17" | ||
}, | ||
"peerDependencies": {} | ||
} |
@@ -15,4 +15,4 @@ export { parseChainId } from './parseChainId.js'; | ||
export { isFunction } from './isFunction/isFunction.js'; | ||
export { isIOS, isIPad, isIPhone, isMobile, isSamsungBrowser } from './isMobile.js'; | ||
export { isAndroid, isIOS, isIPad, isIPhone, isMobile, isSamsungBrowser } from './isMobile.js'; | ||
export { getItemAsync, removeItemAsync, setItemAsync } from './localStorageAsync.js'; | ||
export { bufferToBase64 } from './bufferToBase64.js'; |
@@ -13,2 +13,3 @@ /** | ||
export declare const isIOS: (maxTouchPointsOverride?: number) => boolean; | ||
export declare const isAndroid: () => boolean; | ||
export declare const isSamsungBrowser: () => boolean; |
@@ -39,2 +39,3 @@ /** | ||
}; | ||
const isAndroid = () => isMobile() && !isIOS(); | ||
const isSamsungBrowser = () => { | ||
@@ -47,2 +48,2 @@ if (typeof window === 'undefined' || typeof navigator === 'undefined') { | ||
export { isIOS, isIPad, isIPhone, isMobile, isSamsungBrowser }; | ||
export { isAndroid, isIOS, isIPad, isIPhone, isMobile, isSamsungBrowser }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
108580
649
56
7
31
341
+ Added@dynamic-labs/sdk-api@0.0.195(transitive)
+ Added@dynamic-labs/types@0.17.0-RC.17(transitive)
- Removed@dynamic-labs/sdk-api@0.0.192(transitive)
- Removed@dynamic-labs/types@0.17.0-RC.16(transitive)