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

jam-core

Package Overview
Dependencies
Maintainers
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jam-core - npm Package Compare versions

Comparing version 0.3.17 to 0.4.0

4

dist/index.d.ts

@@ -102,6 +102,6 @@ import { is, set, on, update, until } from 'minimal-state';

setState: {
<L extends "identities" | "swarm" | "roomId" | "myIdentity" | "myId" | "micMuted" | "handRaised" | "inRoom" | "room" | "hasRoom" | "isRoomLoading" | "iAmSpeaker" | "iAmModerator" | "otherDeviceInRoom" | "peers" | "peerState" | "myPeerState" | "reactions" | "soundMuted" | "audioFile" | "audioFileElement" | "myAudio" | "audioPlayError" | "hasMicFailed" | "speaking" | "isRecording" | "isSomeoneRecording" | "recordedAudio">(key: L, value: StateType[L]): void;
<L extends "identities" | "swarm" | "roomId" | "myIdentity" | "myId" | "micMuted" | "handRaised" | "inRoom" | "room" | "hasRoom" | "isRoomLoading" | "iAmSpeaker" | "iAmModerator" | "otherDeviceInRoom" | "peers" | "peerState" | "myPeerState" | "reactions" | "soundMuted" | "audioFile" | "audioFileElement" | "myAudio" | "audioPlayError" | "hasMicFailed" | "speaking" | "isRecording" | "isSomeoneRecording" | "recordedAudio" | "isPodcasting" | "isSomeonePodcasting" | "podcastTracks">(key: L, value: StateType[L]): void;
(state: Partial<StateType>): void;
};
onState: (key: "identities" | "swarm" | "roomId" | "myIdentity" | "myId" | "micMuted" | "handRaised" | "inRoom" | "room" | "hasRoom" | "isRoomLoading" | "iAmSpeaker" | "iAmModerator" | "otherDeviceInRoom" | "peers" | "peerState" | "myPeerState" | "reactions" | "soundMuted" | "audioFile" | "audioFileElement" | "myAudio" | "audioPlayError" | "hasMicFailed" | "speaking" | "isRecording" | "isSomeoneRecording" | "recordedAudio" | undefined, listener: (...args: unknown[]) => void) => () => void;
onState: (key: "identities" | "swarm" | "roomId" | "myIdentity" | "myId" | "micMuted" | "handRaised" | "inRoom" | "room" | "hasRoom" | "isRoomLoading" | "iAmSpeaker" | "iAmModerator" | "otherDeviceInRoom" | "peers" | "peerState" | "myPeerState" | "reactions" | "soundMuted" | "audioFile" | "audioFileElement" | "myAudio" | "audioPlayError" | "hasMicFailed" | "speaking" | "isRecording" | "isSomeoneRecording" | "recordedAudio" | "isPodcasting" | "isSomeonePodcasting" | "podcastTracks" | undefined, listener: (...args: unknown[]) => void) => () => void;
createRoom: (roomId: string, partialRoom?: Partial<RoomType> | undefined) => Promise<boolean>;

@@ -108,0 +108,0 @@ updateRoom: (roomId: string, room: RoomType) => Promise<boolean>;

@@ -31,2 +31,6 @@ export { defaultProps, defaultState };

};
declare type AccessType = {
identities?: string[];
identitiesLocked?: boolean;
};
declare type RoomType = {

@@ -40,2 +44,3 @@ name: string;

logoURI?: string;
access?: AccessType;
};

@@ -82,2 +87,5 @@ declare type PeerState = {

recordedAudio: Blob | null;
isPodcasting: boolean;
isSomeonePodcasting: boolean;
podcastTracks: Record<string, Blob>;
};

@@ -84,0 +92,0 @@ declare type StateType = typeof defaultState & {

{
"name": "jam-core",
"description": "Jam SDK for creating custom audio spaces like Clubhouse / Twitter Spaces, made with WebRTC",
"version": "0.3.17",
"version": "0.4.0",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "license": "(AGPL-3.0 OR Apache-2.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