@faststore/core 2.0.157-alpha.0 → 2.0.158-alpha.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/.turbo/turbo-build.log
CHANGED
|
@@ -39,7 +39,7 @@ Route (pages) Size First Load JS
|
|
|
39
39
|
+ First Load JS shared by all 80.7 kB
|
|
40
40
|
├ chunks/framework-dfd14d7ce6600b03.js 45.3 kB
|
|
41
41
|
├ chunks/main-fd466221927468fd.js 23.9 kB
|
|
42
|
-
├ chunks/pages/_app-
|
|
42
|
+
├ chunks/pages/_app-f06fabc4661b3348.js 6.46 kB
|
|
43
43
|
├ chunks/webpack-90918babbeee4949.js 2.26 kB
|
|
44
44
|
└ css/47d82dcec9a7dbc2.css 2.78 kB
|
|
45
45
|
|
|
@@ -91,6 +91,13 @@ export type IStoreCurrency = {
|
|
|
91
91
|
symbol: Scalars['String']
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
+
export type IStoreDeliveryMode = {
|
|
95
|
+
/** The latitude of the geographic coordinates. */
|
|
96
|
+
deliveryChannel: Scalars['String']
|
|
97
|
+
/** The longitude of the geographic coordinates. */
|
|
98
|
+
deliveryMethod: Scalars['String']
|
|
99
|
+
}
|
|
100
|
+
|
|
94
101
|
export type IStoreGeoCoordinates = {
|
|
95
102
|
/** The latitude of the geographic coordinates. */
|
|
96
103
|
latitude: Scalars['Float']
|
|
@@ -181,7 +188,7 @@ export type IStoreSelectedFacet = {
|
|
|
181
188
|
|
|
182
189
|
/** Session input. */
|
|
183
190
|
export type IStoreSession = {
|
|
184
|
-
/** Session input address
|
|
191
|
+
/** Session input address type. */
|
|
185
192
|
addressType: InputMaybe<Scalars['String']>
|
|
186
193
|
/** Session input channel. */
|
|
187
194
|
channel: InputMaybe<Scalars['String']>
|
|
@@ -189,6 +196,8 @@ export type IStoreSession = {
|
|
|
189
196
|
country: Scalars['String']
|
|
190
197
|
/** Session input currency. */
|
|
191
198
|
currency: IStoreCurrency
|
|
199
|
+
/** Session input delivery mode. */
|
|
200
|
+
deliveryMode: InputMaybe<IStoreDeliveryMode>
|
|
192
201
|
/** Session input geoCoordinates. */
|
|
193
202
|
geoCoordinates: InputMaybe<IStoreGeoCoordinates>
|
|
194
203
|
/** Session input locale. */
|
|
@@ -588,6 +597,14 @@ export type StoreCurrency = {
|
|
|
588
597
|
symbol: Scalars['String']
|
|
589
598
|
}
|
|
590
599
|
|
|
600
|
+
/** Delivery mode information. */
|
|
601
|
+
export type StoreDeliveryMode = {
|
|
602
|
+
/** The latitude of the geographic coordinates. */
|
|
603
|
+
deliveryChannel: Scalars['String']
|
|
604
|
+
/** The longitude of the geographic coordinates. */
|
|
605
|
+
deliveryMethod: Scalars['String']
|
|
606
|
+
}
|
|
607
|
+
|
|
591
608
|
export type StoreFacet = StoreFacetBoolean | StoreFacetRange
|
|
592
609
|
|
|
593
610
|
/** Search facet boolean information. */
|
|
@@ -853,7 +870,8 @@ export type StoreSeo = {
|
|
|
853
870
|
|
|
854
871
|
/** Session information. */
|
|
855
872
|
export type StoreSession = {
|
|
856
|
-
|
|
873
|
+
|
|
874
|
+
/** Session address type. */
|
|
857
875
|
addressType: Maybe<Scalars['String']>
|
|
858
876
|
/** Session channel. */
|
|
859
877
|
channel: Maybe<Scalars['String']>
|
|
@@ -861,6 +879,8 @@ export type StoreSession = {
|
|
|
861
879
|
country: Scalars['String']
|
|
862
880
|
/** Session currency. */
|
|
863
881
|
currency: StoreCurrency
|
|
882
|
+
/** Session delivery mode. */
|
|
883
|
+
deliveryMode: Maybe<StoreDeliveryMode>
|
|
864
884
|
/** Session input geoCoordinates. */
|
|
865
885
|
geoCoordinates: Maybe<StoreGeoCoordinates>
|
|
866
886
|
/** Session locale. */
|
|
@@ -1326,8 +1346,9 @@ export type ValidateSessionMutation = {
|
|
|
1326
1346
|
locale: string
|
|
1327
1347
|
channel: string | null
|
|
1328
1348
|
country: string
|
|
1329
|
-
postalCode: string | null
|
|
1330
1349
|
addressType: string | null
|
|
1350
|
+
postalCode: string | null
|
|
1351
|
+
deliveryMode: { deliveryChannel: string; deliveryMethod: string } | null
|
|
1331
1352
|
geoCoordinates: { latitude: number; longitude: number } | null
|
|
1332
1353
|
currency: { code: string; symbol: string }
|
|
1333
1354
|
person: {
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
"ProductsQuery": "query ProductsQuery($first: Int!, $after: String, $sort: StoreSort!, $term: String!, $selectedFacets: [IStoreSelectedFacet!]!) {\n search(\n first: $first\n after: $after\n sort: $sort\n term: $term\n selectedFacets: $selectedFacets\n ) {\n products {\n pageInfo {\n totalCount\n }\n edges {\n node {\n id: productID\n slug\n sku\n brand {\n brandName: name\n name\n }\n name\n gtin\n isVariantOf {\n productGroupID\n name\n }\n image {\n url\n alternateName\n }\n offers {\n lowPrice\n offers {\n availability\n price\n listPrice\n quantity\n seller {\n identifier\n }\n }\n }\n }\n }\n }\n }\n}\n",
|
|
9
9
|
"SearchSuggestionsQuery": "query SearchSuggestionsQuery($term: String!, $selectedFacets: [IStoreSelectedFacet!]) {\n search(first: 5, term: $term, selectedFacets: $selectedFacets) {\n suggestions {\n terms {\n value\n }\n products {\n id: productID\n slug\n sku\n brand {\n brandName: name\n name\n }\n name\n gtin\n isVariantOf {\n productGroupID\n name\n }\n image {\n url\n alternateName\n }\n offers {\n lowPrice\n offers {\n availability\n price\n listPrice\n quantity\n seller {\n identifier\n }\n }\n }\n }\n }\n }\n}\n",
|
|
10
10
|
"TopSearchSuggestionsQuery": "query TopSearchSuggestionsQuery($term: String!, $selectedFacets: [IStoreSelectedFacet!]) {\n search(first: 5, term: $term, selectedFacets: $selectedFacets) {\n suggestions {\n terms {\n value\n }\n }\n }\n}\n",
|
|
11
|
-
"ValidateSession": "mutation ValidateSession($session: IStoreSession!, $search: String!) {\n validateSession(session: $session, search: $search) {\n locale\n channel\n country\n postalCode\n
|
|
11
|
+
"ValidateSession": "mutation ValidateSession($session: IStoreSession!, $search: String!) {\n validateSession(session: $session, search: $search) {\n locale\n channel\n country\n addressType\n postalCode\n deliveryMode {\n deliveryChannel\n deliveryMethod\n }\n geoCoordinates {\n latitude\n longitude\n }\n currency {\n code\n symbol\n }\n person {\n id\n email\n givenName\n familyName\n }\n }\n}\n",
|
|
12
12
|
"ShippingSimulationQuery": "query ShippingSimulationQuery($postalCode: String!, $country: String!, $items: [IShippingItem!]!) {\n shipping(items: $items, postalCode: $postalCode, country: $country) {\n logisticsInfo {\n slas {\n carrier\n price\n shippingEstimate\n localizedEstimates\n }\n }\n address {\n city\n neighborhood\n }\n }\n}\n"
|
|
13
13
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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
|
+
## [2.0.158-alpha.0](https://github.com/vtex/faststore/compare/v2.0.157-alpha.0...v2.0.158-alpha.0) (2023-05-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @faststore/core
|
|
9
|
+
|
|
6
10
|
## [2.0.157-alpha.0](https://github.com/vtex/faststore/compare/v2.0.156-alpha.0...v2.0.157-alpha.0) (2023-05-23)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @faststore/core
|
package/faststore.config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.158-alpha.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"browserslist": "supports es6-module and not dead",
|
|
6
6
|
"scripts": {
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"@envelop/graphql-jit": "^1.1.1",
|
|
30
30
|
"@envelop/parser-cache": "^2.2.0",
|
|
31
31
|
"@envelop/validation-cache": "^2.2.0",
|
|
32
|
-
"@faststore/api": "^2.0.
|
|
32
|
+
"@faststore/api": "^2.0.158-alpha.0",
|
|
33
33
|
"@faststore/components": "^2.0.152-alpha.0",
|
|
34
34
|
"@faststore/graphql-utils": "^2.0.3-alpha.0",
|
|
35
|
-
"@faststore/sdk": "^2.0.
|
|
35
|
+
"@faststore/sdk": "^2.0.158-alpha.0",
|
|
36
36
|
"@faststore/ui": "^2.0.154-alpha.0",
|
|
37
37
|
"@types/react": "^18.0.14",
|
|
38
38
|
"@vtex/client-cms": "^0.2.12",
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"msw": {
|
|
109
109
|
"workerDirectory": "public"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "2b36429ccda9ac1ee8cac50ebf229ad9425aba8e"
|
|
112
112
|
}
|