@moonbase.sh/storefront 2.4.1 → 2.4.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/README.md CHANGED
@@ -45,14 +45,14 @@ When you load the widget via the CDN script tag:
45
45
 
46
46
  When you import from npm (`import Moonbase from '@moonbase.sh/storefront'`), `setup` still needs the DOM to be available before it runs, since there is no loader in that path.
47
47
 
48
- ## Testing pre-release builds with `?mb_version=`
48
+ ## Testing pre-release builds with `?mb_storefront_version=`
49
49
 
50
- The CDN loader recognises an `?mb_version=` query parameter for opting into a non-default storefront build on a per-page-load basis. This is intended for testing pre-release changes on a live merchant site without changing the embed code.
50
+ The CDN loader recognises an `?mb_storefront_version=` query parameter for opting into a non-default storefront build on a per-page-load basis. This is intended for testing pre-release changes on a live merchant site without changing the embed code.
51
51
 
52
- - `?mb_version=next` — loads the latest `@next` snapshot from `/storefront/next/moonbase.js`
53
- - `?mb_version=pr-<N>` — loads the snapshot from a labeled PR `<N>` from `/storefront/pr-<N>/moonbase.js` (only present while the PR carries the `release-snapshot` label)
54
- - `?mb_version=2.1.0` — pins to a specific published version from `/storefront/<version>/moonbase.js`
55
- - `?mb_version=latest` or omitted — loads the current stable release (default)
52
+ - `?mb_storefront_version=next` — loads the latest `@next` snapshot from `/storefront/next/moonbase.js`
53
+ - `?mb_storefront_version=pr-<N>` — loads the snapshot from a labeled PR `<N>` from `/storefront/pr-<N>/moonbase.js` (only present while the PR carries the `release-snapshot` label)
54
+ - `?mb_storefront_version=2.1.0` — pins to a specific published version from `/storefront/<version>/moonbase.js`
55
+ - `?mb_storefront_version=latest` or omitted — loads the current stable release (default)
56
56
 
57
57
  Don't use this to pin a production embed to a specific version — pin the `<script src>` URL instead.
58
58