@tap-payments/connect 2.7.8-test → 2.8.0-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.7.8-test/main.js"></script>
88
+ <script src="https://tap-sdks.b-cdn.net/connect/build-2.8.0-test/main.js"></script>
89
89
  </head>
90
90
  <body>
91
91
  <div id="root"></div>
@@ -1,4 +1,4 @@
1
- export declare const CDN_LIBRARY_BASE_URL = "https://auth-jsconnect.b-cdn.net/build-2.7.8-test/";
1
+ export declare const CDN_LIBRARY_BASE_URL = "https://auth-jsconnect.b-cdn.net/build-2.8.0-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.7.8-test/';
1
+ export var CDN_LIBRARY_BASE_URL = 'https://auth-jsconnect.b-cdn.net/build-2.8.0-test/';
2
2
  export var Maturity = {
3
3
  FULL: 'full',
4
4
  EXPRESS: 'express'
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  import { ConnectProps as ConnectAttrs } from '../../@types';
3
3
  export type ConnectProps = Omit<ConnectAttrs, 'elementId'>;
4
- export declare const TapConnect: React.MemoExoticComponent<(props: ConnectAttrs) => import("react/jsx-runtime").JSX.Element>;
4
+ export declare const TapConnect: React.MemoExoticComponent<(props: ConnectAttrs) => JSX.Element>;
5
5
  export declare const renderTapConnect: (props: ConnectProps, elementId: string) => Promise<any>;
@@ -3,5 +3,5 @@ import { ConnectProps as ConnectAttrs } from '../../@types';
3
3
  export type ConnectAuthProps = Pick<ConnectAttrs, 'open' | 'domain' | 'publicKey' | 'redirectUrl' | 'data' | 'postURL' | 'lead' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'hideOverlay' | 'hideMerchantLogo' | 'hideLoaderOverlay' | 'openAnimationDirection' | 'closeAnimationDirection'>;
4
4
  export declare const TapConnectAuth: React.MemoExoticComponent<(props: ConnectAuthProps & {
5
5
  id?: string;
6
- }) => import("react/jsx-runtime").JSX.Element>;
6
+ }) => JSX.Element>;
7
7
  export declare const renderTapConnectAuth: (props: ConnectAuthProps, elementId: string) => Promise<any>;
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { ConnectProps as ConnectAttrs } from '../../@types';
3
- type BankProps = Pick<ConnectAttrs, 'open' | 'mode' | 'scope' | 'domain' | 'publicKey' | 'postURL' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'loaderColor' | 'settingData' | 'onSettingFetched'>;
3
+ type BankProps = Pick<ConnectAttrs, 'open' | 'mode' | 'scope' | 'domain' | 'board' | 'publicKey' | 'postURL' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'loaderColor' | 'settingData' | 'onSettingFetched'>;
4
4
  export type TapBankProps = BankProps & {
5
5
  verifyToken: string;
6
6
  onBoardButtonClick: (data: Record<string, string>) => void;
7
7
  };
8
8
  export declare const TapBank: React.MemoExoticComponent<(props: TapBankProps & {
9
9
  id?: string;
10
- }) => import("react/jsx-runtime").JSX.Element>;
10
+ }) => JSX.Element>;
11
11
  export declare const renderTapBank: (props: TapBankProps, elementId: string) => Promise<any>;
12
12
  export {};
@@ -70,6 +70,7 @@ var Bank = function (props) {
70
70
  mode: props.mode,
71
71
  scope: props.scope,
72
72
  merchantDomain: props.domain,
73
+ showBoard: props.board,
73
74
  publicKey: props.publicKey,
74
75
  postURL: props.postURL,
75
76
  appInfo: {
@@ -6,5 +6,5 @@ export type TapBoardProps = BoardProps & {
6
6
  };
7
7
  export declare const TapBoard: React.MemoExoticComponent<(props: TapBoardProps & {
8
8
  id?: string;
9
- }) => import("react/jsx-runtime").JSX.Element>;
9
+ }) => JSX.Element>;
10
10
  export declare const renderTapBoard: (props: TapBoardProps, elementId: string) => Promise<any>;
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { ConnectProps as ConnectAttrs } from '../../@types';
3
- type BrandProps = Pick<ConnectAttrs, 'open' | 'mode' | 'scope' | 'domain' | 'publicKey' | 'postURL' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'loaderColor' | 'settingData' | 'onSettingFetched'>;
3
+ type BrandProps = Pick<ConnectAttrs, 'open' | 'mode' | 'scope' | 'domain' | 'board' | 'publicKey' | 'postURL' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'loaderColor' | 'settingData' | 'onSettingFetched'>;
4
4
  export type TapBrandProps = BrandProps & {
5
5
  verifyToken: string;
6
6
  onBoardButtonClick: (data: Record<string, string>) => void;
7
7
  };
8
8
  export declare const TapBrand: React.MemoExoticComponent<(props: TapBrandProps & {
9
9
  id?: string;
10
- }) => import("react/jsx-runtime").JSX.Element>;
10
+ }) => JSX.Element>;
11
11
  export declare const renderTapBrand: (props: TapBrandProps, elementId: string) => Promise<any>;
12
12
  export {};
