@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.67-test/main.js"></script>
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` |
@@ -12,6 +12,7 @@ export interface ConnectProps {
12
12
  board?: boolean;
13
13
  boardMaturity?: boolean;
14
14
  hideOverlay?: boolean;
15
+ hideMerchantLogo?: boolean;
15
16
  open: boolean;
16
17
  postURL?: string;
17
18
  redirectUrl?: string;
@@ -1,4 +1,4 @@
1
- export declare const CDN_LIBRARY_BASE_URL = "https://auth-jsconnect.b-cdn.net/build-2.6.65-test/";
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";
@@ -1,4 +1,4 @@
1
- export var CDN_LIBRARY_BASE_URL = 'https://auth-jsconnect.b-cdn.net/build-2.6.65-test/';
1
+ export var CDN_LIBRARY_BASE_URL = 'https://auth-jsconnect.b-cdn.net/build-2.6.68-test/';
2
2
  export var Maturity = {
3
3
  FULL: 'full',
4
4
  EXPRESS: 'express'
@@ -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();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/connect",
3
- "version": "2.6.67-test",
3
+ "version": "2.6.68-test",
4
4
  "description": "Tap Connect",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.js",