{"_id":"use-broadcast-ts","_rev":"26-1f182480eff4a0e8c3ace1e491b59db5","name":"use-broadcast-ts","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"use-broadcast-ts","version":"1.0.0","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.0.0","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"a236333da10f26b1e489195862e6872dc73cd228","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.0.0.tgz","fileCount":13,"integrity":"sha512-6yPRaRq2t5uzSHlXc5jp/oXbb03ZWWm0n6fU6Gczch2jknRSBhXK0m41BI1z/BzwREubOEg8ZZI3c4xyvJ8VlA==","signatures":[{"sig":"MEUCID+bbFJKCMXd55HuGM6ajxkesZ0UZiWPExI+XsToKKKEAiEAnka+u940QNHAwsQUkLk4nWGi8K1NAnZvmIqSuu1hrmo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13839},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"aad533fe124277631f63a85924cd3c812393ea7b","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"9.6.7","description":"Use the Broadcast Channel API in React easily with hooks and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"peerDependencies":{"react":">=18.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.0.0_1684877754397_0.8238002085607636","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"use-broadcast-ts","version":"1.1.0","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.1.0","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"0666d5b850c4ec0aa5e0fee1c9b765b1567c7fe9","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.1.0.tgz","fileCount":13,"integrity":"sha512-p8VMa7430nRVqz1kqMzpdIaKM6SsRgUjXcBp/XJNuNJLX+XPFGymJkv6Bcg6Wokwq6eb88v6CnXLDUCL2O086A==","signatures":[{"sig":"MEUCIQDDnAWME61EcbcAPhhKlTivwDL4kp0hoQ7h0qXO2i7deAIgS9LbLK2yUkB+ziSbEiWr4dgPn5d6zjta6OuBb7lTKhQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19039},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"aad533fe124277631f63a85924cd3c812393ea7b","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"9.6.7","description":"Use the Broadcast Channel API in React easily with hooks and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"peerDependencies":{"react":">=18.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.1.0_1684964969522_0.9353388837863206","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"use-broadcast-ts","version":"1.1.1","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.1.1","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"9e611858d482a3cb22b09ac862c7836341741926","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.1.1.tgz","fileCount":13,"integrity":"sha512-/3Wg8/J3Jc4a6wIfRkLJRYHljnTnOR4pBHaYxh71+VO65LFfMhZREfXDUzTYpxYdJEODueFIckZoeCWK0enVhQ==","signatures":[{"sig":"MEUCIQDcNZcqxhwr0Gw23mbzBoCWYfgkZSh1FiPaAnrtcT20qAIgNb4a2sC8ntoGGVL/GUUp4ECXoqu24AbtBmIGqYmwMSY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19044},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"55c06e3a422271d2c2f474486c63497890f4889a","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"9.6.7","description":"Use the Broadcast Channel API in React easily with hooks and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"peerDependencies":{"react":">=18.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.1.1_1685034131861_0.8557894546102394","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"use-broadcast-ts","version":"1.1.2","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.1.2","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"f7d4a9a3cfd3491ee7227f3f89ccd352cb6468a2","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.1.2.tgz","fileCount":13,"integrity":"sha512-xch5bBsXoB1dSVqh2Z0vJmqYHQyQ5yxY2infy2y2qa+codE/P9k974ys1INVwweBEr5CaWGA1nI3GFEWc26eaA==","signatures":[{"sig":"MEQCIDhMNhjifI2icR4IqtmAAsa+yV7xzMFWRtT4L4YuOTGhAiBI1WVvW/bK5V1PDOLQmllklV8zX2Lr7LGDfg7rlE+WqQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19224},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"005b12aaa7650bed35cfceea8cbff4d2ebaaae63","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"9.6.7","description":"Use the Broadcast Channel API in React easily with hooks and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"peerDependencies":{"react":">=18.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.1.2_1685041318579_0.045151278571418985","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"use-broadcast-ts","version":"1.1.3","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.1.3","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"9799bb5d2e0aebccced1c05c104e8550a89bd689","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.1.3.tgz","fileCount":13,"integrity":"sha512-Rnps9A4SyePrcKA8GKN2FmUwgC0STJ+f6JqLGBA5PpxtMnJZe7TLKxYM9FFKIrgBiNwU38mZr4jqcsFEfEeCwg==","signatures":[{"sig":"MEQCIBE4mar7SFJGonDdxmN56FG4a0C+qXhsUMrbRKiJwhBcAiBA2rA1y0O1IFyqLYD2uGlDJuMlh7blMXYgmnxrKV9D0w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19233},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"890e9e79dca3130f7aa229ba71c99ff2e8b5a7ad","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"9.6.7","description":"Use the Broadcast Channel API in React easily with hooks and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"peerDependencies":{"react":">=18.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.1.3_1685049692928_0.08021380874954898","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"use-broadcast-ts","version":"1.2.0","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.2.0","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"0468de5ab134fec43bad4571da8889c9b36ddb02","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.2.0.tgz","fileCount":16,"integrity":"sha512-+iRNtcH76pJpme61XI66giUi/qrGu6AT2h2lMKBHZ59fX+mzPKDycvWRy50XOhEqeDSPNN6ecEOGvgT6xPz3pQ==","signatures":[{"sig":"MEUCIQCLZjxuPYiq9+/OJPGg7M/N5Kdwt7S1DuI7VTk3e7HqVwIgMBFWbL8EdSpvkoB7MM87M2AdgpkXSUzK2qXL1T4rfCk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27160},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"ba060a7330f97b4e0bef1ac8e5b6c8bc25a8fefa","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"9.6.7","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"zustand":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"peerDependencies":{"react":">=18.0"},"optionalDependencies":{"zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.2.0_1686086393029_0.7855832505639693","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"use-broadcast-ts","version":"1.2.1","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.2.1","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"9494e13f3686a2a39cae6c516ce15640539323c4","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.2.1.tgz","fileCount":16,"integrity":"sha512-hwtfCa4r7Rk1HI8Vnt6WuvjH4XGNlKnxK6DsvLt0JliT01njDG837+3BOMwy6fBkkPhUZ0XSMQ4+yWjPJAeLoQ==","signatures":[{"sig":"MEUCIHaEeA6eJSkaiwAOSauRk/X9l9JFxCPexrtq9PgrJQm1AiEAyVqJvqNMGYJsEcjSe7UbZZQSt/aFZHzMFzJEhnUbmiQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27158},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"2c7bcaf1e56c6242503b8b253cb61373fdbc5580","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"9.6.7","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"zustand":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"peerDependencies":{"react":">=18.0"},"optionalDependencies":{"zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.2.1_1686087174231_0.460700209527771","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"use-broadcast-ts","version":"1.2.2","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.2.2","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"1948a608818bbd2e3fb739d36a8c587ebc0be473","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.2.2.tgz","fileCount":16,"integrity":"sha512-eNWluNGcWuWjMAOFIY3FhazCTbeubnJMYgrmN0eGInTZNxEI1GmqzC7Nl9W3NuxbRpE3bngkbBcTfgNsTw5Wig==","signatures":[{"sig":"MEQCIEY1erBQd1t7OQJ2S3P7r0wnJYUjuiUtV9/xOVtyJWb7AiA1kK5LHj0YhDbmaUTpd/YHsH6s3Ypl16gQ2RfIcoFTqw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31635},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"bd6a9740fa16a858559cb79172e4bfdbbf164de8","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"9.6.7","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"zustand":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"peerDependencies":{"react":">=18.0"},"optionalDependencies":{"zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.2.2_1686249350303_0.8892349053154529","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"use-broadcast-ts","version":"1.2.3","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.2.3","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"3518551a162f90376dca8777bb273f27a1781ad4","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.2.3.tgz","fileCount":16,"integrity":"sha512-N8CF0cZPSjIie46bxupR8f8Lm1HuX6cRgPpPDmyold8e4Kie+gEh3eCuGs4gWYTxfz3OigGfK6e0itX7655g4A==","signatures":[{"sig":"MEYCIQCA83JrVo9V22Miqs+T5kk4uET6qg38ffYEO13G5B7FNgIhAKwRGczG3jKJ6BzZziXQPOt7UC6mkSAl93ezA+s5KFwk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32258},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"9fff6654cd320ee0707dbc4d7a086fbb35fa5506","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"9.6.7","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"zustand":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"peerDependencies":{"react":">=18.0"},"optionalDependencies":{"zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.2.3_1686259508937_0.5328085431146337","host":"s3://npm-registry-packages"}},"1.2.4":{"name":"use-broadcast-ts","version":"1.2.4","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.2.4","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"823879bb3e2298f4f1eb69627c748e7a546db64e","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.2.4.tgz","fileCount":16,"integrity":"sha512-MpLr+kKP2QNfgdEVS2B/8b/rZuHWwzC8aZsqRFFCUapSjYJPX8zGZL7MoeyY7iecgBQGQ4TQTY3ZnAQ6v8w74Q==","signatures":[{"sig":"MEUCIQCbfxPZsCkZQuDH3BwWMp40peJvrmM7xSzY1OC/X2jN8AIgWhR/t5VoIArX22p/s0/IDmcJRtu7e+M/SJkT0PCejP8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33143},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"048a5550a260409e032f6e1d457b8db0829cb671","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"9.6.7","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"zustand":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"peerDependencies":{"react":">=18.0"},"optionalDependencies":{"zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.2.4_1686262396145_0.15373314688718742","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"use-broadcast-ts","version":"1.3.0","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.3.0","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"a11bf771895016774ad3516baf9452e5cc618329","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.3.0.tgz","fileCount":16,"integrity":"sha512-UFKTzFmxejTpARii7MSVp61HJlKpyV0k5ZoFA+2dLIsuiISg0reopTcK0Uxf4sJNClOtNaUwIX9Z351/nUp6eQ==","signatures":[{"sig":"MEQCIBeOOd/2viC//HttAcHhpLgeq+O6c1TRoi1SxK6banzOAiBhZ83MaP71dNAJfoR7U3+SCBo4AgYVY2eT5oFQwE/LkQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33696},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"045c1a98b62b120faef91fbcbc5bbf672aa360b8","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"9.6.7","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"zustand":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"peerDependencies":{"react":">=18.0"},"optionalDependencies":{"zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.3.0_1686685832080_0.4125509219003227","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"use-broadcast-ts","version":"1.3.1","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.3.1","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"4a9daecf2ab39a55822e23459c02057e5d3d5d56","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.3.1.tgz","fileCount":16,"integrity":"sha512-69u5nhj5geDgfEdBuoOSPBYx+b5/lBHd85Ji0hgU4D+quPtbzFI/H2iZwYQ9bP46PGpWlXWRIdsLajpYjKMl6w==","signatures":[{"sig":"MEYCIQCDYWzvqKyTJ4GEFf9shwEMXqehxJixoMUgJg6y4Bea0wIhAOb/D6C/m7+GAO+TvYBJ9EnsPPbMV0guPipDpnb4SogY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34036},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"181577378113a5fe903a86df57fe3ea586b28a76","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"9.6.7","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"18.16.0","dependencies":{"zustand":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"peerDependencies":{"react":">=18.0"},"optionalDependencies":{"zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.3.1_1686773112546_0.5043917622442795","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"use-broadcast-ts","version":"1.4.0","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.4.0","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"05f303188dc0a2c810f7483b944f0c1a3f35024c","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.4.0.tgz","fileCount":16,"integrity":"sha512-VvcWEewTbUgL+fqS0VLsRNpK8NYf815BDTd8cj1C1fbacCeGA6aXhSeVo3Zf5coG32/4MHz2gjlm2o8v9tJu1Q==","signatures":[{"sig":"MEQCIClvenRpt0KrBVQqEF3lOD6v6KSDRqTCRpqaTdWRcuekAiBFFcIH2e/XbS027PpZh2DevNKpOvOTRuXPdNMQItNukA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34682},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"e1c58e5fd38aca24c5b23290fad6e28c0a99e830","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"9.8.1","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"peerDependencies":{"react":">=18.0"},"optionalDependencies":{"zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.4.0_1692032267469_0.07894250547086212","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"use-broadcast-ts","version":"1.4.1","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.4.1","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"6f63c739d7406566a5c22a4132f5c5eae39e6295","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.4.1.tgz","fileCount":16,"integrity":"sha512-+rn8euVijYMDZj4+VradT+I0+vs6nDdIaRjGP3T9z3ZDUVWH59GSbIABqtb7Y1NvkWn2xQ7OdMHAjs2EaAmo+g==","signatures":[{"sig":"MEYCIQCS9XDeA2cfQSkEEn0VPpJn9rmsAdtkKozECHe5bAPhnwIhALgS/eF24mjTqDUnev0hcQzZS5C3AyoB2j75gtzXM6ix","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35452},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"00bd24f123bab2441ddc60169a8e7c9904ada7b8","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"10.2.5","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"21.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"optionalDependencies":{"react":">=18.0","zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.4.1_1705757230672_0.4987506458684883","host":"s3://npm-registry-packages"}},"1.4.2":{"name":"use-broadcast-ts","version":"1.4.2","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.4.2","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"2f02b754c32462cae189a371f6f081393fa75ae8","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.4.2.tgz","fileCount":16,"integrity":"sha512-IVQapZEnmPRhRkU/MBPwUjLqhkSKTpO/BFCZ2tqm7XfBOa0HxCs79/iX45hCCTC4QOlV6dvPvSrJWTONIJPYPA==","signatures":[{"sig":"MEUCIFrBChP0BrTF9DNwjcYiJKjtOYAUJNVRr7/1cnWkWcHCAiEAy4nP9nZrvjxiTEE3vsa64sfv90g+yU6aGGTwEYH0jxU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42396},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"a68434c27a4050ef98cc9421c34acd28d2200a5e","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"10.2.5","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"21.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"optionalDependencies":{"react":">=18.0","zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.4.2_1705851246166_0.8477734817539502","host":"s3://npm-registry-packages"}},"1.4.3":{"name":"use-broadcast-ts","version":"1.4.3","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.4.3","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"24f37f67cec5dd85afb75a5805f03268b8cdc17e","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.4.3.tgz","fileCount":16,"integrity":"sha512-JnV6/L9j6rRJ8Rg7948fGHbtkzIzbjaKMoWuyn+zrBr2IB/rM14Lxr/6nR4AZMPYON1Z/KN/bN9zqNsdmXSY4Q==","signatures":[{"sig":"MEUCIFM7CkSg7NCWiaQiBFshU18Gv98OZFM2+ktjEdp8cyWAAiEAoEGSR35MXAWLAv+Y8orSps694D6vpAjn7aSyfPTjfdE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42091},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"24cecb20aad7a90a29b2f6a78a1d7bcfe26c87c4","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"10.2.5","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"21.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"optionalDependencies":{"react":">=18.0","zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.4.3_1705851472085_0.9164653985362701","host":"s3://npm-registry-packages"}},"1.4.4":{"name":"use-broadcast-ts","version":"1.4.4","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.4.4","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"9680abf06ec999f34a8d58899c24f576c8bcaccb","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.4.4.tgz","fileCount":16,"integrity":"sha512-Wwv+s203DZ7UZ70r1yTPH/1UzplOGhHqnRGFsouh5tH1werChKKh6Rkw5pYl05yc6nIqezGkBW2dXINWXi6vNQ==","signatures":[{"sig":"MEYCIQD7WglWmPx/X1ckTttNkK+oymF4VR5DiEHi6h/3Tahz0wIhAPOXX+THNdiiwZnKzNufqqY7cw6EenYw+jC5R063I/06","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42336},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"31b87bef9cddfd008eec6fc2407be5a2750c87ce","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"10.2.5","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"21.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"optionalDependencies":{"react":">=18.0","zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.4.4_1706556940731_0.6648675592710394","host":"s3://npm-registry-packages"}},"1.4.5":{"name":"use-broadcast-ts","version":"1.4.5","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.4.5","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"1abefa2ef920c75c9233ffc225ac8bc2c823970a","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.4.5.tgz","fileCount":15,"integrity":"sha512-ablZmAaGUa+UIqbjtyQax2VwwZta/gL8YSk4OH8xwumaXiWpozXzEIM/cVgUNS3O43b65WhC4GHkk587fldB+g==","signatures":[{"sig":"MEUCIQCcLqeN5Z5+kIcYuVVUAepb5qsz6z+PGQwYdTgWjT2bDAIgEfyM9AMKx3ilmOYlbQje9HuV9KVRy6G/W/AEyo6OLF4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42125},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"97f385dfd2d1d36f0480cec1bf1f6c87c26373e0","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"10.5.0","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"21.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"optionalDependencies":{"react":">=18.0","zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.4.5_1714139387630_0.693433386361362","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"use-broadcast-ts","version":"1.5.0","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.5.0","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"48597aca95d6edf1c7a355bdf1fa2538f33ac917","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.5.0.tgz","fileCount":15,"integrity":"sha512-ho4HiKoQXyil2Xs0oaZXmc0ei0pJqELlbJRh95TrniYolRm82A1fj9quYr4gZywPTC8ndKDJCvaJJ5EwzRaJsg==","signatures":[{"sig":"MEYCIQCRO4HIHgXzlEqpmMD4Exk72qsibsZWXLdunlYfc0CXNQIhAMGEBOV2cQoLMb5Ragbqx+sVNTo9uY01reJBKj+hwP+A","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42936},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"85dfebfe7726d189b1b917a81b131f40800704b1","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"10.7.0","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"21.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"optionalDependencies":{"react":">=18.0","zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.5.0_1721239722782_0.7253568993395862","host":"s3://npm-registry-packages"}},"1.6.0":{"name":"use-broadcast-ts","version":"1.6.0","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.6.0","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"dc37181c78f6c42e283472826535662cb51e232f","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.6.0.tgz","fileCount":15,"integrity":"sha512-RDM1qe6jGVTqy1A28plWX05bebzm0RaNV4xyWBhnG3LcgevNvnxIoX1kgc1F2g6ah5LfggT/KaUsPWRjzog+SQ==","signatures":[{"sig":"MEYCIQCEG5fQ8qw/VErcHiL6t1LdggGTBoPNGZzqOQZwzMUpyAIhAIxjwRD7qSBNvDgANkos5Vw8PJQy2h7Q9qps9ChEKhPz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44025},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"6008f0e723afc08d85cf0b45a021835fcfff5931","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"10.7.0","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"21.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"optionalDependencies":{"react":">=18.0","zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.6.0_1721761817378_0.4686765339500998","host":"s3://npm-registry-packages"}},"1.7.0":{"name":"use-broadcast-ts","version":"1.7.0","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.7.0","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"683aaabdd094ef23a28faed1269f228f470d2515","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.7.0.tgz","fileCount":15,"integrity":"sha512-Ag4fKNjaQadGAfPwck2j3XRQIjEIiBTePQeHC3C5AUi5nBx1mQbc/O0YMDIuAeFeeLu/liCnb892CjXikmP6Eg==","signatures":[{"sig":"MEQCIBqg1DVv4NLlfKwgXrq7L8exQWovZlwRSWOG+EzHxjfvAiBqVVTa4U+4hNbpR5cBkDssQqB5OgAHC18hWFntQuND4A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44823},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"aec4c62ab129ed36907ce7a64353fa35ea7f573c","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"10.7.0","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"21.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"optionalDependencies":{"react":">=18.0","zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.7.0_1725206154460_0.37666537287157054","host":"s3://npm-registry-packages"}},"1.7.1":{"name":"use-broadcast-ts","version":"1.7.1","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.7.1","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"02eecdf09befe55320c31cf718b4808d99bba7b0","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.7.1.tgz","fileCount":15,"integrity":"sha512-h9uxqP/YnE0b5v8pJ/YSt+GKKo6URVOr74HSfe/2c2b9xyUiwGRYlR1mdUU/t6cyw/5D/QSKfLLDwLjMDCfjGA==","signatures":[{"sig":"MEUCIEg+7tP4Pvxg2xFD4pCuZBtdAHEimSadpMfRTnviAKKwAiEA0oc6PqwkFT7AqZ8DmQd3XzW51hbEmHTTkNfeLd+Dm2w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44827},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"9f4776a2eab4a0271d0246b431dd7a0aaa173312","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"10.7.0","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"21.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"optionalDependencies":{"react":">=18.0","zustand":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.7.1_1727698352227_0.32631784905672934","host":"s3://npm-registry-packages"}},"1.8.0":{"name":"use-broadcast-ts","version":"1.8.0","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@1.8.0","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"8d507ca1448e56b135c930de1ccc6a5382019105","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-1.8.0.tgz","fileCount":15,"integrity":"sha512-0P96KV3fj2RalmWPAEVm5J7vFuB3PLxBIzei4Nv2z9ckvr6+MxgbtpgJXLWcVBa3JsvI6G7a6u11mzsuUdpjuA==","signatures":[{"sig":"MEUCIHITG0VNPGHzisYJhKewzyHPHSdyMRKV0N3QUGU1tIXCAiEA3ScEnA8mATrEDtZ6WAl/NkkvtShxPmqi5wIzMLNqHGI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44874},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"3044c7dcd93f4a1d261bed2ec199864e6a877c7e","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"10.7.0","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"21.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"optionalDependencies":{"react":">=18.0","zustand":"^4.0.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_1.8.0_1729440152437_0.5192422706459698","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"use-broadcast-ts","version":"2.0.0","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@2.0.0","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"866446776189cd43d8ea33c114085d3060775398","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-2.0.0.tgz","fileCount":15,"integrity":"sha512-RcoHx6izzD7NZBsFhCMxmZSJymTOgKa8gGN9IjjbTCDkPL+o3MAShulTVe7nqLKZPcAC67O0oge8dtG1JVSRvQ==","signatures":[{"sig":"MEUCIQCSs0ke8Ij9BnYhrmzzYc8pzya28mGEcQQwk/OCcJ+mGgIgECdIHLrISVEt0h58BoVNPvV5U8wOOIMJ59qjMj0n5Pc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47508},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"aac6ae3641a330668124ee1a07f2160f39c9dc5b","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"10.7.0","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"21.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"optionalDependencies":{"react":">=18.0","zustand":"^4.0.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_2.0.0_1734026517350_0.37401215960899514","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"use-broadcast-ts","version":"2.0.1","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","_id":"use-broadcast-ts@2.0.1","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"homepage":"https://github.com/Romainlg29/use-broadcast","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"dist":{"shasum":"5c18117d0b1eb6ad8f22e46e7976bda2973e9251","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-2.0.1.tgz","fileCount":15,"integrity":"sha512-dEALLe9/y1dVfxSpjd/ebW/2Nn3Of0u/I4CmRkLJ/1oGCuviWD6dtvL9Ifg81/M6C8/II4GfX/DGp4QXMLzN5A==","signatures":[{"sig":"MEQCIFyQiT3v6Q1KgQh7hCD8MwvJoxiZvnZQSctX5NzKeym5AiApLPB0QF8dBY8ejazZhLOcXpKufCMPqMaYiNbcKqo4Jg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48162},"main":"./dist/index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"gitHead":"12782e44b3f547c749ce9a120d3d87af9c53e3fc","scripts":{"test":"jest","build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build"},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"repository":{"url":"git+https://github.com/Romainlg29/use-broadcast.git","type":"git"},"_npmVersion":"10.7.0","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","directories":{},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"sideEffects":false,"_nodeVersion":"21.5.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","husky":"^8.0.3","react":"^18.2.0","rollup":"^3.20.7","prettier":"^2.8.7","react-dom":"^18.2.0","babel-jest":"^29.5.0","typescript":"^5.0.4","@babel/core":"7.21.4","@types/jest":"^29.5.1","@types/node":"^18.15.13","lint-staged":"^13.2.1","@types/react":"^18.0.37","babel-loader":"^9.1.2","@types/react-dom":"^18.0.11","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","react-test-renderer":"^18.2.0","@rollup/plugin-babel":"^6.0.3","@testing-library/react":"^14.0.0","jest-environment-jsdom":"^29.5.0","@babel/preset-typescript":"^7.21.4","@testing-library/jest-dom":"^5.16.5","@typescript-eslint/parser":"^5.59.0","@types/react-test-renderer":"^18.0.0","@rollup/plugin-node-resolve":"^15.0.2","@babel/plugin-transform-runtime":"7.21.4","@typescript-eslint/eslint-plugin":"^5.59.0","babel-plugin-dynamic-import-node":"^2.3.3","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-template-literals":"7.18.9"},"optionalDependencies":{"react":">=18.0","zustand":"^4.0.0 || ^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/use-broadcast-ts_2.0.1_1740306295294_0.8820244655552434","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"use-broadcast-ts","version":"2.0.2","description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","type":"module","types":"./dist/index.d.ts","main":"./dist/index.js","module":"./dist/index.mjs","exports":{"types":"./dist/index.d.ts","require":"./dist/index.js","import":"./dist/index.mjs"},"sideEffects":false,"scripts":{"build":"rollup -c --bundleConfigAsCjs","postbuild":"tsc --emitDeclarationOnly","prepublishOnly":"npm run build","test":"jest"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,jsx,ts,tsx}":["eslint --fix"]},"repository":{"type":"git","url":"git+https://github.com/Romainlg29/use-broadcast.git"},"keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"author":{"name":"Romain Le Gall"},"license":"MIT","bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"devDependencies":{"@babel/core":"7.21.4","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-transform-modules-commonjs":"7.21.2","@babel/plugin-transform-parameters":"7.21.3","@babel/plugin-transform-runtime":"7.21.4","@babel/plugin-transform-template-literals":"7.18.9","@babel/preset-env":"^7.21.4","@babel/preset-react":"^7.18.6","@babel/preset-typescript":"^7.21.4","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-node-resolve":"^15.0.2","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.5.1","@types/node":"^18.15.13","@types/react":"^18.0.37","@types/react-dom":"^18.0.11","@types/react-test-renderer":"^18.0.0","@typescript-eslint/eslint-plugin":"^5.59.0","@typescript-eslint/parser":"^5.59.0","babel-jest":"^29.5.0","babel-loader":"^9.1.2","babel-plugin-dynamic-import-node":"^2.3.3","husky":"^8.0.3","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","lint-staged":"^13.2.1","prettier":"^2.8.7","react":"^18.2.0","react-dom":"^18.2.0","react-test-renderer":"^18.2.0","rollup":"^3.20.7","typescript":"^5.0.4"},"homepage":"https://github.com/Romainlg29/use-broadcast","optionalDependencies":{"zustand":"^4.0.0 || ^5.0.0","react":">=18.0"},"gitHead":"143e2e71e206935ea49b54d068b925e8103aa522","_id":"use-broadcast-ts@2.0.2","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-EidwgYOGIwaC4j9NesZz/AWWt9VzkGhp2U8xdA9FgKM/XHr0wLgPrHkgykrItfpsoBz7Yo/CGUTxHnK0bgVSVg==","shasum":"743afbf21b12985321783d18cdb23f4db3e93021","tarball":"https://registry.npmjs.org/use-broadcast-ts/-/use-broadcast-ts-2.0.2.tgz","fileCount":16,"unpackedSize":54677,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD1gzmWV0lQYcqEWgEBJ7Cv+ho+0abs8rjOTIdCWnEIuAIhAIKbxyRIrUqhqm/qumYHFha41gXbJ5OKYp96zNy+QahI"}]},"_npmUser":{"name":"romainlg29","email":"legall.romain29470@gmail.com"},"directories":{},"maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/use-broadcast-ts_2.0.2_1786537449591_0.7890600545561326"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-23T21:35:54.396Z","modified":"2026-08-12T12:24:09.895Z","1.0.0":"2023-05-23T21:35:54.538Z","1.1.0":"2023-05-24T21:49:29.732Z","1.1.1":"2023-05-25T17:02:12.012Z","1.1.2":"2023-05-25T19:01:58.804Z","1.1.3":"2023-05-25T21:21:33.077Z","1.2.0":"2023-06-06T21:19:53.196Z","1.2.1":"2023-06-06T21:32:54.381Z","1.2.2":"2023-06-08T18:35:50.451Z","1.2.3":"2023-06-08T21:25:09.083Z","1.2.4":"2023-06-08T22:13:16.347Z","1.3.0":"2023-06-13T19:50:32.206Z","1.3.1":"2023-06-14T20:05:12.726Z","1.4.0":"2023-08-14T16:57:47.663Z","1.4.1":"2024-01-20T13:27:10.851Z","1.4.2":"2024-01-21T15:34:06.312Z","1.4.3":"2024-01-21T15:37:52.291Z","1.4.4":"2024-01-29T19:35:41.005Z","1.4.5":"2024-04-26T13:49:47.804Z","1.5.0":"2024-07-17T18:08:42.968Z","1.6.0":"2024-07-23T19:10:17.638Z","1.7.0":"2024-09-01T15:55:54.616Z","1.7.1":"2024-09-30T12:12:32.407Z","1.8.0":"2024-10-20T16:02:32.629Z","2.0.0":"2024-12-12T18:01:57.541Z","2.0.1":"2025-02-23T10:24:55.457Z","2.0.2":"2026-08-12T12:24:09.735Z"},"bugs":{"url":"https://github.com/Romainlg29/use-broadcast/issues"},"author":{"name":"Romain Le Gall"},"license":"MIT","homepage":"https://github.com/Romainlg29/use-broadcast","keywords":["web","api","broadcast","channel","broadcast-channel","hooks","react","react 18","zustand","middleware","state"],"repository":{"type":"git","url":"git+https://github.com/Romainlg29/use-broadcast.git"},"description":"Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!","maintainers":[{"name":"romainlg29","email":"legall.romain29470@gmail.com"}],"readme":"# use-broadcast-ts\r\n\r\n[![Version](https://img.shields.io/npm/v/use-broadcast-ts?style=flat&colorA=000000&colorB=000000)](https://npmjs.com/package/use-broadcast-ts)\r\n[![Build Size](https://img.shields.io/bundlephobia/minzip/use-broadcast-ts?label=bundle%20size&style=flat&colorA=000000&colorB=000000)](https://bundlephobia.com/result?p=use-broadcast-ts)\r\n![GitHub Workflow Status (with branch)](https://img.shields.io/github/actions/workflow/status/Romainlg29/use-broadcast/basic.yml?branch=main&colorA=000000&colorB=000000)\r\n![GitHub](https://img.shields.io/github/license/Romainlg29/use-broadcast?&colorA=000000&colorB=000000)\r\n\r\nUse the Broadcast Channel API in React easily with `hooks` or `Zustand`, and Typescript!\r\n\r\n```bash\r\nnpm install use-broadcast-ts\r\n```\r\n\r\nThis package allows you to use the Broadcast API with a simple hook or by using Zustand v4/v5.\r\n\r\nCheckout the [demo](https://romainlg29.github.io/use-broadcast/)!\r\n\r\n## Usage with Zustand\r\n\r\n```jsx\r\n// useStore.ts\r\nimport { create } from 'zustand';\r\nimport { shared } from 'use-broadcast-ts';\r\n\r\ntype MyStore = {\r\n    count: number;\r\n    set: (n: number) => void;\r\n};\r\n\r\nconst useStore = create<MyStore>(\r\n    shared(\r\n        (set) => ({\r\n            count: 0,\r\n            set: (n) => set({ count: n })\r\n        }),\r\n        { name: 'my-channel' }\r\n    )\r\n);\r\n\r\n// MyComponent.tsx\r\nimport { FC } from 'react';\r\nimport { useShallow } from 'zustand/shallow'\r\n\r\nconst MyComponent : FC = () => {\r\n\r\n    const count = useStore((s) => s.count);\r\n    const set = useStore((s) => s.set);\r\n\r\n    return (\r\n        <p>\r\n            <p>Count: {count}</p>\r\n            <button onClick={() => set(10)}/>\r\n        </p>\r\n    )\r\n}\r\n\r\nexport default MyComponent;\r\n```\r\n\r\nYou can use the Zustand store like any other Zustand store, but the store will be shared between all the tabs.\r\n\r\nOn the first \"render\" of the store, the middleware will check if the store already exists in another tab / window. If the store exits, it will be synchronized, else the store will be created.\r\n\r\nIf no tab is opened, the store will be created and will be shared as the \"main\" with the other tabs / windows.\r\n\r\n_**Note:** It cannot be used in server components as it needs an environment that support the Broadcast Channel API_\r\n\r\n#### New in v1.4.0\r\n\r\n- You don't have to specify a channel name anymore. The channel name is now automatically generated. **However, I strongly recommend you to use it.**\r\n\r\n## Usage with hooks\r\n\r\n```jsx\r\nimport { FC } from 'react';\r\nimport { useBroadcast } from 'use-broadcast-ts';\r\n\r\nconst MyComponent: FC = () => {\r\n    const { state, send } = useBroadcast<{ value: number }>('my-channel', { value: 0 });\r\n\r\n    return (\r\n        <>\r\n            <p>My value is: {state.value}</p>\r\n            <button onClick={() => send({ value: 10 })} />\r\n        </>\r\n    );\r\n};\r\n\r\nexport default MyComponent;\r\n```\r\n\r\nWith the example above, the component will re-render when the channel receive or send a value.\r\n\r\n```jsx\r\nimport { FC, useEffect } from 'react';\r\nimport { useBroadcast } from 'use-broadcast-ts';\r\n\r\nconst MyComponent: FC = () => {\r\n    const { send, subscribe } = useBroadcast<{ value: number }>('my-channel', { value: 0 }, { subscribe: true });\r\n\r\n    useEffect(() => {\r\n\t    const unsub = subscribe(({ value }) => console.log(`My new value is: ${value}`));\r\n\r\n\t    return () => unsub();\r\n    }, []);\r\n\r\n    return (\r\n        <>\r\n            <button onClick={() => send({ value: 10 })} />\r\n        </>\r\n    );\r\n};\r\n\r\nexport default MyComponent;\r\n```\r\n\r\nWith the example above, the component will not re-render when the channel receive or send a value but will call the `subscribe` callback.\r\n\r\n## API\r\n\r\n### shared (Zustand)\r\n\r\n```ts\r\n    shared(\r\n        (set, get, ...) => ...,\r\n        options?: SharedOptions\r\n    );\r\n```\r\n\r\n#### Parameters\r\n\r\n##### options\r\n\r\nType: `SharedOptions`\r\n\r\nThe options of the hook.\r\n\r\n##### options.name\r\n\r\nType: `string`\r\n\r\nThe name of the channel to use.\r\n\r\n##### options.mainTimeout\r\n\r\nType: `number` (default: `100`)\r\n\r\nThe timeout in ms to wait for the main tab to respond.\r\n\r\n##### options.unsync\r\n\r\nType: `boolean` (default: `false`)\r\n\r\nIf true, the store will only synchronize once with the main tab. After that, the store will be unsynchronized.\r\n\r\n##### options.skipSerialization\r\n\r\nType: `boolean` (default `false`)\r\n\r\nIf true, will not serialize the state with `JSON.parse(JSON.stringify(state))` before sending it. This results in a performance boost, but you will have to ensure there are no unsupported types in the state or it will result in errors. See section [What data can I send?](#what-data-can-i-send) for more info.\r\n\r\n##### options.partialize\r\nType: `(state: T) => Partial<T>` (default: `undefined`)\r\n\r\nSimilar to `partialize` in the [Zustand persist middleware](https://zustand.docs.pmnd.rs/integrations/persisting-store-data#partialize), allows you to pick which of the state's fields are sent to other tabs. Can also be used to pre-process the state before it's sent if needed.\r\n\r\n##### options.merge\r\nType: `(state: T, receivedState: Partial<T>) => T` (default: `undefined`)\r\n\r\nSimilar to `merge` in the [Zustand persist middleware](https://zustand.docs.pmnd.rs/integrations/persisting-store-data#merge). A custom function that allows you to merge the current state with the state received from another tab.\r\n\r\n##### options.onBecomeMain\r\n\r\nType: `(id: number) => void`\r\n\r\nA callback that will be called when the tab becomes the main tab.\r\n\r\n##### options.onTabsChange\r\n\r\nType: `(tabs: number[]) => void`\r\n\r\nA callback that will be called when the number of tabs changes.\r\nOnly triggered on the main tab.\r\n\r\n### useBroadcast (hooks)\r\n\r\n```ts\r\nuseBroadcast<T>(name: string, value?: T, options?: UseBroadcastOptions): {\r\n    state: T;\r\n    send: (value: T) => void;\r\n    subscribe: (callback: (e: T) => void) => () => void;\r\n};\r\n```\r\n\r\n#### Parameters\r\n\r\n##### name\r\n\r\nType: `string`\r\n\r\nThe name of the channel to use.\r\n\r\n##### value\r\n\r\nType: `T` (default: `undefined`)\r\n\r\nThe initial value of the channel.\r\n\r\n##### options\r\n\r\nType: `UseBroadcastOptions` (default: `{}`)\r\n\r\nThe options of the hook.\r\n\r\n##### options.subscribe\r\n\r\nType: `boolean | undefined` (default: `undefined`)\r\n\r\nIf true, the hook will not re-render the component when the channel receive a new value but will call the `subscribe` callback.\r\n\r\n#### Return\r\n\r\n##### state\r\n\r\nType: `T`\r\n\r\nThe current value of the channel.\r\n\r\n##### send\r\n\r\nType: `(value: T) => void`\r\n\r\nSend a new value to the channel.\r\n\r\n##### subscribe\r\n\r\nType: `(callback: (e: T) => void) => () => void`\r\n\r\nSubscribe to the channel. The callback will be called when the channel receive a new value and when the options.subscribe is set to true.\r\n\r\n## What data can I send?\r\n\r\nYou can send any of the supported types by the structured clone algorithm and `JSON.stringify` like :\r\n\r\n- `String`\r\n- `Boolean`\r\n- `Number`\r\n- `Array`\r\n- `Object`\r\n- `Date`\r\n- `...`\r\n\r\nIn short, you cannot send :\r\n\r\n- `Function`\r\n- `Dom Element`\r\n- `BigInt` (This is only unsupported by `JSON.stringify`, so if you set `skipSerialization=true`, `BigInt`'s will work)\r\n- And some other types\r\n\r\nSee the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm) for more information. However, if you need to, you could use `partialize` to convert an unsupported type to a string and convert it back on the other end by providing a `merge` function.\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}