{"_id":"@flipt-io/flipt-client-browser","_rev":"31-c6d23f62e1442d7c3b2a1203def4e8e9","name":"@flipt-io/flipt-client-browser","dist-tags":{"latest":"0.6.0"},"versions":{"0.0.15":{"name":"@flipt-io/flipt-client-browser","version":"0.0.15","author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","_id":"@flipt-io/flipt-client-browser@0.0.15","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"dist":{"shasum":"2f1840a07afc17f8ece242744c30b4219562b9f0","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.0.15.tgz","fileCount":13,"integrity":"sha512-NBDLpt7Gy7SWLhmz6P0Bl4iaf1HT7a67cJ61EE7JMPSAl7ZyJdPQKuqgRUuMyw+FXiEMCI0mUYwnGunQW51Nng==","signatures":[{"sig":"MEQCIH7jFw1ecWxGiSrlhYjON0lOM5zMqUmze9qAPYJisfzZAiBnVBIP2JMVJe66bfEmaVP4lsCxUG3fJO71cQw7thK42w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":414760},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","private":false,"scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"jest","build":"rollup -c"},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"_npmVersion":"10.2.3","description":"Flipt Client Evaluation Browser SDK","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","rollup":"^4.14.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/flipt-client-browser_0.0.15_1712500205391_0.18760313630656755","host":"s3://npm-registry-packages"}},"0.0.16":{"name":"@flipt-io/flipt-client-browser","version":"0.0.16","author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","_id":"@flipt-io/flipt-client-browser@0.0.16","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"dist":{"shasum":"e1d2277856140976358a5d891a5f0ebc6566b3c6","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.0.16.tgz","fileCount":13,"integrity":"sha512-F5oFEee56pKRunMIrEA1+WRM50eBEv0vhYwGNa0EnsbqWgs8QvqirmBFWBygGZEaltzWxNa2USbM3VgwBmLChQ==","signatures":[{"sig":"MEQCIC0u4wsnJZbUvrt5hWn+8eSF+3/aNIJCBi05YnsyDGiXAiAnMCaKgd/B7IaVLuCBZBZNTRfCAj/6GhoOH9C0m3/4BQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":432657},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","private":false,"scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"jest","build":"rollup -c"},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"_npmVersion":"10.2.3","description":"Flipt Client Evaluation Browser SDK","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","rollup":"^4.14.0","node-fetch":"^2.7.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/flipt-client-browser_0.0.16_1712928524129_0.1017137866075093","host":"s3://npm-registry-packages"}},"0.0.17":{"name":"@flipt-io/flipt-client-browser","version":"0.0.17","author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","_id":"@flipt-io/flipt-client-browser@0.0.17","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"dist":{"shasum":"d521d8ae551e63429e0ff4ebfacc6476533cdb4c","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.0.17.tgz","fileCount":13,"integrity":"sha512-AJxB1xXrK0r1HP3fKTYwcx1Zqwfj890XgsaO0pC4UGp434QyKZTeI386h9EvOHYrVYaZfpAuODjD0YnCM/dT3Q==","signatures":[{"sig":"MEUCIC/ye1jKHdxxpon/nRIjieCE3EdWB7NBO0tuaIkXsdUxAiEAjJotyReS1C/akv1ZgYIdYg7GZutqo9NU5LX3RKYB1WE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1080596},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","private":false,"scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"NODE_OPTIONS=--no-experimental-fetch jest","build":"rollup -c"},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"_npmVersion":"10.2.3","description":"Flipt Client Evaluation Browser SDK","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","rollup":"^4.14.0","undici":"^6.13.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@rollup/plugin-wasm":"^6.2.2","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/flipt-client-browser_0.0.17_1713207424142_0.10813169570872061","host":"s3://npm-registry-packages"}},"0.0.18":{"name":"@flipt-io/flipt-client-browser","version":"0.0.18","author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","_id":"@flipt-io/flipt-client-browser@0.0.18","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"dist":{"shasum":"59e25aac8c971668149fce567dfdfbb9fbb3eaae","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.0.18.tgz","fileCount":13,"integrity":"sha512-DIuOVZiOrErzKVDdR2N26QospMKNl1SHKVDeFTpKkjc4C62p/JQHa5mynTcvq6uoIineFd53E55hxi2eiJN8MQ==","signatures":[{"sig":"MEYCIQC9tc0f02I4zQNjpavvO8LDW3uQC9MyEilgx4KjNQ3IZQIhAKbMi5AjAYWQZ7Ao/clb4XNsvNMfi8I7sO8RXeik7IJR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1081948},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","private":false,"scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"NODE_OPTIONS=--no-experimental-fetch jest","build":"rollup -c"},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"_npmVersion":"10.2.3","description":"Flipt Client Evaluation Browser SDK","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","rollup":"^4.14.0","undici":"^6.13.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@rollup/plugin-wasm":"^6.2.2","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/flipt-client-browser_0.0.18_1720551621540_0.9722679476763842","host":"s3://npm-registry-packages"}},"0.0.19":{"name":"@flipt-io/flipt-client-browser","version":"0.0.19","author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","_id":"@flipt-io/flipt-client-browser@0.0.19","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"dist":{"shasum":"ad1c3e43d825ac69ab079deed084ba069fd7a973","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.0.19.tgz","fileCount":13,"integrity":"sha512-mzWVUPmYU25lrl7E34gn3p7hdFfftQ0Fge4QcgUEyC9UzoMKcXy4FN1hp4yygr3w8Yvyt+9hprJbUJAowT5+mA==","signatures":[{"sig":"MEYCIQCanASjesljYMDcpCQKp7MJowKjtDRusUuJ8EfwF7lvXQIhAMpHUGTIq3S2Lis4sTuJbDXDNh/MphKcLxt7qEl7D4Zd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1093145},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","private":false,"scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"NODE_OPTIONS=--no-experimental-fetch jest","build":"rollup -c"},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"_npmVersion":"10.2.3","description":"Flipt Client Evaluation Browser SDK","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","rollup":"^4.14.0","undici":"^6.13.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@rollup/plugin-wasm":"^6.2.2","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/flipt-client-browser_0.0.19_1722440594676_0.9624651230150509","host":"s3://npm-registry-packages"}},"0.0.20":{"name":"@flipt-io/flipt-client-browser","version":"0.0.20","author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","_id":"@flipt-io/flipt-client-browser@0.0.20","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"dist":{"shasum":"b21790ecbce110d13a27ad9bb173416a6d623fff","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.0.20.tgz","fileCount":13,"integrity":"sha512-Cpj2LgUw68sHfb+YDVv840GdrErttNT2xVwkQUw2XgXm4WCAhiTFPS6cS9r7u5dBiukVROBiCnL613hHXa3Hqw==","signatures":[{"sig":"MEYCIQC/ncwIM22rEEaNWnRMTPgSjzbZoGhcoby+BuIHVQA1kwIhAIjr6Cva8w5/+wMimzR744XZo6xAwBmyouRksGU6GoxH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1103398},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","private":false,"scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"NODE_OPTIONS=--no-experimental-fetch jest","build":"rollup -c"},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"_npmVersion":"10.2.3","description":"Flipt Client Evaluation Browser SDK","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","rollup":"^4.14.0","undici":"^6.13.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@rollup/plugin-wasm":"^6.2.2","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/flipt-client-browser_0.0.20_1725985777962_0.3521456268667691","host":"s3://npm-registry-packages"}},"0.2.0-rc.1":{"name":"@flipt-io/flipt-client-browser","version":"0.2.0-rc.1","author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","_id":"@flipt-io/flipt-client-browser@0.2.0-rc.1","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"dist":{"shasum":"052b4a00a8e3ee85a1a1efb1843431260ffd0492","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.2.0-rc.1.tgz","fileCount":14,"integrity":"sha512-e0HNs5lW6ZWR0zjaTOYEr5m6s78ZHBJe7jJpqoOTaNfHzaSfNQ4VuJ05fWzO1iWrbVJhikTidJnPuvkneolINA==","signatures":[{"sig":"MEUCICE2CpZEKPoyjNB0Yqr2WASrC5fDcX/rTlagpEHX5yUAAiEAtNB5dN1mYjTuygsR/tXTNWQ7mDUnzRkkd2bELlp0l7M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1148354},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","private":false,"scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"NODE_OPTIONS=--no-experimental-fetch jest","build":"rollup -c"},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"_npmVersion":"10.2.3","description":"Flipt Client Evaluation Browser SDK","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","rollup":"^4.14.0","undici":"^6.13.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@rollup/plugin-wasm":"^6.2.2","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/flipt-client-browser_0.2.0-rc.1_1726341432788_0.13888483452371436","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@flipt-io/flipt-client-browser","version":"0.2.0","author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","_id":"@flipt-io/flipt-client-browser@0.2.0","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"dist":{"shasum":"091a58d5e8c66e6e9165bb013177eccb2ab7e528","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.2.0.tgz","fileCount":14,"integrity":"sha512-Txzh2NmoIPeK76FpnznX+sJPQmjMRDq2fydGM8N+LLxtYz3Vz0u9dwzo7ZnjVkcniKyHKVm5UJyHtQNekzw6aQ==","signatures":[{"sig":"MEQCIHXI7V2qdRRLwzFOKAKIpKHgLJ/bfaOVCsJISoG3aCgnAiAsIbpado/GWa25vtIExOH3t/csqEhk+wM6dHXpGTApWw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1148349},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","private":false,"scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"NODE_OPTIONS=--no-experimental-fetch jest","build":"rollup -c"},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"_npmVersion":"10.2.3","description":"Flipt Client Evaluation Browser SDK","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","rollup":"^4.14.0","undici":"^6.13.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@rollup/plugin-wasm":"^6.2.2","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/flipt-client-browser_0.2.0_1726342127193_0.6132452418943395","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@flipt-io/flipt-client-browser","version":"0.2.1","author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","_id":"@flipt-io/flipt-client-browser@0.2.1","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"dist":{"shasum":"8c69d551017fb078b8016939fc30d6ddc35bfec4","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.2.1.tgz","fileCount":15,"integrity":"sha512-1oKPkAzVnJxefWtBvK/94yi1TxgHMTBYuCX1hGZUYpP4ejHuuQMtq4Diyw6I4/6N25cFuwErpV4A3a9uG23kJA==","signatures":[{"sig":"MEQCIC0Kdn+Adm1EiXGuLbJtvRVEOerM8oi4h5DDFqWVTEyLAiA2poOrRFb9IAH7SH5zPc3U6z/XxTRMfH3zoH4VZyJbng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1148617},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","private":false,"scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"NODE_OPTIONS=--no-experimental-fetch jest","build":"rollup -c"},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"_npmVersion":"10.2.3","description":"Flipt Client Evaluation Browser SDK","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","rollup":"^4.14.0","undici":"^6.13.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@rollup/plugin-wasm":"^6.2.2","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/flipt-client-browser_0.2.1_1726874813397_0.5468065950026884","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@flipt-io/flipt-client-browser","version":"0.3.0","keywords":["flipt","feature flags","feature toggles","wasm"],"author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","_id":"@flipt-io/flipt-client-browser@0.3.0","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"homepage":"https://github.com/flipt-io/flipt-client-sdks/tree/main#readme","bugs":{"url":"https://github.com/flipt-io/flipt-client-sdks/issues"},"dist":{"shasum":"22ab69b20214b6fffdbe5ada27cbf6ee72186a0f","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.3.0.tgz","fileCount":15,"integrity":"sha512-ekoEqVNFyImqdOk2x2jepJLwdtE9zSuR3K/wn7Iw7Ex4jKMuTsYMBiprvCddYCmWf9EZZC9FaR1T9whisbQjlQ==","signatures":[{"sig":"MEYCIQDSECUyb5IQrfH2Krh76g0MXX3PTK9dZ5bRyTXACSC9SAIhAIWHd03U1k4nvFEIfbC7omLgzZwXahizFE1a40TA2w+E","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1150607},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"NODE_OPTIONS=--no-experimental-fetch jest","build":"rollup -c"},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"repository":{"url":"git+https://github.com/flipt-io/flipt-client-sdks.git#main","type":"git"},"_npmVersion":"10.2.3","description":"Flipt Client Evaluation Browser SDK","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","rollup":"^4.14.0","undici":"^6.13.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@rollup/plugin-wasm":"^6.2.2","@rollup/plugin-typescript":"^12.1.0"},"_npmOperationalInternal":{"tmp":"tmp/flipt-client-browser_0.3.0_1728491680852_0.5102670026305638","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"@flipt-io/flipt-client-browser","version":"0.3.1","keywords":["flipt","feature flags","feature toggles","wasm"],"author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","_id":"@flipt-io/flipt-client-browser@0.3.1","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"homepage":"https://github.com/flipt-io/flipt-client-sdks/tree/main#readme","bugs":{"url":"https://github.com/flipt-io/flipt-client-sdks/issues"},"dist":{"shasum":"7419b2bce567acb2a04a0af5f7a5c53984b9b862","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.3.1.tgz","fileCount":15,"integrity":"sha512-1MFuQuHRENnzVooxrfQjFBLNBfE5uGBJmF2NuPFXTYMZn+sGelFovuNVuKlHqegI3Dqzz9Al2qJlkeFo+MhHxg==","signatures":[{"sig":"MEYCIQDS5w1JrDqjJyNsm/J1fVXxGiY08e4KzPccE7seuVuFLgIhAPjRsRVakx54KgtJyOMESXgZauJO0EfIDj2gBAUFKF8z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1151271},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"NODE_OPTIONS=--no-experimental-fetch jest","build":"rollup -c"},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"repository":{"url":"git+https://github.com/flipt-io/flipt-client-sdks.git#main","type":"git"},"_npmVersion":"10.2.3","description":"Flipt Client Evaluation Browser SDK","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","rollup":"^4.14.0","undici":"^6.13.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@rollup/plugin-wasm":"^6.2.2","@rollup/plugin-typescript":"^12.1.0"},"_npmOperationalInternal":{"tmp":"tmp/flipt-client-browser_0.3.1_1729095484947_0.5644718389227146","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"@flipt-io/flipt-client-browser","version":"0.4.0","keywords":["flipt","feature flags","feature toggles","wasm"],"author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","_id":"@flipt-io/flipt-client-browser@0.4.0","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"homepage":"https://github.com/flipt-io/flipt-client-sdks/tree/main#readme","bugs":{"url":"https://github.com/flipt-io/flipt-client-sdks/issues"},"dist":{"shasum":"c3b8dd415de91705d227d30496eeca178d54fef9","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.4.0.tgz","fileCount":15,"integrity":"sha512-fIdO4nH8C+22CAzQfpEtM3buFrvghg+dEzbRYgWAuF2gMu0xIe21k0zusqUMFIays06Yt/WfmIHkod3mFNspfQ==","signatures":[{"sig":"MEUCIQCbtWTi0sHSjNY1RUC2FVUJ1R281lvG07OiheCIVQ978gIgTDgG2OCkpvsBQ4v/FzEc5XDFGR+FiOzMFZpZHUyxuLU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1148133},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"NODE_OPTIONS=--no-experimental-fetch jest","build":"rollup -c"},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"repository":{"url":"git+https://github.com/flipt-io/flipt-client-sdks.git#main","type":"git"},"_npmVersion":"10.2.3","description":"Flipt Client Evaluation Browser SDK","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","rollup":"^4.14.0","undici":"^7.1.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@rollup/plugin-wasm":"^6.2.2","@rollup/plugin-typescript":"^12.1.0"},"_npmOperationalInternal":{"tmp":"tmp/flipt-client-browser_0.4.0_1734026237666_0.061463788259323415","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@flipt-io/flipt-client-browser","version":"0.5.0","keywords":["flipt","feature flags","feature toggles","wasm"],"author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","_id":"@flipt-io/flipt-client-browser@0.5.0","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"homepage":"https://github.com/flipt-io/flipt-client-sdks/tree/main#readme","bugs":{"url":"https://github.com/flipt-io/flipt-client-sdks/issues"},"dist":{"shasum":"cb2039a81c051ba064b343ffa69ddbf3caa7c898","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.5.0.tgz","fileCount":15,"integrity":"sha512-W54qUOj/EA51+2cYd8xSIyUsK4+JC8XhJEuRRFY+hly2BLWx8SxF5LUjb7dxsSgT5E4BDF6D5D6PvI3XROYiwA==","signatures":[{"sig":"MEUCIQDsPdjCqWv9Iuhtj8XStcXev1GoU7Eq0zJ/rVJJ8akalwIgOggZM/k8kxlvKKjuDZflz4PMSL4wNFAYVGCIHRhNBbo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1137103},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"NODE_OPTIONS=--no-experimental-fetch jest","build":"rollup -c"},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"repository":{"url":"git+https://github.com/flipt-io/flipt-client-sdks.git#main","type":"git"},"_npmVersion":"10.2.3","description":"Flipt Client Evaluation Browser SDK","directories":{},"_nodeVersion":"21.2.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","rollup":"^4.14.0","undici":"^7.1.0","typescript":"^5.4.3","@types/jest":"^29.5.12","@rollup/plugin-wasm":"^6.2.2","@rollup/plugin-typescript":"^12.1.0"},"_npmOperationalInternal":{"tmp":"tmp/flipt-client-browser_0.5.0_1741189665235_0.9586294524015924","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@flipt-io/flipt-client-browser","version":"0.6.0","description":"DEPRECATED: This package has been superseded by @flipt-io/flipt-client-js. Please update your dependencies.","deprecated":"This package has been superseded by @flipt-io/flipt-client-js. Please update your dependencies.","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/flipt-io/flipt-client-sdks.git#main"},"keywords":["flipt","feature flags","feature toggles","wasm"],"scripts":{"fmt":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"prettier --check src/**/*.ts","test":"NODE_OPTIONS=--no-experimental-fetch jest","build":"rollup -c"},"devDependencies":{"@rollup/plugin-typescript":"^12.1.0","@rollup/plugin-wasm":"^6.2.2","@types/jest":"^29.5.12","jest":"^29.7.0","rollup":"^4.14.0","tslib":"^2.6.2","typescript":"^5.4.3","undici":"^7.1.0","prettier":"^3.1.0"},"_id":"@flipt-io/flipt-client-browser@0.6.0","bugs":{"url":"https://github.com/flipt-io/flipt-client-sdks/issues"},"homepage":"https://github.com/flipt-io/flipt-client-sdks/tree/main#readme","_nodeVersion":"21.2.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-C07dQTY6Vrf3lDrv7qFXWLd5dSkWQDIJa89b6xO3xz7oX5n64m4ESH70EJFIKdaF6hqwds46BY3vbwcGlRaSCg==","shasum":"67e45f50cf21d31fc72637b5f2ee85f5eed026b9","tarball":"https://registry.npmjs.org/@flipt-io/flipt-client-browser/-/flipt-client-browser-0.6.0.tgz","fileCount":15,"unpackedSize":1138015,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDJRkZboZkuYm1vb+ezWku2aLOHuqciaHo22QStoDTU0QIhAOsBg2vGR2E28Ik3DzZrFPTk6pYX+UQdKjYolUUP33ao"}]},"_npmUser":{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"},"directories":{},"maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/flipt-client-browser_0.6.0_1743341136351_0.5844252415881432"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-07T14:30:05.286Z","modified":"2025-03-30T13:25:36.801Z","0.0.1":"2024-04-04T13:40:22.437Z","0.0.2":"2024-04-04T17:01:42.163Z","0.0.3":"2024-04-04T18:28:10.206Z","0.0.4":"2024-04-04T18:41:09.540Z","0.0.5":"2024-04-05T16:55:40.114Z","0.0.6":"2024-04-05T17:18:37.967Z","0.0.7":"2024-04-05T17:33:55.544Z","0.0.8":"2024-04-05T18:07:35.150Z","0.0.9":"2024-04-05T18:20:01.006Z","0.0.10":"2024-04-05T19:00:23.017Z","0.0.11":"2024-04-06T00:14:44.115Z","0.0.12":"2024-04-06T00:28:55.164Z","0.0.13":"2024-04-06T17:45:51.988Z","0.0.14":"2024-04-07T14:14:45.167Z","0.0.15":"2024-04-07T14:30:05.646Z","0.0.16":"2024-04-12T13:28:44.317Z","0.0.17":"2024-04-15T18:57:04.343Z","0.0.18":"2024-07-09T19:00:21.874Z","0.0.19":"2024-07-31T15:43:15.003Z","0.0.20":"2024-09-10T16:29:38.195Z","0.2.0-rc.1":"2024-09-14T19:17:13.045Z","0.2.0":"2024-09-14T19:28:47.419Z","0.2.1":"2024-09-20T23:26:53.698Z","0.3.0":"2024-10-09T16:34:41.196Z","0.3.1":"2024-10-16T16:18:05.191Z","0.4.0":"2024-12-12T17:57:17.939Z","0.5.0":"2025-03-05T15:47:45.584Z","0.6.0":"2025-03-30T13:25:36.611Z"},"bugs":{"url":"https://github.com/flipt-io/flipt-client-sdks/issues"},"author":{"name":"Flipt Devs","email":"dev@flipt.io"},"license":"MIT","homepage":"https://github.com/flipt-io/flipt-client-sdks/tree/main#readme","keywords":["flipt","feature flags","feature toggles","wasm"],"repository":{"type":"git","url":"git+https://github.com/flipt-io/flipt-client-sdks.git#main"},"description":"DEPRECATED: This package has been superseded by @flipt-io/flipt-client-js. Please update your dependencies.","maintainers":[{"name":"markphelps","email":"mark.aaron.phelps@gmail.com"}],"readme":"# Flipt Client Browser\n\n> [!WARNING]\n> This SDK is deprecated and will not be maintained going forward. Please use the new [Flipt Client JS SDK](https://github.com/flipt-io/flipt-client-sdks/tree/main/flipt-client-js) instead.\n\n[![flipt-client-browser](https://img.shields.io/npm/v/@flipt-io/flipt-client-browser?label=%40flipt-io%2Fflipt-client-browser)](https://www.npmjs.com/package/@flipt-io/flipt-client-browser)\n![deprecated](https://img.shields.io/badge/status-deprecated-red)\n\nThe `flipt-client-browser` library contains the JavaScript/TypeScript source code for the Flipt [client-side evaluation](https://www.flipt.io/docs/integration/client) client for the browser.\n\n## Installation\n\n```bash\nnpm install @flipt-io/flipt-client-browser\n```\n\n## Usage\n\nIn your JavaScript/Typescript code you can import this client and use it as so:\n\n```typescript\nimport { FliptEvaluationClient } from '@flipt-io/flipt-client-browser';\n\n// namespace is the first positional argument and is optional here and will have a value of \"default\" if not specified.\n// options is the second positional argument and is also optional, the structure is:\n// {\n//  \"url\": \"http://localhost:8080\",\n//  \"authentication\": {\n//    \"clientToken\": \"secret\"\n//  }\n// }\n//\nconst fliptEvaluationClient = await FliptEvaluationClient.init('default', {\n  url: 'http://localhost:8080',\n  authentication: {\n    clientToken\n  }\n});\n\nconst variant = fliptEvaluationClient.evaluateVariant('flag1', 'someentity', {\n  fizz: 'buzz'\n});\n\nconsole.log(variant);\n```\n\n### Initialization Arguments\n\nThe `FliptEvaluationClient` constructor accepts two optional arguments:\n\n- `namespace`: The namespace to fetch flag state from. If not provided, the client will default to the `default` namespace.\n- `options`: An instance of the `ClientOptions` type that supports several options for the client. The structure is:\n  - `url`: The URL of the upstream Flipt instance. If not provided, the client will default to `http://localhost:8080`.\n  - `authentication`: The authentication strategy to use when communicating with the upstream Flipt instance. If not provided, the client will default to no authentication. See the [Authentication](#authentication) section for more information.\n  - `reference`: The [reference](https://docs.flipt.io/guides/user/using-references) to use when fetching flag state. If not provided, reference will not be used.\n  - `fetcher`: An implementation of a [fetcher](https://github.com/flipt-io/flipt-client-sdks/blob/bc1c19b553bf265f7f49ed4901d59f4202aff135/flipt-client-browser/src/models.ts#L1-L16) interface to use when requesting flag state. If not provided, a default fetcher using the browser's [`fetch` API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) will be used.\n  - `errorStrategy`: The error strategy to use when fetching flag state. If not provided, the client will default to fail. See the [Error Strategies](#error-strategies) section for more information.\n\n### Authentication\n\nThe `FliptEvaluationClient` supports the following authentication strategies:\n\n- No Authentication (default)\n- [Client Token Authentication](https://docs.flipt.io/authentication/using-tokens)\n- [JWT Authentication](https://docs.flipt.io/authentication/using-jwts)\n\n### Error Strategies\n\nThe client `errorStrategy` option supports the following error strategies:\n\n- `fail`: The client will throw an error if the flag state cannot be fetched. This is the default behavior.\n- `fallback`: The client will maintain the last known good state and use that state for evaluation in case of an error.\n\n### Custom Fetcher\n\nThe `FliptEvaluationClient` supports custom fetchers. This allows you to fetch flag state from a custom source or override HTTP headers.\n\nThe fetcher can be passed in as an argument to the `FliptEvaluationClient` initializer function.\n\n```typescript\nconst fliptEvaluationClient = await FliptEvaluationClient.init('default', {\n  url: 'http://localhost:8080',\n  authentication: {\n    clientToken\n  },\n  fetcher: customFetcher\n});\n```\n\nThe fetcher is a function that takes an optional [`IFetcherOpts`](https://github.com/flipt-io/flipt-client-sdks/blob/bc1c19b553bf265f7f49ed4901d59f4202aff135/flipt-client-browser/src/models.ts#L1-L16) argument and returns a `Promise` that resolves to a `Response` object.\n\n## State Management\n\nThe `FliptEvaluationClient` class pulls flag state from the Flipt instance at the `url` provided in the `options` object on instantiation.\n\nTo update the flag state, you can call the `refresh` method on the `FliptEvaluationClient` class.\n\n> [!NOTE]\n> The `refresh` method returns a boolean indicating whether the flag state changed.\n\n```typescript\n// Refresh the flag state\nlet changed = await fliptEvaluationClient.refresh();\n\nif (changed) {\n  // Do something\n}\n```\n\n## ETag Support\n\nThe default fetcher uses [ETag HTTP headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag) to reduce the number of requests to the Flipt instance. This is useful in scenarios where the flag state is not frequently updated and you want to reduce the load on the server.\n\nTo disable ETag support, you can implement a [custom fetcher](#custom-fetcher) that does not use ETags.\n\n## Development\n\n### WASM\n\nThis library uses a WebAssembly (WASM) layer to interact with the Flipt server. It is written in Rust and exposes a JavaScript API using the `wasm-bindgen` and `wasm-pack` tools. We wrap the built WASM layer in a JavaScript API to make it easier to use in a browser environment.\n\n### Prerequisites\n\n- [flipt-engine-wasm-js](../flipt-engine-wasm-js)\n\n### Build\n\n```bash\nnpm run build\n```\n\n### Test\n\n```bash\nnpm install\nnpm test\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to open an issue or submit a Pull Request.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","readmeFilename":"README.md"}