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

@signalwire/core

Package Overview
Dependencies
Maintainers
5
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@signalwire/core - npm Package Compare versions

Comparing version 4.0.0-dev.202402151014.073b48d.1 to 4.0.0-dev.202402151739.45dbb9d.1

1

dist/core/src/index.d.ts

@@ -43,3 +43,2 @@ import { uuid, setLogger, getLogger, isGlobalEvent, toExternalJSON, fromSnakeToCamelCase, toSnakeCaseKeys, toLocalEvent, toSyntheticEvent, extendComponent, validateEventsToSubscribe, toInternalEventName, toInternalAction, timeoutPromise, debounce, SWCloseEvent, isSATAuth, LOCAL_EVENT_PREFIX, stripNamespacePrefix, isJSONRPCRequest, isJSONRPCResponse } from './utils';

export * as testUtils from './testUtils';
export * from './utils/mapObject';
//# sourceMappingURL=index.d.ts.map

@@ -30,34 +30,12 @@ export interface PaginatedResponse<T> {

}
export interface Conversations {
export interface ConversationHistory {
type: string;
}
export interface FetchConversationsResponse extends PaginatedResponse<Conversations> {
export interface FetchConversationHistoryResponse extends PaginatedResponse<ConversationHistory> {
}
export interface GetConversationsOptions {
limit?: number;
since?: number;
until?: number;
cursor?: string;
}
export interface GetConversationMessagesOptions {
export interface GetConversationHistoriOption {
subscriberId: string;
addressId: string;
limit?: number;
since?: number;
until?: number;
cursor?: string;
}
export interface SubscriberInfoResponse {
app_settings?: string;
company_name?: string;
country?: string;
display_name?: string;
email: string;
first_name?: string;
id: string;
job_title?: string;
last_name?: string;
push_notification_key: string;
region?: string;
time_zone?: number;
}
//# sourceMappingURL=callfabric.d.ts.map

4

dist/core/src/types/index.d.ts

@@ -9,3 +9,2 @@ import type { EventEmitter } from '../utils/EventEmitter';

import type { VoiceCallEvent } from './voice';
import { ConversationEvent } from '..';
export interface SwEvent {

@@ -173,3 +172,3 @@ event_channel: string;

}
export declare type SwEventParams = VideoAPIEventParams | WebRTCMessageParams | VideoManagerEvent | ChatEvent | TaskEvent | MessagingEvent | VoiceCallEvent | SwAuthorizationStateParams | ConversationEvent;
export declare type SwEventParams = VideoAPIEventParams | WebRTCMessageParams | VideoManagerEvent | ChatEvent | TaskEvent | MessagingEvent | VoiceCallEvent | SwAuthorizationStateParams;
export declare type PubSubChannelEvents = InternalVideoEventNames | SessionEvents;

@@ -186,3 +185,2 @@ export * from './video';

export * from './callfabric';
export * from './conversation';
//# sourceMappingURL=index.d.ts.map

@@ -15,3 +15,2 @@ import { Authorization, JSONRPCRequest, JSONRPCResponse, SATAuthorization } from '..';

export * from './eventUtils';
export * from './mapObject';
export { LOCAL_EVENT_PREFIX };

@@ -18,0 +17,0 @@ export declare const mutateStorageKey: (key: string) => string;

@@ -6,5 +6,6 @@ {

"license": "MIT",
"version": "4.0.0-dev.202402151014.073b48d.1",
"version": "4.0.0-dev.202402151739.45dbb9d.1",
"main": "dist/index.node.js",
"module": "dist/index.esm.js",
"beta": true,
"files": [

@@ -11,0 +12,0 @@ "dist",

@@ -22,3 +22,3 @@ import {

isJSONRPCRequest,
isJSONRPCResponse,
isJSONRPCResponse
} from './utils'

@@ -119,2 +119,1 @@ import { WEBRTC_EVENT_TYPES, isWebrtcEventType } from './utils/common'

export * as testUtils from './testUtils'
export * from './utils/mapObject'

@@ -24,3 +24,2 @@ export interface PaginatedResponse<T> {

}
export interface FetchAddressResponse extends PaginatedResponse<Address> {}

@@ -34,3 +33,3 @@

export interface Conversations {
export interface ConversationHistory {
type: string

@@ -40,33 +39,9 @@ // FIXME needs to be completed

export interface FetchConversationsResponse
extends PaginatedResponse<Conversations> {}
export interface FetchConversationHistoryResponse
extends PaginatedResponse<ConversationHistory> {}
export interface GetConversationsOptions {
limit?: number
since?: number
until?: number
cursor?: string
}
export interface GetConversationMessagesOptions {
export interface GetConversationHistoriOption {
subscriberId: string
addressId: string
limit?: number
since?: number
until?: number
cursor?: string
}
export interface SubscriberInfoResponse {
app_settings?: string
company_name?: string
country?: string
display_name?: string
email: string
first_name?: string
id: string
job_title?: string
last_name?: string
push_notification_key: string
region?: string
time_zone?: number
}

@@ -9,3 +9,2 @@ import type { EventEmitter } from '../utils/EventEmitter'

import type { VoiceCallEvent } from './voice'
import { ConversationEvent } from '..'

@@ -227,3 +226,2 @@ export interface SwEvent {

| SwAuthorizationStateParams
| ConversationEvent

@@ -245,2 +243,1 @@ // prettier-ignore

export * from './callfabric'
export * from './conversation'

@@ -28,3 +28,2 @@ import {

export * from './eventUtils'
export * from './mapObject'
export { LOCAL_EVENT_PREFIX }

@@ -31,0 +30,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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