intercom-client 3.1.2 → 3.1.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 (2) hide show
  1. package/README.md +4 -6
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -727,12 +727,10 @@ const response = await client.conversations.search({
727
727
 
728
728
  ```typescript
729
729
  const response = await client.conversations.list({
730
- query: {
731
- order: Order.DESC,
732
- sort: SortBy.UpdatedAt,
733
- page: 1,
734
- perPage: 10,
735
- },
730
+ order: Order.DESC,
731
+ sort: SortBy.UpdatedAt,
732
+ page: 1,
733
+ perPage: 10,
736
734
  });
737
735
  ```
738
736
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intercom-client",
3
- "version": "3.1.2",
3
+ "version": "3.1.3",
4
4
  "description": "Official Node bindings to the Intercom API",
5
5
  "homepage": "https://github.com/intercom/intercom-node",
6
6
  "bugs:": "https://github.com/intercom/intercom-node/issues",
@@ -32,6 +32,7 @@
32
32
  "@typescript-eslint/parser": "^5.7.0",
33
33
  "eslint": "^8.2.0",
34
34
  "eslint-config-prettier": "^8.3.0",
35
+ "eslint-plugin-no-only-tests": "^2.6.0",
35
36
  "merge2": "^1.4.1",
36
37
  "mocha": "^9.2.0",
37
38
  "nock": "^13.0.11",
@@ -48,7 +49,8 @@
48
49
  "compile_ts": "tsc",
49
50
  "move_compiled_to_dist": "mv dist/lib/* dist && rmdir dist/lib",
50
51
  "prepublish": "yarn clean && yarn static && yarn compile_ts && yarn move_compiled_to_dist",
51
- "test": "mocha -r ts-node/register test/*.ts",
52
+ "test:unit": "mocha -r ts-node/register test/unit/*.test.ts --reporter=nyan",
53
+ "test:integration": "mocha -r ts-node/register test/integration/**/*.test.ts --timeout=30000",
52
54
  "coverage": "nyc yarn test"
53
55
  },
54
56
  "engines": {