@layerfi/components 0.1.7 → 0.1.8
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/dist/esm/index.js +14 -11
- package/dist/esm/index.js.map +2 -2
- package/dist/index.js +14 -11
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -4022,20 +4022,23 @@ import React57 from "react";
|
|
|
4022
4022
|
import { useEffect as useEffect7, useState as useState11 } from "react";
|
|
4023
4023
|
var MOCK_DATA = [
|
|
4024
4024
|
{
|
|
4025
|
-
name: "
|
|
4025
|
+
name: "Public Demo Banking",
|
|
4026
4026
|
account: "1234",
|
|
4027
4027
|
amount: 1220620
|
|
4028
|
-
},
|
|
4029
|
-
{
|
|
4030
|
-
name: "Business Savings",
|
|
4031
|
-
account: "5678",
|
|
4032
|
-
amount: 10002062e-1
|
|
4033
|
-
},
|
|
4034
|
-
{
|
|
4035
|
-
name: "Account",
|
|
4036
|
-
account: "4321",
|
|
4037
|
-
amount: 801.91
|
|
4038
4028
|
}
|
|
4029
|
+
/* Temporarily removing these to make it match test data (with one account)
|
|
4030
|
+
* we're using in the demo.
|
|
4031
|
+
*/
|
|
4032
|
+
// {
|
|
4033
|
+
// name: 'Business Savings',
|
|
4034
|
+
// account: '5678',
|
|
4035
|
+
// amount: 1000206.2,
|
|
4036
|
+
// },
|
|
4037
|
+
// {
|
|
4038
|
+
// name: 'Account',
|
|
4039
|
+
// account: '4321',
|
|
4040
|
+
// amount: 801.91,
|
|
4041
|
+
// },
|
|
4039
4042
|
];
|
|
4040
4043
|
var useLinkedAccounts = () => {
|
|
4041
4044
|
const { auth, businessId, apiUrl } = useLayerContext();
|