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

@signalwire/js

Package Overview
Dependencies
Maintainers
1
Versions
366
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@signalwire/js - npm Package Compare versions

Comparing version 1.3.0-alpha.8.9 to 1.3.0-alpha.9

6

dist/esm/common/src/webrtc/constants.d.ts

@@ -29,3 +29,4 @@ import { CallOptions } from './interfaces';

Stats = "verto.stats",
Ping = "verto.ping"
Ping = "verto.ping",
Announce = "verto.announce"
}

@@ -40,3 +41,4 @@ export declare enum Notification {

RefreshToken = "refreshToken",
Prompt = "prompt"
Prompt = "prompt",
Announce = "announce"
}

@@ -43,0 +45,0 @@ export declare const DEFAULT_CALL_OPTIONS: CallOptions;

@@ -32,2 +32,3 @@ export var PeerType;

VertoMethod["Ping"] = "verto.ping";
VertoMethod["Announce"] = "verto.announce";
})(VertoMethod || (VertoMethod = {}));

@@ -44,2 +45,3 @@ export var Notification;

Notification["Prompt"] = "prompt";
Notification["Announce"] = "announce";
})(Notification || (Notification = {}));

@@ -46,0 +48,0 @@ export const DEFAULT_CALL_OPTIONS = {

@@ -153,5 +153,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

return trigger(SwEvent.Notification, params, session.uuid);
case VertoMethod.Announce:
params.type = Notification.Announce;
return trigger(SwEvent.Notification, params, session.uuid);
default:
logger.warn('Unknown Verto method:', method, params);
logger.debug('Unknown Verto method:', method, params);
params.type = method;
return trigger(SwEvent.Notification, params, session.uuid);
}
};
import Relay from './src/SignalWire';
import Verto from './src/Verto';
import CantinaAuth from '../common/src/webrtc/CantinaAuth';
export declare const VERSION = "1.3.0-alpha.8.9";
export declare const VERSION = "1.3.0-alpha.9";
export { Relay, Verto, CantinaAuth };
export * from '../common/src/util/interfaces';
export * from '../common/src/webrtc/interfaces';

@@ -5,4 +5,4 @@ import Relay from './src/SignalWire';

import CantinaAuth from '../common/src/webrtc/CantinaAuth';
export const VERSION = '1.3.0-alpha.8.9';
export const VERSION = '1.3.0-alpha.9';
setAgentName(`JavaScript SDK/${VERSION}`);
export { Relay, Verto, CantinaAuth };
{
"name": "@signalwire/js",
"version": "1.3.0-alpha.8.9",
"version": "1.3.0-alpha.9",
"description": "Relay SDK for JavaScript to connect to SignalWire.",

@@ -5,0 +5,0 @@ "author": "SignalWire Team <open.source@signalwire.com>",

Sorry, the diff of this file is not supported yet

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