@bemony/card-embed-react 0.2.0-next.2 → 0.2.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/README.md +4 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -42,9 +42,10 @@ const ref = useRef<BemonyCardEmbedHandle>(null);
|
|
|
42
42
|
const { token } = await ref.current!.tokenize();
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
`environment` aceita `sandbox` ou `
|
|
46
|
-
e
|
|
47
|
-
|
|
45
|
+
`environment` aceita `sandbox`, `production` ou `production_aws` e usa `sandbox` quando omitido.
|
|
46
|
+
`production` e `production_aws` usam o mesmo serviço AWS em
|
|
47
|
+
`https://embed-card-orchestration.bemony.com`. `layout` é opcional e usa `combined` por padrão. A troca de
|
|
48
|
+
`sessionClientSecret`, `environment` ou `layout` desmonta a instância anterior e cria outra. Os callbacks mais recentes são
|
|
48
49
|
encaminhados ao SDK Web sem reinicializar o iframe.
|
|
49
50
|
|
|
50
51
|
Os callbacks públicos incluem `onReady`, `onStateChange`, `onError`, `onSessionExpiring`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bemony/card-embed-react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Official React adapter for the secure Bemony Card Embed SDK.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bemony",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@bemony/card-embed": "^0.2.
|
|
38
|
+
"@bemony/card-embed": "^0.2.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": ">=19.0.0 <20.0.0",
|