@reactionary/feeds 0.10.52 → 0.10.53
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/cli.cjs +9 -1
- package/package.json +9 -9
package/cli.cjs
CHANGED
|
@@ -37347,6 +37347,8 @@ var init_profile_model = __esm({
|
|
|
37347
37347
|
ProfileSchema = BaseModelSchema.extend({
|
|
37348
37348
|
identifier: IdentityIdentifierSchema,
|
|
37349
37349
|
email: email2(),
|
|
37350
|
+
firstName: string2().optional(),
|
|
37351
|
+
lastName: string2().optional(),
|
|
37350
37352
|
phone: string2(),
|
|
37351
37353
|
emailVerified: boolean2(),
|
|
37352
37354
|
phoneVerified: boolean2(),
|
|
@@ -38136,7 +38138,9 @@ var init_profile_mutation = __esm({
|
|
|
38136
38138
|
ProfileMutationUpdateSchema = BaseMutationSchema.extend({
|
|
38137
38139
|
identifier: IdentityIdentifierSchema,
|
|
38138
38140
|
email: email2().meta({ description: "The main contact email of the profile" }),
|
|
38139
|
-
phone: string2().meta({ description: "The main phone number of the profile" })
|
|
38141
|
+
phone: string2().meta({ description: "The main phone number of the profile" }),
|
|
38142
|
+
firstName: string2().optional().meta({ description: "The first name of the profile holder. Left unchanged when omitted" }),
|
|
38143
|
+
lastName: string2().optional().meta({ description: "The last name of the profile holder. Left unchanged when omitted" })
|
|
38140
38144
|
});
|
|
38141
38145
|
ProfileMutationAddShippingAddressSchema = BaseMutationSchema.extend({
|
|
38142
38146
|
identifier: IdentityIdentifierSchema,
|
|
@@ -124896,6 +124900,8 @@ var init_profile_capability4 = __esm({
|
|
|
124896
124900
|
const updated = await this.magentoApi.updateMe({
|
|
124897
124901
|
...customer,
|
|
124898
124902
|
email: payload.email ?? customer.email,
|
|
124903
|
+
firstname: payload.firstName ?? customer.firstname,
|
|
124904
|
+
lastname: payload.lastName ?? customer.lastname,
|
|
124899
124905
|
custom_attributes: customAttributes
|
|
124900
124906
|
});
|
|
124901
124907
|
return success(this.factory.parseProfile(this.context, updated));
|
|
@@ -127641,6 +127647,8 @@ var init_profile_factory4 = __esm({
|
|
|
127641
127647
|
userId: String(customer.id)
|
|
127642
127648
|
},
|
|
127643
127649
|
email: customer.email,
|
|
127650
|
+
firstName: customer.firstname,
|
|
127651
|
+
lastName: customer.lastname,
|
|
127644
127652
|
emailVerified: true,
|
|
127645
127653
|
phone,
|
|
127646
127654
|
phoneVerified: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reactionary/feeds",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.53",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"url": "git+https://github.com/Solteq/reactionary.git"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@reactionary/algolia": "0.10.
|
|
16
|
-
"@reactionary/commercetools": "0.10.
|
|
17
|
-
"@reactionary/core": "0.10.
|
|
18
|
-
"@reactionary/fake": "0.10.
|
|
19
|
-
"@reactionary/magento": "0.10.
|
|
20
|
-
"@reactionary/medusa": "0.10.
|
|
21
|
-
"@reactionary/meilisearch": "0.10.
|
|
22
|
-
"@reactionary/unomi": "0.10.
|
|
15
|
+
"@reactionary/algolia": "0.10.53",
|
|
16
|
+
"@reactionary/commercetools": "0.10.53",
|
|
17
|
+
"@reactionary/core": "0.10.53",
|
|
18
|
+
"@reactionary/fake": "0.10.53",
|
|
19
|
+
"@reactionary/magento": "0.10.53",
|
|
20
|
+
"@reactionary/medusa": "0.10.53",
|
|
21
|
+
"@reactionary/meilisearch": "0.10.53",
|
|
22
|
+
"@reactionary/unomi": "0.10.53",
|
|
23
23
|
"commander": "^15.0.0",
|
|
24
24
|
"dotenv": "^17.2.2",
|
|
25
25
|
"sitemap": "^9.0.1",
|