@lockerverse/sdk 0.2.197 → 0.2.200
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 +13 -5
- package/dist/types.js +1 -1
- package/package.json +1 -1
package/MIGRATIONS.md
CHANGED
|
@@ -36,6 +36,13 @@ If it cannot be found, report that limit and use the baseline review below. Do n
|
|
|
36
36
|
claim that every historical migration was applied. Read this file even if the
|
|
37
37
|
version already matches: a previous upgrade may have missed host adoption steps.
|
|
38
38
|
|
|
39
|
+
## 0.2.200 — shared page launcher loading state
|
|
40
|
+
|
|
41
|
+
React page launchers accept `loadingFallback` to replace the entire launcher
|
|
42
|
+
while catalog options initialize or refresh. Hosts can pass their existing page
|
|
43
|
+
skeleton to avoid a second SDK loading panel. Dialog launchers and fixed payment
|
|
44
|
+
components are unchanged. Adoption is optional; verify cold load and Continue.
|
|
45
|
+
|
|
39
46
|
## 0.2.197 — disable Stripe Link in React widget checkout
|
|
40
47
|
|
|
41
48
|
New React widget checkout forms request card payments, plus US bank account
|
|
@@ -60,11 +67,12 @@ No host prop change is required.
|
|
|
60
67
|
configuration; remount for another link. Filtering is not server authorization.
|
|
61
68
|
- **Optional:** Use `showDescription={false}` and the public page root class,
|
|
62
69
|
`className`, `style`, and existing theme tokens for minimal branded pages.
|
|
63
|
-
- **Hosted URL:**
|
|
64
|
-
Optional `include` lists purchasable product slugs;
|
|
65
|
-
Use `theme=light` for light mode.
|
|
66
|
-
|
|
67
|
-
|
|
70
|
+
- **Hosted URL:** `https://app.lockerverse.com/<community>/widgets/v2/<widget>/checkout`
|
|
71
|
+
defaults to dark. Optional `include` lists purchasable product slugs;
|
|
72
|
+
`q.<slug>` prefills quantities. Use `theme=light` for light mode. The app
|
|
73
|
+
deployment selects its backend. The fixed checkout remains separate.
|
|
74
|
+
Older SDK-domain `/checkout?community=<slug>&widget=<slug>` links redirect
|
|
75
|
+
to the app, preserving the product filter, quantities, and theme.
|
|
68
76
|
- **Verification:** Check both themes, mobile width, excluded prefill, quantity
|
|
69
77
|
limits, Continue, and Edit order without submitting a live payment.
|
|
70
78
|
|
package/dist/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=`0.2.
|
|
1
|
+
const e=`0.2.200`;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
|