@papercups-io/storytime
Advanced tools
Comparing version 1.0.1-beta.3 to 1.0.1-beta.4
import { Socket, Channel } from 'phoenix'; | ||
export declare const getWebsocketUrl: (baseUrl?: string) => string; | ||
declare type Config = { | ||
accountId: string; | ||
customerId?: string; | ||
blocklist?: Array<string>; | ||
host?: string; | ||
publicKey?: string; | ||
blocklist?: Array<string>; | ||
}; | ||
@@ -13,2 +15,3 @@ declare class Storytime { | ||
blocklist: Array<string>; | ||
host: string; | ||
socket: Socket; | ||
@@ -19,3 +22,5 @@ channel: Channel; | ||
listen(): Promise<void>; | ||
onConnectionSuccess(): void; | ||
createBrowserSession: (accountId: string) => Promise<any>; | ||
finishBrowserSession: (sessionId: string) => Promise<any>; | ||
onConnectionSuccess(sessionId: string): void; | ||
onConnectionError(err: any): void; | ||
@@ -22,0 +27,0 @@ shouldEmitEvent(pathName: string): boolean; |
{ | ||
"name": "@papercups-io/storytime", | ||
"version": "1.0.1-beta.3", | ||
"version": "1.0.1-beta.4", | ||
"description": "Tracking and recording user sessions", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
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
1671412
10063