@tap-payments/connect 0.0.4-test → 0.0.5-test
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 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -106,7 +106,7 @@ const ConnectFullComponent = () => {
|
|
|
106
106
|
content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no"
|
|
107
107
|
/>
|
|
108
108
|
<title>Auth-JsConnect</title>
|
|
109
|
-
<script src="https://connect-auth.b-cdn.net/build-0.0.
|
|
109
|
+
<script src="https://connect-auth.b-cdn.net/build-0.0.5-test/main.js"></script>
|
|
110
110
|
</head>
|
|
111
111
|
<body>
|
|
112
112
|
<div id="root"></div>
|
|
@@ -117,15 +117,15 @@ const ConnectFullComponent = () => {
|
|
|
117
117
|
const startConnectAuth = () => {
|
|
118
118
|
const { unmount } = renderTapConnect(
|
|
119
119
|
{
|
|
120
|
-
publicKey: '
|
|
120
|
+
publicKey: 'pk_test_xxxxxxxxxxxxxxxxxxxxxxxx',
|
|
121
121
|
open: true,
|
|
122
122
|
country: 'SA',
|
|
123
123
|
language: Language.EN,
|
|
124
124
|
mature: true,
|
|
125
125
|
domain: 'https://example.com',
|
|
126
126
|
scope: 'merchant',
|
|
127
|
-
lead: '
|
|
128
|
-
postURL: 'https://example.com',
|
|
127
|
+
lead: 'led_xxxxxxxxxxxxxxxxxxxxxx',
|
|
128
|
+
postURL: 'https://api.example.com/post',
|
|
129
129
|
board: true,
|
|
130
130
|
onSuccess: (data) => console.log('onSuccess', data),
|
|
131
131
|
onError: (err) => console.log('onError', err),
|