@labdigital/commercetools-mock 2.43.0 → 2.43.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 +0 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/repositories/errors.ts +0 -4
package/dist/index.cjs
CHANGED
|
@@ -590,9 +590,6 @@ var import_deep_equal = __toESM(require("deep-equal"), 1);
|
|
|
590
590
|
// src/repositories/errors.ts
|
|
591
591
|
var checkConcurrentModification = (currentVersion, expectedVersion, identifier) => {
|
|
592
592
|
if (currentVersion === expectedVersion) return;
|
|
593
|
-
console.error(
|
|
594
|
-
`Object ${identifier} has a different version than expected. Expected: ${expectedVersion} - Actual: ${currentVersion}.`
|
|
595
|
-
);
|
|
596
593
|
throw new CommercetoolsError(
|
|
597
594
|
{
|
|
598
595
|
message: `Object ${identifier} has a different version than expected. Expected: ${expectedVersion} - Actual: ${currentVersion}.`,
|