@ikonintegration/ikapi 5.0.12 → 5.0.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikonintegration/ikapi",
3
- "version": "5.0.12",
3
+ "version": "5.0.13",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -83,7 +83,10 @@ export default class Mailer {
83
83
  let resp: any = null
84
84
  try {
85
85
  resp = await email.send()
86
- console.debug('Mailer resp:', { ...resp, raw: 'suppressed' })
86
+ console.debug(
87
+ 'Mailer resp suppressed due to raw size:',
88
+ typeof resp === 'object' ? resp?.messageId : 'resp not recognized'
89
+ )
87
90
  } catch (e) {
88
91
  console.error('Mailer error:', e)
89
92
  throw e