{"_id":"@flagdeck/js","_rev":"36-e3430034b4b3c39eafbdf8045f4f8cd2","name":"@flagdeck/js","dist-tags":{"latest":"0.0.34"},"versions":{"0.0.3":{"name":"@flagdeck/js","version":"0.0.3","keywords":["feature-flags","feature-toggles","flagdeck","ab-testing","feature-management"],"author":{"name":"Flagdeck Team"},"license":"MIT","_id":"@flagdeck/js@0.0.3","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"homepage":"https://flagdeck.com","bugs":{"url":"https://github.com/flagdeck/flagdeck/issues"},"dist":{"shasum":"1075b11c1f8bd08c2e49debc31b5da835543499e","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.3.tgz","fileCount":6,"integrity":"sha512-D9KrthuRRTL/dUZwVJzxBn3hSDuIpqOFZHtLmvKDX1l53m9Z8u7RjC/S8vILViU6DZRfcQD0nrrY8iWmbV/ABg==","signatures":[{"sig":"MEUCIQDxnnq8Cp+7sZ9rBssIpUb5WlAR9Po0ryGyjBURtO76XAIgIg9pq9hRlbm54J5iR3vevXqAkjQzJhRSXzaCQ/Fw2/4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71098},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","browser":{"./dist/node-specific.js":"./dist/browser-specific.js"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"8590cbf2da1a38e2faa73994e0d1b60bc93e66f4","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts","test":"jest","build":"NODE_ENV=production tsup","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"repository":{"url":"git+https://github.com/flagdeck/flagdeck.git","type":"git"},"_npmVersion":"10.8.2","description":"JavaScript/TypeScript SDK for Flagdeck feature flags management","directories":{"example":"examples"},"sideEffects":false,"_nodeVersion":"20.17.0","dependencies":{"node-fetch":"^3.3.2","@flagdeck/shared":"file:../../packages/shared"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.0","eslint":"^8.0.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","typescript":"^5.7.2","@types/jest":"^29.5.5","@types/node":"^20.17.11"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.3_1742652168294_0.27846753768490884","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@flagdeck/js","version":"0.0.4","_id":"@flagdeck/js@0.0.4","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"805214536c0a31f99aee7df6a0fe4ef9541fb286","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.4.tgz","fileCount":14,"integrity":"sha512-bC8K/mdsTrmYMZYbfvdsXH6wWDmsSo2xOFptGhdk9C/1kQCzw1+FtrwE7U3G2TiZq4OSs/6dJAq4oJVIdlzxWw==","signatures":[{"sig":"MEUCIQCy/yX5DeBfPaeK3oofGt3j3UFyowHrlKzrWXEvSZasoAIgHDE9AQIwK53bOQsqwC+CcSlC1Iw9BoFM5fHHAmrgzMw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":447360},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"5099bc923e21ceb91792798b5042631b219d6bc4","scripts":{"dev":"cross-env FLAGDECK_ENV=development tsup --watch","lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && cross-env FLAGDECK_ENV=staging tsup","clean":"rm -rf dist","build:prod":"npm run clean && cross-env FLAGDECK_ENV=production tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.4_1742814643967_0.659347898182598","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@flagdeck/js","version":"0.0.5","_id":"@flagdeck/js@0.0.5","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"c11aea3631f1ddfed0dcb33424271288fe120442","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.5.tgz","fileCount":14,"integrity":"sha512-951s9ptQYc0/Fb/pS5Y0xe9aqR11yLsm+W2iwBoX4djc0GaZiQOQvHWvTzQ/2MNAqbCB1U5Xc8an4puoZQS7PQ==","signatures":[{"sig":"MEUCIFB+LBFrpHtEqHJP3xFPr3HoyezNto2UPORLd21zgnVYAiEAl/cOZ0QflH99h+8PNOVa2JSIOkMpdUODXua9/bkR+/I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":273737},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"49401ed727f7c7e093871a3f9714dc8e0f6d0443","scripts":{"dev":"cross-env FLAGDECK_ENV=development tsup --watch","lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && cross-env FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && cross-env FLAGDECK_ENV=development tsup","build:custom":"npm run clean && cross-env FLAGDECK_API_URL=https://custom-api.example.com tsup","build:staging":"npm run clean && cross-env FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.5_1742848482249_0.5275842214533473","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@flagdeck/js","version":"0.0.6","_id":"@flagdeck/js@0.0.6","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"b5ec2765c774eeffc969c19a55d1f19c2f1dae0d","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.6.tgz","fileCount":14,"integrity":"sha512-TBROM+4AG9p385TRGtzzpkwXkxSHfNvzhdP6MxfV7gTmJCYZgCvs+r5xi5fpPX86/9DdHClsiuynWKoH0Vo7yg==","signatures":[{"sig":"MEUCIQCw5hyY8+AfCdO0Vu6BTljUBjxsco77hBwmDI6hxh5i7QIgfzn4m5Muset5MfspV39hrgzDGeYyCErUbEaIaKfkU9g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":274368},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"5e9beecfe5b506fc69f35a4f308ddfc9a1f2833d","scripts":{"dev":"cross-env FLAGDECK_ENV=development tsup --watch","lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && cross-env FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && cross-env FLAGDECK_ENV=development tsup","build:custom":"npm run clean && cross-env FLAGDECK_API_URL=https://custom-api.example.com tsup","build:staging":"npm run clean && cross-env FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.6_1742855814802_0.3797345455232608","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@flagdeck/js","version":"0.0.7","_id":"@flagdeck/js@0.0.7","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"a2668ea53d24223a62cca0c1b6aab840bb5fd65b","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.7.tgz","fileCount":14,"integrity":"sha512-MZ4v6/e4zuUVzvcPuvd96XSh7BDJPfD96pzoA2IvmUon3LJeoGqfwa7r/f+eXSji0EHOm1EbMNYiqkxqNRf+KA==","signatures":[{"sig":"MEUCIH7jwncSj97FAKg7hb19X+W81lYoS1cVBYuE4NblNDOIAiEA74q4L9uMCGy8UNqR7rWSiyfkRHpAxkL/6zvX9BssKrM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":274464},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"e3c63a89135e159b5626e8db5918f9c8ddc42537","scripts":{"dev":"cross-env FLAGDECK_ENV=development tsup --watch","lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && cross-env FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && cross-env FLAGDECK_ENV=development tsup","build:custom":"npm run clean && cross-env FLAGDECK_API_URL=https://custom-api.example.com tsup","build:staging":"npm run clean && cross-env FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.7_1742880440737_0.6497713373220546","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@flagdeck/js","version":"0.0.8","_id":"@flagdeck/js@0.0.8","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"a56c0c03f1eb4a032c617d872b9267e6f39d2bd1","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.8.tgz","fileCount":14,"integrity":"sha512-pgQ1cSSCOz1OhsnwfAOrU/DT4aqezXeYFU49zXdY365MpgpViJfA/aD6o5inb6KOMtEY1IeMaV65segyR626VQ==","signatures":[{"sig":"MEQCIFGnsQ8vnm/Txk7luleeLiVqW4tp/CiqraEnagiMsQkPAiA4qGyeINsJrRJ62V4doRxxB/67ja/zOSMePf3WqGT/oA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":325985},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"cc48e292f0f622b2067c8882f17794390ba5cc7b","scripts":{"dev":"cross-env FLAGDECK_ENV=development tsup --watch","lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && cross-env FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && cross-env FLAGDECK_ENV=development tsup","build:custom":"npm run clean && cross-env FLAGDECK_API_URL=https://custom-api.example.com tsup","build:staging":"npm run clean && cross-env FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.8_1742881702687_0.7737815987436671","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@flagdeck/js","version":"0.0.9","_id":"@flagdeck/js@0.0.9","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"3bfad92d3da1890f5b0cf1db91e5973c96c2ef94","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.9.tgz","fileCount":14,"integrity":"sha512-dnjf4QDg7wnDGvWBWuN/UIPejUaqTuFMqsdNSVp9OG0FhuoRkKMJFL4dP9xxZ1A+PeIs2pM44opU2lSLpBJ+0g==","signatures":[{"sig":"MEQCIB8+26XI9zEF91IlUkrYouTBl/LCCCTBm4xnpqK83WBMAiAwBz34KikLP0bLKKxa5rLj30cvkObWZm3oCDB0ViYIQw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":276251},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"37691b893f02285fdb9324a8832c0edc60d654af","scripts":{"dev":"tsup --watch --env.FLAGDECK_ENV=development","lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && tsup --env.FLAGDECK_ENV=production","clean":"rm -rf dist","build:dev":"npm run clean && tsup --env.FLAGDECK_ENV=development","build:custom":"npm run clean && tsup --env.FLAGDECK_API_URL=https://custom-api.example.com","build:staging":"npm run clean && tsup --env.FLAGDECK_ENV=staging"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.9_1742897891080_0.8280524377631631","host":"s3://npm-registry-packages-npm-production"}},"0.0.10":{"name":"@flagdeck/js","version":"0.0.10","_id":"@flagdeck/js@0.0.10","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"c0caa9492f6a9bcc011d9c6f803a3573bcac9ba9","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.10.tgz","fileCount":14,"integrity":"sha512-jjbv1iJqnknh58YiAxrDGL1cFFD8laAYVwWCteRSynA7e9PMTi7rTvVVzFqBesxoIj9dGOsHchVPywclMV8qZg==","signatures":[{"sig":"MEUCIH9yAL66PaF4bidL24jnb7vqgt21PVLRR+NeVw8PMtQQAiEAsdl3XYlAaJNAP2Jcf4G6lV1tkTlcnIxoa76/OPa1gfk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":278106},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"3a852373762921fd86be9b87eb9df2439a9aae22","scripts":{"dev":"tsup --watch --env.FLAGDECK_ENV=development","lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && tsup --env.FLAGDECK_ENV=production","clean":"rm -rf dist","build:dev":"npm run clean && tsup --env.FLAGDECK_ENV=development","build:custom":"npm run clean && tsup --env.FLAGDECK_API_URL=https://custom-api.example.com","build:staging":"npm run clean && tsup --env.FLAGDECK_ENV=staging"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.10_1742898328772_0.37065700997379913","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"@flagdeck/js","version":"0.0.11","_id":"@flagdeck/js@0.0.11","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"ff0b827780acf15c2d8be2fe757d3ce173c991a4","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.11.tgz","fileCount":14,"integrity":"sha512-EsX6vDjXUpFdhf+cSsgHIzePzrmJOetZYmV1nV7oXVoYncDwHEjIa2dko68zbRV7TWKg/LWjEJ2BlMi3Pc+Dvw==","signatures":[{"sig":"MEUCIQDO/8J8xOYTXeLZhk0rOWH8ZThW2Z9dNrwtcgJ+zwXvlgIgKG+WXBMryMwMeCHBg/ug7cU8Wyxi2O7lUf73BoicZcc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":274254},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"1e22cc02a65c6e30144eedbabfb7ec72f5ab77b8","scripts":{"dev":"tsup --watch --env.FLAGDECK_ENV=development","lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && tsup --env.FLAGDECK_ENV=production","clean":"rm -rf dist","build:dev":"npm run clean && tsup --env.FLAGDECK_ENV=development","build:custom":"npm run clean && tsup --env.FLAGDECK_API_URL=https://custom-api.example.com","build:staging":"npm run clean && tsup --env.FLAGDECK_ENV=staging"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.11_1742898764162_0.4584717547138246","host":"s3://npm-registry-packages-npm-production"}},"0.0.13":{"name":"@flagdeck/js","version":"0.0.13","_id":"@flagdeck/js@0.0.13","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"c869d66f17cae993b0407e9d36d358d5bbf490db","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.13.tgz","fileCount":14,"integrity":"sha512-uHhMhXUqmaI9xjqO2QaimQWYPY41V/xvJAMGQEEQ0RtVSxfuUPZT7ssTsc3hnR+xhnRxMpKJncGgmSCFSIwIcQ==","signatures":[{"sig":"MEYCIQCgNs82rsN15L2il20hsCyScjSZ1tZ42Sau+DNFBeW/dgIhAOCw/cgJu6B/d4vM4ZGEyrZfbV5nvVK3+qiXbHCy5mj+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":278330},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"405380c6939589f50439e18e039446bd5b4f0b51","scripts":{"dev":"tsup --watch --env.FLAGDECK_ENV=development","lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && tsup --env.FLAGDECK_ENV=production","clean":"rm -rf dist","build:dev":"npm run clean && tsup --env.FLAGDECK_ENV=development","build:custom":"npm run clean && tsup --env.FLAGDECK_API_URL=https://custom-api.example.com","build:staging":"npm run clean && tsup --env.FLAGDECK_ENV=staging"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.13_1742900754495_0.872652298865964","host":"s3://npm-registry-packages-npm-production"}},"0.0.14":{"name":"@flagdeck/js","version":"0.0.14","_id":"@flagdeck/js@0.0.14","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"c5e7470a54e698258e87551e572451dbe2e1b1bd","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.14.tgz","fileCount":14,"integrity":"sha512-w4VvPRb1vX4x2ery3GlSHGPeEwUOipBCP1o4lqSYSs1jW+kaJjiWo5Xm90WRVVa/BMZ2gFmEeTjEGl1apKKxrg==","signatures":[{"sig":"MEYCIQDr25ZekvqHr5hdX0OlDWBnQ/6EcZ5qskqFz+ziKl9k4QIhAIn/OCmEQ1Rgm2q4nvag/SfwbUWreGzQXcephfeNny94","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":277481},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"f1e4bbca50fa11e60db46360920de97236fd0e3b","scripts":{"dev":"tsup --watch --env.FLAGDECK_ENV development","lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && tsup --env.FLAGDECK_ENV production","clean":"rm -rf dist","build:dev":"npm run clean && tsup --env.FLAGDECK_ENV development","build:custom":"npm run clean && tsup --env.FLAGDECK_API_URL https://custom-api.example.com","build:staging":"npm run clean && tsup --env.FLAGDECK_ENV staging"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.14_1742925952369_0.5747755911772734","host":"s3://npm-registry-packages-npm-production"}},"0.0.15":{"name":"@flagdeck/js","version":"0.0.15","_id":"@flagdeck/js@0.0.15","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"c3aaefcd38855c9c9813785f10f9d6845713e21a","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.15.tgz","fileCount":14,"integrity":"sha512-lg6g8LFuhP7Trsvh0KoYm3Hcs9laQHpi9w2Ndvf9p3bfZF/74GDV8lo+284dtN7v1nK15F3C1YTgu67/LAlqlg==","signatures":[{"sig":"MEUCIQDo5N7FKu/mGPsTYrDTbqfToTepCg/K53d00q2TjuL/2QIgdHBC8qoCO6qS5UyLr7D8t3DxEUm6nfmxHJd09LE7eU0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":278146},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"dea8ae44fb9dd3101b95f4a2186d835f43ca4ac5","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.15_1742926947562_0.6387116917086164","host":"s3://npm-registry-packages-npm-production"}},"0.0.16":{"name":"@flagdeck/js","version":"0.0.16","_id":"@flagdeck/js@0.0.16","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"ab67eb257be6836779c482970eaf66bfefda62ca","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.16.tgz","fileCount":14,"integrity":"sha512-YJUVdWHePbIkb7qKHFBOrNS22lvYBluoJA7RMiLHQ1ZKYkhecaI5rclbrSHnSdqIoSyAGT97G115azyKi+OrPw==","signatures":[{"sig":"MEUCIDzrKypkYy97JdsJXrwe2vBvwOsxuwLjKfay5lRsOnBMAiEAvlRc5xj6XewV5TY5PTuP4Iz9wzGfQMkcYO0YfsnQJOU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":278146},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"5b79c9878fc8574b99834fe62bf31ef783f80157","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.16_1742927399182_0.8164542670737511","host":"s3://npm-registry-packages-npm-production"}},"0.0.17":{"name":"@flagdeck/js","version":"0.0.17","_id":"@flagdeck/js@0.0.17","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"2e82c9036f02023f6454004413d2ddbbb2d1c76c","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.17.tgz","fileCount":14,"integrity":"sha512-JaurvtIG5zDu6bUZUXWfBu0Y6LQ2llQ7PT187yh4q9EQISALt3XPsv91pg5mblvyjm2IEPw05Ng3Sza30OeXbQ==","signatures":[{"sig":"MEUCIQC79wJClFBDngsm/NE6vz+u9h69h1GmDAiBs6iMrn9u0AIgC5GDBdt6ySpkAzbB1TSdJL4lLOwSsYeSQZPvhlP6KIY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":393554},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"2201a34c28da27a128dd96e8efc8134efe16aefb","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6","@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.17_1743706254459_0.9672198348099506","host":"s3://npm-registry-packages-npm-production"}},"0.0.18":{"name":"@flagdeck/js","version":"0.0.18","_id":"@flagdeck/js@0.0.18","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"f5a61d05a1976826d60c93aa2079785b4588e4b3","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.18.tgz","fileCount":14,"integrity":"sha512-DSY4dndbVqNXaa3gubGY05iQA6KRq0JNOCWwh1voGiyrttGeR7LcW9vjFoxlgMq0Ol1MsrPMS8fjauxqr7dr3w==","signatures":[{"sig":"MEQCIGlgcFW2/EQeW6JVhfsakcMVMHxNLeBz4yJGoUfGglrVAiAcbxcEvVdHw/w9FFKlIrAgi1OKVZc+PRd8gOFBv1rxsQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":490075},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"725ca7020ec6b4e87fe2a5992388339497bd9f71","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6","@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.18_1743976810991_0.7996904895424148","host":"s3://npm-registry-packages-npm-production"}},"0.0.19":{"name":"@flagdeck/js","version":"0.0.19","_id":"@flagdeck/js@0.0.19","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"c178e1f086f9dd6ab5ee2f3ece6bae72494849b9","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.19.tgz","fileCount":14,"integrity":"sha512-M7WMN4rIc9wz/ff1iP0EsPZ6qyVWCPk0xHyj0dZcD6OepNInX6c13To2DpUgF9ZzVADe7Ignuf/rxhUCH1htOA==","signatures":[{"sig":"MEUCIQCYr8F5aN5x1gJn982xPLBOKyvdgfeqdpxRr8nqsThWQgIgenQ5Evrb+JqGx9K7t7Ixx1A5UM45j8PbpDziIcrcQ3U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":490075},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"cc8c891d9dceec9521f5eb761ccf553de17aaabf","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6","@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.19_1743979157579_0.9442229694033528","host":"s3://npm-registry-packages-npm-production"}},"0.0.20":{"name":"@flagdeck/js","version":"0.0.20","_id":"@flagdeck/js@0.0.20","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"da3c93d8ae0092ef6d23c5409421bd10fa8f9dbd","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.20.tgz","fileCount":16,"integrity":"sha512-bfO0r9qTUCRVEWrkTTQ0wBmOAUmqTzeQg3wlzOV/4gpgbIga2tYRIFbsRBy/oSGCxLTDCo1Eh3OoWmztB5kg3w==","signatures":[{"sig":"MEYCIQDzBd57e1LqAM5xKU4Nhu7edJM+UbmjgrifZ3kqJryssAIhAODi57dqsWxWyuQ6qA/4Ear5bvca0voEjLY5bHqcDhdB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":508652},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"cdf09596e6e6421ca62f835c822c8448d451bf46","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6","@flagdeck/shared":"file:../../packages/shared"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.20_1743986161678_0.5752047326559946","host":"s3://npm-registry-packages-npm-production"}},"0.0.21":{"name":"@flagdeck/js","version":"0.0.21","_id":"@flagdeck/js@0.0.21","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"3f4205dd1922f00bf19ae6f0e9ee4df876526ad3","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.21.tgz","fileCount":16,"integrity":"sha512-ILVbSRsWyWuAZ4lx3P9ItH91+xW4F9QBLAHBTVGmzDQzk0WSgcT0y+STI7SBzI05/yeaIQwd5AC5D6azZzOs4Q==","signatures":[{"sig":"MEUCIEiYnlrFFZhhXQkDub3LJGAh2qEYYBeYrIosb9xKXvGrAiEA9fMWPU2UvUl2+ENnTi0D+GVlXe7BMORFiKbJE4Czjms=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":508706},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"2ac2e4f25f30e65f0bb9cae774181ab8a9c0e002","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0","@flagdeck/shared":"file:../../packages/shared"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.21_1744005765799_0.579186516780476","host":"s3://npm-registry-packages-npm-production"}},"0.0.22":{"name":"@flagdeck/js","version":"0.0.22","_id":"@flagdeck/js@0.0.22","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"1ad80b095d84013bbb9479947fd3ae246a10155c","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.22.tgz","fileCount":16,"integrity":"sha512-8Y7KeD51D5K4qF3MLW3LOZW0i8SHEdV5mOsmIJwAaVUqqqWuwN+2QmjXAnXxPmZVA/lZg3f7JvTIR/xxf+HrZw==","signatures":[{"sig":"MEYCIQC75mpTpSEoIqiaMyKLYarJWstjNnLqdVdWnpUQsZ3WGAIhAJeXgsUa+GrhW+pJ+DiRi98rFqzLXkFgSCnghGyE4w/F","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":509532},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"7f8fae3b260a48407a9559e4d4d9b82c7db790b6","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0","@flagdeck/shared":"file:../../packages/shared"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.22_1744007609781_0.5869256718383726","host":"s3://npm-registry-packages-npm-production"}},"0.0.23":{"name":"@flagdeck/js","version":"0.0.23","_id":"@flagdeck/js@0.0.23","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"c4a4b3c006528819894b20968321e133254a11bc","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.23.tgz","fileCount":16,"integrity":"sha512-YrcrxPNzYmJvwO0JpAOIKpasNoSQ5q8HIVBaMGrdgT5SFSxDQPxGiU6Vsb6q8ipeP9RLGB0kgXA6V1YzaizvRA==","signatures":[{"sig":"MEYCIQCV1q1Gu7NtjfF7xbfBmmS2zd70DQFttYrcoE7Kizy10gIhALLQzzRIUBJp4DVcTjNO13eG8B6k5CkerkH56NCovsUc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":509630},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"68eb5da78b76c53ec94b417aa70c2bf273283954","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0","@flagdeck/shared":"file:../../packages/shared"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.23_1744007902939_0.5720544553760514","host":"s3://npm-registry-packages-npm-production"}},"0.0.24":{"name":"@flagdeck/js","version":"0.0.24","_id":"@flagdeck/js@0.0.24","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"992b849464fb72411583d7fba5446f0888cf291b","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.24.tgz","fileCount":16,"integrity":"sha512-Yp4IYWkoMga986Px8YLrHYGQiGhenlH+04jK9+kxnI05eit0tMaoizSCeTHKVTnKi1BS2u2uoHSiIVU4lQ5Z+g==","signatures":[{"sig":"MEYCIQD3KDrXJw+fJtZ7YySPfTTodvw4JMut2nBmdBglMbDyewIhALVWGmAXE8odqcJy2K920ie/lqVOLaxOLMhGVIg07xzG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":509784},"main":"./dist/index.js","types":"./dist/index.d.ts","unpkg":"./dist/browser.umd.js","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.mjs","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"b8f490c3041a255609752ed68cbd344013fe5d35","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"jsdelivr":"./dist/browser.umd.js","_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0","@flagdeck/shared":"file:../../packages/shared"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.24_1744020042475_0.6307408915506074","host":"s3://npm-registry-packages-npm-production"}},"0.0.25":{"name":"@flagdeck/js","version":"0.0.25","_id":"@flagdeck/js@0.0.25","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"f4cab7acb379fc62649ec1cba3e087512275b6b6","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.25.tgz","fileCount":17,"integrity":"sha512-ZARTRP07drvZV6cOUZmJc2sj2K3F5ccu4ObYSAfqeKA338Ym532rjHBWTo+8y28UoSPWjk4+afJoVWctx7TORA==","signatures":[{"sig":"MEYCIQDDMhYhrj5zQAAEPb6Gr01G2yfjmCxG3T8ajbe5QqIUVQIhAIldQyz3VS55VSLAEEyK+59dBvF3VgLiygF3BSjMyRxD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":562714},"main":"./dist/index.js","types":"./dist/index.d.ts","unpkg":"./dist/browser.umd.js","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"264b3d83ea88a4155b3a3f24512545ff93d9eac8","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"jsdelivr":"./dist/browser.umd.js","_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0","@flagdeck/shared":"file:../../packages/shared"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.25_1744021087829_0.3463818259252798","host":"s3://npm-registry-packages-npm-production"}},"0.0.26":{"name":"@flagdeck/js","version":"0.0.26","_id":"@flagdeck/js@0.0.26","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"952d27c543257602988fa66a1c416a9ab155a87e","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.26.tgz","fileCount":17,"integrity":"sha512-DEIwPYGH8nG90eoChVhiS1IKXmkNRzDaDMEI5JTY84hcVjPWA02AolHN1Xza3AjFy8WqWM92WVpL8N7qANZodA==","signatures":[{"sig":"MEYCIQD7vISKEBKmK8JZakzYbROc4M8R6YdeUVDR5V3q0GqsuwIhAN08+TGtsL0bspbnftL5NIJmLuN+LM80im79fLN7u67D","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":554171},"main":"./dist/index.js","types":"./dist/index.d.ts","unpkg":"./dist/browser.umd.js","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"f06545b1632aed5cbcdb5ed903fc30e6c081499c","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"jsdelivr":"./dist/browser.umd.js","_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0","@flagdeck/shared":"file:../../packages/shared"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.26_1744058481718_0.1905123548462877","host":"s3://npm-registry-packages-npm-production"}},"0.0.27":{"name":"@flagdeck/js","version":"0.0.27","_id":"@flagdeck/js@0.0.27","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"7eb3a4fc1e8be57400c1c0d4afdb0e0e7fff6490","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.27.tgz","fileCount":17,"integrity":"sha512-Obz3GIqmb3f9fazcrg8kdezsjvp79QgeNJPTbhn8nLxOycYof0hwLbDw2cqfttMfPV2bX6pmXzdzmzoXo6umTQ==","signatures":[{"sig":"MEUCIQC5W+fDZJ59QfLqjprU0QsDCtdDKogSm3K59H3UlGRkEgIgVJUQdKAJ/HQ6BZsCv3VmhH3Qy/W+F9qfpanB7tZECpo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":554313},"main":"./dist/index.js","types":"./dist/index.d.ts","unpkg":"./dist/browser.umd.js","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"21df5cf4733a715d38d4dc1365e3bf1c19ee20f3","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"jsdelivr":"./dist/browser.umd.js","_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0","@flagdeck/shared":"file:../../packages/shared"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.27_1744062844852_0.3104232415593102","host":"s3://npm-registry-packages-npm-production"}},"0.0.28":{"name":"@flagdeck/js","version":"0.0.28","_id":"@flagdeck/js@0.0.28","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"c42154372037d7be14390c85df8ea1d041734fea","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.28.tgz","fileCount":17,"integrity":"sha512-U0sCEHyWLEgOF5WxxVejcKYSiPJbnwHHGrmOkCfWs/tO+V9Vy6Kyb0TuPnZLKosNKq3S577cQqZhS1Et5l5oMA==","signatures":[{"sig":"MEUCIQCmOdXMnEMabr8XHZKu/tSpV2oHhictNMfOoKpAGEwJGgIgUculbYQdQwaDPJaAPLk+hT9AgWBipvmZicE8TQtyP0o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":554872},"main":"./dist/index.js","types":"./dist/index.d.ts","unpkg":"./dist/browser.umd.js","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"7c1ccd3d705a7b69f44692246574a5fb011ed239","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"jsdelivr":"./dist/browser.umd.js","_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0","@flagdeck/shared":"file:../../packages/shared"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.28_1744063824540_0.8636351647697413","host":"s3://npm-registry-packages-npm-production"}},"0.0.29":{"name":"@flagdeck/js","version":"0.0.29","_id":"@flagdeck/js@0.0.29","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"0ba7f63aa817b3fcd70d179416dd706be2f8453d","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.29.tgz","fileCount":15,"integrity":"sha512-ZG411AeNDiI48RJphYmhH4aXscgDuI37ehL/RBZEtaUaRIZJRibeLN5rrdtrLGlYpUghmkT84mBfN7JucZmLWg==","signatures":[{"sig":"MEUCIQDTkVJKtcxg0VyWwBahy6MidF7R/+auDZV/0G2eeavKzQIgVp/0nqw/AFvt5czsfXbl+DL1PWiGaLVrj6CEwBrm07M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":536724},"main":"./dist/index.js","types":"./dist/index.d.ts","unpkg":"./dist/browser.umd.js","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"854d17e22b0edd530c36a5648b4da5e8b3edc923","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"jsdelivr":"./dist/browser.umd.js","_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0","@flagdeck/shared":"file:../../packages/shared"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.29_1744090234731_0.9073635242486653","host":"s3://npm-registry-packages-npm-production"}},"0.0.31":{"name":"@flagdeck/js","version":"0.0.31","_id":"@flagdeck/js@0.0.31","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"0780c2f5450c9f0ee6ac5f9e799e1b520ddbe177","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.31.tgz","fileCount":15,"integrity":"sha512-320VVYM122EdY8YWZcCgrd5G3JANU20oaVYSmd5Q3sItXvUzCUZrxvoLnh5xg0b7+OmKMUd1axFwPfI0AHgRKQ==","signatures":[{"sig":"MEUCIQDJYZFAgNVaJBspeT/UGkxeeuldWBVManoWjng2ssIXTgIga2V6tlNBIs8WzubDWdWrvwNAGJlEjMwm3z+cVOmW+Ig=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":540212},"main":"./dist/index.js","types":"./dist/index.d.ts","unpkg":"./dist/browser.umd.js","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"896ea31f45db0702272f748419b0f53a0f8eeb12","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"jsdelivr":"./dist/browser.umd.js","_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0","@flagdeck/shared":"file:../../packages/shared"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.31_1744128931118_0.7843852773042654","host":"s3://npm-registry-packages-npm-production"}},"0.0.32":{"name":"@flagdeck/js","version":"0.0.32","_id":"@flagdeck/js@0.0.32","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"b09022f888ad02480b916b8a464df7237d7d515e","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.32.tgz","fileCount":15,"integrity":"sha512-1WWE5MP3ZRUlWBg+GDN/ibi/VP1y9/sF9/LTtxVUsNkIzruWgF9T3RQE4fCfVK3XZ86IhJDIAfCFWNzweEBcnQ==","signatures":[{"sig":"MEUCICA6M+C5tGRJKXdWquCQtFeiwuSNb6UEGNhBY4pbbuXAAiEAzlIxTrdukSP/woZHqM8FuSpMiT5ixSKw2Xw0cdkdbLY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":540506},"main":"./dist/index.js","types":"./dist/index.d.ts","unpkg":"./dist/browser.umd.js","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"2d58748e1fd0490b67b683356ba2bc25cc3c3a79","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"jsdelivr":"./dist/browser.umd.js","_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0","@flagdeck/shared":"file:../../packages/shared"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.32_1744129791633_0.9864445411588247","host":"s3://npm-registry-packages-npm-production"}},"0.0.33":{"name":"@flagdeck/js","version":"0.0.33","_id":"@flagdeck/js@0.0.33","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"dist":{"shasum":"bb738b27673f42070bff2a33fe30b7603d1a4dde","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.33.tgz","fileCount":15,"integrity":"sha512-5bYJo4AoROcXGSsxXRuhtz/5pQipAvZ2eRxdvDdQpNiRAMTJht9CsNLwpHKSTvqKdt8Oex+vdH95jjSqcSdXnA==","signatures":[{"sig":"MEQCIFtVSashC/Hd4dnIVv4dkbshhy9vRVw6/PlShrsP7d/nAiBGySQzGc7IskbD2uSsdodNHkdLvK7A9b3a4lMbhr5Cgg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":553156},"main":"./dist/index.js","types":"./dist/index.d.ts","unpkg":"./dist/browser.umd.js","module":"./dist/index.mjs","browser":"./dist/browser.js","exports":{".":{"node":"./dist/node.js","types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/browser.js","default":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"f06e6e1a6f17939a0446c8512b65fe423cfb3948","scripts":{"lint":"eslint src --ext .ts","test":"jest","build":"npm run clean && FLAGDECK_ENV=production tsup","clean":"rm -rf dist","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup"},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"jsdelivr":"./dist/browser.umd.js","_npmVersion":"10.8.2","description":"JavaScript SDK for Flagdeck feature flags","directories":{},"_nodeVersion":"20.17.0","dependencies":{"eventsource":"^3.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","dotenv":"^16.4.7","cross-env":"^7.0.3","typescript":"^5.0.0","@flagdeck/shared":"file:../../packages/shared"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/js_0.0.33_1744218621886_0.001370036102983585","host":"s3://npm-registry-packages-npm-production"}},"0.0.34":{"name":"@flagdeck/js","version":"0.0.34","description":"JavaScript SDK for Flagdeck feature flags","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","browser":"./dist/browser.js","unpkg":"./dist/browser.umd.js","jsdelivr":"./dist/browser.umd.js","exports":{".":{"types":"./dist/index.d.ts","node":"./dist/node.js","browser":"./dist/browser.js","import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"npm run clean && FLAGDECK_ENV=production tsup","build:staging":"npm run clean && FLAGDECK_ENV=staging tsup","build:dev":"npm run clean && FLAGDECK_ENV=development tsup","clean":"rm -rf dist","lint":"eslint src --ext .ts","test":"jest"},"dependencies":{"eventsource":"^3.0.6"},"devDependencies":{"cross-env":"^7.0.3","dotenv":"^16.4.7","@flagdeck/shared":"file:../../packages/shared","tsup":"^8.0.0","typescript":"^5.0.0"},"peerDependencies":{"node-fetch":"^3.3.2"},"peerDependenciesMeta":{"node-fetch":{"optional":true}},"publishConfig":{"access":"public"},"_id":"@flagdeck/js@0.0.34","gitHead":"92a03065d5e9d6eefe9bd7a1527d4f27a5861a17","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-iXkO5W71HF9QmgB+YFsLZissmjGAuQJlAAB36+WoAC+HLMmK90iNMGzeAYljsW+7a+KGvVFpWbLpw8BykLmKNA==","shasum":"4bcdfdc516c30839c206ecd7bded7ed4841368f4","tarball":"https://registry.npmjs.org/@flagdeck/js/-/js-0.0.34.tgz","fileCount":15,"unpackedSize":553161,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC8MzgdcEvY7yy0Pl3DSoWyWVbZbSkJtFiT0WZC0OKJWAiBYAW1OiuCJaoLp29FQzPxgYR5mrVl+svf8ONo8yJH13A=="}]},"_npmUser":{"name":"benmalcom","email":"benjaminikeji@gmail.com"},"directories":{},"maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/js_0.0.34_1745965611913_0.485125767926341"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-22T14:02:48.164Z","modified":"2025-04-29T22:26:52.335Z","0.1.0":"2025-03-09T00:02:44.764Z","0.0.1":"2025-03-09T10:36:32.391Z","0.0.2":"2025-03-15T16:01:16.445Z","0.0.3":"2025-03-22T14:02:48.564Z","0.0.4":"2025-03-24T11:10:44.153Z","0.0.5":"2025-03-24T20:34:42.424Z","0.0.6":"2025-03-24T22:36:54.983Z","0.0.7":"2025-03-25T05:27:20.969Z","0.0.8":"2025-03-25T05:48:22.891Z","0.0.9":"2025-03-25T10:18:11.366Z","0.0.10":"2025-03-25T10:25:28.932Z","0.0.11":"2025-03-25T10:32:44.327Z","0.0.13":"2025-03-25T11:05:54.683Z","0.0.14":"2025-03-25T18:05:52.569Z","0.0.15":"2025-03-25T18:22:27.741Z","0.0.16":"2025-03-25T18:29:59.368Z","0.0.17":"2025-04-03T18:50:54.753Z","0.0.18":"2025-04-06T22:00:11.205Z","0.0.19":"2025-04-06T22:39:17.805Z","0.0.20":"2025-04-07T00:36:01.865Z","0.0.21":"2025-04-07T06:02:45.992Z","0.0.22":"2025-04-07T06:33:30.047Z","0.0.23":"2025-04-07T06:38:23.131Z","0.0.24":"2025-04-07T10:00:42.713Z","0.0.25":"2025-04-07T10:18:08.008Z","0.0.26":"2025-04-07T20:41:22.014Z","0.0.27":"2025-04-07T21:54:05.097Z","0.0.28":"2025-04-07T22:10:24.888Z","0.0.29":"2025-04-08T05:30:34.941Z","0.0.31":"2025-04-08T16:15:31.278Z","0.0.32":"2025-04-08T16:29:51.852Z","0.0.33":"2025-04-09T17:10:22.145Z","0.0.34":"2025-04-29T22:26:52.116Z"},"description":"JavaScript SDK for Flagdeck feature flags","maintainers":[{"name":"benmalcom","email":"benjaminikeji@gmail.com"}],"readme":"# Flagdeck JavaScript SDK\n\nThe official JavaScript/TypeScript SDK for [Flagdeck](https://flagdeck.com), a modern feature flag and feature management system.\n\n## Installation\n\n```bash\nnpm install @flagdeck/js\n# or\nyarn add @flagdeck/js\n```\n\n## Quick Start\n\n```javascript\nimport { Flagdeck } from '@flagdeck/js';\n\n// Initialize the client\nconst flagdeck = new Flagdeck({\n   apiKey: 'your-api-key'\n});\n\n// Check if a feature flag is enabled\nasync function checkFeature() {\n   const isEnabled = await flagdeck.isEnabled('new-feature', {\n      userId: 'user-123',\n      attributes: {\n         country: 'US',\n         plan: 'premium'\n      }\n   });\n\n   if (isEnabled) {\n      // Feature is enabled for this user\n      enableNewFeature();\n   } else {\n      // Feature is disabled\n      useDefaultFeature();\n   }\n}\n```\n\n## Environment-Specific Imports\n\nThe SDK automatically detects your environment (browser or Node.js) and uses the appropriate implementation. If you want to explicitly import a specific version:\n\n### Browser Import\n\n```javascript\nimport { Flagdeck } from '@flagdeck/js/browser';\n\nconst flagdeck = new Flagdeck({\n   apiKey: 'your-api-key'\n});\n```\n\n### Node.js Import\n\n```javascript\nimport { Flagdeck } from '@flagdeck/js/node';\n\nconst flagdeck = new Flagdeck({\n   apiKey: 'your-api-key'\n});\n```\n\n## Working with Different Value Types\n\nFlagdeck supports multiple value types for feature flags:\n\n### Boolean Flags\n\n```typescript\n// Check if a feature is enabled\nconst isEnabled = await flagdeck.isEnabled('new-feature');\nif (isEnabled) {\n   showNewFeature();\n}\n```\n\n### String Variants\n\n```typescript\n// Get a string variant value with default\nconst variant = await flagdeck.getValue<string>('experiment-variant', context, 'control');\nif (variant === 'A') {\n   // Show variant A\n} else if (variant === 'B') {\n   // Show variant B\n}\n```\n\n### Numeric Settings\n\n```typescript\n// Get a numeric configuration value with default\nconst limit = await flagdeck.getValue<number>('rate-limit', context, 100);\napplyRateLimit(limit);\n```\n\n### JSON/Object Configuration\n\n```typescript\n// Get complex configuration with TypeScript type\nconst config = await flagdeck.getValue<{\n   url: string;\n   timeout: number;\n   retries: number;\n}>('api-config', context, { url: 'default.com', timeout: 5000, retries: 3 });\n```\n\n## Advanced Usage: Full Evaluation Details\n\nWhen you need additional metadata about an evaluation:\n\n```typescript\n// Get the full evaluation result\nconst result = await flagdeck.evaluateFlag('new-feature', context);\nconsole.log(`Feature is ${result.value ? 'enabled' : 'disabled'}`);\nconsole.log(`Source: ${result.source}`); // 'api', 'cache', etc.\nconsole.log(`Reason: ${result.reason}`);\nconsole.log(`Evaluated at: ${new Date(result.timestamp)}`);\n```\n\n## Multiple Flags at Once\n\n```typescript\n// Get multiple flag values in a single request\nconst values = await flagdeck.getValues([\n   'feature-a',\n   'rate-limit',\n   'experiment'\n], context);\n\nconsole.log(values['feature-a']); // boolean\nconsole.log(values['rate-limit']); // number\nconsole.log(values['experiment']); // string\n```\n\n## Real-Time Updates\n\nFlagdeck supports real-time flag updates, allowing your application to instantly react to flag changes made in the Flagdeck dashboard without requiring page refreshes or API polling.\n\n### Enabling Real-Time Updates\n\nReal-time updates are enabled by default in browser environments and disabled by default in server environments. You can explicitly control this behavior during initialization:\n\n```javascript\nconst flagdeck = new Flagdeck({\n  apiKey: 'your-api-key',\n  realTimeUpdates: true  // Enable real-time updates\n});\n```\n\n### Listening for Flag Changes\n\n```javascript\n// Listen for changes to a specific flag\nflagdeck.onFlagChange('welcome-message', (newValue, oldValue) => {\n  console.log(`Flag value changed from ${oldValue} to ${newValue}`);\n  \n  // Update your UI based on the new value\n  if (newValue === true) {\n    showWelcomeMessage();\n  } else {\n    hideWelcomeMessage();\n  }\n});\n\n// Listen for a flag being enabled\nflagdeck.on('enabled:feature-name', (value) => {\n  console.log('Feature was enabled!');\n  showFeature();\n});\n\n// Listen for a flag being disabled\nflagdeck.on('disabled:feature-name', (value) => {\n  console.log('Feature was disabled!');\n  hideFeature();\n});\n\n// Listen for all flag changes\nflagdeck.on('change', (changes) => {\n  console.log('Multiple flags changed:', changes);\n  // { flagKey1: { newValue, oldValue }, flagKey2: { newValue, oldValue } }\n});\n\n// Listen for connection events\nflagdeck.on('connected', () => {\n  console.log('Connected to real-time updates');\n});\n\nflagdeck.on('disconnected', (error) => {\n  console.log('Disconnected from real-time updates', error);\n});\n\nflagdeck.on('error', (error) => {\n  console.error('Real-time updates error', error);\n});\n```\n\n### Managing Real-Time Updates\n\nYou can enable or disable real-time updates at runtime:\n\n```javascript\n// Enable real-time updates with options\nflagdeck.enableRealTimeUpdates({\n  autoUpdate: true,  // Automatically update cached values when flags change\n  onFlagUpdate: (flagKey, newValue) => {\n    console.log(`Flag ${flagKey} updated to:`, newValue);\n  },\n  onConnect: () => {\n    console.log('Connected to real-time updates');\n  },\n  onDisconnect: (error) => {\n    console.log('Disconnected from real-time updates', error);\n  }\n});\n\n// Disable real-time updates\nflagdeck.disableRealTimeUpdates();\n\n// Check if real-time updates are enabled\nconst enabled = flagdeck.areRealTimeUpdatesEnabled();\nconsole.log('Real-time updates enabled:', enabled);\n\n// Reset circuit breaker if connections are failing\nflagdeck.resetSseCircuitBreaker();\n```\n\n### Subscribing to Specific Flags\n\nIn server environments, you can optimize performance by subscribing only to specific flags:\n\n```javascript\n// In Node.js, subscribe to specific flags with options\nflagdeck.subscribeToFlags(['payment-gateway', 'auth-method'], {\n  priority: 'high',  // 'high', 'normal', or 'low'\n  ttl: 3600000       // Subscription time-to-live in ms (1 hour)\n});\n```\n\n### Real-Time Updates Implementation Details\n\n- **Browser**: Uses the native EventSource API (Server-Sent Events) with automatic reconnection\n- **Node.js**: Uses the 'eventsource' package (must be installed separately)\n- **Fault Tolerance**: Includes circuit breaker pattern to prevent excessive reconnection attempts\n- **Memory Management**: Automatically cleans up unused flag subscriptions\n- **Performance**: Optimized to minimize bandwidth and CPU usage\n\n## Evaluation Context\n\nMost evaluation methods accept a context parameter that defines the user and environment details for targeting rules. Here's how to structure the context:\n\n```typescript\n// Basic context with user ID\nconst context = {\n  userId: 'user-123'\n};\n\n// Full context with attributes\nconst detailedContext = {\n  userId: 'user-456',\n  sessionId: 'session-789',  // Optional session identifier\n  attributes: {\n    // User attributes for targeting\n    email: 'user@example.com',\n    plan: 'premium',\n    country: 'US',\n    isAdmin: true,\n\n    // Custom business attributes\n    purchaseCount: 5,\n    lastLoginDate: '2023-04-15',\n\n    // Device/environment attributes\n    device: 'mobile',\n    browser: 'chrome',\n    version: '1.2.3'\n  }\n};\n```\n\n## Configuration Options\n\nThe following options can be provided when initializing the Flagdeck SDK:\n\n| Option | Type | Default | Description |\n|--------|------|---------|-------------|\n| apiKey | string | *required* | Your Flagdeck API key |\n| enableCache | boolean | true | Cache flag evaluations in memory |\n| cacheTimeout | number | 30000 | Cache timeout in milliseconds |\n| timeout | number | 5000 | Network request timeout in milliseconds |\n| retryConfig | object | { attempts: 3, delay: 1000, maxDelay: 5000 } | Retry configuration for network errors |\n| debug | boolean | false | Enable detailed logging |\n| enableOfflineMode | boolean | false | Enable offline fallback mode |\n| enableAnalytics | boolean | true | Track evaluation metrics |\n| realTimeUpdates | boolean | auto (true for browser, false for Node.js) | Enable real-time flag updates |\n| onError | function | undefined | Global error handler |\n| defaultFlagValue | any | false | Default value when evaluation fails |\n| sdkPlatform | string | auto-detected | Override detected platform ('web', 'mobile', 'server') |\n\n## Error Handling\n\n```javascript\n// Global error handler\nconst flagdeck = new Flagdeck({\n  apiKey: 'your-api-key',\n  onError: (error, flagKey) => {\n    console.error(`Error evaluating flag ${flagKey}:`, error);\n    // Log to your error tracking system\n    errorTracker.captureException(error);\n  },\n  defaultFlagValue: false // Value to use if evaluation fails\n});\n\n// Try/catch for specific evaluations\ntry {\n  const result = await flagdeck.evaluateFlag('new-feature');\n  // Use result\n} catch (error) {\n  // Handle error\n  console.error('Failed to evaluate flag:', error);\n}\n```\n\n## Middleware\n\nAdd custom behavior to the flag evaluation process with middleware:\n\n```javascript\nflagdeck.use({\n  name: 'LoggingMiddleware',\n  beforeEvaluation: (flagKey, context) => {\n    console.log(`Evaluating flag: ${flagKey}`, context);\n  },\n  afterEvaluation: (flagKey, result, context) => {\n    console.log(`Flag ${flagKey} evaluated to:`, result.value);\n    return result;\n  },\n  onError: (error, flagKey) => {\n    console.error(`Error evaluating flag ${flagKey}:`, error);\n  }\n});\n```\n\n## Offline Mode\n\nEnable offline support to maintain functionality when connectivity is lost. Offline mode is essential for applications that need to maintain consistent feature flag evaluation during network outages, mobile usage with intermittent connectivity, or to reduce server load.\n\n```javascript\nconst flagdeck = new Flagdeck({\n  apiKey: 'your-api-key',\n  enableOfflineMode: true\n});\n\n// Save current flags for offline use\nawait flagdeck.saveForOffline('feature-a', true);\n\n// Save multiple flags at once\nawait flagdeck.saveMultipleForOffline({\n  'feature-a': true,\n  'feature-b': false,\n  'limit': 100\n});\n\n// Clear offline storage\nawait flagdeck.clearOfflineStorage();\n\n// When offline, the SDK will automatically use stored flag values\n// No additional code needed for fallback behavior\n```\n\n### Offline Storage Details\n\nThe SDK implements an efficient storage system with the following optimizations:\n\n- **Flag Expiration**: Flags are stored with expiration times (default: 7 days)\n- **Automatic Pruning**: Oldest flags are automatically removed when storage limits are reached\n- **Size Management**: Storage size is monitored and optimized (100KB limit in browsers, 500KB in Node.js)\n- **Periodic Maintenance**: The SDK automatically cleans up expired flags\n- **Efficient I/O**: Batch operations minimize disk/localStorage writes\n\n### Environment-Specific Storage\n\n- **Browser**: Uses `localStorage` with memory fallback and handles quota errors\n- **Node.js**: Uses filesystem storage in the user's home directory (`~/.flagdeck`) with temp directory fallback\n\n### Important Considerations\n\n1. **Offline Mode Must Be Enabled**: Set `enableOfflineMode: true` in your configuration options\n2. **Save Flags Proactively**: Call `saveForOffline()` or `saveMultipleForOffline()` when your app has connectivity\n3. **Storage Limits**: Be mindful of storage limits, especially for mobile browsers with tight localStorage quotas\n4. **Flag Expiration**: Stored flags expire after 7 days by default; customize expiration by providing a TTL (coming soon)\n5. **Flushing Before App Closure**: For browser applications, consider flushing before app closure:\n\n```javascript\n// Ensure flags are properly saved before app-boot closes\nwindow.addEventListener('beforeunload', async () => {\n  // Save important flags one last time\n  await flagdeck.saveMultipleForOffline({\n    'critical-feature': await flagdeck.getValue('critical-feature'),\n    'user-settings': await flagdeck.getValue('user-settings')\n  });\n  \n  // Also flush analytics\n  await flagdeck.flushAnalytics();\n});\n```\n\n### Best Practices\n\n- **Default Values**: Always provide sensible default values as a final fallback\n- **Periodic Refreshes**: Refresh offline flags periodically during active use\n- **Critical Flags**: Identify and prioritize saving business-critical flags\n- **Storage Monitoring**: For sensitive applications, monitor offline storage usage\n\n```javascript\n// Example: Refresh critical flags every hour during active use\nsetInterval(async () => {\n  if (navigator.onLine) {  // Check connectivity (browser only)\n    try {\n      const criticalFlags = await flagdeck.getValues([\n        'payment-gateway', \n        'auth-method',\n        'pricing-tiers'\n      ]);\n      await flagdeck.saveMultipleForOffline(criticalFlags);\n      console.log('Refreshed offline flags successfully');\n    } catch (error) {\n      console.error('Failed to refresh offline flags:', error);\n    }\n  }\n}, 60 * 60 * 1000); // 1 hour\n```\n\n## Cache Management\n\nThe SDK automatically caches flag evaluations to improve performance. You can manage the cache manually:\n\n```javascript\n// Clear the cache\nflagdeck.clearCache();\n```\n\n## Analytics\n\nThe SDK collects anonymous usage statistics by default. You can flush these analytics manually before the app closes:\n\n```javascript\n// Flush analytics events\nawait flagdeck.flushAnalytics();\n```\n\n## Cleanup\n\nWhen you're done with the Flagdeck client, you should clean up resources:\n\n```javascript\n// Clean up resources when done\nawait flagdeck.destroy();\n```\n\n## Platform Support\n\nThis SDK works across platforms:\n\n* **Browsers:** All modern browsers are supported\n* **Node.js:** Server-side environments\n* **React Native:** Mobile applications (via the JavaScript runtime)\n\n## TypeScript Support\n\nThe SDK includes complete TypeScript definitions:\n\n```typescript\nimport { Flagdeck, EvaluationContext } from '@flagdeck/js';\n\nconst flagdeck = new Flagdeck({\n  apiKey: 'your-api-key'\n});\n\nconst context: Partial<EvaluationContext> = {\n  userId: 'user-123',\n  attributes: {\n    plan: 'premium',\n    region: 'eu-west',\n    isAdmin: true\n  }\n};\n\nconst result = await flagdeck.evaluateFlag('new-feature', context);\n```\n\n## Differences Between Browser and Node.js Versions\n\nWhile both versions share the same API, there are some internal differences:\n\n1. **Storage Mechanisms**:\n   - Browser: Uses `localStorage` for offline storage when available\n   - Node.js: Uses file system storage in the user's home directory\n\n2. **Network Implementation**:\n   - Browser: Uses the native `fetch` API\n   - Node.js: Uses `node-fetch` when the native `fetch` isn't available (Node.js < 18)\n\n3. **Environment Detection**:\n   - Browser: Detects browser, screen, and web-specific properties\n   - Node.js: Detects Node.js version, platform, and server-specific properties\n\n4. **Real-Time Updates**:\n   - Browser: Enabled by default, uses native EventSource API\n   - Node.js: Disabled by default, requires the 'eventsource' package\n\nThese differences are handled internally, allowing you to use the same API regardless of environment.\n\n## API Reference\n\n### Flagdeck\n\nThe main class for interacting with Flagdeck.\n\n#### Methods\n\n- `isEnabled(flagKey: string, context?: EvaluationContext, defaultValue?: boolean): Promise<boolean>` - Checks if a flag is enabled\n- `getValue<T>(flagKey: string, context?: EvaluationContext, defaultValue?: T): Promise<T>` - Gets just the flag value\n- `getValues<T>(flagKeys: string[], context?: EvaluationContext, defaultValue?: T): Promise<Record<string, T>>` - Gets multiple flag values at once\n- `evaluateFlag(flagKey: string, context?: EvaluationContext): Promise<EvaluationResult>` - Evaluates a flag with full details\n- `evaluate(flagKey: string, context?: EvaluationContext): Promise<EvaluationResult>` - Legacy alias for evaluateFlag (deprecated)\n- `evaluateBulk(flagKeys: string[], context?: EvaluationContext): Promise<BulkEvaluationResponse>` - Evaluates multiple flags\n- `use(middleware: EvaluationMiddleware): Flagdeck` - Adds an evaluation middleware\n- `clearCache(): void` - Clears the evaluation cache\n- `saveForOffline(flagKey: string, value: any): Promise<void>` - Saves a flag for offline use\n- `saveMultipleForOffline(flags: Record<string, any>): Promise<void>` - Saves multiple flags for offline use\n- `clearOfflineStorage(): Promise<void>` - Clears stored offline flags\n- `flushAnalytics(): Promise<void>` - Manually sends any pending analytics events\n- `on(event: string, listener: Function): Flagdeck` - Subscribe to events (including real-time updates)\n- `off(event: string, listener: Function): Flagdeck` - Unsubscribe from events\n- `onFlagChange(flagKey: string, listener: (newValue: any, oldValue: any) => void): Flagdeck` - Subscribe to changes for a specific flag\n- `enableRealTimeUpdates(options?: object): void` - Enable real-time flag updates\n- `disableRealTimeUpdates(): void` - Disable real-time flag updates\n- `areRealTimeUpdatesEnabled(): boolean` - Check if real-time updates are currently enabled\n- `resetSseCircuitBreaker(): void` - Reset the circuit breaker if connections are failing\n- `subscribeToFlags(flagKeys: string[], options?: object): void` - Subscribe to specific flags (Node.js)\n- `destroy(): Promise<void>` - Cleans up resources\n\n## License\n\nMIT\n\n## Support\n\nFor issues, feature requests, or questions, please visit our [GitHub repository](https://github.com/flagdeck) or contact [support@flagdeck.com](mailto:support@flagdeck.com).\n","readmeFilename":"README.md"}