@wirexapp/card-topup-web 0.1.0-beta.1 → 0.1.0-beta.3

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 +30 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @wirexapp/card-topup-web
2
2
 
3
+ ## 0.1.0-beta.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [da3aa2e]
8
+ - @wirexapp/card-sdk-core@0.1.0-beta.3
9
+
10
+ ## 0.1.0-beta.2
11
+
12
+ ### Minor Changes
13
+
14
+ - d627675: Reveal copy-button appearance tokens: `copyIconSize`, `colorCopyIcon`,
15
+ `colorCopyIconHover`, `colorCopyIconCopied` (same validated color/length
16
+ grammar as every other token; older frames drop them silently). The frame's
17
+ copy/check glyphs, copied-state timing (2s) and pop-in animation now match
18
+ the Wirex app's native CopyButton.
19
+
20
+ `card-react` additionally re-exports the reveal capability types core does
21
+ not cover (`PciRevealAuth`, `PciRevealElement`, `PciRevealElementConfig`),
22
+ so hosts writing auth helpers can import everything from the one package.
23
+
24
+ New reveal `onCopied` callback (element config + `CardReveal` prop): fires
25
+ when the user copies a row inside the frame, carrying the field name ONLY —
26
+ never the value — so hosts can restore their copy-click analytics.
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies [d627675]
31
+ - @wirexapp/card-sdk-core@0.1.0-beta.2
32
+
3
33
  ## 0.1.0-beta.1
4
34
 
5
35
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirexapp/card-topup-web",
3
- "version": "0.1.0-beta.1",
3
+ "version": "0.1.0-beta.3",
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",
@@ -30,13 +30,13 @@
30
30
  "README.md"
31
31
  ],
32
32
  "scripts": {
33
- "build": "tsc -p tsconfig.build.json",
33
+ "build": "tsc -p tsconfig.build.json && node ../../scripts/fix-esm-extensions.mjs dist",
34
34
  "dev": "tsc -p tsconfig.build.json --watch",
35
- "clean": "rm -rf dist",
35
+ "clean": "rm -rf dist tsconfig.build.tsbuildinfo",
36
36
  "typecheck": "yarn run -T tsc --noEmit",
37
37
  "prepublishOnly": "yarn clean && yarn build"
38
38
  },
39
39
  "dependencies": {
40
- "@wirexapp/card-sdk-core": "0.1.0-beta.1"
40
+ "@wirexapp/card-sdk-core": "0.1.0-beta.3"
41
41
  }
42
42
  }