@lockerverse/sdk 0.2.263 → 0.2.264

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,16 @@ 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.264 — native checkout dialog spacing
8
+
9
+ - **Affected:** the payment-widgets guide only; no code change.
10
+ - **Host adoption:** the native checkout dialog body uses `px-3 py-4 sm:px-4`
11
+ (12px sides on phones, 16px from 640px, 16px top and bottom), the spacing
12
+ that the hosted widget page puts around the same form. This corrects the
13
+ 0.2.263 note, which said the body has no padding.
14
+ - **Check:** the form fields start at the same distance from the dialog edge
15
+ as on the hosted widget page in the same dialog.
16
+
7
17
  ## 0.2.263 — checkout matches the hosted widget page
8
18
 
9
19
  - **Affected:** `LockerversePayment` and `LockerverseSignup`.
@@ -12,9 +22,8 @@ script. Installing a package does not edit host code or guarantee these steps ra
12
22
  overrides only the fields it sets: a name or accent color keeps the community
13
23
  logo (and the community accent when none is given). `imageUrl: null` still
14
24
  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
25
+ - **Host adoption:** in a checkout dialog, remove `max-w-*` and centering
26
+ wrappers around the form (see 0.2.264 for the dialog body spacing). A host that
18
27
  wants a narrower inline form sets `style={{ maxWidth: 480 }}` or wraps it in
19
28
  a sized container.
20
29
  - **Check:** open checkout in the site dialog: the community logo shows, and
package/dist/types.js CHANGED
@@ -1,2 +1,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};
1
+ const e=`0.2.264`;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.263",
3
+ "version": "0.2.264",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Lockerverse/lockerverse-sdk.git",