@labdigital/commercetools-mock 1.1.2 → 1.2.0
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.global.js +670 -5416
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/repositories/shipping-method.ts +8 -0
- package/src/repositories/type.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3900,6 +3900,9 @@ var ShippingMethodRepository = class extends AbstractResourceRepository {
|
|
|
3900
3900
|
setLocalizedDescription: (_context, resource, { localizedDescription }) => {
|
|
3901
3901
|
resource.localizedDescription = localizedDescription;
|
|
3902
3902
|
},
|
|
3903
|
+
setLocalizedName: (_context, resource, { localizedName }) => {
|
|
3904
|
+
resource.localizedName = localizedName;
|
|
3905
|
+
},
|
|
3903
3906
|
setPredicate: (_context, resource, { predicate }) => {
|
|
3904
3907
|
resource.predicate = predicate;
|
|
3905
3908
|
},
|
|
@@ -4285,7 +4288,7 @@ var TaxCategoryRepository = class extends AbstractResourceRepository {
|
|
|
4285
4288
|
};
|
|
4286
4289
|
|
|
4287
4290
|
// src/repositories/type.ts
|
|
4288
|
-
import
|
|
4291
|
+
import isEqual from "lodash.isequal";
|
|
4289
4292
|
var TypeRepository = class extends AbstractResourceRepository {
|
|
4290
4293
|
constructor() {
|
|
4291
4294
|
super(...arguments);
|