@tap-payments/connect 2.10.5-beta → 2.10.7-beta

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.
Files changed (52) hide show
  1. package/README.md +171 -171
  2. package/build/@types/config.d.ts +63 -63
  3. package/build/@types/config.js +1 -1
  4. package/build/@types/index.d.ts +74 -74
  5. package/build/@types/index.js +1 -1
  6. package/build/api/index.d.ts +12 -12
  7. package/build/api/index.js +95 -95
  8. package/build/constants/index.d.ts +17 -17
  9. package/build/constants/index.js +17 -17
  10. package/build/features/Connect/Connect.d.ts +5 -5
  11. package/build/features/Connect/Connect.js +150 -150
  12. package/build/features/Connect/ConnectAuth.d.ts +7 -7
  13. package/build/features/Connect/ConnectAuth.js +115 -115
  14. package/build/features/Connect/ConnectBank.d.ts +12 -12
  15. package/build/features/Connect/ConnectBank.js +118 -118
  16. package/build/features/Connect/ConnectBoard.d.ts +10 -10
  17. package/build/features/Connect/ConnectBoard.js +117 -117
  18. package/build/features/Connect/ConnectBrand.d.ts +12 -12
  19. package/build/features/Connect/ConnectBrand.js +118 -118
  20. package/build/features/Connect/ConnectEntity.d.ts +12 -12
  21. package/build/features/Connect/ConnectEntity.js +118 -118
  22. package/build/features/Connect/ConnectExpress.d.ts +4 -4
  23. package/build/features/Connect/ConnectExpress.js +78 -78
  24. package/build/features/Connect/ConnectFull.d.ts +4 -4
  25. package/build/features/Connect/ConnectFull.js +13 -13
  26. package/build/features/Connect/ConnectIndividual.d.ts +12 -12
  27. package/build/features/Connect/ConnectIndividual.js +118 -118
  28. package/build/features/Connect/ConnectPassword.d.ts +12 -12
  29. package/build/features/Connect/ConnectPassword.js +118 -118
  30. package/build/features/Connect/ConnectTax.d.ts +12 -12
  31. package/build/features/Connect/ConnectTax.js +118 -118
  32. package/build/features/Connect/index.d.ts +11 -11
  33. package/build/features/Connect/index.js +10 -10
  34. package/build/hooks/index.d.ts +2 -2
  35. package/build/hooks/index.js +2 -2
  36. package/build/hooks/useScript.d.ts +1 -1
  37. package/build/hooks/useScript.js +39 -39
  38. package/build/hooks/useStyle.d.ts +1 -1
  39. package/build/hooks/useStyle.js +13 -13
  40. package/build/index.d.ts +4 -4
  41. package/build/index.js +14 -14
  42. package/build/utils/common.d.ts +2 -2
  43. package/build/utils/common.js +16 -16
  44. package/build/utils/config.d.ts +7 -7
  45. package/build/utils/config.js +47 -47
  46. package/build/utils/html.d.ts +1 -1
  47. package/build/utils/html.js +9 -9
  48. package/build/utils/index.d.ts +4 -4
  49. package/build/utils/index.js +4 -4
  50. package/build/utils/validation.d.ts +8 -8
  51. package/build/utils/validation.js +190 -190
  52. package/package.json +106 -108
