@faststore/core 3.65.2 → 3.66.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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/9563.js +2 -2
- package/.next/server/functions-config-manifest.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/[...slug].js.nft.json +1 -1
- package/.next/server/pages/[slug]/p.js.nft.json +1 -1
- package/.next/server/pages/account/403.js.nft.json +1 -1
- package/.next/server/pages/account/404.js.nft.json +1 -1
- package/.next/server/pages/account/orders/[id].js.nft.json +1 -1
- package/.next/server/pages/account/orders.js.nft.json +1 -1
- package/.next/server/pages/account/profile.js.nft.json +1 -1
- package/.next/server/pages/account/security.js.nft.json +1 -1
- package/.next/server/pages/account/user-details.js.nft.json +1 -1
- package/.next/server/pages/account.js.nft.json +1 -1
- package/.next/server/pages/api/graphql.js +2 -2
- package/.next/server/pages/api/graphql.js.nft.json +1 -1
- package/.next/server/pages/en-US/404.html +1 -1
- package/.next/server/pages/en-US/500.html +1 -1
- package/.next/server/pages/en-US/checkout.html +1 -1
- package/.next/server/pages/en-US/login.html +1 -1
- package/.next/server/pages/en-US/s.html +1 -1
- package/.next/server/pages/en-US.html +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/trace +132 -132
- package/.turbo/turbo-build.log +7 -7
- package/.turbo/turbo-test.log +5 -5
- package/@generated/graphql.ts +31 -0
- package/@generated/schema.graphql +27 -0
- package/CHANGELOG.md +6 -0
- package/package.json +3 -3
- package/test/server/index.test.ts +1 -0
- /package/.next/static/{uTGLMZTZ3r9iTQ1Xoztdx → pub-GYCLSosy4MirjEMnD}/_buildManifest.js +0 -0
- /package/.next/static/{uTGLMZTZ3r9iTQ1Xoztdx → pub-GYCLSosy4MirjEMnD}/_ssgManifest.js +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.65.
|
|
2
|
+
> @faststore/core@3.65.2 prebuild /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> na run partytown && na run generate
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @faststore/core@3.65.
|
|
6
|
+
> @faststore/core@3.65.2 partytown /home/runner/work/faststore/faststore/packages/core
|
|
7
7
|
> partytown copylib ./public/~partytown
|
|
8
8
|
|
|
9
9
|
Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
|
|
10
10
|
|
|
11
|
-
> @faststore/core@3.65.
|
|
11
|
+
> @faststore/core@3.65.2 generate /home/runner/work/faststore/faststore/packages/core
|
|
12
12
|
> na run generate:schema && na run generate:codegen && na run format:generated
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
> @faststore/core@3.65.
|
|
15
|
+
> @faststore/core@3.65.2 generate:schema /home/runner/work/faststore/faststore/packages/core
|
|
16
16
|
> tsx src/server/generator/generateGraphQLSchemaFile.ts
|
|
17
17
|
|
|
18
18
|
Schema GraphQL file generated successfully
|
|
19
19
|
|
|
20
|
-
> @faststore/core@3.65.
|
|
20
|
+
> @faststore/core@3.65.2 generate:codegen /home/runner/work/faststore/faststore/packages/core
|
|
21
21
|
> graphql-codegen
|
|
22
22
|
|
|
23
23
|
[STARTED] Parse Configuration
|
|
@@ -37,11 +37,11 @@ Running lifecycle hook "afterStart" scripts...
|
|
|
37
37
|
[CLI] Loading Documents
|
|
38
38
|
[CLI] Generating output
|
|
39
39
|
|
|
40
|
-
> @faststore/core@3.65.
|
|
40
|
+
> @faststore/core@3.65.2 format:generated /home/runner/work/faststore/faststore/packages/core
|
|
41
41
|
> prettier --write "@generated/**/*.{ts,js,tsx,jsx,json}" --loglevel error
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
> @faststore/core@3.65.
|
|
44
|
+
> @faststore/core@3.65.2 build /home/runner/work/faststore/faststore/packages/core
|
|
45
45
|
> next build
|
|
46
46
|
|
|
47
47
|
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.65.
|
|
2
|
+
> @faststore/core@3.65.2 test /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS test/utils/multipleTemplates.test.ts (
|
|
6
|
-
PASS test/server/cms/global.test.ts (
|
|
5
|
+
PASS test/utils/multipleTemplates.test.ts (26.221 s)
|
|
6
|
+
PASS test/server/cms/global.test.ts (26.296 s)
|
|
7
7
|
PASS test/server/cms/index.test.ts
|
|
8
|
-
PASS test/server/index.test.ts (
|
|
8
|
+
PASS test/server/index.test.ts (31.934 s)
|
|
9
9
|
|
|
10
10
|
Test Suites: 4 passed, 4 total
|
|
11
11
|
Tests: 22 passed, 22 total
|
|
12
12
|
Snapshots: 0 total
|
|
13
|
-
Time:
|
|
13
|
+
Time: 33.29 s
|
|
14
14
|
Ran all test suites.
|
package/@generated/graphql.ts
CHANGED
|
@@ -373,6 +373,20 @@ export type IProcessOrderAuthorization = {
|
|
|
373
373
|
ruleId: Scalars['String']['input']
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
+
/** Input type for setting a new password. */
|
|
377
|
+
export type ISetPassword = {
|
|
378
|
+
/** Optional access key for the user, used in some authentication flows. */
|
|
379
|
+
accesskey: InputMaybe<Scalars['String']['input']>
|
|
380
|
+
/** The current password of the user, required for verification before changing to the new password. */
|
|
381
|
+
currentPassword: Scalars['String']['input']
|
|
382
|
+
/** The email of the user for whom the password is being set. */
|
|
383
|
+
email: Scalars['String']['input']
|
|
384
|
+
/** The new password to be set for the user. */
|
|
385
|
+
newPassword: Scalars['String']['input']
|
|
386
|
+
/** Optional reCAPTCHA token for security verification. */
|
|
387
|
+
recaptcha: InputMaybe<Scalars['String']['input']>
|
|
388
|
+
}
|
|
389
|
+
|
|
376
390
|
/** Shipping Simulation item input. */
|
|
377
391
|
export type IShippingItem = {
|
|
378
392
|
/** ShippingItem ID / Sku. */
|
|
@@ -625,6 +639,11 @@ export type Mutation = {
|
|
|
625
639
|
cancelOrder: Maybe<UserOrderCancel>
|
|
626
640
|
/** Process Order Authorization */
|
|
627
641
|
processOrderAuthorization: Maybe<ProcessOrderAuthorizationResponse>
|
|
642
|
+
/**
|
|
643
|
+
* Sets a new password for the user.
|
|
644
|
+
* This mutation is used to change the user's password, typically after a password reset or when the user wants to update their password.
|
|
645
|
+
*/
|
|
646
|
+
setPassword: Maybe<SetPasswordResponse>
|
|
628
647
|
/** Subscribes a new person to the newsletter list. */
|
|
629
648
|
subscribeToNewsletter: Maybe<PersonNewsletter>
|
|
630
649
|
/** Checks for changes between the cart presented in the UI and the cart stored in the ecommerce platform. If changes are detected, it returns the cart stored on the platform. Otherwise, it returns `null`. */
|
|
@@ -641,6 +660,10 @@ export type MutationProcessOrderAuthorizationArgs = {
|
|
|
641
660
|
data: IProcessOrderAuthorization
|
|
642
661
|
}
|
|
643
662
|
|
|
663
|
+
export type MutationSetPasswordArgs = {
|
|
664
|
+
data: ISetPassword
|
|
665
|
+
}
|
|
666
|
+
|
|
644
667
|
export type MutationSubscribeToNewsletterArgs = {
|
|
645
668
|
data: IPersonNewsletter
|
|
646
669
|
}
|
|
@@ -890,6 +913,14 @@ export type SellersData = {
|
|
|
890
913
|
sellers: Maybe<Array<Maybe<SellerInfo>>>
|
|
891
914
|
}
|
|
892
915
|
|
|
916
|
+
/** Response type for setting a new password. */
|
|
917
|
+
export type SetPasswordResponse = {
|
|
918
|
+
/** Message providing additional information about the operation. */
|
|
919
|
+
message: Maybe<Scalars['String']['output']>
|
|
920
|
+
/** Indicates whether the password was successfully set. */
|
|
921
|
+
success: Scalars['Boolean']['output']
|
|
922
|
+
}
|
|
923
|
+
|
|
893
924
|
/** Shipping Simulation information. */
|
|
894
925
|
export type ShippingData = {
|
|
895
926
|
/** Address information. */
|
|
@@ -236,6 +236,11 @@ type Mutation {
|
|
|
236
236
|
cancelOrder(data: IUserOrderCancel!): UserOrderCancel
|
|
237
237
|
"""Process Order Authorization"""
|
|
238
238
|
processOrderAuthorization(data: IProcessOrderAuthorization!): ProcessOrderAuthorizationResponse
|
|
239
|
+
"""
|
|
240
|
+
Sets a new password for the user.
|
|
241
|
+
This mutation is used to change the user's password, typically after a password reset or when the user wants to update their password.
|
|
242
|
+
"""
|
|
243
|
+
setPassword(data: ISetPassword!): SetPasswordResponse
|
|
239
244
|
}
|
|
240
245
|
|
|
241
246
|
"""Newsletter information."""
|
|
@@ -562,6 +567,28 @@ type StorePageInfo {
|
|
|
562
567
|
totalCount: Int!
|
|
563
568
|
}
|
|
564
569
|
|
|
570
|
+
"""Input type for setting a new password."""
|
|
571
|
+
input ISetPassword {
|
|
572
|
+
"""The email of the user for whom the password is being set."""
|
|
573
|
+
email: String!
|
|
574
|
+
"""The new password to be set for the user."""
|
|
575
|
+
newPassword: String!
|
|
576
|
+
"""The current password of the user, required for verification before changing to the new password."""
|
|
577
|
+
currentPassword: String!
|
|
578
|
+
"""Optional access key for the user, used in some authentication flows."""
|
|
579
|
+
accesskey: String
|
|
580
|
+
"""Optional reCAPTCHA token for security verification."""
|
|
581
|
+
recaptcha: String
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
"""Response type for setting a new password."""
|
|
585
|
+
type SetPasswordResponse {
|
|
586
|
+
"""Indicates whether the password was successfully set."""
|
|
587
|
+
success: Boolean!
|
|
588
|
+
"""Message providing additional information about the operation."""
|
|
589
|
+
message: String
|
|
590
|
+
}
|
|
591
|
+
|
|
565
592
|
"""Client profile data."""
|
|
566
593
|
type StorePerson {
|
|
567
594
|
"""Client ID."""
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.66.0](https://github.com/vtex/faststore/compare/v3.65.2...v3.66.0) (2025-07-23)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- add mutation to set new password ([#2949](https://github.com/vtex/faststore/issues/2949)) ([f2f3beb](https://github.com/vtex/faststore/commit/f2f3bebfafd9500e3eb2f9d98220f7400ea9fd0e))
|
|
11
|
+
|
|
6
12
|
## [3.65.2](https://github.com/vtex/faststore/compare/v3.65.1...v3.65.2) (2025-07-22)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.66.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "vtex/faststore",
|
|
6
6
|
"browserslist": "supports es6-module and not dead",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@envelop/graphql-jit": "^8.0.3",
|
|
45
45
|
"@envelop/parser-cache": "^6.0.2",
|
|
46
46
|
"@envelop/validation-cache": "^6.0.2",
|
|
47
|
-
"@faststore/api": "^3.
|
|
47
|
+
"@faststore/api": "^3.66.0",
|
|
48
48
|
"@faststore/graphql-utils": "^3.56.1",
|
|
49
49
|
"@faststore/lighthouse": "^3.56.1",
|
|
50
50
|
"@faststore/sdk": "^3.63.0",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"ts-jest": "29.1.1",
|
|
108
108
|
"typescript": "5.3.2"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "df3a172b06dc2e5759067eeed6dd13905003b7d7"
|
|
111
111
|
}
|
|
File without changes
|
|
File without changes
|