@bemony/card-embed-react 0.2.2 → 0.3.0-next.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/README.md +6 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -42,9 +42,12 @@ const ref = useRef<BemonyCardEmbedHandle>(null);
|
|
|
42
42
|
const { token } = await ref.current!.tokenize();
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
`environment` aceita `sandbox`, `production` ou `
|
|
46
|
-
`production`
|
|
47
|
-
`https://embed-card-orchestration.bemony.com`, com reserva em `https://action.oakvesselhq.com`.
|
|
45
|
+
`environment` aceita `sandbox`, `production`, `bemony_prod` ou `bemony_hom` e usa `sandbox` quando omitido.
|
|
46
|
+
`production` usa o serviço AWS em
|
|
47
|
+
`https://embed-card-orchestration.bemony.com`, com reserva em `https://action.oakvesselhq.com`.
|
|
48
|
+
`bemony_prod` seleciona `routing-embed-card.bemony.com` e `routing-embed-card.bmny.io`;
|
|
49
|
+
`bemony_hom` seleciona `routing-embed-card-homolog.bemony.com` e
|
|
50
|
+
`routing-embed-card-homolog.bmny.io`. `layout` é opcional e usa `combined` por padrão. A troca de
|
|
48
51
|
`sessionClientSecret`, `environment` ou `layout` desmonta a instância anterior e cria outra. Os callbacks mais recentes são
|
|
49
52
|
encaminhados ao SDK Web sem reinicializar o iframe.
|
|
50
53
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bemony/card-embed-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0-next.0",
|
|
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.
|
|
38
|
+
"@bemony/card-embed": "^0.3.0-next.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": ">=19.0.0 <20.0.0",
|