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

@huddle01/huddle01-client

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@huddle01/huddle01-client

![https://huddle01-assets-frontend.s3.amazonaws.com/general/huddle01-logo-blue.svg](https://huddle01-assets-frontend.s3.amazonaws.com/general/huddle01-logo-blue.svg)

  • 0.0.10
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
2
Weekly downloads
 
Created
Source

Huddle01 Client SDK

https://huddle01-assets-frontend.s3.amazonaws.com/general/huddle01-logo-blue.svg

Web3-Native Zoom for Builders/DAOs/NFT Communities

Community · Documentation

NOTE: Request for access to the huddle01-client pkg on Huddle01's discord or reach out to the team.

Quick Start

Install the huddle01-client pkg from npm or yarn

Installation

# npm
npm i @huddle01/huddle01-client

# yarn
yarn add @huddle01/huddle01-client

Import

import HuddleClientProvider and getHuddleClient from the npm pkg

// HuddleIframe to be imported
import {
  HuddleClientProvider,
  getHuddleClient,
} from '@huddle01/huddle01-client';

Configure

Configure huddleClient by passing your API key

NOTE: If API key is not passed your app will be rate limited and might not work.

const huddleClient = getHuddleClient(apiKey);

Wrap providers

Wrap your application with HuddleClientProvider

Wrapping you provider inside the HuddleClientProvider gives you access to the huddleClient instance to control your huddle01 powered app.

It is similar to the Context Provider given by React. Read more in React Docs

// JavaScript | TypeScript
const App = () => {
  return (
    <HuddleClientProvider value={huddleClient}>
      <YourApp />
    </HuddleClientProvider>
  );
};

Usage

These hooks are similar to any other react hook like useEffect or useState, You can read about these hooks in the React Docs

// JavaScript | TypeScript
import { useHuddleClientContext } from '@huddle01/huddle01-client/hooks';

const huddleClient = useHuddleClientContext();

// Example
huddleClient.muteMic();

💡 For any help reach out to us on Discord

Keywords

FAQs

Package last updated on 30 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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