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

@huddle01/react

Package Overview
Dependencies
Maintainers
5
Versions
268
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@huddle01/react - npm Package Compare versions

Comparing version 0.0.12-beta.2 to 0.0.12-beta.3

dist/declarations/src/app-utils/index.d.ts.map

1

dist/declarations/src/app-utils/index.d.ts
import useDisplayName from './useDisplayName';
import useRecorder from './useRecorder';
export { useDisplayName, useRecorder };
//# sourceMappingURL=index.d.ts.map

@@ -11,1 +11,2 @@ declare const useDisplayName: () => {

export default useDisplayName;
//# sourceMappingURL=useDisplayName.d.ts.map
declare const useRecorder: (roomId: string, projectId: string) => void;
export default useRecorder;
//# sourceMappingURL=useRecorder.d.ts.map

@@ -11,1 +11,2 @@ interface Huddle01Atom {

export {};
//# sourceMappingURL=huddle01.atom.d.ts.map

@@ -16,1 +16,2 @@ import { IRoleEnum } from 'types/dist/common.types';

export declare const usePeersAtom: () => [IPeers, (args_0: IPeers | ((prev: IPeers) => IPeers)) => void];
//# sourceMappingURL=peers.atom.d.ts.map

@@ -9,1 +9,2 @@ import React from 'react';

export default Audio;
//# sourceMappingURL=Audio.d.ts.map
import Audio from './Audio';
import Video from './Video';
export { Video, Audio };
//# sourceMappingURL=index.d.ts.map

@@ -9,1 +9,2 @@ import React from 'react';

export default Video;
//# sourceMappingURL=Video.d.ts.map

@@ -11,1 +11,2 @@ import useAudio from './useAudio';

export { useEventListener, useHuddle01, useLobby, useRoom, useAudio, useVideo, usePeer, usePeers, useRecording, };
//# sourceMappingURL=index.d.ts.map

@@ -32,1 +32,2 @@ declare const useAudio: () => {

export default useAudio;
//# sourceMappingURL=useAudio.d.ts.map

@@ -0,3 +1,76 @@

import { MediaStream as _MediaStream } from 'react-native-webrtc';
import { IPeer as _IPeer } from '@huddle01/web-core';
import { TEvents } from '@huddle01/web-core';
declare const useEventListener: (eventName: keyof TEvents, cb: (...args: TEvents[keyof TEvents]) => void) => void;
declare const useEventListener: <K extends keyof {
'app:initialized': [];
'app:cam-on': [MediaStream | _MediaStream];
'app:cam-off': [];
'app:mic-on': [MediaStream | _MediaStream];
'app:mic-off': [];
'lobby:joined': [string];
'lobby:failed': [Error];
'room:joined': [Map<string, _IPeer>];
'room:failed': [any];
'room:cam-produce-start': [];
'room:cam-produce-stop': [];
'room:mic-produce-start': [];
'room:mic-produce-stop': [];
'room:peer-joined': [_IPeer];
'room:peer-left': [string];
'room:peer-produce-start': [{
peerId: string;
mediaType: "mic" | "cam" | "share-video" | "share-audio";
track: MediaStreamTrack;
}];
'room:peer-produce-stop': [Omit<{
peerId: string;
mediaType: "mic" | "cam" | "share-video" | "share-audio";
track: MediaStreamTrack;
}, "track">];
'room:recording-started': [];
'room:recording-stopped': [];
'room:recording-data': [{} | {
size: number;
duration: number;
s3URL: string;
ipfsURL: string;
uploadToIpfs?: boolean | undefined;
}];
}>(eventName: K, cb: (...args: {
'app:initialized': [];
'app:cam-on': [MediaStream | _MediaStream];
'app:cam-off': [];
'app:mic-on': [MediaStream | _MediaStream];
'app:mic-off': [];
'lobby:joined': [string];
'lobby:failed': [Error];
'room:joined': [Map<string, _IPeer>];
'room:failed': [any];
'room:cam-produce-start': [];
'room:cam-produce-stop': [];
'room:mic-produce-start': [];
'room:mic-produce-stop': [];
'room:peer-joined': [_IPeer];
'room:peer-left': [string];
'room:peer-produce-start': [{
peerId: string;
mediaType: "mic" | "cam" | "share-video" | "share-audio";
track: MediaStreamTrack;
}];
'room:peer-produce-stop': [Omit<{
peerId: string;
mediaType: "mic" | "cam" | "share-video" | "share-audio";
track: MediaStreamTrack;
}, "track">];
'room:recording-started': [];
'room:recording-stopped': [];
'room:recording-data': [{} | {
size: number;
duration: number;
s3URL: string;
ipfsURL: string;
uploadToIpfs?: boolean | undefined;
}];
}[K]) => void) => void;
export default useEventListener;
//# sourceMappingURL=useEventListener.d.ts.map

@@ -9,1 +9,2 @@ export default function useHuddle01(): {

};
//# sourceMappingURL=useHuddle01.d.ts.map

@@ -15,1 +15,2 @@ declare const useLobby: () => {

export default useLobby;
//# sourceMappingURL=useLobby.d.ts.map

@@ -13,1 +13,2 @@ import { IRoleEnum } from 'types/dist/common.types';

export default usePeer;
//# sourceMappingURL=usePeer.d.ts.map

@@ -5,1 +5,2 @@ declare const usePeers: () => {

export default usePeers;
//# sourceMappingURL=usePeers.d.ts.map

@@ -12,1 +12,2 @@ import { TRecData } from 'types/dist/common.types';

export default useRecording;
//# sourceMappingURL=useRecording.d.ts.map

@@ -16,1 +16,2 @@ declare const useRoom: () => {

export default useRoom;
//# sourceMappingURL=useRoom.d.ts.map

@@ -32,1 +32,2 @@ declare const useVideo: () => {

export default useVideo;
//# sourceMappingURL=useVideo.d.ts.map
import { useHuddle01 } from './hooks';
export { useHuddle01 };
//# sourceMappingURL=index.d.ts.map

4

package.json
{
"name": "@huddle01/react",
"version": "0.0.12-beta.2",
"version": "0.0.12-beta.3",
"description": "",

@@ -40,3 +40,3 @@ "main": "dist/huddle01-react.cjs.js",

"dependencies": {
"@huddle01/web-core": "0.0.13-beta.0",
"@huddle01/web-core": "0.0.13-beta.1",
"jotai": "^2.0.3",

@@ -43,0 +43,0 @@ "react": "18.2.0",

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