@webex/internal-plugin-conversation 3.6.0 → 3.7.0

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/dist/config.js CHANGED
@@ -38,7 +38,15 @@ var _default = exports.default = {
38
38
  * @type {Boolean}
39
39
  */
40
40
  keepEncryptedProperties: false,
41
- decryptionFailureMessage: 'This message cannot be decrypted'
41
+ decryptionFailureMessage: 'This message cannot be decrypted',
42
+ /**
43
+ * config value to perform decryption on inbound conversations and activities
44
+ */
45
+ includeDecryptionTransforms: true,
46
+ /**
47
+ * config value to perform decryption on outbound conversations and activities
48
+ */
49
+ includeEncryptionTransforms: true
42
50
  }
43
51
  };
44
52
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_default","exports","default","conversation","allowedInboundTags","allowedOutboundTags","inboundProcessFunc","outboundProcessFunc","allowedInboundStyles","allowedOutboundStyles","thumbnailMaxHeight","thumbnailMaxWidth","keepEncryptedProperties","decryptionFailureMessage"],"sources":["config.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nexport default {\n conversation: {\n allowedInboundTags: {\n 'webex-mention': ['data-object-type', 'data-object-id', 'data-object-url'],\n },\n allowedOutboundTags: {\n 'webex-mention': ['data-object-type', 'data-object-id', 'data-object-url'],\n },\n // eslint-disable-next-line no-empty-function\n inboundProcessFunc: () => {},\n // eslint-disable-next-line no-empty-function\n outboundProcessFunc: () => {},\n allowedInboundStyles: [],\n allowedOutboundStyles: [],\n /**\n * Max height for thumbnails generated when sharing an image\n * @type {number}\n */\n thumbnailMaxHeight: 960,\n /**\n * Max width for thumbnails generated when sharing an image\n * @type {number}\n */\n thumbnailMaxWidth: 640,\n /**\n * Primarily for testing. When true, decrypting an activity will create a\n * sister property with the original encrypted string\n * @type {Boolean}\n */\n keepEncryptedProperties: false,\n decryptionFailureMessage: 'This message cannot be decrypted',\n },\n};\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AAFA,IAAAA,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAIe;EACbC,YAAY,EAAE;IACZC,kBAAkB,EAAE;MAClB,eAAe,EAAE,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,iBAAiB;IAC3E,CAAC;IACDC,mBAAmB,EAAE;MACnB,eAAe,EAAE,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,iBAAiB;IAC3E,CAAC;IACD;IACAC,kBAAkB,EAAE,SAAAA,mBAAA,EAAM,CAAC,CAAC;IAC5B;IACAC,mBAAmB,EAAE,SAAAA,oBAAA,EAAM,CAAC,CAAC;IAC7BC,oBAAoB,EAAE,EAAE;IACxBC,qBAAqB,EAAE,EAAE;IACzB;AACJ;AACA;AACA;IACIC,kBAAkB,EAAE,GAAG;IACvB;AACJ;AACA;AACA;IACIC,iBAAiB,EAAE,GAAG;IACtB;AACJ;AACA;AACA;AACA;IACIC,uBAAuB,EAAE,KAAK;IAC9BC,wBAAwB,EAAE;EAC5B;AACF,CAAC"}
1
+ {"version":3,"names":["_default","exports","default","conversation","allowedInboundTags","allowedOutboundTags","inboundProcessFunc","outboundProcessFunc","allowedInboundStyles","allowedOutboundStyles","thumbnailMaxHeight","thumbnailMaxWidth","keepEncryptedProperties","decryptionFailureMessage","includeDecryptionTransforms","includeEncryptionTransforms"],"sources":["config.js"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nexport default {\n conversation: {\n allowedInboundTags: {\n 'webex-mention': ['data-object-type', 'data-object-id', 'data-object-url'],\n },\n allowedOutboundTags: {\n 'webex-mention': ['data-object-type', 'data-object-id', 'data-object-url'],\n },\n // eslint-disable-next-line no-empty-function\n inboundProcessFunc: () => {},\n // eslint-disable-next-line no-empty-function\n outboundProcessFunc: () => {},\n allowedInboundStyles: [],\n allowedOutboundStyles: [],\n /**\n * Max height for thumbnails generated when sharing an image\n * @type {number}\n */\n thumbnailMaxHeight: 960,\n /**\n * Max width for thumbnails generated when sharing an image\n * @type {number}\n */\n thumbnailMaxWidth: 640,\n /**\n * Primarily for testing. When true, decrypting an activity will create a\n * sister property with the original encrypted string\n * @type {Boolean}\n */\n keepEncryptedProperties: false,\n decryptionFailureMessage: 'This message cannot be decrypted',\n\n /**\n * config value to perform decryption on inbound conversations and activities\n */\n includeDecryptionTransforms: true,\n\n /**\n * config value to perform decryption on outbound conversations and activities\n */\n includeEncryptionTransforms: true,\n },\n};\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AAFA,IAAAA,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAIe;EACbC,YAAY,EAAE;IACZC,kBAAkB,EAAE;MAClB,eAAe,EAAE,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,iBAAiB;IAC3E,CAAC;IACDC,mBAAmB,EAAE;MACnB,eAAe,EAAE,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,iBAAiB;IAC3E,CAAC;IACD;IACAC,kBAAkB,EAAE,SAAAA,mBAAA,EAAM,CAAC,CAAC;IAC5B;IACAC,mBAAmB,EAAE,SAAAA,oBAAA,EAAM,CAAC,CAAC;IAC7BC,oBAAoB,EAAE,EAAE;IACxBC,qBAAqB,EAAE,EAAE;IACzB;AACJ;AACA;AACA;IACIC,kBAAkB,EAAE,GAAG;IACvB;AACJ;AACA;AACA;IACIC,iBAAiB,EAAE,GAAG;IACtB;AACJ;AACA;AACA;AACA;IACIC,uBAAuB,EAAE,KAAK;IAC9BC,wBAAwB,EAAE,kCAAkC;IAE5D;AACJ;AACA;IACIC,2BAA2B,EAAE,IAAI;IAEjC;AACJ;AACA;IACIC,2BAA2B,EAAE;EAC/B;AACF,CAAC"}