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

@bucketco/react-sdk

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bucketco/react-sdk - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

11

dist/src/index.d.ts

@@ -23,3 +23,3 @@ import { default as React, ReactNode } from 'react';

};
export declare function BucketProvider({ children, user, company, otherContext, publishableKey, featureOptions, loadingComponent, newBucketClient, ...config }: BucketProps): string | number | true | Iterable<React.ReactNode> | React.JSX.Element;
export declare function BucketProvider({ children, user, company, otherContext, publishableKey, featureOptions, loadingComponent, newBucketClient, ...config }: BucketProps): React.JSX.Element;
/**

@@ -29,4 +29,8 @@ * Returns the state of a given feature for the current context, e.g.

* ```ts
* const {isEnabled, isLoading, track} = useFeature("huddle");
*
* function HuddleButton() {
* const {isEnabled, track} = useFeature("huddle");
* if (isEnabled) {
* return <button onClick={() => track()}>Start Huddle</button>;
* }
* }
* ```

@@ -37,2 +41,3 @@ */

isEnabled: boolean;
track: () => void;
};

@@ -39,0 +44,0 @@ /**

{
"name": "@bucketco/react-sdk",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",

@@ -31,3 +31,3 @@ "repository": {

"dependencies": {
"@bucketco/browser-sdk": "1.0.0",
"@bucketco/browser-sdk": "1.0.1",
"canonical-json": "^0.0.4"

@@ -62,3 +62,3 @@ },

},
"gitHead": "597f6be635db7a4bd51d13c1e138bab9eb6c69bf"
"gitHead": "f944554d25ac07c2a71f73afd6eff21ef57418a4"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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