
Research
/Security News
GlassWASM: WebAssembly Malware Found in Trojanized Open VSX Extensions
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.
@snapcall_/agent-app-react
Advanced tools
The SnapCall Agent App is a react component that will help you integrate SnapCall to receive calls.
The SnapCall Agent App is a react component that will help you integrate SnapCall to receive calls.
This component is using the SnapCall widget API.
npm install @snapcall/agent-app-react
import { AgentApp } from '@snapcall/agent-app-react';
const App = () => (
<AgentApp apiKey="123" agentEmail="sauveur@snapcall.io" />
);
| Name | Type | Description |
|---|---|---|
apiKey | string | Your SnapCall API key |
agentEmail | string | The email of the agent receiving calls |
snapcalljsUrl | ?string | A custom URL for the SnapCall Widget SDK script |
onDisconnect | ?() => void | Event triggered when the agent got disconnected |
onReconnect | ?() => void | Event triggered when the agent got reconnected |
onClientLostConnection | ?() => void | Event triggered when the client lost connection |
onClientWeakNetwork | ?() => void | Event triggered when the client network is weak |
onAgentMicrophoneDown | ?() => void | Event triggered when the agent microphone is down |
onAgentMicrophoneUp | ?() => void | Event triggered when the agent microphone is up |
loadingView | ?() => ReactNode | View used for loading |
waitingView | ?({ resetWrapUpTime: Function, wrapUpTimeLeft: number }) => ReactNode | View used when the agent is waiting for a call (ready) |
ringingView | ?({ answer: Function, decline: Function, callID: string }) => ReactNode | View used when the agent is receiving a call |
inCallView | ?({ hangUp: Function, toggleHold: Function, timer: number, Video: ReactNode }) => ReactNode | View used when the agent is in call |
The Video component is available as a props for the inCallView.
| Name | Type | Description |
|---|---|---|
timer | ?number | If set, will display the call timer on top of the video element |
hideControls | ?boolean | Whether the control buttons should be displayed or not |
import { AgentApp } from '@snapcall/agent-app-react';
const RingingView = ({ answer, decline, callID }) => (
<div>
<p>A call is coming! (ID: {callID})</p>
<button onClick={answer}>Answer</button>
<button onClick={decline}>Decline</button>
</div>
);
const InCallView = ({ hangUp, timer, Video }) => (
<div>
<Video timer={timer} />
<button onClick={hangUp}>Hang up</button>
</div>
);
const App = () => (
<AgentApp
apiKey="123"
agentEmail="sauveur@snapcall.io"
ringingView={RingingView}
inCallView={InCallView}
onClientLostConnection={() => console.log('The client lost the connection!!')}
/>
);
FAQs
The SnapCall Agent App is a react component that will help you integrate SnapCall to receive calls.
We found that @snapcall_/agent-app-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

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.

Research
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.