@meltwater/conversations-api-services 1.0.45 → 1.0.46

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.
@@ -47,14 +47,14 @@ async function directMessage(_ref) {
47
47
  recipient_id,
48
48
  text,
49
49
  message_type,
50
- recepient_type = 'CONVERSATION',
50
+ recipient_type = 'CONVERSATION',
51
51
  media_id,
52
52
  logger
53
53
  } = _ref;
54
54
  let payload = {
55
55
  business_id: (0, _externalIdHelpers.removePrefix)(business_id),
56
56
  recipient: (0, _externalIdHelpers.removePrefix)(recipient_id),
57
- recepient_type,
57
+ recipient_type,
58
58
  message_type
59
59
  };
60
60
  if (message_type === 'TEXT') {
@@ -30,14 +30,14 @@ export async function directMessage(_ref) {
30
30
  recipient_id,
31
31
  text,
32
32
  message_type,
33
- recepient_type = 'CONVERSATION',
33
+ recipient_type = 'CONVERSATION',
34
34
  media_id,
35
35
  logger
36
36
  } = _ref;
37
37
  let payload = {
38
38
  business_id: removePrefix(business_id),
39
39
  recipient: removePrefix(recipient_id),
40
- recepient_type,
40
+ recipient_type,
41
41
  message_type
42
42
  };
43
43
  if (message_type === 'TEXT') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meltwater/conversations-api-services",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "description": "Repository to contain all conversations api services shared across our services",
5
5
  "main": "dist/cjs/data-access/index.js",
6
6
  "module": "dist/esm/data-access/index.js",
@@ -54,14 +54,14 @@ export async function directMessage({
54
54
  recipient_id,
55
55
  text,
56
56
  message_type,
57
- recepient_type = 'CONVERSATION',
57
+ recipient_type = 'CONVERSATION',
58
58
  media_id,
59
59
  logger,
60
60
  }) {
61
61
  let payload = {
62
62
  business_id: removePrefix(business_id),
63
63
  recipient: removePrefix(recipient_id),
64
- recepient_type,
64
+ recipient_type,
65
65
  message_type,
66
66
  };
67
67