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

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/README.md CHANGED
@@ -14,7 +14,7 @@ Please share your use cases and implementations.
14
14
  ## Quick start: a simple bot
15
15
 
16
16
  ```
17
- npm i simplex-chat@6.5.0-beta.4.3
17
+ npm i simplex-chat@6.5.0-beta.4.4
18
18
  ```
19
19
 
20
20
  Simple bot that replies with squares of numbers you send to it:
@@ -28,7 +28,7 @@ Simple bot that replies with squares of numbers you send to it:
28
28
  profile: {displayName: "Squaring bot example", fullName: ""},
29
29
  dbOpts: {dbFilePrefix: "./squaring_bot", dbKey: ""},
30
30
  options: {
31
- addressSettings: {welcomeMessage: "If you send me a number, I will calculate its square."},
31
+ addressSettings: {welcomeMessage: "Send a number, I will square it.",
32
32
  },
33
33
  onMessage: async (ci, content) => {
34
34
  const n = +content.text
@@ -44,9 +44,11 @@ Simple bot that replies with squares of numbers you send to it:
44
44
  If you installed this package as dependency, you can run this example with:
45
45
 
46
46
  ```sh
47
- node ./node_modules/simplex-chat/examples/squaring-bot-readme.js`
47
+ node ./node_modules/simplex-chat/examples/squaring-bot-readme.js
48
48
  ```
49
49
 
50
+ If you run it on Mac, the first time it will take 20-30 seconds for MacOS to verify the library.
51
+
50
52
  If you cloned this repository, you can:
51
53
 
52
54
  ```
@@ -4,7 +4,7 @@
4
4
  profile: {displayName: "Squaring bot example", fullName: ""},
5
5
  dbOpts: {dbFilePrefix: "./squaring_bot", dbKey: ""},
6
6
  options: {
7
- addressSettings: {welcomeMessage: "If you send me a number, I will calculate its square."},
7
+ addressSettings: {welcomeMessage: "Send a number, I will square it."},
8
8
  },
9
9
  onMessage: async (ci, content) => {
10
10
  const n = +content.text
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simplex-chat",
3
- "version": "6.5.0-beta.4.3",
3
+ "version": "6.5.0-beta.4.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [