@meet-im/meet-bot-jssdk 1.2.0 → 1.2.1

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/index.cjs CHANGED
@@ -263,7 +263,7 @@ async function request(options) {
263
263
  headers["User-Agent"] = userAgent;
264
264
  }
265
265
  logger.info("[Request]", method, url);
266
- logger.info("[Headers]", sanitizeHeaders(headers));
266
+ logger.info("[Headers]", JSON.stringify(sanitizeHeaders(headers)));
267
267
  if (body) {
268
268
  logger.info("[Body]", JSON.stringify(body));
269
269
  }
package/dist/index.js CHANGED
@@ -257,7 +257,7 @@ async function request(options) {
257
257
  headers["User-Agent"] = userAgent;
258
258
  }
259
259
  logger.info("[Request]", method, url);
260
- logger.info("[Headers]", sanitizeHeaders(headers));
260
+ logger.info("[Headers]", JSON.stringify(sanitizeHeaders(headers)));
261
261
  if (body) {
262
262
  logger.info("[Body]", JSON.stringify(body));
263
263
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meet-im/meet-bot-jssdk",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "MeetIM Chatbot JavaScript SDK - 支持 Long Polling 消息获取和消息发送",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",