@onyx-p/imlib-web 2.6.6 → 2.6.7

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/index.esm.js CHANGED
@@ -22053,8 +22053,7 @@ const parseMediaAttributeJson = (mediaConstructor, mediaAttribute, msgPostConten
22053
22053
  return mediaAttributeJson;
22054
22054
  };
22055
22055
  const convertInt64ToString = jsonString => {
22056
- const int64Regex = /(?<!")\b(\d{15,})\b(?!")/g;
22057
- return jsonString.replace(int64Regex, '"$1"');
22056
+ return jsonString.replace(/("[\w\d_]+"\s*:\s*)(?<!\d\.)(\d{15,})(?!\.\d*)([\s,}\]])/g, '$1"$2"$3');
22058
22057
  };
22059
22058
  const decodeChatRecordMsgDetails2ReceivedMessages = (conversationOpt, msgDetails) => {
22060
22059
  let contentList = [];
@@ -23582,6 +23581,7 @@ class Logger {
23582
23581
  };
23583
23582
  try {
23584
23583
  if (level === LogLevel.ERROR) {
23584
+ debugger;
23585
23585
  analyticsManager.trackEvent('error_log', {
23586
23586
  timestamp: logEntry.timestamp,
23587
23587
  content: logEntry.content
package/index.umd.js CHANGED
@@ -22059,8 +22059,7 @@
22059
22059
  return mediaAttributeJson;
22060
22060
  };
22061
22061
  const convertInt64ToString = jsonString => {
22062
- const int64Regex = /(?<!")\b(\d{15,})\b(?!")/g;
22063
- return jsonString.replace(int64Regex, '"$1"');
22062
+ return jsonString.replace(/("[\w\d_]+"\s*:\s*)(?<!\d\.)(\d{15,})(?!\.\d*)([\s,}\]])/g, '$1"$2"$3');
22064
22063
  };
22065
22064
  const decodeChatRecordMsgDetails2ReceivedMessages = (conversationOpt, msgDetails) => {
22066
22065
  let contentList = [];
@@ -23588,6 +23587,7 @@
23588
23587
  };
23589
23588
  try {
23590
23589
  if (level === exports.LogLevel.ERROR) {
23590
+ debugger;
23591
23591
  analyticsManager.trackEvent('error_log', {
23592
23592
  timestamp: logEntry.timestamp,
23593
23593
  content: logEntry.content
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onyx-p/imlib-web",
3
- "version": "2.6.6",
3
+ "version": "2.6.7",
4
4
  "main": "index.umd.js",
5
5
  "module": "index.esm.js",
6
6
  "types": "types/index.d.ts",