New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@flopflip/types

Package Overview
Dependencies
Maintainers
1
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flopflip/types - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

20

index.d.ts

@@ -23,7 +23,8 @@ // Type definitions for @flopflip/react 5.x

}
export type User = {
key?: string;
};
export type Flags = { [flagName: string]: FlagVariation };
export type AdapterArgs = {
user: {
key?: string;
};
user: User;
onFlagsStateChange: () => void;

@@ -56,3 +57,7 @@ onStatusStateChange: () => void;

}
export interface SwitcComponenthProps {
export interface ReconfigureComponentProps {
exact?: boolean;
user: User;
}
export interface SwitchComponenthProps {
children?: React.ReactNode;

@@ -77,3 +82,3 @@ }

export class SwitchFeature extends React.Component<
SwitcComponenthProps,
SwitchComponenthProps,
any

@@ -91,2 +96,7 @@ > {}

> {}
export class ReconfigureFlopflip extends React.Component<
ReconfigureComponentProps,
any
> {}
}

@@ -5,6 +5,7 @@ export type FlagName = string;

export type Flags = { [FlagName]: FlagVariation };
export type User = {
key?: string,
};
export type AdapterArgs = {
user: {
key?: string,
},
user: User,
onFlagsStateChange: () => void,

@@ -11,0 +12,0 @@ onStatusStateChange: () => void,

{
"name": "@flopflip/types",
"version": "1.0.1",
"version": "1.1.0",
"description": "Type definitions for flipflop",

@@ -5,0 +5,0 @@ "scripts": {},

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