@basiq/connect-auth 0.1.71 → 0.1.72
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/package.json +1 -3
- package/src/index.tsx +9 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basiq/connect-auth",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.72",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@testing-library/jest-dom": "^5.16.4",
|
|
6
6
|
"@testing-library/react": "^13.2.0",
|
|
@@ -26,8 +26,6 @@
|
|
|
26
26
|
"react-dom": "^18.1.0"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
|
-
"prepublish": "tsc",
|
|
30
|
-
"deploy": "npm publish --access public",
|
|
31
29
|
"start": "react-scripts start",
|
|
32
30
|
"build": "webpack --mode production",
|
|
33
31
|
"test": "react-scripts test",
|
package/src/index.tsx
CHANGED
|
@@ -1,28 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import ReactDOM from 'react-dom';
|
|
3
2
|
import { ThemeProvider } from 'styled-components';
|
|
4
3
|
import App from './App';
|
|
5
4
|
import './locales/i18n';
|
|
6
5
|
import { theme } from './styledComponents';
|
|
7
6
|
|
|
8
|
-
interface IProps {
|
|
9
|
-
containerId: string;
|
|
10
|
-
}
|
|
11
7
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</React.StrictMode>,
|
|
20
|
-
document.getElementById(inputs.containerId)
|
|
8
|
+
function BasiqConnect() {
|
|
9
|
+
return(
|
|
10
|
+
<React.StrictMode>
|
|
11
|
+
<ThemeProvider theme={theme}>
|
|
12
|
+
<App />
|
|
13
|
+
</ThemeProvider>
|
|
14
|
+
</React.StrictMode>
|
|
21
15
|
);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
console.error("BASIQ CONNECT CONTROL ERROR: Provided container node doesn't exist.");
|
|
25
|
-
}
|
|
26
|
-
};
|
|
16
|
+
|
|
17
|
+
}
|
|
27
18
|
|
|
28
19
|
export default BasiqConnect;
|