@liquidcommerce/elements-sdk 2.6.0-beta.127 → 2.6.0-beta.129

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.
Files changed (33) hide show
  1. package/README.md +4 -2
  2. package/dist/index.checkout.esm.js +9281 -8938
  3. package/dist/index.esm.js +13165 -12814
  4. package/dist/ssr-stub.esm.js +1 -0
  5. package/dist/types/core/client/actions/client-analytics-action.service.d.ts +35 -0
  6. package/dist/types/core/client/actions/client-checkout-action.service.d.ts +1 -0
  7. package/dist/types/core/client/client-action.service.d.ts +1 -0
  8. package/dist/types/core/client/client-config.service.d.ts +2 -0
  9. package/dist/types/core/google-tag-manager.service.d.ts +3 -2
  10. package/dist/types/core/pubsub/interfaces/checkout.interface.d.ts +4 -0
  11. package/dist/types/core/pubsub/interfaces/core.interface.d.ts +2 -1
  12. package/dist/types/enums/core.enum.d.ts +1 -0
  13. package/dist/types/index.checkout.d.ts +3 -2
  14. package/dist/types/index.d.ts +1 -0
  15. package/dist/types/interfaces/analytics.interface.d.ts +41 -0
  16. package/dist/types/interfaces/client.interface.d.ts +5 -0
  17. package/dist/types/interfaces/config.interface.d.ts +1 -0
  18. package/dist/types/modules/cart/cart.commands.d.ts +3 -1
  19. package/dist/types/modules/checkout/checkout.commands.d.ts +8 -0
  20. package/dist/types/modules/checkout/components/checkout-express-checkout.component.d.ts +1 -0
  21. package/dist/types/modules/product-list/product-list.commands.d.ts +5 -0
  22. package/dist/types/ssr/stub.checkout.d.ts +2 -1
  23. package/dist/types/ssr/stub.d.ts +2 -1
  24. package/docs/v1/README.md +1 -0
  25. package/docs/v1/api/actions/analytics-actions.md +326 -0
  26. package/docs/v1/api/actions/checkout-actions.md +5 -2
  27. package/docs/v1/api/client.md +7 -2
  28. package/docs/v1/api/configuration.md +4 -0
  29. package/docs/v1/api/typescript-types.md +73 -1
  30. package/docs/v1/guides/checkout-component.md +14 -2
  31. package/docs/v1/guides/events.md +22 -1
  32. package/docs/v1/reference/analytics.md +52 -9
  33. package/package.json +1 -1
package/README.md CHANGED
@@ -87,10 +87,12 @@ if (client) {
87
87
  ## Key Methods (High Level)
88
88
 
89
89
  - `injectProductElement`, `injectCartElement`, `injectCheckoutElement`, `injectAddressElement`
90
- - `injectExpressCheckoutElement` (`injectExpressCheckout` on the checkout-only client)
90
+ - `injectExpressCheckoutElement` (`injectExpressCheckout` on the checkout-only client) — opt-in with
91
+ `development: { enableExpressCheckout: true }`
91
92
  - `injectProductList`, `injectProductListFilters`, `injectProductListSearch`
92
93
  - `ui.cartButton`, `ui.floatingCartButton`, `ui.cartSubtotal`, `ui.cartItemsCount`
93
- - `actions.product`, `actions.cart`, `actions.checkout`, `actions.address`
94
+ - `actions.product`, `actions.cart`, `actions.checkout`, `actions.address`, `actions.analytics`
95
+ (report GA4 events for steps your own UI renders; also on the checkout-only client)
94
96
  - `getInjectedComponents`, `destroy`
95
97
 
96
98
  ```javascript