1.2.0 • Published 3 years ago
@dcl/feature-flags v1.2.0
Feature flags lib
This library is intended to work in Webapps, client side. With better results when you use it with userId. Although it is not required for on-off features.
Check out the playbook: https://playbooks.decentraland.systems/ops/feature-flags.html
npm i -S @dcl/feature-flags
import { fetchFlags } from '@dcl/feature-flags'
const featureFlags = await fetchFlags({
applicationName: 'explorer',
// optional:
userId: '0xETH_ADDRESS_MAYBE?'
})
if (featureFlags.flags['new-ui']) {
// do something
}1.2.0
3 years ago
1.2.1-20230613174119.commit-5dace11
3 years ago
1.1.1-20230613171333.commit-2efc744
3 years ago
1.1.0
3 years ago
1.0.2-20220614203301.commit-d09c02a
4 years ago
1.0.1
4 years ago
1.0.1-20220330125851.commit-3877428
4 years ago
1.0.0
4 years ago
1.0.0-20210713204719.commit-7c1480f
4 years ago
1.0.0-20210713204211.commit-cecc706
4 years ago