@tap-payments/connect 0.0.6-test → 0.0.9-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
|
@@ -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.9-test/main.js"></script>
|
|
110
110
|
</head>
|
|
111
111
|
<body>
|
|
112
112
|
<div id="root"></div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const CDN_LIBRARY_BASE_URL = "https://auth-jsconnect.b-cdn.net/build-2.1.
|
|
1
|
+
export declare const CDN_LIBRARY_BASE_URL = "https://auth-jsconnect.b-cdn.net/build-2.1.74-test";
|
|
2
2
|
export declare const Maturity: {
|
|
3
3
|
readonly FULL: "full";
|
|
4
4
|
readonly EXPRESS: "express";
|
package/build/constants/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ConnectProps } from '../../@types';
|
|
3
|
-
declare const _default: React.MemoExoticComponent<(props: ConnectProps) => null>;
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ onSuccess, ...props }: ConnectProps) => null>;
|
|
4
4
|
export default _default;
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
1
12
|
import * as React from 'react';
|
|
2
13
|
import { wrapLibConfig } from '../../utils';
|
|
3
|
-
var ConnectFull = function (
|
|
14
|
+
var ConnectFull = function (_a) {
|
|
15
|
+
var onSuccess = _a.onSuccess, props = __rest(_a, ["onSuccess"]);
|
|
4
16
|
var renderConnectLib = window['TapAuth'].renderConnectLib;
|
|
5
17
|
var id = 'tap-connect-sdk-lib';
|
|
6
18
|
React.useEffect(function () {
|