abmp-npm 1.8.29 → 1.8.30

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.
@@ -153,7 +153,7 @@ async function updateContactInfo(contactId, updateInfoCallback, operationName) {
153
153
  const currentInfo = contact.info;
154
154
  const updatedInfo = updateInfoCallback(currentInfo);
155
155
 
156
- await elevatedUpdateContact(contactId, { info: updatedInfo });
156
+ await elevatedUpdateContact(contactId, { info: updatedInfo }, contact.revision);
157
157
  } catch (error) {
158
158
  console.error(`Error in ${operationName}:`, error);
159
159
  throw new Error(`Failed to ${operationName}: ${error.message}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abmp-npm",
3
- "version": "1.8.29",
3
+ "version": "1.8.30",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",