@lockerverse/sdk 0.2.262 → 0.2.263
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 +17 -1
- package/dist/types.js +1 -1
- package/package.json +1 -1
package/MIGRATIONS.md
CHANGED
|
@@ -4,7 +4,23 @@ 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.
|
|
7
|
+
## 0.2.263 — checkout matches the hosted widget page
|
|
8
|
+
|
|
9
|
+
- **Affected:** `LockerversePayment` and `LockerverseSignup`.
|
|
10
|
+
- **Automatic:** the form roots have no 480px maximum width any more; the form
|
|
11
|
+
fills its container, as on the hosted widget page. A host `branding` prop now
|
|
12
|
+
overrides only the fields it sets: a name or accent color keeps the community
|
|
13
|
+
logo (and the community accent when none is given). `imageUrl: null` still
|
|
14
|
+
hides the logo.
|
|
15
|
+
- **Host adoption:** in a checkout dialog, remove padding, `max-w-*` and
|
|
16
|
+
centering wrappers around the form; the dialog body has no padding of its
|
|
17
|
+
own (see "Native SDK checkout" in the payment-widgets guide). A host that
|
|
18
|
+
wants a narrower inline form sets `style={{ maxWidth: 480 }}` or wraps it in
|
|
19
|
+
a sized container.
|
|
20
|
+
- **Check:** open checkout in the site dialog: the community logo shows, and
|
|
21
|
+
the form spacing matches the hosted widget page in the same dialog.
|
|
22
|
+
|
|
23
|
+
## 0.2.262 — centered payment and sign-up forms
|
|
8
24
|
|
|
9
25
|
- **Affected:** `LockerversePayment` (`.lockerverse-payment`) and
|
|
10
26
|
`LockerverseSignup` (`.lockerverse-signup`). The form root has a 480px
|
package/dist/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=`0.2.
|
|
1
|
+
const e=`0.2.263`;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
|