fix: add legacy constants for decoding

This commit is contained in:
Adhiraj Singh
2022-04-24 16:49:13 +05:30
parent a7e9dcf512
commit 3c278b35f0
7 changed files with 239 additions and 385 deletions

View File

@@ -10,7 +10,7 @@ import { createSignalIdentity } from './signal'
type ClientPayloadConfig = Pick<SocketConfig, 'version' | 'browser'>
const getUserAgent = ({ version, browser }: ClientPayloadConfig): proto.IUserAgent => {
const getUserAgent = ({ version }: ClientPayloadConfig): proto.IUserAgent => {
const osVersion = '0.1'
return {
appVersion: {