@tap-payments/connect 0.0.9-test → 0.0.10-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.9-test/main.js"></script>
109
+ <script src="https://connect-auth.b-cdn.net/build-0.0.10-test/main.js"></script>
110
110
  </head>
111
111
  <body>
112
112
  <div id="root"></div>
@@ -9,6 +9,17 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
12
23
  import * as React from 'react';
13
24
  import { wrapLibConfig } from '../../utils';
14
25
  var ConnectExpress = function (props) {
@@ -41,7 +52,8 @@ var ConnectExpress = function (props) {
41
52
  renderEntityLib(config, elementId);
42
53
  break;
43
54
  default:
44
- renderConnectExpressLib(config, elementId);
55
+ var onFlowCompleted = config.onFlowCompleted, rest = __rest(config, ["onFlowCompleted"]);
56
+ renderConnectExpressLib(rest, elementId);
45
57
  break;
46
58
  }
47
59
  }, [
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
2
  import { ConnectProps } from '../../@types';
3
- declare const _default: React.MemoExoticComponent<({ onSuccess, ...props }: ConnectProps) => null>;
3
+ declare const _default: React.MemoExoticComponent<(props: ConnectProps) => null>;
4
4
  export default _default;
@@ -1,18 +1,6 @@
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
- };
12
1
  import * as React from 'react';
13
2
  import { wrapLibConfig } from '../../utils';
14
- var ConnectFull = function (_a) {
15
- var onSuccess = _a.onSuccess, props = __rest(_a, ["onSuccess"]);
3
+ var ConnectFull = function (props) {
16
4
  var renderConnectLib = window['TapAuth'].renderConnectLib;
17
5
  var id = 'tap-connect-sdk-lib';
18
6
  React.useEffect(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/connect",
3
- "version": "0.0.9-test",
3
+ "version": "0.0.10-test",
4
4
  "description": "Tap Connect",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.js",