@walletconnect/utils
Advanced tools
Comparing version 1.0.0-beta.66 to 1.0.0-beta.67
@@ -66,2 +66,3 @@ /// <reference types="node" /> | ||
export declare function isNode(): boolean; | ||
export declare function isBrowser(): boolean; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -593,2 +593,7 @@ "use strict"; | ||
exports.isNode = isNode; | ||
function isBrowser() { | ||
const result = !isNode() && typeof window !== "undefined" && typeof window.navigator !== "undefined"; | ||
return result; | ||
} | ||
exports.isBrowser = isBrowser; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@walletconnect/utils", | ||
"version": "1.0.0-beta.66", | ||
"version": "1.0.0-beta.67", | ||
"description": "Utility Library for WalletConnect", | ||
@@ -65,3 +65,3 @@ "scripts": { | ||
"@ethersproject/strings": "5.0.0-beta.136", | ||
"@walletconnect/types": "^1.0.0-beta.66", | ||
"@walletconnect/types": "^1.0.0-beta.67", | ||
"bignumber.js": "9.0.0", | ||
@@ -68,0 +68,0 @@ "detect-browser": "4.8.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
366321
1072