@wirexapp/card-topup-web 1.1.0-beta.3 → 1.1.0-beta.4

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # @wirexapp/card-topup-web
2
2
 
3
+ ## 1.1.0-beta.4
4
+
5
+ ### Minor Changes
6
+
7
+ - 731da3e: Wallet checkout TOKEN MODE (WPAY-4431): pass the backend's short-lived top-up
8
+ token as `auth.checkoutToken` and the hosted checkout executes the top-up
9
+ itself, reporting `onExecuted` / `onExecuteFailed` (`wallet-executed` /
10
+ `wallet-execute-failed` on the wire) — the wallet payment token never leaves
11
+ the frame. Legacy tokenize-and-return (`onToken`) is unchanged without `auth`.
12
+
13
+ Token mode also brings Google Pay to desktop (`googlePayHandoff: 'qr' | 'none'`,
14
+ probe flag `googlePayHandoff`): the frame draws a QR that carries the checkout
15
+ itself — the token, the quote and the estimate's `provider` name (new init /
16
+ `arm()` / `update()` field) — and an Android phone opens the same checkout
17
+ top-level, pays and executes. Nothing is stored on the frames service and the
18
+ desktop never learns the outcome: hosts reconcile by their own status reads
19
+ after `wallet-state: handoff-pending`. `arm(quote, config, auth?, provider?)` /
20
+ `update(quote, config?, auth?, provider?)`; `wallet-update` carries `auth` and
21
+ `provider`; new `wallet-state` values `executing`, `handoff-pending`.
22
+
23
+ `buildWalletLaunchFragment` / `buildWalletLaunchUrl` (core) build the same
24
+ compact fragment for a Chrome Custom Tab launch (`#t=&e=&s=&p=[&r=]`); the page
25
+ resolves the provider block from the public BaaS config by name.
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies [731da3e]
30
+ - @wirexapp/card-sdk-core@1.1.0-beta.4
31
+
3
32
  ## 1.1.0-beta.3
4
33
 
5
34
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirexapp/card-topup-web",
3
- "version": "1.1.0-beta.3",
3
+ "version": "1.1.0-beta.4",
4
4
  "type": "module",
5
5
  "description": "Collect an external card for top-up inside Wirex-served PCI iframes; the host receives only a token. CHD-free loader.",
6
6
  "license": "UNLICENSED",
@@ -37,6 +37,6 @@
37
37
  "prepublishOnly": "yarn clean && yarn build"
38
38
  },
39
39
  "dependencies": {
40
- "@wirexapp/card-sdk-core": "1.1.0-beta.3"
40
+ "@wirexapp/card-sdk-core": "1.1.0-beta.4"
41
41
  }
42
42
  }