Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@harnessio/ff-react-client-sdk

Package Overview
Dependencies
Maintainers
8
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harnessio/ff-react-client-sdk - npm Package Compare versions

Comparing version 1.9.0-alpha.0 to 1.9.0

4

package.json
{
"name": "@harnessio/ff-react-client-sdk",
"version": "1.9.0-alpha.0",
"version": "1.9.0",
"author": "Harness",

@@ -24,3 +24,3 @@ "license": "Apache-2.0",

"dependencies": {
"@harnessio/ff-javascript-client-sdk": "^1.25.0-rc.0",
"@harnessio/ff-javascript-client-sdk": "^1.25.0",
"lodash.omit": "^4.5.0"

@@ -27,0 +27,0 @@ },

@@ -134,5 +134,21 @@ # React.js Client SDK For Harness Feature Flags

```typescript
export interface CacheOptions {
ttl?: number // maximum age of stored cache, in ms, before it is considered stale
interface CacheOptions {
// maximum age of stored cache, in ms, before it is considered stale
ttl?: number
// storage mechanism to use, conforming to the Web Storage API standard, can be either synchronous or asynchronous
// defaults to localStorage
storage?: AsyncStorage | SyncStorage
}
interface SyncStorage {
getItem: (key: string) => string | null
setItem: (key: string, value: string) => void
removeItem: (key: string) => void
}
interface AsyncStorage {
getItem: (key: string) => Promise<string | null>
setItem: (key: string, value: string) => Promise<void>
removeItem: (key: string) => Promise<void>
}
```

@@ -179,4 +195,2 @@

streamEnabled: true,
allAttributesPrivate: false,
privateAttributeNames: ['customAttribute'],
debug: true,

@@ -183,0 +197,0 @@ eventsSyncInterval: 60000

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc