Skip to content

Commit 2465b06

Browse files
author
Bjornskjald
committed
2.3.5: Revert "2.3.4: Updated the user agent to match more newer app version"
This reverts commit 1c8a5c3.
1 parent 1c8a5c3 commit 2465b06

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "libfb",
3-
"version": "2.3.4",
3+
"version": "2.3.5",
44
"description": "Facebook MQTT library for Node.js",
55
"repository": "https://github.com/ChatPlug/libfb-js",
66
"main": "dist/index.js",

src/http/BaseHttpApi.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const debugLog = debug('fblib')
1515
/**
1616
* User agent spoofing the mobile Messenger app (version 148.0.0.20.381)
1717
*/
18-
const USER_AGENT = '[FBAN/Orca-Android;FBAV/220.0.0.20.121;]'
19-
18+
const USER_AGENT =
19+
'Facebook plugin / LIBFB-JS / [FBAN/Orca-Android;FBAV/148.0.0.20.381;FBPN/com.facebook.orca;FBLC/en_US;FBBV/256002347743983]'
2020
/**
2121
* ¯\\_(ツ)_/¯
2222
*/

src/mqtt/messages/Connect.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { MqttConnectFlag } from '../MqttTypes'
66
import * as Payloads from '../payloads'
77
import { MessageType } from './MessageTypes'
88

9-
const USER_AGENT = '[FBAN/Orca-Android;FBAV/220.0.0.20.121;]'
9+
const USER_AGENT =
10+
'Facebook plugin / LIBFB-JS / [FBAN/Orca-Android;FBAV/148.0.0.5.83;FBPN/com.facebook.orca;FBLC/en_US;FBBV/26040814]'
1011

1112
/**
1213
* Assembles a connect messages sent just after a TLS connection is established.

0 commit comments

Comments
 (0)