(
name: string,
message: string,
stacktrace: StackFrame[],
)
| 172 | posthog.init(options.apiKey, { ...config, ...options.webConfig }); |
| 173 | } |
| 174 | |
| 175 | async startSessionRecording(): Promise<void> { |
| 176 | posthog.startSessionRecording(); |
| 177 | } |
| 178 | |
| 179 | async stopSessionRecording(): Promise<void> { |
| 180 | posthog.stopSessionRecording(); |
| 181 | } |
| 182 | |
| 183 | async unregister(options: UnregisterOptions): Promise<void> { |
| 184 | posthog.unregister(options.key); |
| 185 | } |
| 186 | |
| 187 | private throwUnimplementedError(): never { |
| 188 | throw this.unimplemented('Not implemented on web.'); |
| 189 | } |