@@ -70,6 +70,7 @@ var Brand = function (props) {
70
70
  mode: props.mode,
71
71
  scope: props.scope,
72
72
  merchantDomain: props.domain,
73
+ showBoard: props.board,
73
74
  publicKey: props.publicKey,
74
75
  postURL: props.postURL,
75
76
  appInfo: {
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { ConnectProps as ConnectAttrs } from '../../@types';
3
- type EntityProps = Pick<ConnectAttrs, 'open' | 'mode' | 'scope' | 'domain' | 'publicKey' | 'postURL' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'loaderColor' | 'settingData' | 'onSettingFetched'>;
3
+ type EntityProps = Pick<ConnectAttrs, 'open' | 'mode' | 'scope' | 'domain' | 'board' | 'publicKey' | 'postURL' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'loaderColor' | 'settingData' | 'onSettingFetched'>;
4
4
  export type TapEntityProps = EntityProps & {
5
5
  verifyToken: string;
6
6
  onBoardButtonClick: (data: Record<string, string>) => void;
7
7
  };
8
8
  export declare const TapEntity: React.MemoExoticComponent<(props: TapEntityProps & {
9
9
  id?: string;
10
- }) => import("react/jsx-runtime").JSX.Element>;
10
+ }) => JSX.Element>;
11
11
  export declare const renderTapEntity: (props: TapEntityProps, elementId: string) => Promise<any>;
12
12
  export {};
@@ -70,6 +70,7 @@ var Entity = function (props) {
70
70
  mode: props.mode,
71
71
  scope: props.scope,
72
72
  merchantDomain: props.domain,
73
+ showBoard: props.board,
73
74
  publicKey: props.publicKey,
74
75
  postURL: props.postURL,
75
76
  appInfo: {
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { ConnectProps as ConnectAttrs } from '../../@types';
3
- type IndividualProps = Pick<ConnectAttrs, 'open' | 'mode' | 'scope' | 'domain' | 'publicKey' | 'postURL' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'loaderColor' | 'settingData' | 'onSettingFetched'>;
3
+ type IndividualProps = Pick<ConnectAttrs, 'open' | 'mode' | 'scope' | 'domain' | 'board' | 'publicKey' | 'postURL' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'loaderColor' | 'settingData' | 'onSettingFetched'>;
4
4
  export type TapIndividualProps = IndividualProps & {
5
5
  verifyToken: string;
6
6
  onBoardButtonClick: (data: Record<string, string>) => void;
7
7
  };
8
8
  export declare const TapIndividual: React.MemoExoticComponent<(props: TapIndividualProps & {
9
9
  id?: string;
10
- }) => import("react/jsx-runtime").JSX.Element>;
10
+ }) => JSX.Element>;
11
11
  export declare const renderTapIndividual: (props: TapIndividualProps, elementId: string) => Promise<any>;
12
12
  export {};
@@ -70,6 +70,7 @@ var Individual = function (props) {
70
70
  mode: props.mode,
71
71
  scope: props.scope,
72
72
  merchantDomain: props.domain,
73
+ showBoard: props.board,
73
74
  publicKey: props.publicKey,
74
75
  postURL: props.postURL,
75
76
  appInfo: {
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { ConnectProps as ConnectAttrs } from '../../@types';
3
- type PasswordProps = Pick<ConnectAttrs, 'open' | 'mode' | 'scope' | 'domain' | 'publicKey' | 'postURL' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'loaderColor' | 'settingData' | 'onSettingFetched'>;
3
+ type PasswordProps = Pick<ConnectAttrs, 'open' | 'mode' | 'scope' | 'domain' | 'board' | 'publicKey' | 'postURL' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'loaderColor' | 'settingData' | 'onSettingFetched'>;
4
4
  export type TapPasswordProps = PasswordProps & {
5
5
  verifyToken: string;
6
6
  onBoardButtonClick: (data: Record<string, string>) => void;
7
7
  };
8
8
  export declare const TapPassword: React.MemoExoticComponent<(props: TapPasswordProps & {
9
9
  id?: string;
10
- }) => import("react/jsx-runtime").JSX.Element>;
10
+ }) => JSX.Element>;
11
11
  export declare const renderTapPassword: (props: TapPasswordProps, elementId: string) => Promise<any>;
12
12
  export {};
@@ -70,6 +70,7 @@ var Password = function (props) {
70
70
  mode: props.mode,
71
71
  scope: props.scope,
72
72
  merchantDomain: props.domain,
73
+ showBoard: props.board,
73
74
  publicKey: props.publicKey,
74
75
  postURL: props.postURL,
75
76
  appInfo: {
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { ConnectProps as ConnectAttrs } from '../../@types';
3
- type TaxProps = Pick<ConnectAttrs, 'open' | 'mode' | 'scope' | 'domain' | 'publicKey' | 'postURL' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'loaderColor' | 'settingData' | 'onSettingFetched'>;
3
+ type TaxProps = Pick<ConnectAttrs, 'open' | 'mode' | 'scope' | 'domain' | 'board' | 'publicKey' | 'postURL' | 'country' | 'language' | 'onSuccess' | 'onError' | 'onReady' | 'onClose' | 'loaderColor' | 'settingData' | 'onSettingFetched'>;
4
4
  export type TapTaxProps = TaxProps & {
5
5
  verifyToken: string;
6
6
  onBoardButtonClick: (data: Record<string, string>) => void;
7
7
  };
8
8
  export declare const TapTax: React.MemoExoticComponent<(props: TapTaxProps & {
9
9
  id?: string;
10
- }) => import("react/jsx-runtime").JSX.Element>;
10
+ }) => JSX.Element>;
11
11
  export declare const renderTapTax: (props: TapTaxProps, elementId: string) => Promise<any>;
12
12
  export {};
@@ -70,6 +70,7 @@ var Tax = function (props) {
70
70
  mode: props.mode,
71
71
  scope: props.scope,
72
72
  merchantDomain: props.domain,
73
+ showBoard: props.board,
73
74
  publicKey: props.publicKey,
74
75
  postURL: props.postURL,
75
76
  appInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/connect",
3
- "version": "2.7.8-test",
3
+ "version": "2.8.0-test",
4
4
  "description": "Tap Connect",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.js",