nodejs: add tests to library (#7694)

* nodejs: add tests to library

* new tests

* remove message splitting

* fix race

* docs

* replace extract-zip with yauzl that it wraps (high severity issue)

* fix ci tests

* skip server tests on macos and win unless SMP_SERVER is set

* fix win test

* fix win test

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
This commit is contained in:
EvgenyandEvgeny @ SimpleX Chat authored and GitHub committed 2026-10-19 19:49:44 +01:00
1 parent ba9269a3ad
commit 46b2cf9f85
73 files changed
+957 -265

No files matched your search

@@ -6,7 +6,7 @@
# Interface: BotAddressSettings
Defined in: [src/api.ts:23](../src/api.ts#L23)
Defined in: [src/api.ts:23](../api.ts#L23)
Bot address settings.
@@ -16,7 +16,7 @@ Bot address settings.
> `optional` **autoAccept?**: `boolean`
Defined in: [src/api.ts:28](../src/api.ts#L28)
Defined in: [src/api.ts:28](../api.ts#L28)
Automatically accept contact requests.
@@ -32,7 +32,7 @@ true
> `optional` **businessAddress?**: `boolean`
Defined in: [src/api.ts:41](../src/api.ts#L41)
Defined in: [src/api.ts:41](../api.ts#L41)
Business contact address.
For all requests business chats will be created where other participants can be added.
@@ -49,7 +49,7 @@ false
> `optional` **welcomeMessage?**: `string` \| `MsgContent`
Defined in: [src/api.ts:34](../src/api.ts#L34)
Defined in: [src/api.ts:34](../api.ts#L34)
Optional welcome message to show before connection to the users.