@lockerverse/sdk 0.2.228 → 0.2.229

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,27 @@ 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.229 — optional browser auction embed
8
+
9
+ - **Affected:** the separate browser artifact in `@lockerverse/react`, at
10
+ `dist/embed/lockerverse.js`. Existing React and Core imports are unchanged.
11
+ - **Optional adoption:** non-React hosts can load one version-pinned module script
12
+ and add `<lockerverse-auctions community="…"></lockerverse-auctions>`. The
13
+ artifact bundles React and styles; it requires no host React installation.
14
+ - **Required for embed hosts:** read the browser embed guide, set public resource
15
+ identity, allow the required script/API/media/payment resources, and preserve
16
+ the `lv-<instance>-auction` and `lv-<instance>-item` query parameters. Use unique,
17
+ stable instance names when a page has more than one embed.
18
+ - **Identity:** community, auction, environment, and instance remain fixed while
19
+ mounted. Replace it with a new element to change them. Theme and accent can
20
+ update in place. Do not remount during an unresolved payment or bid.
21
+ - **Limits:** this optional fallback renders in the browser and has no template
22
+ slots or custom React renderers. Keep existing server-rendered integrations.
23
+ Host security policies and payment-domain requirements still apply.
24
+ - **Check:** verify the published script, catalog, direct item links, Back/Forward,
25
+ mobile layout, gallery, and checkout loading on the host without submitting a
26
+ live transaction. Existing React consumers need no host edits for this option.
27
+
7
28
  ## Unreleased — business booking setup and payment verification
8
29
 
9
30
  - **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.229`;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.229",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Lockerverse/lockerverse-sdk.git",