crisp-api 10.0.13 → 10.0.14

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/CHANGELOG.md CHANGED
@@ -1,9 +1,13 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## v10.0.14
5
+
6
+ * Provide exports using both cjs and esm modules.
7
+
4
8
  ## v10.0.13
5
9
 
6
- Rename `ConversationContent` to `ConversationMessageContent`
10
+ * Rename `ConversationContent` to `ConversationMessageContent`.
7
11
 
8
12
  ## v10.0.12
9
13
 
package/dist/crisp.js CHANGED
@@ -45,7 +45,7 @@ const AVAILABLE_RTM_MODES = [
45
45
  "websockets",
46
46
  "webhooks"
47
47
  ];
48
- const VERSION = "10.0.13";
48
+ const VERSION = "10.0.14";
49
49
  // Base configuration
50
50
  const DEFAULT_REQUEST_TIMEOUT = 10000;
51
51
  const DEFAULT_SOCKET_TIMEOUT = 10000;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "crisp-api",
3
3
  "description": "Crisp API wrapper for Node - official, maintained by Crisp",
4
- "version": "10.0.13",
4
+ "version": "10.0.14",
5
5
  "homepage": "https://github.com/crisp-im/node-crisp-api",
6
6
  "license": "MIT",
7
7
  "author": {
@@ -36,6 +36,13 @@
36
36
  ],
37
37
  "main": "dist/crisp.js",
38
38
  "types": "dist/crisp.d.ts",
39
+ "exports": {
40
+ ".": {
41
+ "types": "./dist/crisp.d.ts",
42
+ "import": "./dist/crisp.js",
43
+ "require": "./dist/crisp.js"
44
+ }
45
+ },
39
46
  "engines": {
40
47
  "node": ">= 16.0.0"
41
48
  },