abmqtts 0.0.3 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +175 -10
- package/dist/constants.d.ts +96 -0
- package/dist/constants.js +280 -0
- package/dist/constants.js.map +1 -0
- package/dist/errors/index.d.ts +16 -8
- package/dist/errors/index.js +27 -22
- package/dist/errors/index.js.map +1 -1
- package/dist/extend.d.ts +25 -0
- package/dist/extend.js +91 -0
- package/dist/extend.js.map +1 -0
- package/dist/fbns/fbns.client.d.ts +31 -0
- package/dist/fbns/fbns.client.events.d.ts +41 -0
- package/dist/{reconnect-strategy/mqtts.reconnect-strategy.js → fbns/fbns.client.events.js} +1 -1
- package/dist/fbns/fbns.client.events.js.map +1 -0
- package/dist/fbns/fbns.client.js +227 -0
- package/dist/fbns/fbns.client.js.map +1 -0
- package/dist/fbns/fbns.device-auth.d.ts +17 -0
- package/dist/fbns/fbns.device-auth.js +54 -0
- package/dist/fbns/fbns.device-auth.js.map +1 -0
- package/dist/fbns/fbns.types.d.ts +83 -0
- package/dist/{mqtt.types.js → fbns/fbns.types.js} +1 -1
- package/dist/fbns/fbns.types.js.map +1 -0
- package/dist/fbns/fbns.utilities.d.ts +2 -0
- package/dist/fbns/fbns.utilities.js +78 -0
- package/dist/fbns/fbns.utilities.js.map +1 -0
- package/dist/fbns/index.d.ts +4 -0
- package/dist/{transport → fbns}/index.js +4 -5
- package/dist/fbns/index.js.map +1 -0
- package/dist/index.d.ts +5 -12
- package/dist/index.js +5 -12
- package/dist/index.js.map +1 -1
- package/dist/mqttot/index.d.ts +4 -0
- package/dist/mqttot/index.js +21 -0
- package/dist/mqttot/index.js.map +1 -0
- package/dist/mqttot/mqttot.client.d.ts +37 -0
- package/dist/mqttot/mqttot.client.js +113 -0
- package/dist/mqttot/mqttot.client.js.map +1 -0
- package/dist/mqttot/mqttot.connect.request.packet.d.ts +6 -0
- package/dist/mqttot/mqttot.connect.request.packet.js +8 -0
- package/dist/mqttot/mqttot.connect.request.packet.js.map +1 -0
- package/dist/mqttot/mqttot.connect.response.packet.d.ts +6 -0
- package/dist/mqttot/mqttot.connect.response.packet.js +27 -0
- package/dist/mqttot/mqttot.connect.response.packet.js.map +1 -0
- package/dist/mqttot/mqttot.connection.d.ts +56 -0
- package/dist/mqttot/mqttot.connection.js +56 -0
- package/dist/mqttot/mqttot.connection.js.map +1 -0
- package/dist/realtime/commands/commands.d.ts +15 -0
- package/dist/realtime/commands/commands.js +21 -0
- package/dist/realtime/commands/commands.js.map +1 -0
- package/dist/realtime/commands/direct.commands.d.ts +67 -0
- package/dist/realtime/commands/direct.commands.js +179 -0
- package/dist/realtime/commands/direct.commands.js.map +1 -0
- package/dist/realtime/commands/index.d.ts +2 -0
- package/dist/{reconnect-strategy → realtime/commands}/index.js +2 -2
- package/dist/realtime/commands/index.js.map +1 -0
- package/dist/realtime/index.d.ts +6 -0
- package/dist/realtime/index.js +23 -0
- package/dist/realtime/index.js.map +1 -0
- package/dist/realtime/messages/app-presence.event.d.ts +9 -0
- package/dist/realtime/messages/app-presence.event.js +3 -0
- package/dist/realtime/messages/app-presence.event.js.map +1 -0
- package/dist/realtime/messages/index.d.ts +3 -0
- package/dist/realtime/messages/index.js +20 -0
- package/dist/realtime/messages/index.js.map +1 -0
- package/dist/realtime/messages/message-sync.message.d.ts +222 -0
- package/dist/realtime/messages/message-sync.message.js +43 -0
- package/dist/realtime/messages/message-sync.message.js.map +1 -0
- package/dist/realtime/messages/realtime-sub.direct.data.d.ts +11 -0
- package/dist/realtime/messages/realtime-sub.direct.data.js +3 -0
- package/dist/realtime/messages/realtime-sub.direct.data.js.map +1 -0
- package/dist/realtime/messages/thread-update.message.d.ts +68 -0
- package/dist/realtime/messages/thread-update.message.js +3 -0
- package/dist/realtime/messages/thread-update.message.js.map +1 -0
- package/dist/realtime/mixins/index.d.ts +3 -0
- package/dist/realtime/mixins/index.js +20 -0
- package/dist/realtime/mixins/index.js.map +1 -0
- package/dist/realtime/mixins/message-sync.mixin.d.ts +8 -0
- package/dist/realtime/mixins/message-sync.mixin.js +81 -0
- package/dist/realtime/mixins/message-sync.mixin.js.map +1 -0
- package/dist/realtime/mixins/mixin.d.ts +19 -0
- package/dist/realtime/mixins/mixin.js +41 -0
- package/dist/realtime/mixins/mixin.js.map +1 -0
- package/dist/realtime/mixins/realtime-sub.mixin.d.ts +8 -0
- package/dist/realtime/mixins/realtime-sub.mixin.js +66 -0
- package/dist/realtime/mixins/realtime-sub.mixin.js.map +1 -0
- package/dist/realtime/parsers/graphql.parser.d.ts +14 -0
- package/dist/realtime/parsers/graphql.parser.js +22 -0
- package/dist/realtime/parsers/graphql.parser.js.map +1 -0
- package/dist/realtime/parsers/index.d.ts +6 -0
- package/dist/realtime/parsers/index.js +23 -0
- package/dist/realtime/parsers/index.js.map +1 -0
- package/dist/realtime/parsers/iris.parser.d.ts +16 -0
- package/dist/realtime/parsers/iris.parser.js +10 -0
- package/dist/realtime/parsers/iris.parser.js.map +1 -0
- package/dist/realtime/parsers/json.parser.d.ts +5 -0
- package/dist/realtime/parsers/json.parser.js +10 -0
- package/dist/realtime/parsers/json.parser.js.map +1 -0
- package/dist/realtime/parsers/parser.d.ts +8 -0
- package/dist/{flow/packet-flow.js → realtime/parsers/parser.js} +1 -1
- package/dist/realtime/parsers/parser.js.map +1 -0
- package/dist/realtime/parsers/region-hint.parser.d.ts +11 -0
- package/dist/realtime/parsers/region-hint.parser.js +15 -0
- package/dist/realtime/parsers/region-hint.parser.js.map +1 -0
- package/dist/realtime/parsers/skywalker.parser.d.ts +11 -0
- package/dist/realtime/parsers/skywalker.parser.js +15 -0
- package/dist/realtime/parsers/skywalker.parser.js.map +1 -0
- package/dist/realtime/realtime.client.d.ts +54 -0
- package/dist/realtime/realtime.client.events.d.ts +35 -0
- package/dist/realtime/realtime.client.events.js +3 -0
- package/dist/realtime/realtime.client.events.js.map +1 -0
- package/dist/realtime/realtime.client.js +248 -0
- package/dist/realtime/realtime.client.js.map +1 -0
- package/dist/realtime/subscriptions/graphql.subscription.d.ts +47 -0
- package/dist/realtime/subscriptions/graphql.subscription.js +99 -0
- package/dist/realtime/subscriptions/graphql.subscription.js.map +1 -0
- package/dist/realtime/subscriptions/index.d.ts +2 -0
- package/dist/{flow → realtime/subscriptions}/index.js +2 -3
- package/dist/realtime/subscriptions/index.js.map +1 -0
- package/dist/realtime/subscriptions/skywalker.subscription.d.ts +4 -0
- package/dist/realtime/subscriptions/skywalker.subscription.js +13 -0
- package/dist/realtime/subscriptions/skywalker.subscription.js.map +1 -0
- package/dist/shared.d.ts +21 -0
- package/dist/shared.js +86 -0
- package/dist/shared.js.map +1 -0
- package/dist/thrift/index.d.ts +3 -0
- package/dist/thrift/index.js +20 -0
- package/dist/thrift/index.js.map +1 -0
- package/dist/thrift/thrift.d.ts +59 -0
- package/dist/thrift/thrift.js +101 -0
- package/dist/thrift/thrift.js.map +1 -0
- package/dist/thrift/thrift.reading.d.ts +40 -0
- package/dist/thrift/thrift.reading.js +327 -0
- package/dist/thrift/thrift.reading.js.map +1 -0
- package/dist/thrift/thrift.writing.d.ts +43 -0
- package/dist/thrift/thrift.writing.js +342 -0
- package/dist/thrift/thrift.writing.js.map +1 -0
- package/dist/topic.d.ts +7 -0
- package/dist/{mqtt.message.js → topic.js} +1 -1
- package/dist/topic.js.map +1 -0
- package/package.json +59 -68
- package/dist/errors/abort.error.d.ts +0 -3
- package/dist/errors/abort.error.js +0 -8
- package/dist/errors/abort.error.js.map +0 -1
- package/dist/errors/connect.error.d.ts +0 -5
- package/dist/errors/connect.error.js +0 -12
- package/dist/errors/connect.error.js.map +0 -1
- package/dist/errors/end-of-stream.error.d.ts +0 -3
- package/dist/errors/end-of-stream.error.js +0 -8
- package/dist/errors/end-of-stream.error.js.map +0 -1
- package/dist/errors/flow-stopped.error.d.ts +0 -3
- package/dist/errors/flow-stopped.error.js +0 -8
- package/dist/errors/flow-stopped.error.js.map +0 -1
- package/dist/errors/illegal-state.error.d.ts +0 -3
- package/dist/errors/illegal-state.error.js +0 -8
- package/dist/errors/illegal-state.error.js.map +0 -1
- package/dist/errors/malformed-packet.error.d.ts +0 -3
- package/dist/errors/malformed-packet.error.js +0 -8
- package/dist/errors/malformed-packet.error.js.map +0 -1
- package/dist/errors/subscribe.error.d.ts +0 -3
- package/dist/errors/subscribe.error.js +0 -8
- package/dist/errors/subscribe.error.js.map +0 -1
- package/dist/errors/unexpected-packet.error.d.ts +0 -3
- package/dist/errors/unexpected-packet.error.js +0 -8
- package/dist/errors/unexpected-packet.error.js.map +0 -1
- package/dist/flow/incoming.flows.d.ts +0 -6
- package/dist/flow/incoming.flows.js +0 -39
- package/dist/flow/incoming.flows.js.map +0 -1
- package/dist/flow/index.d.ts +0 -3
- package/dist/flow/index.js.map +0 -1
- package/dist/flow/outgoing.flows.d.ts +0 -12
- package/dist/flow/outgoing.flows.js +0 -115
- package/dist/flow/outgoing.flows.js.map +0 -1
- package/dist/flow/packet-flow.d.ts +0 -17
- package/dist/flow/packet-flow.js.map +0 -1
- package/dist/mqtt.base-client.d.ts +0 -54
- package/dist/mqtt.base-client.js +0 -102
- package/dist/mqtt.base-client.js.map +0 -1
- package/dist/mqtt.client.d.ts +0 -75
- package/dist/mqtt.client.js +0 -417
- package/dist/mqtt.client.js.map +0 -1
- package/dist/mqtt.constants.d.ts +0 -34
- package/dist/mqtt.constants.js +0 -26
- package/dist/mqtt.constants.js.map +0 -1
- package/dist/mqtt.listener.d.ts +0 -21
- package/dist/mqtt.listener.js +0 -29
- package/dist/mqtt.listener.js.map +0 -1
- package/dist/mqtt.message.d.ts +0 -14
- package/dist/mqtt.message.js.map +0 -1
- package/dist/mqtt.packet.d.ts +0 -9
- package/dist/mqtt.packet.js +0 -15
- package/dist/mqtt.packet.js.map +0 -1
- package/dist/mqtt.parser.d.ts +0 -21
- package/dist/mqtt.parser.js +0 -71
- package/dist/mqtt.parser.js.map +0 -1
- package/dist/mqtt.types.d.ts +0 -52
- package/dist/mqtt.types.js.map +0 -1
- package/dist/mqtt.utilities.d.ts +0 -32
- package/dist/mqtt.utilities.js +0 -139
- package/dist/mqtt.utilities.js.map +0 -1
- package/dist/packet-stream.d.ts +0 -37
- package/dist/packet-stream.js +0 -150
- package/dist/packet-stream.js.map +0 -1
- package/dist/packets/connect.request.packet.d.ts +0 -22
- package/dist/packets/connect.request.packet.js +0 -41
- package/dist/packets/connect.request.packet.js.map +0 -1
- package/dist/packets/connect.response.packet.d.ts +0 -18
- package/dist/packets/connect.response.packet.js +0 -43
- package/dist/packets/connect.response.packet.js.map +0 -1
- package/dist/packets/disconnect.request.packet.d.ts +0 -2
- package/dist/packets/disconnect.request.packet.js +0 -7
- package/dist/packets/disconnect.request.packet.js.map +0 -1
- package/dist/packets/index.d.ts +0 -16
- package/dist/packets/index.js +0 -33
- package/dist/packets/index.js.map +0 -1
- package/dist/packets/packet-reader.d.ts +0 -31
- package/dist/packets/packet-reader.js +0 -27
- package/dist/packets/packet-reader.js.map +0 -1
- package/dist/packets/packet-writer.d.ts +0 -48
- package/dist/packets/packet-writer.js +0 -58
- package/dist/packets/packet-writer.js.map +0 -1
- package/dist/packets/ping.request.packet.d.ts +0 -5
- package/dist/packets/ping.request.packet.js +0 -17
- package/dist/packets/ping.request.packet.js.map +0 -1
- package/dist/packets/ping.response.packet.d.ts +0 -5
- package/dist/packets/ping.response.packet.js +0 -17
- package/dist/packets/ping.response.packet.js.map +0 -1
- package/dist/packets/publish.ack.packet.d.ts +0 -8
- package/dist/packets/publish.ack.packet.js +0 -19
- package/dist/packets/publish.ack.packet.js.map +0 -1
- package/dist/packets/publish.complete.packet.d.ts +0 -8
- package/dist/packets/publish.complete.packet.js +0 -19
- package/dist/packets/publish.complete.packet.js.map +0 -1
- package/dist/packets/publish.received.packet.d.ts +0 -8
- package/dist/packets/publish.received.packet.js +0 -19
- package/dist/packets/publish.received.packet.js.map +0 -1
- package/dist/packets/publish.release.packet.d.ts +0 -8
- package/dist/packets/publish.release.packet.js +0 -19
- package/dist/packets/publish.release.packet.js.map +0 -1
- package/dist/packets/publish.request.packet.d.ts +0 -21
- package/dist/packets/publish.request.packet.js +0 -55
- package/dist/packets/publish.request.packet.js.map +0 -1
- package/dist/packets/subscribe.request.packet.d.ts +0 -10
- package/dist/packets/subscribe.request.packet.js +0 -15
- package/dist/packets/subscribe.request.packet.js.map +0 -1
- package/dist/packets/subscribe.response.packet.d.ts +0 -14
- package/dist/packets/subscribe.response.packet.js +0 -35
- package/dist/packets/subscribe.response.packet.js.map +0 -1
- package/dist/packets/unsubscribe.request.packet.d.ts +0 -7
- package/dist/packets/unsubscribe.request.packet.js +0 -13
- package/dist/packets/unsubscribe.request.packet.js.map +0 -1
- package/dist/packets/unsubscribe.response.packet.d.ts +0 -5
- package/dist/packets/unsubscribe.response.packet.js +0 -14
- package/dist/packets/unsubscribe.response.packet.js.map +0 -1
- package/dist/reconnect-strategy/index.d.ts +0 -2
- package/dist/reconnect-strategy/index.js.map +0 -1
- package/dist/reconnect-strategy/mqtts.reconnect-strategy.d.ts +0 -14
- package/dist/reconnect-strategy/mqtts.reconnect-strategy.default.d.ts +0 -24
- package/dist/reconnect-strategy/mqtts.reconnect-strategy.default.js +0 -56
- package/dist/reconnect-strategy/mqtts.reconnect-strategy.default.js.map +0 -1
- package/dist/reconnect-strategy/mqtts.reconnect-strategy.js.map +0 -1
- package/dist/transport/index.d.ts +0 -5
- package/dist/transport/index.js.map +0 -1
- package/dist/transport/socks-tls.transport.d.ts +0 -13
- package/dist/transport/socks-tls.transport.js +0 -54
- package/dist/transport/socks-tls.transport.js.map +0 -1
- package/dist/transport/tcp.transport.d.ts +0 -12
- package/dist/transport/tcp.transport.js +0 -26
- package/dist/transport/tcp.transport.js.map +0 -1
- package/dist/transport/tls.transport.d.ts +0 -13
- package/dist/transport/tls.transport.js +0 -44
- package/dist/transport/tls.transport.js.map +0 -1
- package/dist/transport/transport.d.ts +0 -19
- package/dist/transport/transport.js +0 -16
- package/dist/transport/transport.js.map +0 -1
- package/dist/transport/websocket.transport.d.ts +0 -15
- package/dist/transport/websocket.transport.js +0 -40
- package/dist/transport/websocket.transport.js.map +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 Nerixyz
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,14 +1,179 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Instagram Realtime and FBNS
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
support MQTT 5 in the future.
|
|
3
|
+
This library isn't actively maintained anymore. Only bug fixes are accepted.
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
## Getting started
|
|
7
6
|
|
|
8
|
-
-
|
|
9
|
-
- Focus On Extensibility
|
|
10
|
-
- Written in Typescript
|
|
11
|
-
- Parameterized listeners: `devices/:name/color` will also give you any object with the properties:
|
|
12
|
-
`{name: '...'}`
|
|
7
|
+
- Install the library
|
|
13
8
|
|
|
14
|
-
|
|
9
|
+
```sh
|
|
10
|
+
npm i instagram_mqtt
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
- Extend the `IgApiClient`
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { value IgApiClient } from 'instagram-private-api';
|
|
17
|
+
import { value withFbnsAndRealtime, value withFbns, value withRealtime } from 'instagram_mqtt';
|
|
18
|
+
|
|
19
|
+
// wrap the client
|
|
20
|
+
// ig is now IgApiClientMQTT for typescript users
|
|
21
|
+
const ig = withFbnsAndRealtime(new IgApiClient());
|
|
22
|
+
|
|
23
|
+
// OR if you only want fbns/realtime
|
|
24
|
+
const igFbns = withFbns(new IgApiClient());
|
|
25
|
+
const igRealtime = withRealtime(new IgApiClient());
|
|
26
|
+
|
|
27
|
+
// login like you usually do or load the state
|
|
28
|
+
|
|
29
|
+
// use ig.realtime and ig.fbns
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
- [Look at the examples](examples)
|
|
33
|
+
|
|
34
|
+
## RealtimeClient
|
|
35
|
+
|
|
36
|
+
The RealtimeClient is used, as the name implies, for in-app communication.
|
|
37
|
+
Everything using some kind of event is communicating over this client.
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
- Typing Events
|
|
42
|
+
- Presence Events
|
|
43
|
+
- Direct Messaging
|
|
44
|
+
- Live Comments
|
|
45
|
+
- Live Events
|
|
46
|
+
|
|
47
|
+
### Events
|
|
48
|
+
|
|
49
|
+
Your IDE should be able to auto complete the event names for you as Typescript types are in the npm package.
|
|
50
|
+
|
|
51
|
+
| Name | Description | Typed? |
|
|
52
|
+
| ------------------ | ----------------------------------------------------------------- | --------- |
|
|
53
|
+
| realtimeSub | Any message sent to `/ig_realtime_sub` | partially |
|
|
54
|
+
| direct | Direct _events_ | yes |
|
|
55
|
+
| iris | Any message sent to `/ig_message_sync` not handled by `message` | partially |
|
|
56
|
+
| message | Direct messages | yes |
|
|
57
|
+
| clientConfigUpdate | Updates to quick experiments (may cause the client to disconnect) | yes |
|
|
58
|
+
| appPresence | Presence updates | yes |
|
|
59
|
+
| \<keyof QueryIDs\> | Messages regarding the specified query id | no |
|
|
60
|
+
|
|
61
|
+
## FbnsClient
|
|
62
|
+
|
|
63
|
+
FBNS is for notifications (so it's readonly).
|
|
64
|
+
You can subscribe to any notification using
|
|
65
|
+
|
|
66
|
+
```typescript
|
|
67
|
+
ig.fbns.on('push' /* your handler */);
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
You can subscribe to a specific event using
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
ig.fbns.on(/* desired collapseKey */, /* your handler */)
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Note: this library provides the query (actionPath/Params) as an object (actionParams)
|
|
77
|
+
so you can use `actionParams.YOUR_KEY`.
|
|
78
|
+
|
|
79
|
+
## Debugging
|
|
80
|
+
|
|
81
|
+
In order to debug the clients you can set the environment variable `DEBUG`.
|
|
82
|
+
Recommended is setting it to `ig:mqtt:*`. If you want to debug the entire **instagram-private-api**, set it to `ig:*`.
|
|
83
|
+
Currently, the emitted "channels" are:
|
|
84
|
+
|
|
85
|
+
- `ig:mqtt:realtime`
|
|
86
|
+
- `ig:mqtt:fbns`
|
|
87
|
+
- `ig:mqtt:mqttot`
|
|
88
|
+
|
|
89
|
+
If you want to debug the `mqtts` library set it either to `*` or `ig:*,mqtts:*`.
|
|
90
|
+
|
|
91
|
+
An example `.env` file would look like this:
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
DEBUG=ig:mqtt:*
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## Extending
|
|
98
|
+
|
|
99
|
+
### Mixins
|
|
100
|
+
|
|
101
|
+
Since version 1.0, there is support for basic mixins.
|
|
102
|
+
A mixin is a class with an `apply()` method (extends [Mixin](src/realtime/mixins/mixin.ts) base class).
|
|
103
|
+
This method is called once the RealtimeClient is constructed.
|
|
104
|
+
You can use the `hook()` function to hook into methods (pre and post) and override the return value.
|
|
105
|
+
By default, the [`MessageSyncMixin`](src/realtime/mixins/message-sync.mixin.ts) and the [`RealtimeSubMixin`](src/realtime/mixins/realtime-sub.mixin.ts) are used.
|
|
106
|
+
|
|
107
|
+
### TODO
|
|
108
|
+
|
|
109
|
+
- Proper descriptions for events
|
|
110
|
+
- Error handling
|
|
111
|
+
- Testing... a lot.
|
|
112
|
+
|
|
113
|
+
## Research
|
|
114
|
+
|
|
115
|
+
All scripts to research the mqtt client are in the [`/frida/`](frida) directory.
|
|
116
|
+
As the name suggests, you'll need [frida](https://frida.re/) for this.
|
|
117
|
+
|
|
118
|
+
Start frida and connect to the process:
|
|
119
|
+
|
|
120
|
+
```sh
|
|
121
|
+
# assume frida is running on remote device...
|
|
122
|
+
|
|
123
|
+
frida -U -n com.instagram.android -l PATH_TO_SCRIPT
|
|
124
|
+
|
|
125
|
+
# com.instagram.threadsapp is also valid
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
| Script | Description |
|
|
129
|
+
| :----------------------------------- | ------------------------------------------ |
|
|
130
|
+
| [mqttListen.js](frida/mqttListen.js) | Prints all outgoing Realtime-MQTT messages |
|
|
131
|
+
|
|
132
|
+
## Architecture
|
|
133
|
+
|
|
134
|
+
### MQTToT
|
|
135
|
+
|
|
136
|
+
MQTToT is the underlying connection. It uses a modified version of MQTT 3.
|
|
137
|
+
The modifications are small, but (at least for javascript) may not work with regular MQTT libraries
|
|
138
|
+
(or at least without core modification).
|
|
139
|
+
|
|
140
|
+
#### Changes
|
|
141
|
+
|
|
142
|
+
- **The connect packet** doesn't contain a `clientId`. Instead,
|
|
143
|
+
it contains a zipped [thrift](https://people.apache.org/~thejas/thrift-0.9/javadoc/org/apache/thrift/protocol/TCompactProtocol.html)-payload.
|
|
144
|
+
The flags are set to contain a username and password which are in the payload and not as strings in the packet.
|
|
145
|
+
- **The connack packet** can contain a payload. Regular clients would throw an error
|
|
146
|
+
as the remaining length should be equal to 0 but in this case it's intended (the MQTT 3 standard doesn't specify a payload).
|
|
147
|
+
|
|
148
|
+
### RealtimeClient
|
|
149
|
+
|
|
150
|
+
In earlier versions, the realtime client used an old method (built on the MQTT standard) to connect
|
|
151
|
+
(it's still being used in mgp25's library), but thr RealtimeClient is using MQTToT to connect.
|
|
152
|
+
In contrast to FBNS it doesn't use a device-auth, it uses cookie-auth as it was the case with the
|
|
153
|
+
old method.
|
|
154
|
+
|
|
155
|
+
The RealtimeClient communicates on different MQTT-Topics 8most of the time one for requesting and one for a response).
|
|
156
|
+
|
|
157
|
+
### FbnsClient
|
|
158
|
+
|
|
159
|
+
FBNS uses MQTToT to connect with a device-auth.
|
|
160
|
+
A successful auth will return a payload in the CONNACK packet with values used for future connections.
|
|
161
|
+
And a response containing a token,
|
|
162
|
+
that gets sent to an instagram api endpoint (`/api/v1/push/register/`), is sent to `/fbns_reg_resp`.
|
|
163
|
+
This completes the auth.
|
|
164
|
+
|
|
165
|
+
Now, push notifications are sent to `/fbns_msg`.
|
|
166
|
+
|
|
167
|
+
## Collaborating
|
|
168
|
+
|
|
169
|
+
### Setting up the environment
|
|
170
|
+
|
|
171
|
+
If you're using x86, make sure to install ARM translations for yor device
|
|
172
|
+
in order to get ProxyDroid to work.
|
|
173
|
+
|
|
174
|
+
Instructions are [here](https://github.com/dilame/instagram-private-api/blob/master/CONTRIBUTING.md#capturing-tls-requests).
|
|
175
|
+
|
|
176
|
+
## Thanks
|
|
177
|
+
|
|
178
|
+
Thanks to [valga](https://github.com/valga) for providing and maintaining the [PHP library](https://github.com/valga/fbns-react).
|
|
179
|
+
This library integrates with the [instagram-private-api](https://github.com/dilame/instagram-private-api).
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { RegionHintParser, GraphqlParser, IrisParser, JsonParser, SkywalkerParser } from './realtime/parsers';
|
|
2
|
+
import { Topic } from './topic';
|
|
3
|
+
export declare const Topics: {
|
|
4
|
+
GRAPHQL: {
|
|
5
|
+
id: string;
|
|
6
|
+
path: string;
|
|
7
|
+
parser: GraphqlParser;
|
|
8
|
+
};
|
|
9
|
+
PUBSUB: {
|
|
10
|
+
id: string;
|
|
11
|
+
path: string;
|
|
12
|
+
parser: SkywalkerParser;
|
|
13
|
+
};
|
|
14
|
+
SEND_MESSAGE_RESPONSE: {
|
|
15
|
+
id: string;
|
|
16
|
+
path: string;
|
|
17
|
+
parser: JsonParser;
|
|
18
|
+
};
|
|
19
|
+
IRIS_SUB: {
|
|
20
|
+
id: string;
|
|
21
|
+
path: string;
|
|
22
|
+
parser: null;
|
|
23
|
+
};
|
|
24
|
+
IRIS_SUB_RESPONSE: {
|
|
25
|
+
id: string;
|
|
26
|
+
path: string;
|
|
27
|
+
parser: JsonParser;
|
|
28
|
+
};
|
|
29
|
+
MESSAGE_SYNC: {
|
|
30
|
+
id: string;
|
|
31
|
+
path: string;
|
|
32
|
+
parser: IrisParser;
|
|
33
|
+
noParse: boolean;
|
|
34
|
+
};
|
|
35
|
+
REALTIME_SUB: {
|
|
36
|
+
id: string;
|
|
37
|
+
path: string;
|
|
38
|
+
parser: GraphqlParser;
|
|
39
|
+
noParse: boolean;
|
|
40
|
+
};
|
|
41
|
+
REGION_HINT: {
|
|
42
|
+
id: string;
|
|
43
|
+
path: string;
|
|
44
|
+
parser: RegionHintParser;
|
|
45
|
+
};
|
|
46
|
+
FOREGROUND_STATE: {
|
|
47
|
+
id: string;
|
|
48
|
+
path: string;
|
|
49
|
+
parser: null;
|
|
50
|
+
};
|
|
51
|
+
SEND_MESSAGE: {
|
|
52
|
+
id: string;
|
|
53
|
+
path: string;
|
|
54
|
+
parser: null;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
export declare const RealtimeTopicsArray: Topic[];
|
|
58
|
+
export declare const INSTAGRAM_PACKAGE_NAME = "com.instagram.android";
|
|
59
|
+
export declare const FbnsTopics: {
|
|
60
|
+
FBNS_MESSAGE: {
|
|
61
|
+
id: string;
|
|
62
|
+
path: string;
|
|
63
|
+
};
|
|
64
|
+
FBNS_REG_REQ: {
|
|
65
|
+
id: string;
|
|
66
|
+
path: string;
|
|
67
|
+
};
|
|
68
|
+
FBNS_REG_RESP: {
|
|
69
|
+
id: string;
|
|
70
|
+
path: string;
|
|
71
|
+
};
|
|
72
|
+
FBNS_EXP_LOGGING: {
|
|
73
|
+
id: string;
|
|
74
|
+
path: string;
|
|
75
|
+
};
|
|
76
|
+
PP: {
|
|
77
|
+
id: string;
|
|
78
|
+
path: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
export declare const FBNS: {
|
|
82
|
+
PACKAGE: string;
|
|
83
|
+
APP_ID: string;
|
|
84
|
+
HOST_NAME_V6: string;
|
|
85
|
+
CLIENT_CAPABILITIES: number;
|
|
86
|
+
ENDPOINT_CAPABILITIES: number;
|
|
87
|
+
CLIENT_STACK: number;
|
|
88
|
+
PUBLISH_FORMAT: number;
|
|
89
|
+
};
|
|
90
|
+
export declare const REALTIME: {
|
|
91
|
+
HOST_NAME_V6: string;
|
|
92
|
+
};
|
|
93
|
+
export declare const PossibleTopics: {
|
|
94
|
+
id: string;
|
|
95
|
+
path: string;
|
|
96
|
+
}[];
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PossibleTopics = exports.REALTIME = exports.FBNS = exports.FbnsTopics = exports.INSTAGRAM_PACKAGE_NAME = exports.RealtimeTopicsArray = exports.Topics = void 0;
|
|
4
|
+
const parsers_1 = require("./realtime/parsers");
|
|
5
|
+
exports.Topics = {
|
|
6
|
+
GRAPHQL: {
|
|
7
|
+
id: '9',
|
|
8
|
+
path: '/graphql',
|
|
9
|
+
parser: new parsers_1.GraphqlParser(),
|
|
10
|
+
},
|
|
11
|
+
PUBSUB: {
|
|
12
|
+
id: '88',
|
|
13
|
+
path: '/pubsub',
|
|
14
|
+
parser: new parsers_1.SkywalkerParser(),
|
|
15
|
+
},
|
|
16
|
+
SEND_MESSAGE_RESPONSE: {
|
|
17
|
+
id: '133',
|
|
18
|
+
path: '/ig_send_message_response',
|
|
19
|
+
parser: new parsers_1.JsonParser(),
|
|
20
|
+
},
|
|
21
|
+
IRIS_SUB: {
|
|
22
|
+
id: '134',
|
|
23
|
+
path: '/ig_sub_iris',
|
|
24
|
+
parser: null,
|
|
25
|
+
},
|
|
26
|
+
IRIS_SUB_RESPONSE: {
|
|
27
|
+
id: '135',
|
|
28
|
+
path: '/ig_sub_iris_response',
|
|
29
|
+
parser: new parsers_1.JsonParser(),
|
|
30
|
+
},
|
|
31
|
+
MESSAGE_SYNC: {
|
|
32
|
+
id: '146',
|
|
33
|
+
path: '/ig_message_sync',
|
|
34
|
+
parser: new parsers_1.IrisParser(),
|
|
35
|
+
noParse: true,
|
|
36
|
+
},
|
|
37
|
+
REALTIME_SUB: {
|
|
38
|
+
id: '149',
|
|
39
|
+
path: '/ig_realtime_sub',
|
|
40
|
+
parser: new parsers_1.GraphqlParser(),
|
|
41
|
+
noParse: true,
|
|
42
|
+
},
|
|
43
|
+
REGION_HINT: {
|
|
44
|
+
id: '150',
|
|
45
|
+
path: '/t_region_hint',
|
|
46
|
+
parser: new parsers_1.RegionHintParser(),
|
|
47
|
+
},
|
|
48
|
+
FOREGROUND_STATE: {
|
|
49
|
+
id: '102',
|
|
50
|
+
path: '/t_fs',
|
|
51
|
+
parser: null,
|
|
52
|
+
},
|
|
53
|
+
SEND_MESSAGE: {
|
|
54
|
+
id: '132',
|
|
55
|
+
path: '/ig_send_message',
|
|
56
|
+
parser: null,
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
exports.RealtimeTopicsArray = Object.values(exports.Topics);
|
|
60
|
+
exports.INSTAGRAM_PACKAGE_NAME = 'com.instagram.android';
|
|
61
|
+
exports.FbnsTopics = {
|
|
62
|
+
FBNS_MESSAGE: {
|
|
63
|
+
id: '76',
|
|
64
|
+
path: '/fbns_msg',
|
|
65
|
+
},
|
|
66
|
+
FBNS_REG_REQ: {
|
|
67
|
+
id: '79',
|
|
68
|
+
path: '/fbns_reg_req',
|
|
69
|
+
},
|
|
70
|
+
FBNS_REG_RESP: {
|
|
71
|
+
id: '80',
|
|
72
|
+
path: '/fbns_reg_resp',
|
|
73
|
+
},
|
|
74
|
+
FBNS_EXP_LOGGING: {
|
|
75
|
+
id: '231',
|
|
76
|
+
path: '/fbns_exp_logging',
|
|
77
|
+
},
|
|
78
|
+
PP: {
|
|
79
|
+
id: '34',
|
|
80
|
+
path: '/pp',
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
exports.FBNS = {
|
|
84
|
+
PACKAGE: 'com.instagram.android',
|
|
85
|
+
APP_ID: '567310203415052',
|
|
86
|
+
HOST_NAME_V6: 'mqtt-mini.facebook.com',
|
|
87
|
+
CLIENT_CAPABILITIES: 439,
|
|
88
|
+
ENDPOINT_CAPABILITIES: 128,
|
|
89
|
+
CLIENT_STACK: 3,
|
|
90
|
+
PUBLISH_FORMAT: 1,
|
|
91
|
+
};
|
|
92
|
+
exports.REALTIME = {
|
|
93
|
+
HOST_NAME_V6: 'edge-mqtt.facebook.com',
|
|
94
|
+
};
|
|
95
|
+
// TODO: exclude in release
|
|
96
|
+
/* eslint @typescript-eslint/no-unused-vars: "off" */
|
|
97
|
+
exports.PossibleTopics = [
|
|
98
|
+
{ id: '0', path: '/buddy_list' },
|
|
99
|
+
{ id: '1', path: '/create_thread' },
|
|
100
|
+
{ id: '2', path: '/create_thread_response' },
|
|
101
|
+
{ id: '3', path: '/delete_thread_notification' },
|
|
102
|
+
{ id: '4', path: '/delete_messages_notification' },
|
|
103
|
+
{ id: '5', path: '/orca_message_notifications' },
|
|
104
|
+
{ id: '6', path: '/friending_state_change' },
|
|
105
|
+
{ id: '7', path: '/friend_request' },
|
|
106
|
+
{ id: '8', path: '/friend_requests_seen' },
|
|
107
|
+
{ id: '9', path: '/graphql' },
|
|
108
|
+
{ id: '10', path: '/group_msg' },
|
|
109
|
+
{ id: '11', path: '/group_notifs_unseen' },
|
|
110
|
+
{ id: '12', path: '/group_msgs_unseen' },
|
|
111
|
+
{ id: '13', path: '/inbox' },
|
|
112
|
+
{ id: '14', path: '/action_id_notification' },
|
|
113
|
+
{ id: '15', path: '/aura_notification' },
|
|
114
|
+
{ id: '16', path: '/aura_signal' },
|
|
115
|
+
{ id: '17', path: '/friends_locations' },
|
|
116
|
+
{ id: '18', path: '/mark_thread' },
|
|
117
|
+
{ id: '19', path: '/mark_thread_response' },
|
|
118
|
+
{ id: '20', path: '/mercury' },
|
|
119
|
+
{ id: '21', path: '/messenger_sync' },
|
|
120
|
+
{ id: '22', path: '/messenger_sync_ack' },
|
|
121
|
+
{ id: '23', path: '/messenger_sync_create_queue' },
|
|
122
|
+
{ id: '24', path: '/messenger_sync_get_diffs' },
|
|
123
|
+
{ id: '25', path: '/messaging' },
|
|
124
|
+
{ id: '26', path: '/messaging_events' },
|
|
125
|
+
{ id: '27', path: '/mobile_requests_count' },
|
|
126
|
+
{ id: '28', path: '/mobile_video_encode' },
|
|
127
|
+
{ id: '29', path: '/orca_notification_updates' },
|
|
128
|
+
{ id: '30', path: '/notifications_sync' },
|
|
129
|
+
{ id: '31', path: '/notifications_read' },
|
|
130
|
+
{ id: '32', path: '/notifications_seen' },
|
|
131
|
+
{ id: '33', path: '/push_notification' },
|
|
132
|
+
{ id: '34', path: '/pp' },
|
|
133
|
+
{ id: '35', path: '/orca_presence' },
|
|
134
|
+
{ id: '36', path: '/privacy_changed' },
|
|
135
|
+
{ id: '37', path: '/privacy_updates' },
|
|
136
|
+
{ id: '38', path: '/send_additional_contacts' },
|
|
137
|
+
{ id: '39', path: '/send_chat_event' },
|
|
138
|
+
{ id: '40', path: '/send_delivery_receipt' },
|
|
139
|
+
{ id: '41', path: '/send_endpoint_capabilities' },
|
|
140
|
+
{ id: '42', path: '/foreground_state' },
|
|
141
|
+
{ id: '43', path: '/aura_location' },
|
|
142
|
+
{ id: '44', path: '/send_location' },
|
|
143
|
+
{ id: '45', path: '/send_message2' },
|
|
144
|
+
{ id: '46', path: '/send_message' },
|
|
145
|
+
{ id: '47', path: '/send_message_response' },
|
|
146
|
+
{ id: '48', path: '/ping' },
|
|
147
|
+
{ id: '49', path: '/presence' },
|
|
148
|
+
{ id: '50', path: '/send_push_notification_ack' },
|
|
149
|
+
{ id: '51', path: '/rich_presence' },
|
|
150
|
+
{ id: '52', path: '/send_skype' },
|
|
151
|
+
{ id: '53', path: '/typing' },
|
|
152
|
+
{ id: '54', path: '/set_client_settings' },
|
|
153
|
+
{ id: '55', path: '/shoerack_notifications' },
|
|
154
|
+
{ id: '56', path: '/orca_ticker_updates' },
|
|
155
|
+
{ id: '57', path: '/orca_typing_notifications' },
|
|
156
|
+
{ id: '58', path: '/typ' },
|
|
157
|
+
{ id: '59', path: '/t_ms' },
|
|
158
|
+
{ id: '60', path: '/orca_video_notifications' },
|
|
159
|
+
{ id: '61', path: '/orca_visibility_updates' },
|
|
160
|
+
{ id: '62', path: '/webrtc' },
|
|
161
|
+
{ id: '63', path: '/webrtc_response' },
|
|
162
|
+
{ id: '64', path: '/subscribe' },
|
|
163
|
+
{ id: '65', path: '/t_p' },
|
|
164
|
+
{ id: '66', path: '/push_ack' },
|
|
165
|
+
{ id: '68', path: '/webrtc_binary' },
|
|
166
|
+
{ id: '69', path: '/t_sm' },
|
|
167
|
+
{ id: '70', path: '/t_sm_rp' },
|
|
168
|
+
{ id: '71', path: '/t_vs' },
|
|
169
|
+
{ id: '72', path: '/t_rtc' },
|
|
170
|
+
{ id: '73', path: '/echo' },
|
|
171
|
+
{ id: '74', path: '/pages_messaging' },
|
|
172
|
+
{ id: '75', path: '/t_omnistore_sync' },
|
|
173
|
+
{ id: '76', path: '/fbns_msg' },
|
|
174
|
+
{ id: '77', path: '/t_ps' },
|
|
175
|
+
{ id: '78', path: '/t_dr_batch' },
|
|
176
|
+
{ id: '79', path: '/fbns_reg_req' },
|
|
177
|
+
{ id: '80', path: '/fbns_reg_resp' },
|
|
178
|
+
{ id: '81', path: '/omnistore_subscribe_collection' },
|
|
179
|
+
{ id: '82', path: '/fbns_unreg_req' },
|
|
180
|
+
{ id: '83', path: '/fbns_unreg_resp' },
|
|
181
|
+
{ id: '84', path: '/omnistore_change_record' },
|
|
182
|
+
{ id: '85', path: '/t_dr_response' },
|
|
183
|
+
{ id: '86', path: '/quick_promotion_refresh' },
|
|
184
|
+
{ id: '87', path: '/v_ios' },
|
|
185
|
+
{ id: '88', path: '/pubsub' },
|
|
186
|
+
{ id: '89', path: '/get_media' },
|
|
187
|
+
{ id: '90', path: '/get_media_resp' },
|
|
188
|
+
{ id: '91', path: '/mqtt_health_stats' },
|
|
189
|
+
{ id: '92', path: '/t_sp' },
|
|
190
|
+
{ id: '93', path: '/groups_landing_updates' },
|
|
191
|
+
{ id: '94', path: '/rs' },
|
|
192
|
+
{ id: '95', path: '/t_sm_b' },
|
|
193
|
+
{ id: '96', path: '/t_sm_b_rsp' },
|
|
194
|
+
{ id: '97', path: '/t_ms_gd' },
|
|
195
|
+
{ id: '98', path: '/t_rtc_multi' },
|
|
196
|
+
{ id: '99', path: '/friend_accepted' },
|
|
197
|
+
{ id: '100', path: '/t_tn' },
|
|
198
|
+
{ id: '101', path: '/t_mf_as' },
|
|
199
|
+
{ id: '102', path: '/t_fs' },
|
|
200
|
+
{ id: '103', path: '/t_tp' },
|
|
201
|
+
{ id: '104', path: '/t_stp' },
|
|
202
|
+
{ id: '105', path: '/t_st' },
|
|
203
|
+
{ id: '106', path: '/omni' },
|
|
204
|
+
{ id: '107', path: '/t_push' },
|
|
205
|
+
{ id: '108', path: '/omni_c' },
|
|
206
|
+
{ id: '109', path: '/t_sac' },
|
|
207
|
+
{ id: '110', path: '/omnistore_resnapshot' },
|
|
208
|
+
{ id: '111', path: '/t_spc' },
|
|
209
|
+
{ id: '112', path: '/t_callability_req' },
|
|
210
|
+
{ id: '113', path: '/t_callability_resp' },
|
|
211
|
+
{ id: '116', path: '/t_ec' },
|
|
212
|
+
{ id: '117', path: '/t_tcp' },
|
|
213
|
+
{ id: '118', path: '/t_tcpr' },
|
|
214
|
+
{ id: '119', path: '/t_ts' },
|
|
215
|
+
{ id: '120', path: '/t_ts_rp' },
|
|
216
|
+
{ id: '121', path: '/t_mt_req' },
|
|
217
|
+
{ id: '122', path: '/t_mt_resp' },
|
|
218
|
+
{ id: '123', path: '/t_inbox' },
|
|
219
|
+
{ id: '124', path: '/p_a_req' },
|
|
220
|
+
{ id: '125', path: '/p_a_resp' },
|
|
221
|
+
{ id: '126', path: '/unsubscribe' },
|
|
222
|
+
{ id: '127', path: '/t_graphql_req' },
|
|
223
|
+
{ id: '128', path: '/t_graphql_resp' },
|
|
224
|
+
{ id: '129', path: '/t_app_update' },
|
|
225
|
+
{ id: '130', path: '/p_updated' },
|
|
226
|
+
{ id: '131', path: '/t_omnistore_sync_low_pri' },
|
|
227
|
+
{ id: '132', path: '/ig_send_message' },
|
|
228
|
+
{ id: '133', path: '/ig_send_message_response' },
|
|
229
|
+
{ id: '134', path: '/ig_sub_iris' },
|
|
230
|
+
{ id: '135', path: '/ig_sub_iris_response' },
|
|
231
|
+
{ id: '136', path: '/ig_snapshot_response' },
|
|
232
|
+
{ id: '137', path: '/fbns_msg_hp' },
|
|
233
|
+
{ id: '138', path: '/data_stream' },
|
|
234
|
+
{ id: '139', path: '/opened_thread' },
|
|
235
|
+
{ id: '140', path: '/t_typ_att' },
|
|
236
|
+
{ id: '141', path: '/iris_server_reset' },
|
|
237
|
+
{ id: '142', path: '/flash_thread_presence' },
|
|
238
|
+
{ id: '143', path: '/flash_send_thread_presence' },
|
|
239
|
+
{ id: '144', path: '/flash_thread_typing' },
|
|
240
|
+
{ id: '146', path: '/ig_message_sync' },
|
|
241
|
+
{ id: '148', path: '/t_omnistore_batched_message' },
|
|
242
|
+
{ id: '149', path: '/ig_realtime_sub' },
|
|
243
|
+
{ id: '150', path: '/t_region_hint' },
|
|
244
|
+
{ id: '151', path: '/t_fb_family_navigation_badge' },
|
|
245
|
+
{ id: '152', path: '/t_ig_family_navigation_badge' },
|
|
246
|
+
{ id: '153', path: '/parties_notifications' },
|
|
247
|
+
{ id: '154', path: '/t_assist' },
|
|
248
|
+
{ id: '155', path: '/t_assist_rp' },
|
|
249
|
+
{ id: '156', path: '/t_create_group' },
|
|
250
|
+
{ id: '157', path: '/t_create_group_rp' },
|
|
251
|
+
{ id: '158', path: '/t_create_group_ms' },
|
|
252
|
+
{ id: '159', path: '/t_create_group_ms_rp' },
|
|
253
|
+
{ id: '160', path: '/t_entity_presence' },
|
|
254
|
+
{ id: '161', path: '/ig_region_hint_rp' },
|
|
255
|
+
{ id: '162', path: '/buddylist_overlay' },
|
|
256
|
+
{ id: '163', path: '/setup_debug' },
|
|
257
|
+
{ id: '164', path: '/ig_conn_update' },
|
|
258
|
+
{ id: '165', path: '/ig_msg_dr' },
|
|
259
|
+
{ id: '166', path: '/parties_notifications_req' },
|
|
260
|
+
{ id: '167', path: '/omni_connect_sync' },
|
|
261
|
+
{ id: '168', path: '/parties_send_message' },
|
|
262
|
+
{ id: '169', path: '/parties_send_message_response' },
|
|
263
|
+
{ id: '170', path: '/omni_connect_sync_req' },
|
|
264
|
+
{ id: '172', path: '/br_sr' },
|
|
265
|
+
{ id: '174', path: '/sr_res' },
|
|
266
|
+
{ id: '175', path: '/omni_connect_sync_batch' },
|
|
267
|
+
{ id: '176', path: '/notify_disconnect' },
|
|
268
|
+
{ id: '177', path: '/omni_mc_ep_push_req' },
|
|
269
|
+
{ id: '180', path: '/fbns_msg_ack' },
|
|
270
|
+
{ id: '181', path: '/t_add_participants_to_group' },
|
|
271
|
+
{ id: '182', path: '/t_add_participants_to_group_rp' },
|
|
272
|
+
{ id: '188', path: '/t_aloha_session_req' },
|
|
273
|
+
{ id: '195', path: '/t_thread_typing' },
|
|
274
|
+
{ id: '201', path: '/video_rt_pipe' },
|
|
275
|
+
{ id: '202', path: '/t_update_presence_extra_data' },
|
|
276
|
+
{ id: '203', path: '/video_rt_pipe_res' },
|
|
277
|
+
{ id: '211', path: '/onevc' },
|
|
278
|
+
{ id: '231', path: '/fbns_exp_logging' },
|
|
279
|
+
];
|
|
280
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAA,gDAA8G;AAGjG,QAAA,MAAM,GAAG;IACnB,OAAO,EAAE;QACN,EAAE,EAAE,GAAG;QACP,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,IAAI,uBAAa,EAAE;KAC7B;IACD,MAAM,EAAE;QACL,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,IAAI,yBAAe,EAAE;KAC/B;IACD,qBAAqB,EAAE;QACpB,EAAE,EAAE,KAAK;QACT,IAAI,EAAE,2BAA2B;QACjC,MAAM,EAAE,IAAI,oBAAU,EAAE;KAC1B;IACD,QAAQ,EAAE;QACP,EAAE,EAAE,KAAK;QACT,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,IAAI;KACd;IACD,iBAAiB,EAAE;QAChB,EAAE,EAAE,KAAK;QACT,IAAI,EAAE,uBAAuB;QAC7B,MAAM,EAAE,IAAI,oBAAU,EAAE;KAC1B;IACD,YAAY,EAAE;QACX,EAAE,EAAE,KAAK;QACT,IAAI,EAAE,kBAAkB;QACxB,MAAM,EAAE,IAAI,oBAAU,EAAE;QACxB,OAAO,EAAE,IAAI;KACf;IACD,YAAY,EAAE;QACX,EAAE,EAAE,KAAK;QACT,IAAI,EAAE,kBAAkB;QACxB,MAAM,EAAE,IAAI,uBAAa,EAAE;QAC3B,OAAO,EAAE,IAAI;KACf;IACD,WAAW,EAAE;QACV,EAAE,E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,KAAK,EAAE,IAAI,EAAE,mBAAmB,EAAE;CAC1C,CAAC"}
|
package/dist/errors/index.d.ts
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
export
|
|
1
|
+
declare class BaseError extends Error {
|
|
2
|
+
constructor(message?: string);
|
|
3
|
+
}
|
|
4
|
+
export declare class ClientDisconnectedError extends BaseError {
|
|
5
|
+
}
|
|
6
|
+
export declare class EmptyPacketError extends BaseError {
|
|
7
|
+
}
|
|
8
|
+
export declare class InvalidStateError extends BaseError {
|
|
9
|
+
}
|
|
10
|
+
export declare class ConnectionFailedError extends BaseError {
|
|
11
|
+
}
|
|
12
|
+
export declare class IllegalArgumentError extends BaseError {
|
|
13
|
+
}
|
|
14
|
+
export declare class ThriftError extends BaseError {
|
|
15
|
+
}
|
|
16
|
+
export {};
|