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
23
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-alpha.1 to 1.0.0-alpha.2

8

package.json
{
"name": "@bucketco/react-sdk",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/bucketco/bucket-tracking-sdk.git"
"url": "https://github.com/bucketco/bucket-javascript-sdk.git"
},

@@ -30,3 +30,3 @@ "publishConfig": {

"dependencies": {
"@bucketco/tracking-sdk": "2.3.2",
"@bucketco/tracking-sdk": "2.3.3",
"canonical-json": "^0.0.4"

@@ -58,3 +58,3 @@ },

},
"gitHead": "2c540d489d5e5a1c0524aa90ad3951a99df37a1b"
"gitHead": "754a42132372d7c36a21ffd612a443bbcca6c3a9"
}

@@ -20,3 +20,5 @@ # Bucket React SDK

```tsx
<Bucket
import BucketProvider from "@bucketco/react-sdk";
<BucketProvider
publishableKey="{YOUR_PUBLISHABLE_KEY}"

@@ -31,3 +33,3 @@ context={{

{/* ... */}
</Bucket>
</BucketProvider>;
```

@@ -42,3 +44,5 @@

```tsx
<Bucket
import BucketProvider from "@bucketco/react-sdk";
<BucketProvider
publishableKey="{YOUR_PUBLISHABLE_KEY}" // The publishable key of your app environment

@@ -49,6 +53,10 @@ debug={false} // Enable debug mode to log info and errors

sseHost="https://livemessaging.bucket.co" // Configure the host Bucket SSE calls are made to
feedback={{
// See feedback options here: https://github.com/bucketco/bucket-tracking-sdk/blob/main/packages/tracking-sdk/FEEDBACK.md#global-feedback-configuration
}}
feedback={
{
// See feedback options here: https://github.com/bucketco/bucket-tracking-sdk/blob/main/packages/tracking-sdk/FEEDBACK.md#global-feedback-configuration
}
}
>
{/* ... */}
</BucketProvider>;
```

@@ -63,2 +71,4 @@

```ts
import { useBucket } from "@bucketco/react-sdk";
const bucket = useBucket();

@@ -76,2 +86,4 @@

```ts
import { useFeatureFlag } from "@bucketco/react-sdk";
const joinHuddleFlag = useFeatureFlag("join-huddle");

@@ -89,2 +101,4 @@ // {

```ts
import { useFeatureFlags } from "@bucketco/react-sdk";
const featureFlags = useFeatureFlags();

@@ -91,0 +105,0 @@ // {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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