@vtex/faststore 0.0.1 → 0.0.3
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 +35 -0
- package/README.md +4 -2
- package/dist/catalog.json +286 -265
- package/dist/components.d.ts +2 -1
- package/dist/components.js +2 -1
- package/dist/content-types.json +16 -0
- package/dist/core/dist/actions/registry.d.ts +1 -1
- package/dist/core/dist/actions/registry.js +1 -1
- package/dist/core/dist/actions/registry.js.map +1 -1
- package/dist/docs/account-entry-point.md +1 -1
- package/dist/docs/cart.md +2 -2
- package/dist/docs/session.md +12 -6
- package/dist/docs/sign-in-redirect.md +137 -0
- package/dist/matter/access-code-sign-in/access-code-sign-in.d.ts +2 -2
- package/dist/matter/access-code-sign-in/access-code-sign-in.js +5 -2
- package/dist/matter/access-code-sign-in/access-code-sign-in.js.map +1 -1
- package/dist/matter/account-entry-point/account-entry-point.js +4 -16
- package/dist/matter/account-entry-point/account-entry-point.js.map +1 -1
- package/dist/matter/buy-button/buy-button.d.ts +1 -1
- package/dist/matter/buy-button/buy-button.js +3 -1
- package/dist/matter/buy-button/buy-button.js.map +1 -1
- package/dist/matter/cart/cart.d.ts +6 -6
- package/dist/matter/cart/cart.js +13 -6
- package/dist/matter/cart/cart.js.map +1 -1
- package/dist/matter/cart-item/cart-item.d.ts +2 -2
- package/dist/matter/cart-item/cart-item.js +5 -2
- package/dist/matter/cart-item/cart-item.js.map +1 -1
- package/dist/matter/client-preferences/client-preferences.js +3 -1
- package/dist/matter/client-preferences/client-preferences.js.map +1 -1
- package/dist/matter/client-profile/client-profile.d.ts +1 -1
- package/dist/matter/client-profile/client-profile.js +3 -1
- package/dist/matter/client-profile/client-profile.js.map +1 -1
- package/dist/matter/client-profile-form/client-profile-form.d.ts +1 -1
- package/dist/matter/client-profile-form/client-profile-form.js +3 -1
- package/dist/matter/client-profile-form/client-profile-form.js.map +1 -1
- package/dist/matter/delivery-options/delivery-options-accordion.d.ts +1 -1
- package/dist/matter/delivery-options/delivery-options-accordion.js +3 -1
- package/dist/matter/delivery-options/delivery-options-accordion.js.map +1 -1
- package/dist/matter/delivery-options/delivery-options-controller.d.ts +1 -1
- package/dist/matter/delivery-options/delivery-options-controller.js +3 -1
- package/dist/matter/delivery-options/delivery-options-controller.js.map +1 -1
- package/dist/matter/delivery-options/delivery-options.d.ts +1 -1
- package/dist/matter/delivery-options/delivery-options.js +3 -1
- package/dist/matter/delivery-options/delivery-options.js.map +1 -1
- package/dist/matter/email-identification/email-identification.d.ts +1 -1
- package/dist/matter/email-identification/email-identification.js +3 -1
- package/dist/matter/email-identification/email-identification.js.map +1 -1
- package/dist/matter/identity-summary/identity-summary.d.ts +1 -1
- package/dist/matter/identity-summary/identity-summary.js +3 -1
- package/dist/matter/identity-summary/identity-summary.js.map +1 -1
- package/dist/matter/product-list/product-list.d.ts +1 -1
- package/dist/matter/product-list/product-list.js +3 -1
- package/dist/matter/product-list/product-list.js.map +1 -1
- package/dist/matter/region/region.d.ts +1 -1
- package/dist/matter/region/region.js +5 -2
- package/dist/matter/region/region.js.map +1 -1
- package/dist/matter/session/session.js +1 -1
- package/dist/matter/session/session.js.map +1 -1
- package/dist/matter/shipping-address/shipping-address.d.ts +1 -1
- package/dist/matter/shipping-address/shipping-address.js +3 -1
- package/dist/matter/shipping-address/shipping-address.js.map +1 -1
- package/dist/matter/sign-in-form/sign-in-form.d.ts +1 -1
- package/dist/matter/sign-in-form/sign-in-form.js +3 -1
- package/dist/matter/sign-in-form/sign-in-form.js.map +1 -1
- package/dist/matter/sign-in-redirect/sign-in-redirect.d.ts +45 -0
- package/dist/matter/sign-in-redirect/sign-in-redirect.js +127 -0
- package/dist/matter/sign-in-redirect/sign-in-redirect.js.map +1 -0
- package/dist/sdk/actions/actions-override-context.js +37 -0
- package/dist/sdk/actions/actions-override-context.js.map +1 -0
- package/dist/sdk/actions/cart-action-provider.d.ts +8 -6
- package/dist/sdk/actions/cart-action-provider.js +10 -8
- package/dist/sdk/actions/cart-action-provider.js.map +1 -1
- package/dist/sdk/actions/identity-action-provider.d.ts +2 -2
- package/dist/sdk/actions/identity-action-provider.js +4 -4
- package/dist/sdk/actions/identity-action-provider.js.map +1 -1
- package/dist/sdk/actions/inject-actions.d.ts +1 -5
- package/dist/sdk/actions/inject-actions.js +23 -21
- package/dist/sdk/actions/inject-actions.js.map +1 -1
- package/dist/sdk/actions/region-action-provider.d.ts +4 -3
- package/dist/sdk/actions/region-action-provider.js +6 -5
- package/dist/sdk/actions/region-action-provider.js.map +1 -1
- package/dist/sdk/actions/session-action-provider.d.ts +4 -3
- package/dist/sdk/actions/session-action-provider.js +6 -5
- package/dist/sdk/actions/session-action-provider.js.map +1 -1
- package/dist/sdk/actions/shipping-action-provider.d.ts +4 -3
- package/dist/sdk/actions/shipping-action-provider.js +6 -5
- package/dist/sdk/actions/shipping-action-provider.js.map +1 -1
- package/dist/sdk/cart/use-cart-actions.js.map +1 -1
- package/dist/sdk/client/create-client.js +24 -2
- package/dist/sdk/client/create-client.js.map +1 -1
- package/dist/sdk/content/create-content-runtime.js +1 -1
- package/dist/utils/safe-href.js +107 -1
- package/dist/utils/safe-href.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,41 @@ Every published version of `@vtex/faststore` has a section here. From `0.0.2` on
|
|
|
4
4
|
written when its release pull request opens, and reviewed alongside the API delta that justifies the
|
|
5
5
|
version.
|
|
6
6
|
|
|
7
|
+
## 0.0.3
|
|
8
|
+
|
|
9
|
+
`./components` adds `SignInRedirect`, the component a store's `/login` page renders to hand the
|
|
10
|
+
shopper over to the platform login. It comes with `SignInRedirectLoading`, the
|
|
11
|
+
`SignInRedirectContent` content type for the waiting message, `SignInRedirectDefinition`, and the
|
|
12
|
+
`SignInRedirectProps` and `SignInRedirectLoadingProps` types.
|
|
13
|
+
|
|
14
|
+
Five `./components` signatures now take their props as `Readonly<...>`: `ClientProfileFormRoot`,
|
|
15
|
+
`ClientProfilePhoneControl`, `DeliveryOptionsController`, `IdentitySummaryRoot` and
|
|
16
|
+
`ShippingAddressRoot`. Nothing changes for code that renders them.
|
|
17
|
+
|
|
18
|
+
Action providers now deliver `$actions` through context instead of `cloneElement`, so a child that
|
|
19
|
+
crosses the React Server Components boundary as a lazy reference receives its actions. The
|
|
20
|
+
signatures are unchanged.
|
|
21
|
+
|
|
22
|
+
The GraphQL client that `./internal/server` builds forwards the shopper's `Cookie` header into
|
|
23
|
+
server-rendered queries, so a signed-in shopper's server render is no longer anonymous. A
|
|
24
|
+
caller-supplied `Cookie` header wins, and outside a Next.js request the client sends none.
|
|
25
|
+
|
|
26
|
+
`dist/catalog.json` is now built by `@vtex/faststore-catalog`, and its `docPath` values are relative
|
|
27
|
+
to the package (`src/...`). `.`, `./client` and `./graphql` are unchanged.
|
|
28
|
+
|
|
29
|
+
This is the first version released in two sets at once (ADR-0004). The Public set goes to npmjs,
|
|
30
|
+
including the first real `@vtex/faststore-catalog` version, and the Internal set goes to
|
|
31
|
+
CodeArtifact, including the first `@vtex/sukima` that carries the command and the library together.
|
|
32
|
+
|
|
33
|
+
## 0.0.2
|
|
34
|
+
|
|
35
|
+
No change to the public API surface across the four snapshotted entries (`.`, `./client`,
|
|
36
|
+
`./components`, `./graphql`). The code is identical to `0.0.1`.
|
|
37
|
+
|
|
38
|
+
This is the first release cut through the gated pipeline: `release-checks.yml` validates this pull
|
|
39
|
+
request, and `npm-publish.yml` publishes and tags `v0.0.2-faststore` on merge. It supersedes the
|
|
40
|
+
hand-published `0.0.1` bootstrap as the baseline every later release diffs against.
|
|
41
|
+
|
|
7
42
|
## 0.0.1
|
|
8
43
|
|
|
9
44
|
Bootstrap release. It exists so that `@vtex/faststore` has a page on npmjs, which npm requires
|
package/README.md
CHANGED
|
@@ -14,8 +14,10 @@ The version line is `0.0.x`. Under semver every patch may break, and a caret ran
|
|
|
14
14
|
Nothing here is a compatibility promise yet: 138 types are reachable through the public entries without being
|
|
15
15
|
named in them, and the authoring loop this SDK belongs to is not finished.
|
|
16
16
|
|
|
17
|
-
This release makes the SDK installable and importable
|
|
18
|
-
|
|
17
|
+
This release makes the SDK installable and importable, and it publishes the catalog build alongside it as
|
|
18
|
+
`@vtex/faststore-catalog`. It does not yet make an extension package buildable outside the FastStore
|
|
19
|
+
repository: what is still missing is the `faststore` CLI that wires that build into an extension's `build`
|
|
20
|
+
script, and it is not published.
|
|
19
21
|
|
|
20
22
|
## Entry points
|
|
21
23
|
|