@lockerverse/react 0.2.197 → 0.2.198-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 +77 -5
- package/guides/auctions.md +1 -1
- package/guides/events.md +1 -1
- package/guides/integration.md +1 -1
- package/guides/payment-widgets.md +1 -1
- package/guides/signup.md +1 -1
- package/package.json +2 -2
package/MIGRATIONS.md
CHANGED
|
@@ -108,7 +108,7 @@ No host prop change is required.
|
|
|
108
108
|
- **Check:** inspect a wide and a tall photo on desktop and mobile. Confirm all
|
|
109
109
|
edges remain visible in the item gallery, thumbnails, and full-screen viewer.
|
|
110
110
|
|
|
111
|
-
## 0.2.
|
|
111
|
+
## 0.2.192-dev.1 — auction item additional charges
|
|
112
112
|
|
|
113
113
|
- **Affected:** Core auction item data, purchase quotes, and React auction checkout.
|
|
114
114
|
- **Automatic:** optional `additionalCharge` charges the first-item amount plus the
|
|
@@ -126,7 +126,7 @@ No host prop change is required.
|
|
|
126
126
|
- **Check:** compare one, two, and maximum quantity totals with the server quote,
|
|
127
127
|
verify the per-order limit, and inspect the named charge row before payment.
|
|
128
128
|
|
|
129
|
-
## 0.2.
|
|
129
|
+
## 0.2.190-dev.1 — widget load recovery and Sentry releases
|
|
130
130
|
|
|
131
131
|
- **Affected:** Core widget loading and SDK failure reporting.
|
|
132
132
|
- **Automatic:** a widget GET retries once after a network failure or request
|
|
@@ -153,6 +153,7 @@ No host prop change is required.
|
|
|
153
153
|
- **Check:** select one, two, and the maximum allowed trigger quantity. Confirm the
|
|
154
154
|
local summary and server quote agree; removing all trigger items removes shipping.
|
|
155
155
|
|
|
156
|
+
|
|
156
157
|
## 0.2.184 — single focus boundary for form fields
|
|
157
158
|
|
|
158
159
|
- **Affected:** React form controls and the shared phone field in payment and signup.
|
|
@@ -172,7 +173,7 @@ Widgets can now use a private contact list for email eligibility, a fixed amount
|
|
|
172
173
|
Required shipping appears in `catalog.widget.requiredShipping`. Do not offer this product as a separate shopper choice. The SDK adds its quantity once when a trigger product is selected; the server also enforces this rule. Render authoritative quote line items and totals, including shipping. The built-in launcher and payment summary handle this automatically.
|
|
173
174
|
|
|
174
175
|
|
|
175
|
-
## 0.2.
|
|
176
|
+
## 0.2.176-dev.1 — Secure checkout loading recovery
|
|
176
177
|
|
|
177
178
|
- **Affected:** React payment widget Stripe fields.
|
|
178
179
|
- **Automatic:** failed field or script loads show a reload action. Fields that
|
|
@@ -184,9 +185,23 @@ Required shipping appears in `catalog.widget.requiredShipping`. Do not offer thi
|
|
|
184
185
|
- Reload is an explicit customer action and can clear unsaved form entries.
|
|
185
186
|
Saved payment recovery remains in session storage.
|
|
186
187
|
|
|
187
|
-
|
|
188
188
|
## 0.2.175 — Match Stripe Elements payment method configuration
|
|
189
189
|
|
|
190
|
+
- **Affected:** Core checkout submission and React payment widgets.
|
|
191
|
+
- **Automatic:** React configures explicit card, Link, and community-enabled bank
|
|
192
|
+
methods in Stripe Elements and marks the confirmation request with
|
|
193
|
+
`paymentMethodConfiguration: "explicit"`. This matches the backend's Stripe
|
|
194
|
+
PaymentIntent configuration.
|
|
195
|
+
- **Required:** deploy the backend that supports this optional marker before
|
|
196
|
+
upgrading React. Keep Core and React matched. Existing Core-only callers omit
|
|
197
|
+
the marker and retain automatic payment methods. Custom Elements integrations
|
|
198
|
+
must send the marker only when they use the explicit method list.
|
|
199
|
+
- **Check:** submit card and bank payments through Stripe Elements in test mode,
|
|
200
|
+
including recurring checkout. Confirm pending recovery and settlement.
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
## 0.2.174-dev.1 — Match Stripe Elements payment method configuration
|
|
204
|
+
|
|
190
205
|
- **Affected:** Core checkout submission and React payment widgets.
|
|
191
206
|
- **Automatic:** React configures explicit card, Link, and community-enabled bank
|
|
192
207
|
methods in Stripe Elements and marks the confirmation request with
|
|
@@ -260,7 +275,39 @@ Required shipping appears in `catalog.widget.requiredShipping`. Do not offer thi
|
|
|
260
275
|
verify a changed selection cannot discard it. Check both paid and free order
|
|
261
276
|
confirmation panels. Do not submit a live transaction for this check.
|
|
262
277
|
|
|
263
|
-
## 0.2.
|
|
278
|
+
## 0.2.172-dev.1 — Check pending payment status
|
|
279
|
+
|
|
280
|
+
- **Affected:** React payment widgets with unresolved payments.
|
|
281
|
+
- **Automatic behavior:** the existing pending-payment screen now offers Check
|
|
282
|
+
payment status. It checks the saved payment reference and cannot submit a new
|
|
283
|
+
payment. The control is disabled while the check runs.
|
|
284
|
+
- **Required host changes:** none. Update Core and React together.
|
|
285
|
+
- **Verification:** complete a test bank payment, return to its pending checkout,
|
|
286
|
+
and check its status. Confirm completion clears recovery storage.
|
|
287
|
+
|
|
288
|
+
## 0.2.171-dev.1 — SDK payment recovery and completion UI
|
|
289
|
+
|
|
290
|
+
- **Affected:** React payment widgets and custom hosts that persist payment recovery.
|
|
291
|
+
- **Optional adoption:** pass `recoveryStorageKey` to `LockerversePayment` to let
|
|
292
|
+
the SDK save and restore the pending payment in session storage. Use a stable
|
|
293
|
+
key scoped to the API environment, community, and widget. Remove the host's
|
|
294
|
+
storage code and recovery-driven component key. Do not combine automatic
|
|
295
|
+
persistence with a second host persistence writer.
|
|
296
|
+
- **Compatibility:** the SDK reads the hosted Next app's existing version 1
|
|
297
|
+
records when the same key is used. It writes version 2 records with widget
|
|
298
|
+
identity. It checks widget and selection identity before recovery and keeps
|
|
299
|
+
an unresolved record if those details differ. Recovery uses the saved connected
|
|
300
|
+
account even if current payment routing has changed. Storage is read after hydration,
|
|
301
|
+
before the payable form mounts. No contact details or payment tokens are saved.
|
|
302
|
+
- **Optional UI adoption:** use `completionView="summary"` for the SDK confirmation
|
|
303
|
+
panel and remove the host's duplicate success panel. Completion callbacks still
|
|
304
|
+
run. The default inline message and explicit `resumePayment` integrations remain
|
|
305
|
+
supported. Auctions and legacy custom checkout forms are unchanged.
|
|
306
|
+
- **Check:** reload a pending checkout and confirm the existing payment is checked;
|
|
307
|
+
verify a changed selection cannot discard it. Check both paid and free order
|
|
308
|
+
confirmation panels. Do not submit a live transaction for this check.
|
|
309
|
+
|
|
310
|
+
## 0.2.169-dev.1 — six-month payment widgets
|
|
264
311
|
|
|
265
312
|
Affected: @lockerverse/sdk checkout and @lockerverse/react payment widgets.
|
|
266
313
|
|
|
@@ -276,6 +323,31 @@ Affected: @lockerverse/sdk checkout and @lockerverse/react payment widgets.
|
|
|
276
323
|
submission. Do not submit a live payment for an integration check.
|
|
277
324
|
|
|
278
325
|
|
|
326
|
+
## 0.2.168-dev.1 — bank authorization terms
|
|
327
|
+
|
|
328
|
+
- **Affected:** React payment widgets with ACH enabled.
|
|
329
|
+
- **Automatic:** Stripe displays its bank authorization terms before payment confirmation.
|
|
330
|
+
- **Adoption:** update the matching SDK/React development pair. No prop changes are required.
|
|
331
|
+
- **Check:** confirm that the bank authorization text is visible when a bank account is selected.
|
|
332
|
+
|
|
333
|
+
## 0.2.167-dev.1 — widget ACH and subscription payment recovery
|
|
334
|
+
|
|
335
|
+
- **Affected:** Core checkout data and React payment widgets.
|
|
336
|
+
- **Automatic:** bank payment availability follows the organization default and
|
|
337
|
+
community override returned by the backend. Missing policy remains disabled.
|
|
338
|
+
Pending payments keep their existing payment reference. A failed subscription
|
|
339
|
+
invoice can return `action_required` with `requiresAction: false` and `retryUrl`;
|
|
340
|
+
React shows a link to pay the same invoice instead of creating a second subscription.
|
|
341
|
+
- **Required for custom payment UI:** preserve the reference for pending and
|
|
342
|
+
action-required results. Handle `retryUrl` by opening that invoice, and recover
|
|
343
|
+
status before permitting a new checkout. Do not treat submission as settlement.
|
|
344
|
+
- **Adoption:** deploy the matching backend policy and recovery contract before
|
|
345
|
+
enabling ACH. Existing React hosts need no component prop changes. Keep Core and
|
|
346
|
+
React versions matched when upgrading. Auction payment methods are unchanged.
|
|
347
|
+
- **Check:** verify disabled/inherited/enabled bank visibility and pending, bank
|
|
348
|
+
verification, invoice retry, success, and terminal failure in Stripe test mode.
|
|
349
|
+
Do not create a live transaction for this check.
|
|
350
|
+
|
|
279
351
|
## 0.2.166 — single dropdown arrow
|
|
280
352
|
|
|
281
353
|
- **Affected:** native single-select custom fields in React signup and payment forms.
|
package/guides/auctions.md
CHANGED
package/guides/events.md
CHANGED
package/guides/integration.md
CHANGED
package/guides/signup.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lockerverse/react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.198-dev.1",
|
|
4
4
|
"description": "Tree-shakable React payment and signup UI for Lockerverse",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"embla-carousel-react": "8.6.0",
|
|
137
137
|
"lucide-react": "0.536.0",
|
|
138
138
|
"valibot": "1.4.2",
|
|
139
|
-
"@lockerverse/sdk": "0.2.
|
|
139
|
+
"@lockerverse/sdk": "0.2.198-dev.1"
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
142
|
"@size-limit/file": "13.0.3",
|