@lockerverse/sdk 0.2.169-dev.1 → 0.2.171-dev.1

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
@@ -36,6 +36,28 @@ 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.171-dev.1 — SDK payment recovery and completion UI
40
+
41
+ - **Affected:** React payment widgets and custom hosts that persist payment recovery.
42
+ - **Optional adoption:** pass `recoveryStorageKey` to `LockerversePayment` to let
43
+ the SDK save and restore the pending payment in session storage. Use a stable
44
+ key scoped to the API environment, community, and widget. Remove the host's
45
+ storage code and recovery-driven component key. Do not combine automatic
46
+ persistence with a second host persistence writer.
47
+ - **Compatibility:** the SDK reads the hosted Next app's existing version 1
48
+ records when the same key is used. It writes version 2 records with widget
49
+ identity. It checks widget and selection identity before recovery and keeps
50
+ an unresolved record if those details differ. Recovery uses the saved connected
51
+ account even if current payment routing has changed. Storage is read after hydration,
52
+ before the payable form mounts. No contact details or payment tokens are saved.
53
+ - **Optional UI adoption:** use `completionView="summary"` for the SDK confirmation
54
+ panel and remove the host's duplicate success panel. Completion callbacks still
55
+ run. The default inline message and explicit `resumePayment` integrations remain
56
+ supported. Auctions and legacy custom checkout forms are unchanged.
57
+ - **Check:** reload a pending checkout and confirm the existing payment is checked;
58
+ verify a changed selection cannot discard it. Check both paid and free order
59
+ confirmation panels. Do not submit a live transaction for this check.
60
+
39
61
  ## 0.2.169-dev.1 — six-month payment widgets
40
62
 
41
63
  Affected: @lockerverse/sdk checkout and @lockerverse/react payment widgets.
@@ -51,6 +73,7 @@ Affected: @lockerverse/sdk checkout and @lockerverse/react payment widgets.
51
73
  - **Check:** load a six-month Product and confirm its amount and cadence before
52
74
  submission. Do not submit a live payment for an integration check.
53
75
 
76
+
54
77
  ## 0.2.168-dev.1 — bank authorization terms
55
78
 
56
79
  - **Affected:** React payment widgets with ACH enabled.
package/dist/types.js CHANGED
@@ -1,2 +1,2 @@
1
- const e=`0.2.169-dev.1`;var t=class extends Error{code;operation;reportable;recoveryRecommended;sdkVersion;serverCode;status;constructor({code:t,message:n,operation:r,reportable:i,recoveryRecommended:a=!1,serverCode:o,status:s}){super(n),this.name=`LockerverseSdkError`,this.code=t,this.operation=r,this.reportable=i,this.recoveryRecommended=a,this.sdkVersion=e,this.serverCode=o,this.status=s}};export{t as n,e as t};
1
+ const e=`0.2.171-dev.1`;var t=class extends Error{code;operation;reportable;recoveryRecommended;sdkVersion;serverCode;status;constructor({code:t,message:n,operation:r,reportable:i,recoveryRecommended:a=!1,serverCode:o,status:s}){super(n),this.name=`LockerverseSdkError`,this.code=t,this.operation=r,this.reportable=i,this.recoveryRecommended=a,this.sdkVersion=e,this.serverCode=o,this.status=s}};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.169-dev.1",
3
+ "version": "0.2.171-dev.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Lockerverse/lockerverse-sdk.git",