@pinelab/vendure-plugin-anonymized-order 1.0.0 → 1.0.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/CHANGELOG.md +4 -0
- package/dist/anonymized-order.service.js +3 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -27,6 +27,9 @@ let AnonymizeOrderService = class AnonymizeOrderService {
|
|
|
27
27
|
order.customer = undefined;
|
|
28
28
|
order.shippingAddress = {};
|
|
29
29
|
order.billingAddress = {};
|
|
30
|
+
for (let line of order.lines) {
|
|
31
|
+
line.order = new core_1.Order();
|
|
32
|
+
}
|
|
30
33
|
if (this.options?.anonymizeOrderFn) {
|
|
31
34
|
this.options.anonymizeOrderFn(order);
|
|
32
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinelab/vendure-plugin-anonymized-order",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "This plugin facilitates the retrieval of anonymized customer orders",
|
|
5
5
|
"icon": "incognito",
|
|
6
6
|
"author": "Surafel Tariku <surafelmelese09@gmail.com>",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"test": "vitest run",
|
|
28
28
|
"generate": "graphql-codegen"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "4720c6183691dbf9fb027bb901f53fba18e5d3cb"
|
|
31
31
|
}
|