@tap-payments/connect 2.6.67-test → 2.6.68-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
CHANGED
|
@@ -85,7 +85,7 @@ const ConnectComponent = () => {
|
|
|
85
85
|
content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no"
|
|
86
86
|
/>
|
|
87
87
|
<title>Auth-JsConnect</title>
|
|
88
|
-
<script src="https://tap-sdks.b-cdn.net/connect/build-2.6.
|
|
88
|
+
<script src="https://tap-sdks.b-cdn.net/connect/build-2.6.68-test/main.js"></script>
|
|
89
89
|
</head>
|
|
90
90
|
<body>
|
|
91
91
|
<div id="root"></div>
|
|
@@ -151,6 +151,7 @@ const ConnectComponent = () => {
|
|
|
151
151
|
| board `optional` | `string` | Show/Hide board screens |
|
|
152
152
|
| open `required` | `boolean` | Open/Close the connect library |
|
|
153
153
|
| hideOverlay `optional` | `boolean` | Used to disable the **auth** background color and it can be used only for auth kit |
|
|
154
|
+
| hideMerchantLogo `optional` | `boolean` | Used to hide the **auth** merchant logo and it can be used only for auth kit |
|
|
154
155
|
| boardMaturity `optional` | `boolean` | Decide the board maturity |
|
|
155
156
|
| postURL `optional` | `string` | The POST Method URL used to push te data from our server to the merchant server and |
|
|
156
157
|
| | | it's required only if `mature` is `false` |
|
package/build/@types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const CDN_LIBRARY_BASE_URL = "https://auth-jsconnect.b-cdn.net/build-2.6.
|
|
1
|
+
export declare const CDN_LIBRARY_BASE_URL = "https://auth-jsconnect.b-cdn.net/build-2.6.68-test/";
|
|
2
2
|
export declare const Maturity: {
|
|
3
3
|
readonly FULL: "full";
|
|
4
4
|
readonly EXPRESS: "express";
|
package/build/constants/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ConnectProps as ConnectAttrs } from '../../@types';
|
|
3
|
-
export type ConnectAuthProps = Pick<ConnectAttrs, 'open' | 'domain' | 'publicKey' | 'redirectUrl' | 'data' | 'postURL' | 'lead' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'hideOverlay'>;
|
|
3
|
+
export type ConnectAuthProps = Pick<ConnectAttrs, 'open' | 'domain' | 'publicKey' | 'redirectUrl' | 'data' | 'postURL' | 'lead' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'hideOverlay' | 'hideMerchantLogo'>;
|
|
4
4
|
export declare const TapConnectAuth: React.MemoExoticComponent<(props: ConnectAuthProps & {
|
|
5
5
|
id?: string;
|
|
6
6
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -84,7 +84,8 @@ var ConnectAuth = function (props) {
|
|
|
84
84
|
onError: props.onError,
|
|
85
85
|
onReady: props.onReady,
|
|
86
86
|
onClose: props.onClose,
|
|
87
|
-
hideOverlay: props.hideOverlay
|
|
87
|
+
hideOverlay: props.hideOverlay,
|
|
88
|
+
hideMerchantLogo: props.hideMerchantLogo
|
|
88
89
|
}, (_a = props.id) !== null && _a !== void 0 ? _a : 'tap-connect-auth-lib-id').unmount;
|
|
89
90
|
return function () {
|
|
90
91
|
unmount();
|