@wirexapp/card-wallet-topup-web 1.1.0-beta.4 → 1.1.0
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/CHANGELOG.md +85 -0
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,90 @@
|
|
|
1
1
|
# @wirexapp/card-wallet-topup-web
|
|
2
2
|
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- b43affc: Wallet availability tells WHY Google Pay is unavailable: `PciWalletAvailability`
|
|
8
|
+
gains `googlePayState` — `ready` / `handoff` / `needs_card` / `unavailable`.
|
|
9
|
+
`needs_card` is an Android device where Google Pay works but no card in Google
|
|
10
|
+
Wallet on the phone qualifies for the cryptogram-only top-up (the probe's
|
|
11
|
+
cryptogram check fails, a `PAN_ONLY` capability check passes, and the WebView
|
|
12
|
+
is at or above the config's `min_webview_version`). A host may keep the wallet
|
|
13
|
+
row and send the user to Google Wallet instead of checkout.
|
|
14
|
+
|
|
15
|
+
Additive: `googlePay` keeps meaning "can pay here", so hosts that ignore the
|
|
16
|
+
new field behave as before. `checkWalletAvailability` persists the field and
|
|
17
|
+
derives it from the booleans when an older frames deployment omits it.
|
|
18
|
+
|
|
19
|
+
- 1d89a12: Wallet polish: `checkWalletAvailability` gains a persistent
|
|
20
|
+
stale-while-revalidate `cache` option (Storage-shaped adapter,
|
|
21
|
+
localStorage by default, `null` to disable); the checkout popup centers
|
|
22
|
+
over the opener window; the payment-sheet's billing contact, cardholder
|
|
23
|
+
name and Apple transaction id ride the token payload as optional fields
|
|
24
|
+
(collected only when the provider config requests billing).
|
|
25
|
+
- 5f67be4: Wallet checkout polish: loading skeleton + popup page padding; the popup
|
|
26
|
+
carries `appearance` in the URL fragment so the pre-quote skeleton renders
|
|
27
|
+
themed; privacy-only legal line with a partner-configurable
|
|
28
|
+
`branding.privacyUrl` (https-only, validated in-frame, Wirex policy
|
|
29
|
+
fallback); Google Pay button draws the design pill radius natively; fee row
|
|
30
|
+
rounds up to the minor unit (host-app parity).
|
|
31
|
+
- 731da3e: Wallet checkout TOKEN MODE (WPAY-4431): pass the backend's short-lived top-up
|
|
32
|
+
token as `auth.checkoutToken` and the hosted checkout executes the top-up
|
|
33
|
+
itself, reporting `onExecuted` / `onExecuteFailed` (`wallet-executed` /
|
|
34
|
+
`wallet-execute-failed` on the wire) — the wallet payment token never leaves
|
|
35
|
+
the frame. Legacy tokenize-and-return (`onToken`) is unchanged without `auth`.
|
|
36
|
+
|
|
37
|
+
Token mode also brings Google Pay to desktop (`googlePayHandoff: 'qr' | 'none'`,
|
|
38
|
+
probe flag `googlePayHandoff`): the frame draws a QR that carries the checkout
|
|
39
|
+
itself — the token, the quote and the estimate's `provider` name (new init /
|
|
40
|
+
`arm()` / `update()` field) — and an Android phone opens the same checkout
|
|
41
|
+
top-level, pays and executes. Nothing is stored on the frames service and the
|
|
42
|
+
desktop never learns the outcome: hosts reconcile by their own status reads
|
|
43
|
+
after `wallet-state: handoff-pending`. `arm(quote, config, auth?, provider?)` /
|
|
44
|
+
`update(quote, config?, auth?, provider?)`; `wallet-update` carries `auth` and
|
|
45
|
+
`provider`; new `wallet-state` values `executing`, `handoff-pending`.
|
|
46
|
+
|
|
47
|
+
`buildWalletLaunchFragment` / `buildWalletLaunchUrl` (core) build the same
|
|
48
|
+
compact fragment for a Chrome Custom Tab launch (`#t=&e=&s=&p=[&r=]`); the page
|
|
49
|
+
resolves the provider block from the public BaaS config by name.
|
|
50
|
+
|
|
51
|
+
- c57257e: The wallet top-up surface is stable. `card-wallet-topup-web` and the wallet
|
|
52
|
+
exports of `card-react` / `card-sdk-web` (`useWalletAvailability`,
|
|
53
|
+
`WalletTopUpForm`, `createWalletTopUpForm`, `openWalletCheckoutPopup`) ship
|
|
54
|
+
on `latest` with the rest of the family, under the same semver guarantees as
|
|
55
|
+
the PCI packages. The `@beta` TSDoc markers are gone, and the `beta` dist-tag
|
|
56
|
+
is no longer published to: install the family without a tag, all packages on
|
|
57
|
+
one version.
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- 274c69f: Fixed: the frames rendered as solid white rectangles in host pages that declare
|
|
62
|
+
`<meta name="color-scheme" content="dark">` (or `light dark` with dark
|
|
63
|
+
preferred) — typical of hybrid-app shells and dark-themed sites. The SDK set
|
|
64
|
+
`color-scheme: normal` on the iframe element; Chromium resolves `normal` from
|
|
65
|
+
the host's meta, so under a dark host the element became dark while the frame
|
|
66
|
+
document is light, and on that mismatch the browser paints the frame's canvas
|
|
67
|
+
opaque (CSS Color Adjust). The iframe element is now explicitly
|
|
68
|
+
`color-scheme: light`, matching the frame documents, which now declare
|
|
69
|
+
`:root { color-scheme: light }` as well — the frames stay transparent under any
|
|
70
|
+
host scheme. Hosts that set their dark theme through CSS alone were never
|
|
71
|
+
affected. The SDK change alone removes the mismatch for an updated host; the
|
|
72
|
+
frame-document change makes the pair explicit and independent of any meta.
|
|
73
|
+
- Updated dependencies [8097859]
|
|
74
|
+
- Updated dependencies [901cddf]
|
|
75
|
+
- Updated dependencies [cc46627]
|
|
76
|
+
- Updated dependencies [390c416]
|
|
77
|
+
- Updated dependencies [274c69f]
|
|
78
|
+
- Updated dependencies [b43affc]
|
|
79
|
+
- Updated dependencies [d4654e9]
|
|
80
|
+
- Updated dependencies [417ab29]
|
|
81
|
+
- Updated dependencies [1d89a12]
|
|
82
|
+
- Updated dependencies [5f67be4]
|
|
83
|
+
- Updated dependencies [33b4595]
|
|
84
|
+
- Updated dependencies [a629a98]
|
|
85
|
+
- Updated dependencies [731da3e]
|
|
86
|
+
- @wirexapp/card-sdk-core@1.1.0
|
|
87
|
+
|
|
3
88
|
## 1.1.0-beta.4
|
|
4
89
|
|
|
5
90
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -64,7 +64,6 @@ export interface CheckWalletAvailabilityOptions {
|
|
|
64
64
|
*/
|
|
65
65
|
export declare const checkWalletAvailability: (sdk: PciSdkConfig, options?: CheckWalletAvailabilityOptions) => Promise<PciWalletAvailability>;
|
|
66
66
|
/** Combined variant: review screen + wallet buttons in one Wirex-served frame. */
|
|
67
|
-
/** @beta Wallet top-up is in beta — breaking changes may land in beta releases. */
|
|
68
67
|
export declare const createWalletTopUpForm: (sdk: PciSdkConfig, config: WalletTopUpFormConfig) => WalletTopUpForm;
|
|
69
68
|
export type * from '@wirexapp/card-sdk-core';
|
|
70
69
|
export { PciFrameRequestError } from '@wirexapp/card-sdk-core';
|
|
@@ -77,7 +76,6 @@ export { PciFrameRequestError } from '@wirexapp/card-sdk-core';
|
|
|
77
76
|
* Token mode (`auth`, or `arm(quote, walletConfig, auth)`): the popup
|
|
78
77
|
* executes and reports `onExecuted` / `onExecuteFailed`; on desktop it draws
|
|
79
78
|
* the Google Pay QR for the user's phone. */
|
|
80
|
-
/** @beta Wallet top-up is in beta — breaking changes may land in beta releases. */
|
|
81
79
|
export declare const openWalletCheckoutPopup: (sdk: PciSdkConfig, config: PciWalletTopUpPopupConfig) => PciWalletTopUpPopup;
|
|
82
80
|
export type { PciWalletTopUpPopup as WalletTopUpPopup, PciWalletTopUpPopupConfig as WalletTopUpPopupConfig };
|
|
83
81
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,KAAK,2BAA2B,EACjC,MAAM,iBAAiB,CAA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Url;
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
|
+
const GOOGLE_PAY_STATES = new Set(['ready', 'handoff', 'needs_card', 'unavailable']);
|
|
59
|
+
/** Frames that predate `googlePayState` answer booleans only — derive it, so a
|
|
60
|
+
* host always switches on one field. */
|
|
61
|
+
const withGooglePayState = (availability) => availability.googlePayState
|
|
62
|
+
? availability
|
|
63
|
+
: {
|
|
64
|
+
...availability,
|
|
65
|
+
googlePayState: availability.googlePay ? 'ready' : availability.googlePayHandoff ? 'handoff' : 'unavailable',
|
|
66
|
+
};
|
|
58
67
|
const readPersistedAvailability = (cache, key) => {
|
|
59
68
|
try {
|
|
60
69
|
const raw = cache.getItem(key);
|
|
@@ -62,11 +71,14 @@ const readPersistedAvailability = (cache, key) => {
|
|
|
62
71
|
return null;
|
|
63
72
|
const parsed = JSON.parse(raw);
|
|
64
73
|
if (typeof parsed.applePay === 'boolean' && typeof parsed.googlePay === 'boolean') {
|
|
65
|
-
return {
|
|
74
|
+
return withGooglePayState({
|
|
66
75
|
applePay: parsed.applePay,
|
|
67
76
|
googlePay: parsed.googlePay,
|
|
68
77
|
...(typeof parsed.googlePayHandoff === 'boolean' ? { googlePayHandoff: parsed.googlePayHandoff } : {}),
|
|
69
|
-
|
|
78
|
+
...(GOOGLE_PAY_STATES.has(parsed.googlePayState)
|
|
79
|
+
? { googlePayState: parsed.googlePayState }
|
|
80
|
+
: {}),
|
|
81
|
+
});
|
|
70
82
|
}
|
|
71
83
|
}
|
|
72
84
|
catch {
|
|
@@ -101,6 +113,7 @@ export const checkWalletAvailability = (sdk, options) => {
|
|
|
101
113
|
const cache = options?.cache === undefined ? defaultAvailabilityCache() : options.cache;
|
|
102
114
|
const cacheKey = availabilityCacheKey(frameUrl);
|
|
103
115
|
const probe = probeWalletAvailability(frameUrl, options?.config)
|
|
116
|
+
.then(withGooglePayState)
|
|
104
117
|
.then(fresh => {
|
|
105
118
|
if (cache)
|
|
106
119
|
writePersistedAvailability(cache, cacheKey, fresh);
|
|
@@ -127,7 +140,6 @@ export const checkWalletAvailability = (sdk, options) => {
|
|
|
127
140
|
return probe;
|
|
128
141
|
};
|
|
129
142
|
/** Combined variant: review screen + wallet buttons in one Wirex-served frame. */
|
|
130
|
-
/** @beta Wallet top-up is in beta — breaking changes may land in beta releases. */
|
|
131
143
|
export const createWalletTopUpForm = (sdk, config) => new PciWalletTopUpElement(buildFrameUrl(sdk, 'wallet-checkout'), config);
|
|
132
144
|
// Value re-export so `error instanceof PciFrameRequestError` works when
|
|
133
145
|
// imported from this package.
|
|
@@ -141,6 +153,5 @@ export { PciFrameRequestError } from '@wirexapp/card-sdk-core';
|
|
|
141
153
|
* Token mode (`auth`, or `arm(quote, walletConfig, auth)`): the popup
|
|
142
154
|
* executes and reports `onExecuted` / `onExecuteFailed`; on desktop it draws
|
|
143
155
|
* the Google Pay QR for the user's phone. */
|
|
144
|
-
/** @beta Wallet top-up is in beta — breaking changes may land in beta releases. */
|
|
145
156
|
export const openWalletCheckoutPopup = (sdk, config) => openWalletTopUpPopup(buildFrameUrl(sdk, 'wallet-checkout'), config);
|
|
146
157
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EACL,aAAa,GAId,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,uBAAuB,EACvB,qBAAqB,GAEtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,oBAAoB,GAGrB,MAAM,eAAe,CAAC;AAEvB,6EAA6E;AAC7E,0EAA0E;AAC1E,4EAA4E;AAC5E,0CAA0C;AAC1C,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,GACrB,CAAC;AAYF;;;;cAIc;AACd,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAA0C,CAAC;AA2B5E,MA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,EAAE,OAAO,CAAC,CAAC;QACzC,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,iBAAiB,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IACvC,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF,kFAAkF;AAClF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,GAAiB,EACjB,MAA6B,EACZ,EAAE,CAAC,IAAI,qBAAqB,CAAC,aAAa,CAAC,GAAG,EAAE,iBAAiB,CAAC,EAAE,MAAM,CAAC,CAAC;AAK/F,wEAAwE;AACxE,8BAA8B;AAC9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D;;;;;;;;8CAQ8C;AAC9C,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACrC,GAAiB,EACjB,MAAiC,EACZ,EAAE,CAAC,oBAAoB,CAAC,aAAa,CAAC,GAAG,EAAE,iBAAiB,CAAC,EAAE,MAAM,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirexapp/card-wallet-topup-web",
|
|
3
|
-
"version": "1.1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Top up via Apple Pay / Google Pay inside a Wirex-served checkout iframe — review screen + wallet buttons under Wirex's merchant identity; the payment sheet's encrypted token is returned to the host, which executes the top-up. No wallet onboarding on the partner side.",
|
|
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
|
|
40
|
+
"@wirexapp/card-sdk-core": "1.1.0"
|
|
41
41
|
}
|
|
42
42
|
}
|