@zohoim/chat-components 1.1.2-beta.7 → 1.1.2

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.
@@ -21,7 +21,7 @@ export default function IMAttachmentHandler(props) {
21
21
  isMultiAttachment,
22
22
  onAttach: propOnAttach,
23
23
  attachmentType,
24
- integrationServiceId
24
+ integrationService
25
25
  } = props;
26
26
  const {
27
27
  attachmentHandlerProps = dummyObject
@@ -32,7 +32,7 @@ export default function IMAttachmentHandler(props) {
32
32
  } = useIMAttachmentHandler({
33
33
  onAttach: propOnAttach,
34
34
  attachmentType,
35
- integrationServiceId
35
+ integrationService
36
36
  });
37
37
  return /*#__PURE__*/React.createElement(AttachmentHandler, {
38
38
  iconName: iconName,
@@ -23,6 +23,6 @@ const imAttachmentHandlerPropTypes = {
23
23
  onAttach: PropTypes.func,
24
24
  customProps: PropTypes.object,
25
25
  attachmentType: PropTypes.oneOf(['image', 'document', 'documentAndImage']),
26
- integrationServiceId: PropTypes.oneOf([WHATSAPP, TELEGRAM, INSTAGRAM, WECHAT, TWILLIO, LINE, IM_TALK, FACEBOOKMESSENGER])
26
+ integrationService: PropTypes.oneOf([WHATSAPP, TELEGRAM, INSTAGRAM, WECHAT, TWILLIO, LINE, IM_TALK, FACEBOOKMESSENGER])
27
27
  };
28
28
  export default imAttachmentHandlerPropTypes;
@@ -52,7 +52,7 @@ const imMessagePropTypes = {
52
52
  type: PropTypes.string
53
53
  }).isRequired,
54
54
  sessionDetails: PropTypes.shape({
55
- integrationServiceId: PropTypes.string
55
+ integrationService: PropTypes.string
56
56
  }),
57
57
  defaultAvatarUrls: PropTypes.shape({
58
58
  autoMessageAvatar: PropTypes.string,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohoim/chat-components",
3
- "version": "1.1.2-beta.7",
3
+ "version": "1.1.2",
4
4
  "description": "Chat Components",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -42,8 +42,8 @@
42
42
  "@zohodesk/utils": "1.3.13",
43
43
  "@zohodesk/variables": "1.0.0",
44
44
  "@zohodesk/virtualizer": "1.0.13",
45
- "@zohoim/chat-components-hooks": "1.1.2-beta.6",
46
- "@zohoim/chat-components-utils": "1.1.2-beta.6"
45
+ "@zohoim/chat-components-hooks": "1.1.2",
46
+ "@zohoim/chat-components-utils": "1.1.2"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@zohodesk-private/color-variable-preprocessor": "1.2.1",
@@ -52,5 +52,5 @@
52
52
  "jsdom": "23.0.0",
53
53
  "react-to-jsx": "1.3.2"
54
54
  },
55
- "gitHead": "e43b1e87603a306bbd20a97192e6f5d51e6299ae"
55
+ "gitHead": "b178bf2ae480ec283df0842110b693efc6318ed7"
56
56
  }