@@ -1,74 +1,74 @@
1
- import { Language } from '../constants';
2
- import { ConfigInfo, ConnectFeatures, Notification, SettingAsyncData } from './config';
3
- export interface ConnectProps {
4
- elementId: string;
5
- publicKey: string;
6
- domain: string;
7
- language: typeof Language[keyof typeof Language];
8
- country: string;
9
- scope: string;
10
- lead?: string;
11
- mature: boolean;
12
- mode?: 'popup' | 'page' | 'content';
13
- board?: boolean;
14
- boardMaturity?: boolean;
15
- loaderColor?: string;
16
- boardId?: string;
17
- open: boolean;
18
- postURL?: string;
19
- redirectUrl?: string;
20
- data?: Array<string>;
21
- settingData?: SettingAsyncData;
22
- features?: ConnectFeatures;
23
- notification?: Notification;
24
- onError?: (err: Error) => void;
25
- onReady?: () => void;
26
- onClose?: () => void;
27
- onCreated?: (res: object) => void;
28
- onSuccess?: (res: object) => void;
29
- onBoardCompleted?: () => void;
30
- onSettingFetched?: (data: SettingAsyncData) => void;
31
- }
32
- export interface OriginalConnectProps {
33
- publicKey: string;
34
- mode?: 'popup' | 'page' | 'content';
35
- open: boolean;
36
- merchantDomain: string;
37
- language: string;
38
- appInfo: Record<string, string>;
39
- businessCountryCode: string;
40
- scope: string;
41
- leadId?: string;
42
- postURL?: string;
43
- redirectUrl?: string;
44
- data?: Array<string>;
45
- showBoard?: boolean;
46
- boardMaturity?: boolean;
47
- features?: ConnectFeatures;
48
- notification?: Notification;
49
- verifyToken?: string;
50
- onFlowCompleted: (res: object, headers?: Record<string, string>) => void;
51
- onError: (err: any) => void;
52
- onStepCompleted?: (name: string, info: any) => void;
53
- onReady?: () => void;
54
- onStepStarted?: (name: string) => void;
55
- onBoardButtonClick?: (data: Record<string, any>) => void;
56
- onCreated?: (res: Record<string, any>) => void;
57
- onClose?: () => void;
58
- onBoardCompleted?: () => void;
59
- }
60
- export type TokenParams = ConfigInfo;
61
- export interface TokenResponseParams extends TokenParams {
62
- id: string;
63
- contact: {
64
- email: string;
65
- phone: {
66
- country_code: string;
67
- number: string;
68
- };
69
- };
70
- redirect: {
71
- url: string;
72
- };
73
- token: string;
74
- }
1
+ import { Language } from '../constants';
2
+ import { ConfigInfo, ConnectFeatures, Notification, SettingAsyncData } from './config';
3
+ export interface ConnectProps {
4
+ elementId: string;
5
+ publicKey: string;
6
+ domain: string;
7
+ language: typeof Language[keyof typeof Language];
8
+ country: string;
9
+ scope: string;
10
+ lead?: string;
11
+ mature: boolean;
12
+ mode?: 'popup' | 'page' | 'content';
13
+ board?: boolean;
14
+ boardMaturity?: boolean;
15
+ loaderColor?: string;
16
+ boardId?: string;
17
+ open: boolean;
18
+ postURL?: string;
19
+ redirectUrl?: string;
20
+ data?: Array<string>;
21
+ settingData?: SettingAsyncData;
22
+ features?: ConnectFeatures;
23
+ notification?: Notification;
24
+ onError?: (err: Error) => void;
25
+ onReady?: () => void;
26
+ onClose?: () => void;
27
+ onCreated?: (res: object) => void;
28
+ onSuccess?: (res: object) => void;
29
+ onBoardCompleted?: () => void;
30
+ onSettingFetched?: (data: SettingAsyncData) => void;
31
+ }
32
+ export interface OriginalConnectProps {
33
+ publicKey: string;
34
+ mode?: 'popup' | 'page' | 'content';
35
+ open: boolean;
36
+ merchantDomain: string;
37
+ language: string;
38
+ appInfo: Record<string, string>;
39
+ businessCountryCode: string;
40
+ scope: string;
41
+ leadId?: string;
42
+ postURL?: string;
43
+ redirectUrl?: string;
44
+ data?: Array<string>;
45
+ showBoard?: boolean;
46
+ boardMaturity?: boolean;
47
+ features?: ConnectFeatures;
48
+ notification?: Notification;
49
+ verifyToken?: string;
50
+ onFlowCompleted: (res: object, headers?: Record<string, string>) => void;
51
+ onError: (err: any) => void;
52
+ onStepCompleted?: (name: string, info: any) => void;
53
+ onReady?: () => void;
54
+ onStepStarted?: (name: string) => void;
55
+ onBoardButtonClick?: (data: Record<string, any>) => void;
56
+ onCreated?: (res: Record<string, any>) => void;
57
+ onClose?: () => void;
58
+ onBoardCompleted?: () => void;
59
+ }
60
+ export type TokenParams = ConfigInfo;
61
+ export interface TokenResponseParams extends TokenParams {
62
+ id: string;
63
+ contact: {
64
+ email: string;
65
+ phone: {
66
+ country_code: string;
67
+ number: string;
68
+ };
69
+ };
70
+ redirect: {
71
+ url: string;
72
+ };
73
+ token: string;
74
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,12 +1,12 @@
1
- import { GetResult } from '@fingerprintjs/fingerprintjs';
2
- import { TokenParams } from '../@types';
3
- export declare const getFingerPrint: () => Promise<GetResult>;
4
- export declare const generateConfigToken: (data: TokenParams) => Promise<{
5
- data: any;
6
- publicKey: string;
7
- error?: undefined;
8
- } | {
9
- error: unknown;
10
- data?: undefined;
11
- publicKey?: undefined;
12
- }>;
1
+ import { GetResult } from '@fingerprintjs/fingerprintjs';
2
+ import { TokenParams } from '../@types';
3
+ export declare const getFingerPrint: () => Promise<GetResult>;
4
+ export declare const generateConfigToken: (data: TokenParams) => Promise<{
5
+ data: any;
6
+ publicKey: string;
7
+ error?: undefined;
8
+ } | {
9
+ error: unknown;
10
+ data?: undefined;
11
+ publicKey?: undefined;
12
+ }>;
@@ -1,95 +1,95 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- var __generator = (this && this.__generator) || function (thisArg, body) {
11
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
12
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
13
- function verb(n) { return function (v) { return step([n, v]); }; }
14
- function step(op) {
15
- if (f) throw new TypeError("Generator is already executing.");
16
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
17
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
18
- if (y = 0, t) op = [op[0] & 2, t.value];
19
- switch (op[0]) {
20
- case 0: case 1: t = op; break;
21
- case 4: _.label++; return { value: op[1], done: false };
22
- case 5: _.label++; y = op[1]; op = [0]; continue;
23
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
24
- default:
25
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
26
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
27
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
28
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
29
- if (t[2]) _.ops.pop();
30
- _.trys.pop(); continue;
31
- }
32
- op = body.call(thisArg, _);
33
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
34
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
- }
36
- };
37
- import axios from 'axios';
38
- import FingerprintJS from '@fingerprintjs/fingerprintjs';
39
- import { getBaseUrl } from '../utils';
40
- export var getFingerPrint = function () {
41
- return FingerprintJS.load().then(function (fp) {
42
- return fp.get().then(function (result) {
43
- return result;
44
- });
45
- });
46
- };
47
- export var generateConfigToken = function (data) { return __awaiter(void 0, void 0, void 0, function () {
48
- var visitorId, publicKey, baseUrl, res, public_key, response, error_1;
49
- var _a;
50
- return __generator(this, function (_b) {
51
- switch (_b.label) {
52
- case 0:
53
- _b.trys.push([0, 4, , 5]);
54
- return [4, getFingerPrint()];
55
- case 1:
56
- visitorId = (_b.sent()).visitorId;
57
- publicKey = data.operator.public_key;
58
- baseUrl = getBaseUrl(publicKey);
59
- return [4, axios.post("".concat(baseUrl, "init"), {}, {
60
- headers: {
61
- 'Content-Type': 'application/json',
62
- 'Access-Control-Allow-Headers': true,
63
- authorization: publicKey,
64
- bi: visitorId || '',
65
- cu: window.location.href,
66
- mdn: window.location.origin
67
- }
68
- })];
69
- case 2:
70
- res = _b.sent();
71
- public_key = (((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.config) || {}).public_key;
72
- if (public_key) {
73
- publicKey = public_key;
74
- baseUrl = getBaseUrl(public_key);
75
- }
76
- return [4, axios.post("".concat(baseUrl, "v3/connect"), data, {
77
- headers: {
78
- 'Content-Type': 'application/json',
79
- 'Access-Control-Allow-Headers': true,
80
- authorization: publicKey,
81
- bi: visitorId || '',
82
- cu: window.location.href,
83
- mdn: window.location.origin
84
- }
85
- })];
86
- case 3:
87
- response = _b.sent();
88
- return [2, { data: response.data, publicKey: publicKey }];
89
- case 4:
90
- error_1 = _b.sent();
91
- return [2, { error: error_1 }];
92
- case 5: return [2];
93
- }
94
- });
95
- }); };
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ var __generator = (this && this.__generator) || function (thisArg, body) {
11
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
12
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
13
+ function verb(n) { return function (v) { return step([n, v]); }; }
14
+ function step(op) {
15
+ if (f) throw new TypeError("Generator is already executing.");
16
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
17
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
18
+ if (y = 0, t) op = [op[0] & 2, t.value];
19
+ switch (op[0]) {
20
+ case 0: case 1: t = op; break;
21
+ case 4: _.label++; return { value: op[1], done: false };
22
+ case 5: _.label++; y = op[1]; op = [0]; continue;
23
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
24
+ default:
25
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
26
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
27
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
28
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
29
+ if (t[2]) _.ops.pop();
30
+ _.trys.pop(); continue;
31
+ }
32
+ op = body.call(thisArg, _);
33
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
34
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
+ }
36
+ };
37
+ import axios from 'axios';
38
+ import FingerprintJS from '@fingerprintjs/fingerprintjs';
39
+ import { getBaseUrl } from '../utils';
40
+ export var getFingerPrint = function () {
41
+ return FingerprintJS.load().then(function (fp) {
42
+ return fp.get().then(function (result) {
43
+ return result;
44
+ });
45
+ });
46
+ };
47
+ export var generateConfigToken = function (data) { return __awaiter(void 0, void 0, void 0, function () {
48
+ var visitorId, publicKey, baseUrl, res, public_key, response, error_1;
49
+ var _a;
50
+ return __generator(this, function (_b) {
51
+ switch (_b.label) {
52
+ case 0:
53
+ _b.trys.push([0, 4, , 5]);
54
+ return [4, getFingerPrint()];
55
+ case 1:
56
+ visitorId = (_b.sent()).visitorId;
57
+ publicKey = data.operator.public_key;
58
+ baseUrl = getBaseUrl(publicKey);
59
+ return [4, axios.post("".concat(baseUrl, "init"), {}, {
60
+ headers: {
61
+ 'Content-Type': 'application/json',
62
+ 'Access-Control-Allow-Headers': true,
63
+ authorization: publicKey,
64
+ bi: visitorId || '',
65
+ cu: window.location.href,
66
+ mdn: window.location.origin
67
+ }
68
+ })];
69
+ case 2:
70
+ res = _b.sent();
71
+ public_key = (((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.config) || {}).public_key;
72
+ if (public_key) {
73
+ publicKey = public_key;
74
+ baseUrl = getBaseUrl(public_key);
75
+ }
76
+ return [4, axios.post("".concat(baseUrl, "v3/connect"), data, {
77
+ headers: {
78
+ 'Content-Type': 'application/json',
79
+ 'Access-Control-Allow-Headers': true,
80
+ authorization: publicKey,
81
+ bi: visitorId || '',
82
+ cu: window.location.href,
83
+ mdn: window.location.origin
84
+ }
85
+ })];
86
+ case 3:
87
+ response = _b.sent();
88
+ return [2, { data: response.data, publicKey: publicKey }];
89
+ case 4:
90
+ error_1 = _b.sent();
91
+ return [2, { error: error_1 }];
92
+ case 5: return [2];
93
+ }
94
+ });
95
+ }); };
@@ -1,17 +1,17 @@
1
- export declare const CDN_LIBRARY_BASE_URL = "https://auth-jsconnect.b-cdn.net/build-2.10.5-beta";
2
- export declare const Maturity: {
3
- readonly FULL: "full";
4
- readonly EXPRESS: "express";
5
- };
6
- export declare const Language: {
7
- readonly EN: "en";
8
- readonly AR: "ar";
9
- };
10
- export declare const CONNECT_URL = "https://connect.tap.company/";
11
- export declare const CONNECT_BETA_URL = "https://connect.beta.tap.company/";
12
- export declare const CONNECT_SANDBOX_URL = "https://connect.sandbox.tap.company/";
13
- export declare const CONNECT_DEV_URL = "https://connect.dev.tap.company/";
14
- export declare const CONNECT_MW_URL = "https://connect-mw.tap.company/middleware/";
15
- export declare const CONNECT_MW_BETA_URL = "https://connect-mw.beta.tap.company/middleware/";
16
- export declare const CONNECT_SANDBOX_MW_URL = "https://connect-mw.sandbox.tap.company/middleware/";
17
- export declare const CONNECT_DEV_MW_URL = "https://connect-mw.dev.tap.company/middleware/";
1
+ export declare const CDN_LIBRARY_BASE_URL = "https://auth-jsconnect.b-cdn.net/build-2.10.7-beta";
2
+ export declare const Maturity: {
3
+ readonly FULL: "full";
4
+ readonly EXPRESS: "express";
5
+ };
6
+ export declare const Language: {
7
+ readonly EN: "en";
8
+ readonly AR: "ar";
9
+ };
10
+ export declare const CONNECT_URL = "https://connect.tap.company/";
11
+ export declare const CONNECT_BETA_URL = "https://connect.beta.tap.company/";
12
+ export declare const CONNECT_SANDBOX_URL = "https://connect.sandbox.tap.company/";
13
+ export declare const CONNECT_DEV_URL = "https://connect.dev.tap.company/";
14
+ export declare const CONNECT_MW_URL = "https://connect-mw.tap.company/middleware/";
15
+ export declare const CONNECT_MW_BETA_URL = "https://connect-mw.beta.tap.company/middleware/";
16
+ export declare const CONNECT_SANDBOX_MW_URL = "https://connect-mw.sandbox.tap.company/middleware/";
17
+ export declare const CONNECT_DEV_MW_URL = "https://connect-mw.dev.tap.company/middleware/";
@@ -1,17 +1,17 @@
1
- export var CDN_LIBRARY_BASE_URL = 'https://auth-jsconnect.b-cdn.net/build-2.10.5-beta';
2
- export var Maturity = {
3
- FULL: 'full',
4
- EXPRESS: 'express'
5
- };
6
- export var Language = {
7
- EN: 'en',
8
- AR: 'ar'
9
- };
10
- export var CONNECT_URL = 'https://connect.tap.company/';
11
- export var CONNECT_BETA_URL = 'https://connect.beta.tap.company/';
12
- export var CONNECT_SANDBOX_URL = 'https://connect.sandbox.tap.company/';
13
- export var CONNECT_DEV_URL = 'https://connect.dev.tap.company/';
14
- export var CONNECT_MW_URL = 'https://connect-mw.tap.company/middleware/';
15
- export var CONNECT_MW_BETA_URL = 'https://connect-mw.beta.tap.company/middleware/';
16
- export var CONNECT_SANDBOX_MW_URL = 'https://connect-mw.sandbox.tap.company/middleware/';
17
- export var CONNECT_DEV_MW_URL = 'https://connect-mw.dev.tap.company/middleware/';
1
+ export var CDN_LIBRARY_BASE_URL = 'https://auth-jsconnect.b-cdn.net/build-2.10.7-beta';
2
+ export var Maturity = {
3
+ FULL: 'full',
4
+ EXPRESS: 'express'
5
+ };
6
+ export var Language = {
7
+ EN: 'en',
8
+ AR: 'ar'
9
+ };
10
+ export var CONNECT_URL = 'https://connect.tap.company/';
11
+ export var CONNECT_BETA_URL = 'https://connect.beta.tap.company/';
12
+ export var CONNECT_SANDBOX_URL = 'https://connect.sandbox.tap.company/';
13
+ export var CONNECT_DEV_URL = 'https://connect.dev.tap.company/';
14
+ export var CONNECT_MW_URL = 'https://connect-mw.tap.company/middleware/';
15
+ export var CONNECT_MW_BETA_URL = 'https://connect-mw.beta.tap.company/middleware/';
16
+ export var CONNECT_SANDBOX_MW_URL = 'https://connect-mw.sandbox.tap.company/middleware/';
17
+ export var CONNECT_DEV_MW_URL = 'https://connect-mw.dev.tap.company/middleware/';
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { ConnectProps as ConnectAttrs } from '../../@types';
3
- export type ConnectProps = Omit<ConnectAttrs, 'elementId'>;
4
- export declare const TapConnect: React.MemoExoticComponent<(props: ConnectAttrs) => import("react/jsx-runtime").JSX.Element>;
5
- export declare const renderTapConnect: (props: ConnectProps, elementId: string) => Promise<any>;
1
+ import * as React from 'react';
2
+ import { ConnectProps as ConnectAttrs } from '../../@types';
3
+ export type ConnectProps = Omit<ConnectAttrs, 'elementId'>;
4
+ export declare const TapConnect: React.MemoExoticComponent<(props: ConnectAttrs) => import("react/jsx-runtime").JSX.Element>;
5
+ export declare const renderTapConnect: (props: ConnectProps, elementId: string) => Promise<any>;