@lockerverse/sdk 0.2.228 → 0.2.230

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/MIGRATIONS.md CHANGED
@@ -4,6 +4,36 @@ This file ships in both @lockerverse/sdk and @lockerverse/react. Use the copy in
4
4
  the target installed release. This is an agent-run procedure, not an install
5
5
  script. Installing a package does not edit host code or guarantee these steps ran.
6
6
 
7
+ ## 0.2.230 — browser embed loading and dark theme
8
+
9
+ - **Adoption:** change the script URL from `@0.2.229` to `@0.2.230`.
10
+ Keep the same element and public auction attributes.
11
+ - **Automatic:** the embed shows placeholders during the first catalog load
12
+ and supplies its own background for the selected theme.
13
+ - **Check:** open the page on a fresh visit, switch between light and dark,
14
+ and check the auction catalog and item on the host’s background.
15
+
16
+ ## 0.2.229 — optional browser auction embed
17
+
18
+ - **Affected:** the separate browser artifact in `@lockerverse/react`, at
19
+ `dist/embed/lockerverse.js`. Existing React and Core imports are unchanged.
20
+ - **Optional adoption:** non-React hosts can load one version-pinned module script
21
+ and add `<lockerverse-auctions community="…"></lockerverse-auctions>`. The
22
+ artifact bundles React and styles; it requires no host React installation.
23
+ - **Required for embed hosts:** read the browser embed guide, set public resource
24
+ identity, allow the required script/API/media/payment resources, and preserve
25
+ the `lv-<instance>-auction` and `lv-<instance>-item` query parameters. Use unique,
26
+ stable instance names when a page has more than one embed.
27
+ - **Identity:** community, auction, environment, and instance remain fixed while
28
+ mounted. Replace it with a new element to change them. Theme and accent can
29
+ update in place. Do not remount during an unresolved payment or bid.
30
+ - **Limits:** this optional fallback renders in the browser and has no template
31
+ slots or custom React renderers. Keep existing server-rendered integrations.
32
+ Host security policies and payment-domain requirements still apply.
33
+ - **Check:** verify the published script, catalog, direct item links, Back/Forward,
34
+ mobile layout, gallery, and checkout loading on the host without submitting a
35
+ live transaction. Existing React consumers need no host edits for this option.
36
+
7
37
  ## Unreleased — business booking setup and payment verification
8
38
 
9
39
  - **Affected:** optional SDK bookings, React booking state and booking payment.
package/dist/types.js CHANGED
@@ -1,2 +1,2 @@
1
- const e=`0.2.228`;var t=class extends Error{failureKind;code;operation;reportable;recoveryRecommended;sdkVersion;serverCode;status;constructor({failureKind:t,code:n,message:r,operation:i,reportable:a,recoveryRecommended:o=!1,serverCode:s,status:c}){super(r),this.name=`LockerverseSdkError`,this.failureKind=t,this.code=n,this.operation=i,this.reportable=a,this.recoveryRecommended=o,this.sdkVersion=e,this.serverCode=s,this.status=c}};export{t as n,e as t};
1
+ const e=`0.2.230`;var t=class extends Error{failureKind;code;operation;reportable;recoveryRecommended;sdkVersion;serverCode;status;constructor({failureKind:t,code:n,message:r,operation:i,reportable:a,recoveryRecommended:o=!1,serverCode:s,status:c}){super(r),this.name=`LockerverseSdkError`,this.failureKind=t,this.code=n,this.operation=i,this.reportable=a,this.recoveryRecommended=o,this.sdkVersion=e,this.serverCode=s,this.status=c}};export{t as n,e as t};
2
2
  //# sourceMappingURL=types.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lockerverse/sdk",
3
- "version": "0.2.228",
3
+ "version": "0.2.230",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Lockerverse/lockerverse-sdk.git",