simplex-chat 6.5.0-beta.4.1 → 6.5.0-beta.4.3

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.
Files changed (69) hide show
  1. package/README.md +1 -1
  2. package/binding.gyp +19 -4
  3. package/cpp/simplex.cc +426 -0
  4. package/cpp/simplex.h +46 -0
  5. package/dist/index.d.ts +17 -2
  6. package/dist/index.js +18 -3
  7. package/dist/index.js.map +1 -1
  8. package/docs/Namespace.api.md +32 -0
  9. package/docs/Namespace.bot.md +20 -0
  10. package/docs/Namespace.core.md +48 -0
  11. package/docs/Namespace.util.md +25 -0
  12. package/docs/README.md +12 -0
  13. package/docs/api.Class.ChatApi.md +1602 -0
  14. package/docs/api.Class.ChatCommandError.md +205 -0
  15. package/docs/api.Enumeration.ConnReqType.md +27 -0
  16. package/docs/api.Interface.BotAddressSettings.md +60 -0
  17. package/docs/api.TypeAlias.EventSubscriberFunc.md +27 -0
  18. package/docs/api.TypeAlias.EventSubscribers.md +11 -0
  19. package/docs/api.Variable.defaultBotAddressSettings.md +11 -0
  20. package/docs/bot.Function.run.md +21 -0
  21. package/docs/bot.Interface.BotConfig.md +75 -0
  22. package/docs/bot.Interface.BotDbOpts.md +33 -0
  23. package/docs/bot.Interface.BotOptions.md +81 -0
  24. package/docs/core.Class.ChatAPIError.md +205 -0
  25. package/docs/core.Class.ChatInitError.md +205 -0
  26. package/docs/core.DBMigrationError.Interface.ErrorMigration.md +41 -0
  27. package/docs/core.DBMigrationError.Interface.ErrorNotADatabase.md +33 -0
  28. package/docs/core.DBMigrationError.Interface.ErrorSQL.md +41 -0
  29. package/docs/core.DBMigrationError.Interface.InvalidConfirmation.md +25 -0
  30. package/docs/core.DBMigrationError.TypeAlias.Tag.md +11 -0
  31. package/docs/core.Enumeration.MigrationConfirmation.md +43 -0
  32. package/docs/core.Function.chatCloseStore.md +23 -0
  33. package/docs/core.Function.chatDecryptFile.md +31 -0
  34. package/docs/core.Function.chatEncryptFile.md +31 -0
  35. package/docs/core.Function.chatMigrateInit.md +31 -0
  36. package/docs/core.Function.chatReadFile.md +27 -0
  37. package/docs/core.Function.chatRecvMsgWait.md +27 -0
  38. package/docs/core.Function.chatSendCmd.md +27 -0
  39. package/docs/core.Function.chatWriteFile.md +31 -0
  40. package/docs/core.Interface.APIResult.md +31 -0
  41. package/docs/core.Interface.CryptoArgs.md +27 -0
  42. package/docs/core.Interface.UpMigration.md +25 -0
  43. package/docs/core.MTRError.Interface.MTREDifferent.md +33 -0
  44. package/docs/core.MTRError.Interface.MTRENoDown.md +33 -0
  45. package/docs/core.MTRError.TypeAlias.Tag.md +11 -0
  46. package/docs/core.MigrationError.Interface.MEDowngrade.md +33 -0
  47. package/docs/core.MigrationError.Interface.MEUpgrade.md +33 -0
  48. package/docs/core.MigrationError.Interface.MigrationError.md +33 -0
  49. package/docs/core.MigrationError.TypeAlias.Tag.md +11 -0
  50. package/docs/core.Namespace.DBMigrationError.md +18 -0
  51. package/docs/core.Namespace.MTRError.md +16 -0
  52. package/docs/core.Namespace.MigrationError.md +17 -0
  53. package/docs/core.TypeAlias.DBMigrationError.md +11 -0
  54. package/docs/core.TypeAlias.MTRError.md +11 -0
  55. package/docs/core.TypeAlias.MigrationError.md +11 -0
  56. package/docs/util.Function.botAddressSettings.md +21 -0
  57. package/docs/util.Function.chatInfoName.md +21 -0
  58. package/docs/util.Function.chatInfoRef.md +21 -0
  59. package/docs/util.Function.ciBotCommand.md +21 -0
  60. package/docs/util.Function.ciContentText.md +21 -0
  61. package/docs/util.Function.contactAddressStr.md +21 -0
  62. package/docs/util.Function.fromLocalProfile.md +21 -0
  63. package/docs/util.Function.reactionText.md +21 -0
  64. package/docs/util.Function.senderName.md +25 -0
  65. package/docs/util.Interface.BotCommand.md +25 -0
  66. package/examples/squaring-bot-readme.js +17 -0
  67. package/examples/squaring-bot.ts +42 -0
  68. package/package.json +7 -3
  69. package/tsconfig.json +23 -0
@@ -0,0 +1,25 @@
1
+ [**simplex-chat**](README.md)
2
+
3
+ ***
4
+
5
+ [simplex-chat](README.md) / util
6
+
7
+ # util
8
+
9
+ Useful functions for chat events and types.
10
+
11
+ ## Interfaces
12
+
13
+ - [BotCommand](util.Interface.BotCommand.md)
14
+
15
+ ## Functions
16
+
17
+ - [botAddressSettings](util.Function.botAddressSettings.md)
18
+ - [chatInfoName](util.Function.chatInfoName.md)
19
+ - [chatInfoRef](util.Function.chatInfoRef.md)
20
+ - [ciBotCommand](util.Function.ciBotCommand.md)
21
+ - [ciContentText](util.Function.ciContentText.md)
22
+ - [contactAddressStr](util.Function.contactAddressStr.md)
23
+ - [fromLocalProfile](util.Function.fromLocalProfile.md)
24
+ - [reactionText](util.Function.reactionText.md)
25
+ - [senderName](util.Function.senderName.md)
package/docs/README.md ADDED
@@ -0,0 +1,12 @@
1
+ **simplex-chat**
2
+
3
+ ***
4
+
5
+ # simplex-chat
6
+
7
+ ## Namespaces
8
+
9
+ - [api](Namespace.api.md)
10
+ - [bot](Namespace.bot.md)
11
+ - [core](Namespace.core.md)
12
+ - [util](Namespace.util.md)