{"_id":"@walletconnect/window-getters","_rev":"30-3df6008624066b8632a4f200a268bd5c","name":"@walletconnect/window-getters","dist-tags":{"beta":"1.0.0-beta.1","latest":"1.0.1"},"versions":{"1.0.0-beta.1":{"name":"@walletconnect/window-getters","version":"1.0.0-beta.1","keywords":["window","undefined","isomorphic","getters","throw"],"author":{"name":"WalletConnect","email":"walletconnect.org"},"license":"MIT","_id":"@walletconnect/window-getters@1.0.0-beta.1","maintainers":[{"name":"pedrouid","email":"pedrogomes94@gmail.com"}],"homepage":"https://github.com/walletconnect/walletconnect-utils","bugs":{"url":"https://github.com/walletconnect/walletconnect-utils/issues"},"dist":{"shasum":"f48b9ce280b1d0b00bf43124dafa000cdb0e2331","tarball":"https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0-beta.1.tgz","fileCount":13,"integrity":"sha512-98da0c2mDyYYVy7Ft2NlYPaLt9tOGZ0ZyyVsVfjd99U3l2kPaq8+tN71GWGJ04MVd5mLsF2Y0yjWJ9QNMwThBA==","signatures":[{"sig":"MEQCIHYx/blAtU/uAUg9GwRU0V1P187DLIGC6jjX+9JqYxUpAiBZ0gLpWSBn6rzCGWyN6chM+H0mUzUUs76xqxFTSNy0dw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":100868,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/o8dCRA9TVsSAnZWagAAQFUP/0+1Fbvj9k8miE2OOe1P\nDVCa9PY8RWRw+nMlKNBHwGfqbaQSEOAzONnhm4tw2TGT2eNhIlBulPvn3VcP\nE+eO2xUJwbGS1xp74mOhj5a2kiFdIenyYfJV4uvr+1U2dIosJge55th+V2yn\ntXNhfuwSPo38OhrglH31akS2q3iyzdUZkcyWY0uah0w2gUzNrtvDEKoLV853\nnZE6A9mFhamdoaKaGJOVKQUa0DdtkPZqTM+n6GcynWkYwMYLNiM0LX03nALW\nLXded9PnT0gws19XQZLq1cIiZFWgpG+Gbvs2m+Ti181d/1WXpgaDiKmeFkvh\nywFFABwIwXVT6tNVQUQvPQ4yy8FErYhD5K09sTjIBEqDmk8pAh/YalXaOLB2\nNqBMZL6ipLa61Cc/55uXb/7luFYU3k1cwM14c9slzrEHfve4mz9IZ/hVPsQX\nqAg5yxYZaOcJYIZJncPPIEi07rOYdTQrj+pVzg4u/YmiwxzLvXDurgVZYdJ0\nCfvfvpbs0rjD6nSV/tHB4WuVQsF5Ht38QaJRd0NlEy7UNR5h61MficIJpKA4\naCw86cGLdAI+OixQSciEwLGjr94TJ12qI83MaJf0gURRunkOKS/YT2iupHix\n8fGaDp0jHDteJw3cNE55pnE5Eys0h7XrZl0SjU81cPDMgW2Y8dZ6YzVGPptR\nbme1\r\n=17yX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","husky":{"hooks":{"pre-commit":"run-s lint"}},"types":"dist/cjs/index.d.ts","unpkg":"dist/umd/index.min.js","scripts":{"lint":"eslint -c '../../.eslintrc' --fix './src/**/*.ts'","test":"env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --exit -r ts-node/register ./test/**/*.test.ts","build":"run-s clean build:cjs build:esm build:umd ","clean":"rm -rf dist","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","build:umd":"webpack"},"_npmUser":{"name":"pedrouid","email":"pedrogomes94@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":false,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/walletconnect/walletconnect-utils.git","type":"git"},"_npmVersion":"7.9.0","description":"Safe Window Getters","directories":{},"_nodeVersion":"16.2.0","_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.0","tslib":"^1.10.0","webpack":"^4.41.6","typescript":"^3.7.5","@types/jest":"^26.0.15","@types/node":"^14.14.7","webpack-cli":"^3.3.11","@types/bn.js":"4.11.6"},"_npmOperationalInternal":{"tmp":"tmp/window-getters_1.0.0-beta.1_1627295517087_0.123595472340843","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@walletconnect/window-getters","version":"1.0.0","keywords":["window","undefined","isomorphic","getters","throw"],"author":{"name":"WalletConnect","email":"walletconnect.org"},"license":"MIT","_id":"@walletconnect/window-getters@1.0.0","maintainers":[{"name":"pedrouid","email":"pedrogomes94@gmail.com"}],"homepage":"https://github.com/walletconnect/walletconnect-utils","bugs":{"url":"https://github.com/walletconnect/walletconnect-utils/issues"},"dist":{"shasum":"1053224f77e725dfd611c83931b5f6c98c32bfc8","tarball":"https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.0.tgz","fileCount":13,"integrity":"sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA==","signatures":[{"sig":"MEUCIAPp5DP0NQm9d9Qn/eS4PePiUiFUAlGxmYKXYlHrVdIyAiEA/hQrf9Tk7BYwDF03Qoxnfzw1YeMzs2DnY8cl+pXZV6A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":100048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAZPQCRA9TVsSAnZWagAARqoP/RkHXaZEL4YQvGhVuVf2\n1N96UCGcoxiVw5cn/0PUiLZWaABoz9FkGgvWjPYp5i95sOrjUIFEKVtm1QXd\noperxXA9kIb52SCOqVFiSHGF9Re8r0c1abjA6lO2F2F4cniKSiULAY+5TQwt\nRGqwtS7/3GOLNjLKz4xjZ+rULpckfaj7lXpcDzxrJpa5Dq7QP4nY+/6HvyWT\n8opE61XJzw/BOwyIktKI9jQaoLLcq9GlRb5RBIxfzobBjBa5HaTW3WKJ0sdX\nB11fh59+PcxC5UOi5DEpSjk2Rm3iAgI9ha6rwhddhscIsl1UQVABpCssF5Ee\n5EuNqABrP9XR98JQaY5iiJz0faNUOWJ2BumbgNXElUodNVBDnKxl1Aw6w2gB\n22AFItAUZbXVaepSy07NwrUt/Ht5sIeK29tZpjJx6yx9eeJloD3ygcEFQj7D\nlIrR6eDpqsvbEv2b3YEWKkv+zoRODq1k+w56kVIZPh7X9zD/GW40DGQCW5eL\nXoYz47sZh5UYAYJKUvcBq6OnP+R9njrFF2E0z5EDIDDm4R2eAhmMLM1+OceX\nLARVt/qjhf4wCXf/+3bszn4C4BF8Vch0iJ0WweI9H9Q+ES4lewT3C3zPoGQC\nRlE5+vPKoKaQTVNOq3coN0mcfAcGZQFz2pr4Dpx1dw2yjg5BXeCXWjEYH3pB\nEZPq\r\n=hu54\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","husky":{"hooks":{"pre-commit":"run-s lint"}},"types":"dist/cjs/index.d.ts","unpkg":"dist/umd/index.min.js","scripts":{"lint":"eslint -c '../../.eslintrc' --fix './src/**/*.ts'","test":"env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --exit -r ts-node/register ./test/**/*.test.ts","build":"run-s clean build:cjs build:esm build:umd ","clean":"rm -rf dist","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","build:umd":"webpack"},"_npmUser":{"name":"pedrouid","email":"pedrogomes94@gmail.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":false,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/walletconnect/walletconnect-utils.git","type":"git"},"_npmVersion":"7.9.0","description":"Safe Window Getters","directories":{},"_nodeVersion":"16.2.0","_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.0","tslib":"^1.10.0","webpack":"^4.41.6","typescript":"^3.7.5","@types/jest":"^26.0.15","@types/node":"^14.14.7","webpack-cli":"^3.3.11","@types/bn.js":"4.11.6"},"_npmOperationalInternal":{"tmp":"tmp/window-getters_1.0.0_1627493328411_0.7910422507215189","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@walletconnect/window-getters","version":"1.0.1","keywords":["window","undefined","isomorphic","getters","throw"],"author":{"name":"WalletConnect, Inc.","email":"walletconnect.com"},"license":"MIT","_id":"@walletconnect/window-getters@1.0.1","maintainers":[{"name":"crypblizz","email":"tom.terado@gmail.com"},{"name":"devceline","email":"celinesarafa@gmail.com"},{"name":"gancho_walletconnect","email":"gancho@walletconnect.com"},{"name":"sbc64","email":"sbc64@pm.me"},{"name":"iljadoesdev","email":"ilja@walletconnect.com"},{"name":"bkrem","email":"ben.kremer@hotmail.co.uk"},{"name":"pedrouid","email":"pedrogomes94@gmail.com"}],"homepage":"https://github.com/walletconnect/walletconnect-utils","bugs":{"url":"https://github.com/walletconnect/walletconnect-utils/issues"},"dist":{"shasum":"f36d1c72558a7f6b87ecc4451fc8bd44f63cbbdc","tarball":"https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.1.tgz","fileCount":14,"integrity":"sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q==","signatures":[{"sig":"MEUCIE6Ow9w68/0Eep3MhwYD1PD7rECHHbnCNhgid3gf3YSWAiEAmrfBcm3qgQCynxfRwxMqopz7w3CSKd6lkpIBJQP6aBM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":217854,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgJV2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrVFg//YvcuJ+Raolugi5UJq/7R2Fs+KT32bQpnzyWwuXv/qZpv5t2+\r\nYhiyTzZ1w8ovqcQjaqSxM7Ftx4M0N4PizV37FBnU05/uXNsg1HZodvi9RDNa\r\n9/kf3HYldvFZzJYJtANph+1CHkWcma0kVOf8tKOVlV0hVJy2m8vQPknrPLda\r\nQeyDw+FOIXDtn91m6YiOXGaMJ+EjULC7Aq4hxSn6QLtQxkkTpaDC17uGgK5K\r\novCGBerMkZNWtbtkZBVUuOECB53xXmWgT5eZWNGCdV8RPB3ekFKbU/2aBiS0\r\nCR0phS7+wtqomcYAhIZgywpZ4xo43617aOdWRzxRL0XxKHdNCyrZIpm0D5Ev\r\n8tZb5mA2UOcHB2DrSg//CAbA9SpEnNM/LnR9dC72+PkG/r+yr01BhgvHKZYV\r\nMj6V1VGScCEepBmkM1wWadZOn9JyDUM0k/cDfpZZ330B3V0yxuHDwY8A35Ap\r\njyoXCD+VIddTbpUeEIhotMVLmHXv3GbaiwEiRg/cteFKZRrR+KEOb2YbLi1H\r\nhR+XaoZlv7N4Y7MQA5Ch3etqUcuslvj2ZqaopHhHpOYQXMlTf8MIq5vXubDu\r\nozZzoR9UxJsoVHPThDVL3CJT3IqnjSYKUE/XDw8UUReovgZmRT43TQB8Xr9f\r\n0xBuV9GR2023VhaervwOj8lMaJLfm3lJONE=\r\n=pah4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","husky":{"hooks":{"pre-commit":"run-s lint"}},"types":"dist/cjs/index.d.ts","unpkg":"dist/umd/index.min.js","gitHead":"81bc9b0859b6875d35697177ec21e2d01457403b","scripts":{"lint":"eslint -c '../../.eslintrc' --fix './src/**/*.ts'","test":"env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts","build":"run-s clean build:cjs build:esm build:umd ","clean":"rm -rf dist","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","build:umd":"webpack"},"_npmUser":{"name":"bkrem","email":"ben.kremer@hotmail.co.uk"},"prettier":{"semi":true,"printWidth":80,"singleQuote":false,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/walletconnect/walletconnect-utils.git","type":"git"},"_npmVersion":"8.19.1","description":"Safe Window Getters","directories":{},"_nodeVersion":"16.17.0","dependencies":{"tslib":"1.14.1"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.3.0","webpack":"^4.41.6","typescript":"^3.7.5","@types/jest":"^26.0.15","@types/node":"^14.14.7","webpack-cli":"^3.3.11","@types/bn.js":"4.11.6"},"_npmOperationalInternal":{"tmp":"tmp/window-getters_1.0.1_1669371254110_0.8873479768280361","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-07-26T10:31:56.965Z","modified":"2026-04-10T15:05:27.441Z","1.0.0-beta.1":"2021-07-26T10:31:57.246Z","1.0.0":"2021-07-28T17:28:48.561Z","1.0.1":"2022-11-25T10:14:14.253Z"},"bugs":{"url":"https://github.com/walletconnect/walletconnect-utils/issues"},"author":{"name":"WalletConnect, Inc.","email":"walletconnect.com"},"license":"MIT","homepage":"https://github.com/walletconnect/walletconnect-utils","keywords":["window","undefined","isomorphic","getters","throw"],"repository":{"url":"git+https://github.com/walletconnect/walletconnect-utils.git","type":"git"},"description":"Safe Window Getters","maintainers":[{"email":"alexanderderekrein@gmail.com","name":"cyberdrk"},{"email":"npm-org@reown.com","name":"reown-npm-org"}],"readme":"# window-getters [![npm version](https://badge.fury.io/js/window-getters.svg)](https://badge.fury.io/js/window-getters)\n\nSafe Window Getters\n\n## API\n\n```typescript\nfunction getFromWindow<T>(name: string): T | undefined;\nfunction getFromWindowOrThrow<T>(name: string): T;\n\nfunction getDocumentOrThrow(): Document;\nfunction getDocument(): Document | undefined;\n\nfunction getNavigatorOrThrow(): Navigator;\nfunction getNavigator(): Navigator | undefined;\n\nfunction getLocationOrThrow(): Location;\nfunction getLocation(): Location | undefined;\n\nfunction getCryptoOrThrow(): Crypto;\nfunction getCrypto(): Crypto | undefined;\n\nfunction getLocalStorageOrThrow(): Storage;\nfunction getLocalStorage(): Storage | undefined;\n```\n","readmeFilename":"README.md"}