{"_id":"@reflag/browser-sdk","_rev":"29-19ec74998e5fa0dfbe16141dd892d90b","name":"@reflag/browser-sdk","dist-tags":{"latest":"1.7.3"},"versions":{"1.0.0-alpha.1":{"name":"@reflag/browser-sdk","version":"1.0.0-alpha.1","license":"MIT","_id":"@reflag/browser-sdk@1.0.0-alpha.1","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"},{"name":"pavkam","email":"alex+git@ciobanu.org"},{"name":"makwarth","email":"makwarth@gmail.com"}],"homepage":"https://github.com/reflagcom/reflag-javascript-sdk#readme","bugs":{"url":"https://github.com/reflagcom/reflag-javascript-sdk/issues"},"dist":{"shasum":"8718d31e325b7d57eb3e86de4c3251562d14bfe6","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.0.0-alpha.1.tgz","fileCount":141,"integrity":"sha512-m8PyHCJ12c+tYaSIrILJP76WYbZOpVtUgV6UZcIvay1vmKMASstREpxxFg+M129l/z1EMKmTW1/l6L9hX6Q8BA==","signatures":[{"sig":"MEYCIQDKc9AwPHsY5Xjb1TalVo6oRbRsjIPG+fS2b20Y3WJqiAIhAImz97y66kQzQUmzVPmk8JWnpG1lbHHnMYNmShQecfVk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1124021},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js"}},"gitHead":"13f2772767fee5652295b0ca74f8165701a77198","scripts":{"dev":"vite","lint":"eslint .","test":"tsc --project tsconfig.json && vitest -c vitest.config.ts","build":"tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"tsc --project tsconfig.json && vitest run -c vitest.config.ts --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"vitest run --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn vitest run -c vitest.config.ts && yarn build"},"_npmUser":{"name":"pavkam","email":"alex+git@ciobanu.org"},"repository":{"url":"git+https://github.com/reflagcom/reflag-javascript-sdk.git","type":"git"},"_npmVersion":"lerna/8.1.3/node@v20.15.1+arm64 (darwin)","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"20.15.1","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","canonical-json":"^0.0.4","@floating-ui/dom":"^1.6.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.0.0-alpha.1_1756795666681_0.33448799991632105","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.2":{"name":"@reflag/browser-sdk","version":"1.0.0-alpha.2","license":"MIT","_id":"@reflag/browser-sdk@1.0.0-alpha.2","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"},{"name":"pavkam","email":"alex+git@ciobanu.org"},{"name":"makwarth","email":"makwarth@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"11c415a2bfc05e1a1452aaa60dba6f3e221e0b30","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.0.0-alpha.2.tgz","fileCount":139,"integrity":"sha512-/Oio+G/wSlY5CA3g9ZqdPvlnMz09PVW5oG3YlZ/3to5s4bK5N0Kh960vjOfJ/JujMdzOHRNsAfbjJ62bvd0t+A==","signatures":[{"sig":"MEYCIQCNoEoZCaJStwk7A3lR8LSFqT1iR13IwvueaH3DpYbPDgIhALYFo+4935wKwYMiGjv/WAUR6FQD4osC1rsYSflslTV7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1119860},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js"}},"gitHead":"f0284ab26ecc354cfb9e81e7bfd922d6f969b6bc","scripts":{"dev":"vite","lint":"eslint .","test":"tsc --project tsconfig.json && vitest -c vitest.config.ts","build":"tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"tsc --project tsconfig.json && vitest run -c vitest.config.ts --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"vitest run --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn vitest run -c vitest.config.ts && yarn build"},"_npmUser":{"name":"pavkam","email":"alex+git@ciobanu.org"},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"lerna/8.1.3/node@v20.15.1+arm64 (darwin)","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"20.15.1","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","canonical-json":"^0.0.4","@floating-ui/dom":"^1.6.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.0.0-alpha.2_1756805087161_0.08263277858411233","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.3":{"name":"@reflag/browser-sdk","version":"1.0.0-alpha.3","license":"MIT","_id":"@reflag/browser-sdk@1.0.0-alpha.3","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"},{"name":"pavkam","email":"alex+git@ciobanu.org"},{"name":"makwarth","email":"makwarth@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"dc8bb5fd0fe9bbcbe0700f2bf619bf6658b706b0","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.0.0-alpha.3.tgz","fileCount":139,"integrity":"sha512-uenGULL1pcWeaoZ+QvNLjS1qj5u3Ic0QpkX/l7Dwrzj9j+vfXzIL3wy2gkhtmKwYJZNOzlIq9Ru0tNAxxZxIeQ==","signatures":[{"sig":"MEQCIFOG8LoijTI983e5Y1eUe2CSHa/TmAoh0649LV23MU0GAiA9VafjMRXZMY1wzc7UJku7esVDdlWHelnSRHdPZohdPA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1124684},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js"}},"gitHead":"d82ab8460d83e490b4e6fd2a20897305445c7f06","scripts":{"dev":"vite","lint":"eslint .","test":"tsc --project tsconfig.json && vitest -c vitest.config.ts","build":"tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"tsc --project tsconfig.json && vitest run -c vitest.config.ts --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"vitest run --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn vitest run -c vitest.config.ts && yarn build"},"_npmUser":{"name":"pavkam","email":"alex+git@ciobanu.org"},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"lerna/8.1.3/node@v20.15.1+arm64 (darwin)","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"20.15.1","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","canonical-json":"^0.0.4","@floating-ui/dom":"^1.6.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.0.0-alpha.3_1756813088293_0.8598596523937503","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.4":{"name":"@reflag/browser-sdk","version":"1.0.0-alpha.4","license":"MIT","_id":"@reflag/browser-sdk@1.0.0-alpha.4","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"},{"name":"pavkam","email":"alex+git@ciobanu.org"},{"name":"makwarth","email":"makwarth@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"7dc1ba03d100bda96738c5d4e54a4a86d48126dd","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.0.0-alpha.4.tgz","fileCount":139,"integrity":"sha512-sra70CbrOHr3EwAl7zApaGuRD3u5/w664AXM2xFXNuNRQV0OVdabsFV+oCX78XyYNGPjIhQPaPivt39TZYANRg==","signatures":[{"sig":"MEYCIQDApswH9BJK8yw+YF2BI8NZim2cJ+nIetFftdgd80WwNQIhAKllJJjYVySOmPcMeVXsDNPsnU5Lco9d+Sbmaf9D/Ua0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1124577},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js"}},"gitHead":"dc9fce8426e02dfaaef1bc180157ef4c63fe43d3","scripts":{"dev":"vite","lint":"eslint .","test":"tsc --project tsconfig.json && vitest -c vitest.config.ts","build":"tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"tsc --project tsconfig.json && vitest run -c vitest.config.ts --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"vitest run --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn vitest run -c vitest.config.ts && yarn build"},"_npmUser":{"name":"pavkam","email":"alex+git@ciobanu.org"},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"lerna/8.1.3/node@v20.15.1+arm64 (darwin)","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"20.15.1","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","canonical-json":"^0.0.4","@floating-ui/dom":"^1.6.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.0.0-alpha.4_1756819873160_0.4361844898502667","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@reflag/browser-sdk","version":"1.0.0","license":"MIT","_id":"@reflag/browser-sdk@1.0.0","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"},{"name":"pavkam","email":"alex+git@ciobanu.org"},{"name":"makwarth","email":"makwarth@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"b8d423b3613a020e4657236de4a4b648be555a33","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.0.0.tgz","fileCount":139,"integrity":"sha512-d/k6ZNXdlToE/+ZMThBz5EbSe0Gg8XBkoOsZ5Mv6iYxDJI8RVm5tR5a/5gSAENsxPunRKb6Z303wH1BMsNCHTQ==","signatures":[{"sig":"MEQCID4qHOWwT208UgL5TAP3rKX0gLfechOWb2jqPZ65j1QYAiBRvbQw2ELFWeOee91DCToF5oR38932T2gyIIqUJ5kmJQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1124537},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js"}},"gitHead":"bcd6258c6b7394b76dbf60f48dd63f0cad5cc231","scripts":{"dev":"vite","lint":"eslint .","test":"tsc --project tsconfig.json && vitest -c vitest.config.ts","build":"tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"tsc --project tsconfig.json && vitest run -c vitest.config.ts --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"vitest run --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn vitest run -c vitest.config.ts && yarn build"},"_npmUser":{"name":"pavkam","email":"alex+git@ciobanu.org"},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"lerna/8.1.3/node@v20.15.1+arm64 (darwin)","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"20.15.1","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","canonical-json":"^0.0.4","@floating-ui/dom":"^1.6.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.0.0_1756846725055_0.24416898083726557","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@reflag/browser-sdk","version":"1.1.0","license":"MIT","_id":"@reflag/browser-sdk@1.1.0","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"},{"name":"pavkam","email":"alex+git@ciobanu.org"},{"name":"makwarth","email":"makwarth@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"6441b473f6e45141d2e03e88f44241099ea1dca0","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.1.0.tgz","fileCount":139,"integrity":"sha512-SJyE/TnEU+F1UTLO4rPH6y24CCCCmnsJJ0iSmUO6Gg1UgdANZUUv5yp94fML3O3aZ8pFY5o1kmUxqNjA011G8w==","signatures":[{"sig":"MEUCIQCMjOxe8b8N4GXKsJ5+7AGgVBKs4QXDfARAcu/1DkPIigIgQjjAG4xw1c4x2j0FwtOOx0pkmGEWnfsi+MLJLW9CB6w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1144839},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js"}},"gitHead":"be8b2116cc0fab2856f735ffcf545818e6f253ee","scripts":{"dev":"vite","lint":"eslint .","test":"tsc --project tsconfig.json && vitest -c vitest.config.ts","build":"tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"tsc --project tsconfig.json && vitest run -c vitest.config.ts --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"vitest run --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn vitest run -c vitest.config.ts && yarn build"},"_npmUser":{"name":"pavkam","email":"alex+git@ciobanu.org"},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"lerna/8.1.3/node@v20.15.1+x64 (linux)","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"20.15.1","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","canonical-json":"^0.0.4","@floating-ui/dom":"^1.6.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.1.0_1757072456249_0.3338795857128052","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@reflag/browser-sdk","version":"1.2.0","license":"MIT","_id":"@reflag/browser-sdk@1.2.0","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"},{"name":"pavkam","email":"alex+git@ciobanu.org"},{"name":"makwarth","email":"makwarth@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"2a10f556940fff6ff3c00f50374594987579a97c","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.2.0.tgz","fileCount":139,"integrity":"sha512-lAuxpg3x6GeAwDgkEBiA3Uws0rzDpMde3UZZWLt9ncZklQRtdvup9hKoOZJR51PKHzGVANRU1lsMhAnGNPKpzw==","signatures":[{"sig":"MEYCIQCnVUwvwTtIGLWP1sdmdyK7jn9IwGFGbPinW6UTgXMKTAIhAKB0pqgp8Zpy6FNllwGyUCCvQIFGr5TE/CElERmu7LAU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1255829},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js"}},"gitHead":"445631de206a512db2793547ac451b75e3a9ee6a","scripts":{"dev":"vite","lint":"eslint .","test":"vitest run","build":"tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"pavkam","email":"alex+git@ciobanu.org"},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"lerna/8.1.3/node@v20.15.1+x64 (linux)","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"20.15.1","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.2.0_1759390817754_0.45338516652187977","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@reflag/browser-sdk","version":"1.3.0","license":"MIT","_id":"@reflag/browser-sdk@1.3.0","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"},{"name":"pavkam","email":"alex+git@ciobanu.org"},{"name":"swiftwork","email":"erik.hughes@outlook.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"03427d26946026686bafb310910a574b7757cb40","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.3.0.tgz","fileCount":139,"integrity":"sha512-4XazvORnYFsjKbDcJQ9cnlT40E450iKsQENYHix3Gf8mbrShewSO+xV6sptH6vS5DRJFBmPSDvE4UKkwLwbR8Q==","signatures":[{"sig":"MEUCIQCTFCliSWbewINLcFG3FYoNpQzfyd7qctnLeExIT1QCagIgNJx40QTaOfGDmF/RCD5zGogNo673ZC2IDHxZdEp03sc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1257232},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js"}},"gitHead":"d4bf546e1b747fce16231ed0e1cad208c36d2517","scripts":{"dev":"vite","lint":"eslint .","test":"vitest run","build":"tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"pavkam","email":"alex+git@ciobanu.org"},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"lerna/8.1.3/node@v20.15.1+x64 (linux)","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"20.15.1","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.3.0_1769111646268_0.5320525078457805","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@reflag/browser-sdk","version":"1.4.0","license":"MIT","_id":"@reflag/browser-sdk@1.4.0","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"4366deec4724c23cd996bae635d46a2eaa05c703","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.4.0.tgz","fileCount":148,"integrity":"sha512-G0qoUVK4/4J4yQwqjy0ItnwUHlr9YJrl0h8KMXkIdupWDAgfie2wm7TxQso45mJiqtd42EGohFUrRXVZdMRJVg==","signatures":[{"sig":"MEUCIEDVAqEiEJTCmKNef32oQxYWhrawqIICx5lTlhN6pTTnAiEAp5IS0wmDTkC7G/LWuGOPqbLj29rAiZUO2X1EMxU5ToM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1170695},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"3cc20d499b5697c6c138e16ba35ebbd83a56400a","scripts":{"dev":"vite","lint":"eslint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.8.0","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2","vite-plugin-static-copy":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.4.0_1770318236519_0.9791524129294624","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@reflag/browser-sdk","version":"1.4.1","license":"MIT","_id":"@reflag/browser-sdk@1.4.1","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"a8fe6deb7fffdb6a63917535926992040d4065b5","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.4.1.tgz","fileCount":148,"integrity":"sha512-ZFd1yvuPss8ce+zk2Z//LN7/zUeY7+o7sIdRu3xjcbGmztBdjjFkRyZQE5I1nQEHKjByXZG4eG5isVeCXLm9gQ==","signatures":[{"sig":"MEQCIHBf7jvJ0G66SnU3jOITR1af4BgfYRzaL1FvpIYP9Z+FAiAVySjbSNsy8taZddDgwpvq9Q+qHkDQQrb1dNXbm6u+UQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1177989},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"9f0ea950093a47b7aab9c497387ea196ccc4ddea","scripts":{"dev":"vite","lint":"eslint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2","vite-plugin-static-copy":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.4.1_1770668597726_0.4947615869839683","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"@reflag/browser-sdk","version":"1.4.2","license":"MIT","_id":"@reflag/browser-sdk@1.4.2","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"0feadf3d6267d17c72f3a5796a6499f003536f48","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.4.2.tgz","fileCount":148,"integrity":"sha512-5MJWQkvKNfgLf7ySm5r5gF++q1FtcH2KIH8T1qorJuOcPSW25VIKtI8t87URJu1o3XaVzWykAwJdE/Iey1UyVw==","signatures":[{"sig":"MEQCICPUoQLlYw0FNOnI/48FrB5VpLazjAgFhrMjPYQWyJ/SAiAKmzLyoVrs3RQU+Rl045kMIvaXReKYAItCGw+qI+cwwg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1178832},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"7fcfed02d336b20c74606d4e6c7725a0d169bc77","scripts":{"dev":"vite","lint":"eslint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.4.2_1771494430525_0.22405810410501137","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"name":"@reflag/browser-sdk","version":"1.4.3","license":"MIT","_id":"@reflag/browser-sdk@1.4.3","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"7608b4bd54a5ea824eea89534eb71e00e3a36ede","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.4.3.tgz","fileCount":150,"integrity":"sha512-k4+372UM/Mem3L4JYgJSHyARcch4jP4JBCVCzFlhP8V3pwSWFe4OLpuYgV7focZLuixjDhuOcrZho332YP16VQ==","signatures":[{"sig":"MEUCIAbp92km/OERdRArFMCW96ncTxXCzfq/vO77aG7skiFcAiEA4NE7QjQ/DgUzQkCOqCPHR1VsoehcvNgsA0jaOXNErYc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.4.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1181633},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"5b98d7a73cf93bc9b34a3d5d531c076ecb3e2f1c","scripts":{"dev":"vite","lint":"eslint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.4.3_1772544468170_0.028816618624695867","host":"s3://npm-registry-packages-npm-production"}},"1.4.4":{"name":"@reflag/browser-sdk","version":"1.4.4","license":"MIT","_id":"@reflag/browser-sdk@1.4.4","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"e83e125ae2a49f7ed483688f044d05fcae44dfb9","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.4.4.tgz","fileCount":156,"integrity":"sha512-Q5A4GvcJinQqzb9Tmzur73f4htjPBI/StZlYjdhGXTpQIwnMmYKIDpqmuh9WkSC5Q56SEsyKw80fxN8RsvuFQg==","signatures":[{"sig":"MEUCIH3s6sTCnRiUYjLFFzmxKOOzCO2Nc7T2nJV0stxrO2wAAiEAx8bzUqqh2gUtG0HwsFLc3+fSaeukviACZeEsdIxvH84=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.4.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1268965},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"332f2ef0de3c608ec37432f1d4ea5527f61ce98a","scripts":{"dev":"vite","lint":"eslint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.4.4_1773256943059_0.3843388983939755","host":"s3://npm-registry-packages-npm-production"}},"1.4.6":{"name":"@reflag/browser-sdk","version":"1.4.6","license":"MIT","_id":"@reflag/browser-sdk@1.4.6","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"78f080faf1cbd1c72cc249a72448d0fc8762bd8f","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.4.6.tgz","fileCount":158,"integrity":"sha512-n6manlJeMUeIXP3TcN2dAuK4akUeozh5PwqEdmWVs0T9Xs25EHATmnoTwj4U91zfIvgo/uCrps7k8X1vlxkNCA==","signatures":[{"sig":"MEYCIQDYNwYYP8AdpTB219qyLLqe9TqMUPoWD4/aYX1iVQaYrAIhALVnxuKvYITflHs/sYV/d1rodHlVRZZcoen1wmzfRuS1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.4.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1257854},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"c9868575710c41ca7057ae969ff406f7da6c95d3","scripts":{"dev":"vite","lint":"eslint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.4.6_1773327095715_0.4996141824252591","host":"s3://npm-registry-packages-npm-production"}},"1.4.7":{"name":"@reflag/browser-sdk","version":"1.4.7","license":"MIT","_id":"@reflag/browser-sdk@1.4.7","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"c4bb38df97829dcdaeabdd4ca681fd1617a8c88d","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.4.7.tgz","fileCount":158,"integrity":"sha512-CeyoG/zN00tLsghhOJIufEqaLUf7GqSSPdDikISj5GtR+pCAfgFEaTJkNVdzcspXmH8DCLbEH2tCDZvz6VPG/g==","signatures":[{"sig":"MEYCIQDpCyMuGqyOgIKgEIJlTTtTBf3IT1VqFZJeOvdiGtuZjgIhAPJobyxS5Yf21eucpiIR01XQtRN8IaTzF514BoClZ9VK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.4.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1257854},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"a18a8599540fba29812a46c4ef46a5b55317ae86","scripts":{"dev":"vite","lint":"eslint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn lint --fix && yarn prettier --write","lint:ci":"eslint --output-file eslint-report.json --format json .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","prettier":"prettier --check .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn prettier && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^5.3.5","jsdom":"^24.1.0","eslint":"^9.21.0","vitest":"^2.0.4","postcss":"^8.4.33","prettier":"^3.5.2","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","eslint-config-preact":"^1.5.0","@reflag/eslint-config":"0.0.2","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.4.7_1773388777129_0.14836312389212503","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@reflag/browser-sdk","version":"1.5.0","license":"MIT","_id":"@reflag/browser-sdk@1.5.0","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"38271eaffdbb39d0dae2e5fb3c994aa4ac3b48e4","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.5.0.tgz","fileCount":162,"integrity":"sha512-NTPxtCFvoufYr0Aq8f/Iqyi/plA4eZ3nP0ERF5RIfGvXmOmz2m9eoqGGFiejpEiHPnqHgmH3L8EEUgD0I2cLJA==","signatures":[{"sig":"MEQCIFgIblrU5ybpr6NS0wZFxYpP2q2BAsGG4ud9uAhRMKbcAiAQ4b8N4UL3H8BIiYFcVKSE1d3KjVhc8Kw3ar51TUKAow==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1302364},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"07762fdbd46968ffd1cc671c3c10cce2957f7524","scripts":{"dev":"vite","fmt":"oxfmt --check .","lint":"oxlint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn fmt:fix && yarn lint:fix","fmt:fix":"oxfmt --write .","lint:ci":"oxlint .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","lint:fix":"oxlint --fix .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn fmt && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^6.4.2","jsdom":"^24.1.0","vitest":"^2.0.4","postcss":"^8.4.33","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.5.0_1779908697533_0.2532027086004216","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"@reflag/browser-sdk","version":"1.5.1","license":"MIT","_id":"@reflag/browser-sdk@1.5.1","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"53aa59cfbb9acaefae181c580295edb337456c92","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.5.1.tgz","fileCount":162,"integrity":"sha512-OLpAfq7kHkNPGHm122IM24/LzmqlLRIqbQjahYg3ADjAKoVTLu8OzT/z4bV3hIn8ZE5vWv9ywdJWZnOXdKq/6w==","signatures":[{"sig":"MEUCIDf3pXBt/wVyKDhAWAcz4+3U6sdBC9yMjsaI/3zcdatxAiEA4RajYFCiK9Uyk9MlKBzbV8X4AJ0Rd73qEUdcYnBJEdw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1307757},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"4a7b4df9ffe1e4d566e2ce08b9e5d6002f934b61","scripts":{"dev":"vite","fmt":"oxfmt --check .","lint":"oxlint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn fmt:fix && yarn lint:fix","fmt:fix":"oxfmt --write .","lint:ci":"oxlint .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","lint:fix":"oxlint --fix .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn fmt && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^6.4.2","jsdom":"^24.1.0","vitest":"^2.0.4","postcss":"^8.4.33","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.5.1_1780063011138_0.25831268511424166","host":"s3://npm-registry-packages-npm-production"}},"1.5.2":{"name":"@reflag/browser-sdk","version":"1.5.2","license":"MIT","_id":"@reflag/browser-sdk@1.5.2","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"4d9578748c4f132315d67b98294b9c6db5ceeb26","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.5.2.tgz","fileCount":164,"integrity":"sha512-aD2WcawHKEjq7A5cLEQZZctAGDLDtBeU7jSTxAOypyIR+V+4teRL8LT49D6G89HzB1JZGroUglX1SWArkeOYIw==","signatures":[{"sig":"MEUCIGzd6cbOTSqyplFvf/sLTLmRcMpk+ea21Irks3FhJVnQAiEAqdwx+pdDFCoIZAAGb7c9mOO0pt863Y+tUzq8kC7Ejmg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1314896},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"206679a6f792d7b54123d8bf71ff47ca1768b814","scripts":{"dev":"vite","fmt":"oxfmt --check .","lint":"oxlint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn fmt:fix && yarn lint:fix","fmt:fix":"oxfmt --write .","lint:ci":"oxlint .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","lint:fix":"oxlint --fix .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn fmt && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^6.4.2","jsdom":"^24.1.0","vitest":"^2.0.4","postcss":"^8.4.33","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.5.2_1780391508510_0.6078931273740116","host":"s3://npm-registry-packages-npm-production"}},"1.5.3":{"name":"@reflag/browser-sdk","version":"1.5.3","license":"MIT","_id":"@reflag/browser-sdk@1.5.3","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"efdbbbfeb61a92b59fb6e9c285fa02147a4239b0","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.5.3.tgz","fileCount":164,"integrity":"sha512-/4VJ5MWSRqMw8ZzRKydZL0vGXSz3iANz3iV/3UAcyicBb5mtFe/7KPwlShxl5dArdug6npeOSb2VtFjtZCX+5Q==","signatures":[{"sig":"MEYCIQCEUqY1tbQ5STC4CZxrWpweRv6K30Slvd0bTXHMdOmUUwIhAP5RGPKh/wzoQqkJQCZy/SEDjMbooio0Z6exhip8k0hr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.5.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1316042},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"12db3b4b02492e213686733ed4051bdd3fd56c2f","scripts":{"dev":"vite","fmt":"oxfmt --check .","lint":"oxlint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn fmt:fix && yarn lint:fix","fmt:fix":"oxfmt --write .","lint:ci":"oxlint .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","lint:fix":"oxlint --fix .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn fmt && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^6.4.2","jsdom":"^24.1.0","vitest":"^2.0.4","postcss":"^8.4.33","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.5.3_1781200897650_0.03947275136432493","host":"s3://npm-registry-packages-npm-production"}},"1.5.4":{"name":"@reflag/browser-sdk","version":"1.5.4","license":"MIT","_id":"@reflag/browser-sdk@1.5.4","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"3fb9cfecedabf2cda77fd632459cc174b51f72ca","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.5.4.tgz","fileCount":164,"integrity":"sha512-85TjVE6kuZCw1fmm871d4oiWUMllbHDeEy1YPArHTitkAs+xsGJd8L497RHPP+7JB4u5V+XqSdH/xp0MUvoxKg==","signatures":[{"sig":"MEUCIGraa4YGTRMAUZByIt5l811nZDkqysRg0ctS+xPqMsK8AiEAmLRd52wbh4laKYuPI9BA1jFyCsFxLNqzeNo5lZi30XI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.5.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1318748},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"ad14cde6327ff308899ff42c2cd5d76badc21cd8","scripts":{"dev":"vite","fmt":"oxfmt --check .","lint":"oxlint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn fmt:fix && yarn lint:fix","fmt:fix":"oxfmt --write .","lint:ci":"oxlint .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","lint:fix":"oxlint --fix .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn fmt && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^6.4.2","jsdom":"^24.1.0","vitest":"^2.0.4","postcss":"^8.4.33","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.5.4_1781438554738_0.17215543194149352","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@reflag/browser-sdk","version":"1.6.0","license":"MIT","_id":"@reflag/browser-sdk@1.6.0","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"1979b5cdfe9861d6f04c96160fbb6cbdeb68bb6c","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.6.0.tgz","fileCount":166,"integrity":"sha512-sTzZ4spLdKtXQgZC3PJmXnFZ+yJ9SGZriGwLhNpXxdxO7dUxG4a6ha+Dv8gs3ZuZBR8W9d0jwRth9V0QivmZPQ==","signatures":[{"sig":"MEUCIQCBSmCz+Uomar/KfnmKy/VEv4o7LbvY5GN2p3c5Bj52AAIgKIEOlCpeGM3nlmAXRkY9Z9P1ifxeM4C3dZWQQ8hbEAc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1363353},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"66b411137cda5b77df98240f7013b65374959ed6","scripts":{"dev":"vite","fmt":"oxfmt --check .","lint":"oxlint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn fmt:fix && yarn lint:fix","fmt:fix":"oxfmt --write .","lint:ci":"oxlint .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","lint:fix":"oxlint --fix .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn fmt && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^6.4.2","jsdom":"^24.1.0","vitest":"^3.2.6","postcss":"^8.4.33","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.6.0_1785846256514_0.3907066709892173","host":"s3://npm-registry-packages-npm-production"}},"1.6.1":{"name":"@reflag/browser-sdk","version":"1.6.1","license":"MIT","_id":"@reflag/browser-sdk@1.6.1","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"6ce08cf8b011f29e215dc055db88a311462273df","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.6.1.tgz","fileCount":166,"integrity":"sha512-hU2wjc0WR/srhdU79mdXtxHbvYzQlqBQ0LssLweNO1XVCL3DqM+VEricXDKc0SpRBKXXRXi8DdoGcxBLzRJ6FQ==","signatures":[{"sig":"MEUCIQCcpjNRSodhgycvWgwymYXaI//0yGn09Rp3l6NRsoIy+gIgC1o5ymPtvaLindCMjZOpHE+H15t44KVA3RUJ804lFH4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1385653},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"40e10af8965cc767b1bb62f97b2a8a658f203b2d","scripts":{"dev":"vite","fmt":"oxfmt --check .","lint":"oxlint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn fmt:fix && yarn lint:fix","fmt:fix":"oxfmt --write .","lint:ci":"oxlint .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","lint:fix":"oxlint --fix .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn fmt && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^6.4.2","jsdom":"^24.1.0","vitest":"^3.2.6","postcss":"^8.4.33","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.6.1_1785872720049_0.8305647764208386","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"name":"@reflag/browser-sdk","version":"1.7.0","license":"MIT","_id":"@reflag/browser-sdk@1.7.0","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"49979a83f27f0367f63ce02e325f75647bd2e20f","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.7.0.tgz","fileCount":168,"integrity":"sha512-HZiv7qKif/yHz1TPNKRkx1fYp/wqg4M4zZ76vAuGRxacEyHLDOtB3nOmtNxuzirv/cIOcTMKFMuzYqBisgajQA==","signatures":[{"sig":"MEUCIBSSCV1Vgs5XK37XEXLphSdfbSLBQq2dQCLP7somutM/AiEAkwPiHAWB7ALTvby6VGnIaVSg7cxajBCN9ABqJVH4/IU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDRj9vo4EsgVD7lQ2f/IWabjN37nCxQHZeqljTabAzOIAiBojhGjtWTd2cNoA2KS2JiCM4NHrXFThYu1e+jZfZ6eyg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1397760},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"44e46957e03a3d37cf19fdcdaa4fb5c5bdc2b8d1","scripts":{"dev":"vite","fmt":"oxfmt --check .","lint":"oxlint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn fmt:fix && yarn lint:fix","fmt:fix":"oxfmt --write .","lint:ci":"oxlint .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","lint:fix":"oxlint --fix .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn fmt && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^6.4.2","jsdom":"^24.1.0","vitest":"^3.2.6","postcss":"^8.4.33","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.7.0_1788889126059_0.261869400188834","host":"s3://npm-registry-packages-npm-production"}},"1.7.1":{"name":"@reflag/browser-sdk","version":"1.7.1","license":"MIT","_id":"@reflag/browser-sdk@1.7.1","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"9bcb4f9138b9bb91f91d31f3d663d982fc873a82","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.7.1.tgz","fileCount":168,"integrity":"sha512-q+HyoJ92vsCllg2D55QtSXfiqDe6b0LiRDxMoXxZZwJMV0sJnGSMakzN6L0sgkYJBo6XGl7JI6L6v6ZePJuJGA==","signatures":[{"sig":"MEUCIBNwHbiaQD6Yzm9Gh9JUagv15RUZQXGhydbOpLQXVNGFAiEA5W3CqqkgiuPSDMb2/dkh6sYE/vfwqRIeE6ryJ22wa1w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFtbiPPYBwb4NbDj9hXxSR9PO+wr2sqfkgJONp/KHNFiAiEAlSRfo7BcrxTfrdjStXsRhGYQymXbMiXjz8nEAZxQKs0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.7.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1407313},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"39c6c1b3bb88390ad543b2d69d3df213610e4c7e","scripts":{"dev":"vite","fmt":"oxfmt --check .","lint":"oxlint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn fmt:fix && yarn lint:fix","fmt:fix":"oxfmt --write .","lint:ci":"oxlint .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","lint:fix":"oxlint --fix .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn fmt && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^6.4.2","jsdom":"^24.1.0","vitest":"^3.2.6","postcss":"^8.4.33","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"^2.0.4","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.7.1_1789375521858_0.22116707175107564","host":"s3://npm-registry-packages-npm-production"}},"1.7.2":{"name":"@reflag/browser-sdk","version":"1.7.2","license":"MIT","_id":"@reflag/browser-sdk@1.7.2","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"homepage":"https://github.com/reflagcom/javascript#readme","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"89b6f30d6f9dc551c9eec75e7429c1e371038661","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.7.2.tgz","fileCount":168,"integrity":"sha512-laMc4MjibZ9CoZgFucOusFJ9KMEXU2QezCc8nQMYKc3wTCjxa1TBc1GYaY30uuFQfOl2uVnA0YlDIR/mn5gn0g==","signatures":[{"sig":"MEQCIERsMY5VXrtb0jSlPPtP/cKiEZX8SRbtP8MPPFiNGdzIAiBL6LUkNn/QtaDJ0xV+GjTw4wdtwvdDF89vIhf4DvVGeQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCzvMZkvAm4rZh0RFoc33zKNXZ421W7ALc8zOCyE2SMnAIgZan2n1Z3hgTtXougYwkKFp+kfEW+65EzKYG/0hfgcFU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.7.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1409684},"main":"./dist/reflag-browser-sdk.umd.js","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"8e7b2573b6608bc80c6df2653b5659c74d3d528e","scripts":{"dev":"vite","fmt":"oxfmt --check .","lint":"oxlint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn fmt:fix && yarn lint:fix","fmt:fix":"oxfmt --write .","lint:ci":"oxlint .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","lint:fix":"oxlint --fix .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn fmt && yarn test && yarn build","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^6.4.2","jsdom":"^24.1.0","vitest":"^4.1.11","postcss":"^8.4.33","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"4.1.11","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"tmp":"tmp/browser-sdk_1.7.2_1789550020906_0.8541550176502968","host":"s3://npm-registry-packages-npm-production"}},"1.7.3":{"_id":"@reflag/browser-sdk@1.7.3","bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"dist":{"shasum":"284010c452c1b1bc5c59867db85a2a1788a9866f","tarball":"https://registry.npmjs.org/@reflag/browser-sdk/-/browser-sdk-1.7.3.tgz","fileCount":172,"integrity":"sha512-yqI8Om/Gz6QA1ffCTP6AgS+hX973I4OYQxL50lL8pRaaRJQ1+Na8hAUxYwL9sb5OO9FMolSb6mLpmjbfCIrNOw==","signatures":[{"sig":"MEYCIQDc3jdyQuDPZqsKA5fsf8mRSllxmY8pKfB0x2x1s+ittwIhAN8ka+WQ40lSLxg2gjs6GmykojF/N8z5vSYL75nCvCqu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHW6pWGoBxKyQzW4snCoz9HO+Vsa2kPQV/OKd12pMAZ3AiANT0axycbCslFKp9Wp+WqTWLd6+i329xj/lJ/xPVegpg=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@reflag%2fbrowser-sdk@1.7.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1410152},"main":"./dist/reflag-browser-sdk.umd.js","name":"@reflag/browser-sdk","types":"./dist/types/src/index.d.ts","exports":{".":{"types":"./dist/types/src/index.d.ts","import":"./dist/reflag-browser-sdk.mjs","require":"./dist/reflag-browser-sdk.umd.js","react-native":"./dist/index.native.js"}},"gitHead":"c0be8636332a5e44668ca34c4293285887cf0eb8","license":"MIT","scripts":{"dev":"vite","fmt":"oxfmt --check .","lint":"oxlint .","test":"vitest run","build":"tsc --project tsconfig.native.json && tsc --project tsconfig.build.json && vite build","format":"yarn fmt:fix && yarn lint:fix","fmt:fix":"oxfmt --write .","lint:ci":"oxlint .","test:ci":"yarn test --reporter=default --reporter=junit --outputFile=junit.xml && yarn test:e2e","coverage":"yarn test --coverage","lint:fix":"oxlint --fix .","test:e2e":"yarn build && playwright test","preversion":"yarn lint && yarn fmt && yarn test && yarn build","test:watch":"vitest"},"version":"1.7.3","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4f395be-b211-495a-8d07-34f94166167f"}},"homepage":"https://github.com/reflagcom/javascript#readme","repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"_npmVersion":"11.6.2","description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","directories":{},"maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"_nodeVersion":"24.13.0","dependencies":{"preact":"^10.22.1","js-cookie":"^3.0.5","fast-equals":"^5.2.2","@floating-ui/dom":"^1.6.8"},"react-native":"./dist/index.native.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.1.1","devDependencies":{"c8":"~10.1.3","msw":"^2.3.4","nock":"^14.0.1","vite":"^6.4.2","jsdom":"^24.1.0","vitest":"^4.1.11","postcss":"^8.4.33","typescript":"^5.7.3","@types/node":"^22.12.0","http-server":"^14.1.1","postcss-nesting":"^12.0.2","vite-plugin-dts":"^4.0.0-beta.1","@playwright/test":"^1.49.1","@reflag/tsconfig":"0.0.2","@types/js-cookie":"^3.0.6","postcss-preset-env":"^9.3.0","@vitest/coverage-v8":"4.1.11","vite-plugin-static-copy":"^2.3.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/browser-sdk_1.7.3_1789985127851_0.2870310935817757"}}},"time":{"created":"2025-09-02T06:47:46.615Z","modified":"2026-09-21T10:05:28.593Z","1.0.0-alpha.1":"2025-09-02T06:47:46.898Z","1.0.0-alpha.2":"2025-09-02T09:24:47.393Z","1.0.0-alpha.3":"2025-09-02T11:38:08.462Z","1.0.0-alpha.4":"2025-09-02T13:31:13.334Z","1.0.0":"2025-09-02T20:58:45.303Z","1.1.0":"2025-09-05T11:40:56.478Z","1.2.0":"2025-10-02T07:40:18.295Z","1.3.0":"2026-01-22T19:54:06.504Z","1.4.0":"2026-02-05T19:03:56.739Z","1.4.1":"2026-02-09T20:23:17.889Z","1.4.2":"2026-02-19T09:47:10.690Z","1.4.3":"2026-03-03T13:27:48.378Z","1.4.4":"2026-03-11T19:22:23.307Z","1.4.6":"2026-03-12T14:51:35.879Z","1.4.7":"2026-03-13T07:59:37.342Z","1.5.0":"2026-05-27T19:04:57.674Z","1.5.1":"2026-05-29T13:56:51.280Z","1.5.2":"2026-06-02T09:11:48.718Z","1.5.3":"2026-06-11T18:01:37.856Z","1.5.4":"2026-06-14T12:02:34.949Z","1.6.0":"2026-08-04T12:24:16.684Z","1.6.1":"2026-08-04T19:45:20.203Z","1.7.0":"2026-09-08T17:38:46.266Z","1.7.1":"2026-09-14T08:45:21.957Z","1.7.2":"2026-09-16T09:13:40.992Z","1.7.3":"2026-09-21T10:05:27.971Z"},"bugs":{"url":"https://github.com/reflagcom/javascript/issues"},"license":"MIT","homepage":"https://github.com/reflagcom/javascript#readme","repository":{"url":"git+https://github.com/reflagcom/javascript.git","type":"git"},"description":"Basic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.","maintainers":[{"name":"roncohen1","email":"cohen1+1@gmail.com"}],"readme":"# Reflag Browser SDK\n\nBasic client for [Reflag.com](https://reflag.com). If you're using React, you'll be better off with the Reflag React SDK.\n\nReflag supports flag toggling, tracking flag usage, [collecting feedback](#qualitative-feedback-on-beta-flags) on flags, and [remotely configuring flags](#remote-config).\n\n## Install\n\nFirst find your `publishableKey` under [environment settings](https://app.reflag.com/env-current/settings/app-environments) in Reflag.\n\nThe package can be imported or used directly in a HTML script tag:\n\nA. Import module:\n\n```typescript\nimport { ReflagClient } from \"@reflag/browser-sdk\";\n\nconst user = {\n  id: 42,\n  role: \"manager\",\n};\n\nconst company = {\n  id: 99,\n  plan: \"enterprise\",\n};\n\nconst reflagClient = new ReflagClient({ publishableKey, user, company });\n\nawait reflagClient.initialize();\n\nconst {\n  isEnabled,\n  config: { payload: question },\n  track,\n  requestFeedback,\n} = reflagClient.getFlag(\"huddle\");\n\nif (isEnabled) {\n  // Show flag. When retrieving `isEnabled` the client automatically\n  // sends a \"check\" event for the \"huddle\" flag which is shown in the\n  // Reflag UI.\n\n  // On usage, call `track` to let Reflag know that a user interacted with the flag\n  track();\n\n  // The `payload` is a user-supplied JSON in Reflag that is dynamically picked\n  // out depending on the user/company.\n  const question = payload?.question ?? \"Tell us what you think of Huddles\";\n\n  // Use `requestFeedback` to create \"Send feedback\" buttons easily for specific\n  // flags. This is not related to `track` and you can call them individually.\n  requestFeedback({ title: question });\n}\n\n// `track` just calls `reflagClient.track(<flagKey>)` to send an event using the same flag key\n// You can also use `track` on the client directly to send any custom event.\nreflagClient.track(\"huddle\");\n\n// similarly, `requestFeedback` just calls `reflagClient.requestFeedback({flagKey: <flagKey>})`\n// which you can also call directly:\nreflagClient.requestFeedback({ flagKey: \"huddle\" });\n```\n\nB. Script tag (client-side directly in html)\n\nSee [example/browser.html](https://github.com/reflagcom/javascript/tree/main/packages/browser-sdk/example/browser.html) for a working example:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@reflag/browser-sdk@2\"></script>\n<script>\n  const reflag = new ReflagBrowserSDK.ReflagClient({\n    publishableKey: \"publishableKey\",\n    user: { id: \"42\" },\n    company: { id: \"1\" },\n  });\n\n  reflag.initialize().then(() => {\n    console.log(\"Reflag initialized\");\n    document.getElementById(\"loading\").style.display = \"none\";\n    document.getElementById(\"start-huddle\").style.display = \"block\";\n  });\n</script>\n<span id=\"loading\">Loading...</span>\n<button\n  id=\"start-huddle\"\n  style=\"display: none\"\n  onClick=\"reflag.track('Started huddle')\"\n>\n  Click me\n</button>\n```\n\n### Init options\n\nSupply these to the constructor call:\n\n```typescript\ntype Configuration = {\n  logger: console; // by default only logs warn/error, by passing `console` you'll log everything\n  apiBaseUrl?: \"https://front.reflag.com\";\n  credentials?: \"include\" | \"same-origin\" | \"omit\"; // forwarded to fetch requests; \"include\" also enables credentials for the default EventSource transport\n  feedback?: undefined; // See FEEDBACK.md\n  enableTracking?: true; // set to `false` to stop sending track events and user/company updates to Reflag servers. Useful when you're impersonating a user\n  enableLiveFlagUpdates?: false; // Set to `true` to keep flags up to date over SSE (browser SDK default: false)\n  eventSourceFactory?: (url: string) => {\n    // Advanced: provide a custom EventSource-compatible transport\n    addEventListener: (type: string, cb: (event: any) => void) => void;\n    close: () => void;\n  };\n  fallbackFlags?:\n    | string[]\n    | Record<string, { key: string; payload: any } | true>; // Enable these flags if unable to contact reflag.com. Can be a list of flag keys or a record with configuration values\n  timeoutMs?: number; // Timeout for fetching flags (default: 5000ms)\n  staleWhileRevalidate?: boolean; // Revalidate in the background when cached flags turn stale to avoid latency in the UI (default: false)\n  staleTimeMs?: number; // at initialization time flags are loaded from the cache unless they have gone stale. Defaults to 0 which means the cache is disabled. Increase this in the case of a non-SPA\n  expireTimeMs?: number; // In case we're unable to fetch flags from Reflag, cached/stale flags will be used instead until they expire after `expireTimeMs`. Default is 30 days\n  offline?: boolean; // Use the SDK in offline mode. Offline mode is useful during testing and local development\n};\n```\n\n## Migrating from Bucket SDK\n\nIf you have been using the Bucket SDKs, the following list will help you migrate to Reflag SDK:\n\n- `Bucket*` classes, and types have been renamed to `Reflag*` (e.g. `BucketClient` is now `ReflagClient`)\n- `Feature*` classes, and types have been renamed to `Feature*` (e.g. `Feature` is now `Flag`, `RawFeatures` is now `RawFlags`)\n- All methods that contained `feature` in the name have been renamed to use the `flag` terminology (e.g. `getFeature` is `getFlag`)\n- The `fallbackFeatures` property in client constructor and configuration files has been renamed to `fallbackFlags`\n- `featureKey` has been renamed to `flagKey` in all methods that accepts that argument\n- The new cookies that are stored in the client's browser are now `reflag-*` prefixed instead og `bucket-*`\n- The `featuresUpdated` hook has been renamed to `flagsUpdated`\n- The `checkIsEnabled` and `checkConfig` hooks have been removed, use `check` from now on\n\nTo ease in transition to Reflag SDK, some of the old methods have been preserved as aliases to the new methods:\n\n- `getFeature` method is an alias for `getFlag`\n- `getFeatures` method is an alias for `getFlags`\n- `featuresUpdated` hook is an alias for `flagsUpdated`\n\nIf you are running with strict Content Security Policies active on your website, you will need change them as follows:\n\n- `connect-src https://front.bucket.co` to `connect-src https://front.reflag.com`\n\nFinally, if you have customized the look & feel of the Feedback component, update `--bucket-feedback-*` CSS classes to `--reflag-feedback-*`\n\n## Flag toggles\n\nReflag determines which flags are active for a given user/company. The user/company is given in the ReflagClient constructor.\n\nIf you supply `user` or `company` objects, they must include at least the `id` property otherwise they will be ignored in their entirety.\nIn addition to the `id`, you must also supply anything additional that you want to be able to evaluate flag targeting rules against.\n\nAttributes cannot be nested (multiple levels) and must be either strings, integers or booleans.\nSome attributes are special and used in Reflag UI:\n\n- `name` -- display name for `user`/`company`,\n- `email` -- is accepted for `user`s and will be highlighted in the Reflag UI if available,\n- `avatar` -- can be provided for both `user` and `company` and should be an URL to an image.\n\n```ts\nconst reflagClient = new ReflagClient({\n  publishableKey,\n  user: {\n    id: \"user_123\",\n    name: \"John Doe\",\n    email: \"john@acme.com\"\n    avatar: \"https://example.com/images/udsy6363\"\n  },\n  company: {\n    id: \"company_123\",\n    name: \"Acme, Inc\",\n    avatar: \"https://example.com/images/31232ds\"\n  },\n});\n```\n\nTo retrieve flags along with their targeting information, use `getFlag(key: string)`:\n\n```ts\nconst huddle = reflagClient.getFlag(\"huddle\");\n// {\n//   isEnabled: true,\n//   config: { key: \"zoom\", payload: { ... } },\n//   track: () => Promise<Response>\n//   requestFeedback: (options: RequestFeedbackData) => void\n// }\n```\n\nYou can use `getFlags()` to retrieve all enabled flags currently.\n\n```ts\nconst flags = reflagClient.getFlags();\n// {\n//   huddle: {\n//     isEnabled: true,\n//     targetingVersion: 42,\n//     config: ...\n//   }\n// }\n```\n\n`getFlags()` is meant to be more low-level than `getFlag()` and it typically used\nby down-stream clients, like the React SDK.\n\nNote that accessing `isEnabled` on the object returned by `getFlags` does not automatically\ngenerate a `check` event, contrary to the `isEnabled` property on the object returned by `getFlag`.\n\n## End-user opt-in\n\nIf a flag has end-user opt-in enabled in Reflag, you can list the opt-in options for the current context and set or cancel opt-in for the current user or company.\n\n```ts\nconst optInFlags = reflagClient.getOptInFlags();\n// [{ key, name, description, isEnabled, userOptedIn, companyOptedIn, isOptedIn }]\n\ntry {\n  const response = await reflagClient.setOptIn(\"huddle\", {\n    optedIn: true, // Use false to cancel this scope's opt-in.\n    scope: \"user\", // Use \"company\" to change the current company's opt-in.\n  });\n  if (!response?.ok) {\n    console.error(\"Could not update opt-in\");\n  }\n} catch (error) {\n  console.error(\"Could not update opt-in\", error);\n}\n```\n\nBy default, `setOptIn()` changes the opt-in for the current user, so the current context must include a `user.id`. To manage the current company's opt-in instead, pass `scope: \"company\"`; the context must then include a `company.id`.\n\nUser and company opt-ins are managed independently. Setting `optedIn` to `false` removes the opt-in only for the selected scope. For example, cancelling a user's opt-in does not change the company's opt-in for the same flag.\n\n`setOptIn` returns a promise so you can wait for the new membership state to be synchronized. On success, it resolves after the refreshed flag state has been applied locally, the requested membership change has been confirmed, and `flagsUpdated` listeners have been notified when flags change.\n\nThe promise resolves to a `Response`, or `undefined` if skipped due to invalid input, offline mode etc. Check `response?.ok` for success.\n\nThe `description` comes from the dedicated SDK-facing opt-in description configured in Reflag.\n\nWhen using bootstrapped flags, the first `getOptInFlags()` or `getIsLoadingOptInFlags()` call requests a flags refresh. The list call returns the currently available list synchronously, and the loading getter returns `true` until that refresh succeeds or fails. Normal initialization also exposes loading through the client's state.\n\nListen for `optInFlagsLoadingUpdated` to update UI when this loading state changes. `flagsUpdated` is emitted when a successful refresh updates the list.\n\nIf fetching opt-in metadata fails, loading ends without exposing an error. Call `reflagClient.refresh()` to retry.\n\n## Remote config\n\nRemote config is a dynamic and flexible approach to configuring flag behavior outside of your app – without needing to re-deploy it.\n\nSimilar to `isEnabled`, each flag has a `config` property. This configuration is managed from within Reflag.\nIt is managed similar to the way access to flags is managed, but instead of the binary `isEnabled` you can have\nmultiple configuration values which are given to different user/companies.\n\n```ts\nconst flags = reflagClient.getFlags();\n// {\n//   huddle: {\n//     isEnabled: true,\n//     targetingVersion: 42,\n//     config: {\n//       key: \"gpt-3.5\",\n//       payload: { maxTokens: 10000, model: \"gpt-3.5-beta1\" }\n//     }\n//   }\n// }\n```\n\n`key` is mandatory for a config, but if a flag has no config or no config value was matched against the context, the `key` will be `undefined`. Make sure to check against this case when trying to use the configuration in your application. `payload` is an optional JSON value for arbitrary configuration needs.\n\nJust as `isEnabled`, accessing `config` on the object returned by `getFlags` does not automatically\ngenerate a `check` event, contrary to the `config` property on the object returned by `getFlag`.\n\n## Server-side rendering and bootstrapping\n\nFor server-side rendered applications, you can render immediately with pre-fetched flag data by bootstrapping the client.\n\n### Init options bootstrapped\n\n```typescript\ntype Configuration = {\n  logger: console; // by default only logs warn/error, by passing `console` you'll log everything\n  apiBaseUrl?: \"https://front.reflag.com\";\n  credentials?: \"include\" | \"same-origin\" | \"omit\"; // forwarded to fetch requests; \"include\" also enables credentials for the default EventSource transport\n  feedback?: undefined; // See FEEDBACK.md\n  enableTracking?: true; // set to `false` to stop sending track events and user/company updates to Reflag servers. Useful when you're impersonating a user\n  offline?: boolean; // Use the SDK in offline mode. Offline mode is useful during testing and local development\n  bootstrappedState?: {\n    context: ReflagContext;\n    flags: FetchedFlags;\n    flagStateVersion?: number;\n  }; // Pre-fetched evaluated state from server-side (see Server-side rendering section)\n  bootstrappedFlags?: FetchedFlags; // Deprecated: use `bootstrappedState` instead\n};\n```\n\n### Using `bootstrappedState`\n\nUse the Node SDK's `getFlagsForBootstrap()` method to pre-fetch evaluated state server-side, then pass the returned object directly to the browser client:\n\n```typescript\n// Server-side: Get bootstrapped state using Node SDK\nimport { ReflagClient as ReflagNodeClient } from \"@reflag/node-sdk\";\n\nconst serverClient = new ReflagNodeClient({ secretKey: \"your-secret-key\" });\nawait serverClient.initialize();\n\nconst bootstrappedState = serverClient.getFlagsForBootstrap({\n  user: { id: \"user123\", name: \"John Doe\", email: \"john@acme.com\" },\n  company: { id: \"company456\", name: \"Acme Inc\", plan: \"enterprise\" },\n});\n\n// Pass the bootstrapped state to the client using your framework's preferred method\napp.get(\"/\", (req, res) => {\n  res.set(\"Content-Type\", \"text/html\");\n  res.send(\n    Buffer.from(\n      `<script>var bootstrappedState = ${JSON.stringify(bootstrappedState)};</script>\n      <main id=\"app\"></main>`,\n    ),\n  );\n});\n\n// Client-side: Initialize with pre-fetched evaluated state\nimport { ReflagClient } from \"@reflag/browser-sdk\";\n\nconst reflagClient = new ReflagClient({\n  publishableKey: \"your-publishable-key\",\n  bootstrappedState, // Contains context, flags, and optional flagStateVersion\n});\n\nawait reflagClient.initialize();\nconst { isEnabled } = reflagClient.getFlag(\"huddle\");\n```\n\nThe `bootstrappedState` object contains:\n\n- `context`: the evaluation context used on the server\n- `flags`: the evaluated raw flags\n- `flagStateVersion`: an optional version used to avoid redundant live-update refreshes immediately after bootstrapping\n\nIf you want live flag updates to continue working after bootstrapping, use a recent `@reflag/node-sdk` so `getFlagsForBootstrap()` includes `flagStateVersion`.\n\nIf a bootstrapped application requests opt-in flags, the browser SDK performs one flags refresh. Applications that do not request opt-in data do not make this request.\n\nIf you previously used `bootstrappedFlags`, migrate like this:\n\n```typescript\n// Before\nconst { flags } = serverClient.getFlagsForBootstrap(context);\nconst client = new ReflagClient({\n  publishableKey,\n  user: context.user,\n  company: context.company,\n  other: context.other,\n  bootstrappedFlags: flags,\n});\n\n// After\nconst bootstrappedState = serverClient.getFlagsForBootstrap(context);\nconst client = new ReflagClient({\n  publishableKey,\n  bootstrappedState,\n});\n```\n\n> [!NOTE]\n> After bootstrapping, any live flag updates are fetched directly by the browser SDK from Reflag using the browser-visible context. If your bootstrapped snapshot depends on server-only or secret context that is not available in the browser, later live refreshes may differ. In that case, keep `enableLiveFlagUpdates` disabled.\n>\n> Requesting opt-in flags also triggers a browser-side refresh, even when `enableLiveFlagUpdates` is disabled.\n\nThis eliminates loading states and removes the initial render's dependency on the flags API.\n\n## Context management\n\n### Updating user/company/other context\n\nAttributes given for the user/company/other context in the ReflagClient constructor can be updated for use in flag targeting evaluation with the `updateUser()`, `updateCompany()` and `updateOtherContext()` methods.\nThey return a promise which resolves once the flags have been re-evaluated follow the update of the attributes.\n\n> [!NOTE] > `user`/`company` attributes are also stored remotely on the Reflag servers and will automatically be used to evaluate flag targeting if the page is refreshed.\n\n### setContext()\n\nThe `setContext()` method allows you to replace the entire context (user, company, and other attributes) at once. This method is useful when you need to completely change the context, such as when a user logs in or switches between different accounts.\n\n```ts\nawait reflagClient.setContext({\n  user: {\n    id: \"new-user-123\",\n    name: \"Jane Doe\",\n    email: \"jane@example.com\",\n    role: \"admin\",\n  },\n  company: {\n    id: \"company-456\",\n    name: \"New Company Inc\",\n    plan: \"enterprise\",\n  },\n  other: {\n    feature: \"beta\",\n    locale: \"en-US\",\n  },\n});\n```\n\nThe method will:\n\n- Replace the entire context with the new values\n- Re-evaluate all flags based on the new context\n- Update the user and company information on Reflag servers\n- Return a promise that resolves once the flags have been re-evaluated\n\n### getContext()\n\nThe `getContext()` method returns the current context being used for flag evaluation. This is useful for debugging or when you need to inspect the current user, company, and other attributes.\n\n```ts\nconst currentContext = reflagClient.getContext();\nconsole.log(currentContext);\n// {\n//   user: { id: \"user-123\", name: \"John Doe\", email: \"john@example.com\" },\n//   company: { id: \"company-456\", name: \"Acme Inc\", plan: \"enterprise\" },\n//   other: { locale: \"en-US\", feature: \"beta\" }\n// }\n```\n\nThe returned context object contains:\n\n- `user`: Current user attributes (if any)\n- `company`: Current company attributes (if any)\n- `other`: Additional context attributes not related to user or company\n\n## Toolbar\n\nThe Reflag Toolbar is great for toggling flags on/off for yourself to ensure that everything works both when a flag is on and when it's off.\n\n<img width=\"352\" alt=\"Toolbar screenshot\" src=\"https://github.com/user-attachments/assets/c223df5a-4bd8-49a1-8b4a-ad7001357693\" />\n\nThe toolbar will automatically appear on `localhost`. However, it can also be incredibly useful in production.\nYou have full control over when it appears through the `toolbar` configuration option passed to the `ReflagClient`.\n\nYou can pass a simple boolean to force the toolbar to appear/disappear:\n\n```typescript\nconst client = new ReflagClient({\n  // show the toolbar even in production if the user is an internal/admin user\n  toolbar: user?.isInternal,\n  ...\n});\n```\n\nYou can also configure the position of the toolbar on the screen:\n\n```typescript\nconst client = new ReflagClient({\n  toolbar: {\n    show: true;\n    position: {\n      placement: \"bottom-left\",\n      offset: {x: \"1rem\", y: \"1rem\"}\n    }\n  }\n  ...\n})\n```\n\nSee [the reference](https://docs.reflag.com/supported-languages/browser-sdk/globals#toolbaroptions) for details.\n\n## Qualitative feedback on beta flags\n\nReflag can collect qualitative feedback from your users in the form of a [Customer Satisfaction Score](https://en.wikipedia.org/wiki/Customer_satisfaction) and a comment.\n\n### Automated feedback collection\n\nThe Reflag Browser SDK comes with automated feedback collection mode enabled by default, which lets the Reflag service ask your users for feedback for relevant flags just after they've used them.\n\n> [!NOTE]\n> To get started with automatic feedback collection, make sure you've set `user` in the `ReflagClient` constructor.\n\nAutomated feedback surveys work even if you're not using the SDK to send events to Reflag.\nIt works because the Reflag Browser SDK maintains a live connection to Reflag's servers and can automatically show a feedback prompt whenever the Reflag servers determines that an event should trigger a prompt - regardless of how this event is sent to Reflag.\n\nYou can find all the options to make changes to the default behavior in the [Reflag feedback documentation](./FEEDBACK.md).\n\n### Reflag feedback UI\n\nReflag can assist you with collecting your user's feedback by offering a pre-built UI, allowing you to get started with minimal code and effort.\n\n[Read the Reflag feedback UI documentation](./FEEDBACK.md)\n\n### Reflag feedback SDK\n\nFeedback can be submitted to Reflag using the SDK:\n\n```ts\nreflagClient.feedback({\n  flagKey: \"my-flag-key\", // String (required), copy from Flag feedback tab\n  score: 5, // Number: 1-5 (optional)\n  comment: \"Absolutely stellar work!\", // String (optional)\n});\n```\n\n### Reflag feedback API\n\nIf you are not using the Reflag Browser SDK, you can still submit feedback using the HTTP API.\n\nSee details in [Feedback HTTP API](https://docs.reflag.com/api/http-api#post-feedback)\n\n## Tracking flag usage\n\nThe `track` function lets you send events to Reflag to denote flag usage.\nBy default Reflag expects event names to align with the flag keys, but\nyou can customize it as you wish.\n\n```ts\nreflagClient.track(\"huddle\", { voiceHuddle: true });\n```\n\n## Event listeners\n\nEvent listeners allow for capturing various events occurring in the `ReflagClient`. This is useful to build integrations with other system or for various debugging purposes. The available events are:\n\n- `check`: Your code used `isEnabled` or `config` for a flag\n- `flagsUpdated`: Flags were updated. Either because they were loaded as part of initialization or because the user/company updated\n- `optInFlagsLoadingUpdated`: The opt-in flag loading state changed\n- `user`: User information updated (similar to the `identify` call used in tracking terminology)\n- `company`: Company information updated (sometimes to the `group` call used in tracking terminology)\n- `track`: Track event occurred.\n\nUse the `on()` method to add an event listener to respond to certain events. See the API reference for details on each hook.\n\n```ts\nimport { ReflagClient, CheckEvent, RawFlags } from \"@reflag/browser-sdk\";\n\nconst client = new ReflagClient({\n  // options\n});\n\n// or add the hooks after construction:\nconst unsub = client.on(\"check\", (check: CheckEvent) =>\n  console.log(`Check event ${check}`),\n);\n// use the returned function to unsubscribe, or call `off()` with the same arguments again\nunsub();\n```\n\n## Zero PII\n\nThe Reflag Browser SDK doesn't collect any metadata and HTTP IP addresses are _not_ being stored.\n\nFor tracking individual users, we recommend using something like database ID as userId, as it's unique and doesn't include any PII (personal identifiable information). If, however, you're using e.g. email address as userId, but prefer not to send any PII to Reflag, you can hash the sensitive data before sending it to Reflag:\n\n```ts\nimport reflag from \"@reflag/browser-sdk\";\nimport { sha256 } from \"crypto-hash\";\n\nreflag.user(await sha256(\"john_doe\"));\n```\n\n## Use of cookies\n\nThe Reflag Browser SDK uses a couple of cookies to support automated feedback surveys. These cookies are not used for tracking purposes and thus should not need to appear in cookie consent forms.\n\nThe two cookies are:\n\n- `reflag-prompt-${userId}`: store the last automated feedback prompt message ID received to avoid repeating surveys\n- `reflag-token-${userId}`: caching a token used to connect to Reflag's live messaging infrastructure that is used to deliver automated feedback surveys in real time.\n\n## TypeScript\n\nTypes are bundled together with the library and exposed automatically when importing through a package manager.\n\n## Content Security Policy (CSP)\n\nIf you are running with strict Content Security Policies active on your website, you will need to enable these directives in order to use the SDK:\n\n| Directive   | Values                                               | Reason                                                                                                  |\n| ----------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |\n| connect-src | [https://front.reflag.com](https://front.reflag.com) | API requests plus Server-Sent Events for live flag updates and automated feedback surveys.              |\n| style-src   | 'unsafe-inline'                                      | The feedback UI is styled with inline styles. Not having this directive results unstyled HTML elements. |\n\nIf you are including the Reflag tracking SDK with a `<script>`-tag from `jsdelivr.net` you will also need:\n\n| Directive       | Values                                               | Reason                          |\n| --------------- | ---------------------------------------------------- | ------------------------------- |\n| script-src-elem | [https://cdn.jsdelivr.net](https://cdn.jsdelivr.net) | Loads the Reflag SDK from a CDN |\n\n## License\n\n> MIT License\n> Copyright (c) 2025 Bucket ApS\n","readmeFilename":"README.md"}