Adhiraj Singh
80b9e74066
fix: example
2023-02-21 11:41:04 +05:30
Adhiraj Singh
5fb9f12b31
chore: use cache instead of permanent maps
2023-02-21 11:35:32 +05:30
Adhiraj Singh
cc1fc9a53c
fix: delete tmp file if failed enc
2023-02-20 21:18:31 +05:30
Adhiraj Singh
4ba828320e
feat: handle maxContentLength in downloading media
2023-02-18 13:03:58 +05:30
Adhiraj Singh
ca24608dc8
chore: pass axios options to downloading remote media
2023-02-18 13:03:47 +05:30
Adhiraj Singh
f013b61e35
chore: update axios
2023-02-18 12:34:04 +05:30
Adhiraj Singh
b2c1cfbf9c
fix: timeout send call
2023-02-01 14:33:14 +05:30
Adhiraj Singh
41851d9e34
fix: getChatId
2023-01-18 16:23:31 +05:30
Adhiraj Singh
9591a02382
feat: getChatId for broadcasts
2023-01-18 14:33:16 +05:30
Adhiraj Singh
4f27a2b3f4
feat: add "decodeMessageNode" util
2023-01-18 13:43:13 +05:30
Adhiraj Singh
c24ffc1bed
feat: better mapping for WS errors
2023-01-17 22:01:51 +05:30
dependabot[bot]
f54e8f8813
chore(deps): bump json5 from 2.2.1 to 2.2.3
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-13 10:22:33 +05:30
Adhiraj Singh
5efb0ebbea
chore: remove mutex-start log
2023-01-13 10:20:28 +05:30
Adhiraj Singh
5041be776e
feat: handle futureproofmessage
2022-12-23 16:58:39 +05:30
kaatt
474dc78d24
add viewOnceMessageV2
2022-12-23 16:58:39 +05:30
kaatt
fb1d39eba4
Update messages.ts
...
Co-Authored-By: Adhiraj Singh <adhirajsingh1001@gmail.com >
2022-12-23 16:58:39 +05:30
kaatt
39bd5b1c94
fix
2022-12-23 16:58:39 +05:30
kaatt
004bb98b59
remove console.log
2022-12-23 16:58:39 +05:30
kaatt
02e05aba42
improve normalizeMessageContent
2022-12-23 16:58:39 +05:30
Adhiraj Singh
572d0f1dd6
feat: implement tc token handling
...
TC token is required in certain cases to receive presence updates on chats
2022-12-11 15:48:26 +05:30
Adhiraj Singh
a5d263d31b
fix: correctly sync app state
2022-12-09 10:15:58 +05:30
Adhiraj Singh
bed4f7f524
chore: add GetCatalogOptions type
...
!BREAKING_CHANGE
2022-12-08 13:32:10 +05:30
Adhiraj Singh
c96a7652d9
feat: add nextPageCursor
2022-12-08 13:30:31 +05:30
Adhiraj Singh
30e2cb5c4c
refactor: impl counter based event buffer
...
1. counter based event buffer keeps track of the number of blocks that request event processing in buffer
2. event buffer only releases events when the last block completes (i.e. counter = 0)
this approach is far simpler than the promised based garbled crap I wrote, should also prevent the deadlock issues it introduced 🙏
2022-12-02 11:31:42 +05:30
Adhiraj Singh
b520d81968
test: deadlock in event buffer
2022-11-26 00:55:45 +05:30
Adhiraj Singh
a589e88136
fix: do not add to pre-buffer if waiting for end
2022-11-26 00:37:38 +05:30
Adhiraj Singh
bcf33d786c
chore: log mutex deadlocks
2022-11-25 22:00:25 +05:30
Adhiraj Singh
b141ac2c00
chore: only buffer if logged in
2022-11-25 10:17:47 +05:30
Adhiraj Singh
2e6343f2ea
chore: catch errors in example
2022-11-25 09:04:41 +05:30
Adhiraj Singh
b20a3b9a6a
chore: add timeout to log when buffer takes v long
...
helps debug deadlocks
2022-11-25 09:03:05 +05:30
Adhiraj Singh
f1ca770930
chore: add "documentWithCaptionMessage" to normalise msg
2022-11-23 10:50:54 +05:30
Adhiraj Singh
7f2384a058
feat: support caption in document
2022-11-22 17:18:37 +05:30
Leonardo Bein
704aa1e434
feat: Add notification group: change inviteCode
2022-11-22 12:02:31 +05:30
Adhiraj Singh
7923233829
chore: upgrade link-preview dep
2022-11-17 11:27:17 +05:30
Adhiraj Singh
26828d3dea
fix: do not generate preview if title not present
2022-11-17 11:27:08 +05:30
Adhiraj Singh
b33c753928
feat: add url options to link preview gen
2022-11-17 11:08:01 +05:30
Adhiraj Singh
00d8cf4270
chore: mutex upsertMessage call from sendMessage
2022-11-14 16:47:13 +05:30
kaatt
cd9441fd0e
Update messages-media.ts
2022-11-14 16:26:23 +05:30
kaatt
5c950dac10
fix getImageProcessingLibrary usage
2022-11-14 16:26:23 +05:30
Adhiraj Singh
47900eae14
feat: add listReply
2022-11-13 12:23:22 +05:30
Adhiraj Singh
2f7334407f
chore: update proto + version
2022-11-13 12:23:11 +05:30
Adhiraj Singh
01a641d3bd
fix: decrypt race condition
2022-11-13 11:08:32 +05:30
Adhiraj Singh
b2aa51a13d
feat: add custom patchMsg function + remove patch for btns
2022-11-12 19:31:11 +05:30
Adhiraj Singh
190e6d6bd6
chore: ignore presence updates as well
2022-11-11 09:38:31 +05:30
Adhiraj Singh
a58b73fba5
feat: allow ignoring jids
2022-11-11 09:31:49 +05:30
Adhiraj Singh
10d61d02cf
chore: expose uploadPreKeysToServerIfRequired
2022-11-11 00:42:57 +05:30
Adhiraj Singh
4aadc9dc6c
fix: add option for appStateMacVerification
2022-11-08 22:33:53 +05:30
Adhiraj Singh
f892a1e81f
fix: duplicate mutation release on failed patch
2022-11-08 22:28:27 +05:30
Adhiraj Singh
e1fc22b3d3
feat: handle delayed myAppStateKeyId
2022-11-07 20:46:01 +05:30
Adhiraj Singh
05d1fc9b78
chore: handle irrecoverable error
2022-11-07 17:33:50 +05:30