@yuno-payments/dashboard-api-mfe 0.39.5 → 0.40.0
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/build/cjs/index.js +36 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/__mocks__/@yuno/dashboard-authentication-mfe/index.d.ts +3 -2
- package/build/cjs/types/common/config.d.ts +1 -1
- package/build/cjs/types/mutations/connections/connections.mutation.d.ts +1 -0
- package/build/cjs/types/types/organization/organization.d.ts +2 -0
- package/build/cjs/types/utils/test-utils.d.ts +2 -1
- package/build/esm/index.js +36 -3
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/__mocks__/@yuno/dashboard-authentication-mfe/index.d.ts +3 -2
- package/build/esm/types/common/config.d.ts +1 -1
- package/build/esm/types/mutations/connections/connections.mutation.d.ts +1 -0
- package/build/esm/types/types/organization/organization.d.ts +2 -0
- package/build/esm/types/utils/test-utils.d.ts +2 -1
- package/build/index.d.ts +3 -0
- package/package.json +6 -9
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare function Auth0Provider({ children }: {
|
|
2
3
|
children: any;
|
|
3
|
-
}): import("react
|
|
4
|
+
}): import("react").JSX.Element;
|
|
4
5
|
export declare function useAuth0(): {
|
|
5
6
|
loginWithRedirect(): void;
|
|
6
7
|
getAccessTokenSilently(): Promise<string>;
|
|
7
8
|
};
|
|
8
9
|
export declare function ApiProvider({ children }: {
|
|
9
10
|
children: any;
|
|
10
|
-
}): import("react
|
|
11
|
+
}): import("react").JSX.Element;
|
|
@@ -4,7 +4,7 @@ export declare const environment: {
|
|
|
4
4
|
BFF_URL_SBX: string | undefined;
|
|
5
5
|
BFF_URL_STG: string | undefined;
|
|
6
6
|
BFF_URL_DEV: string | undefined;
|
|
7
|
-
BFF_URL_LOCAL: string;
|
|
7
|
+
BFF_URL_LOCAL: string | undefined;
|
|
8
8
|
WS_URL_LOCAL: string | undefined;
|
|
9
9
|
WS_URL_PROD: string | undefined;
|
|
10
10
|
WS_URL_SBX: string | undefined;
|
|
@@ -16,6 +16,7 @@ export declare namespace Organization {
|
|
|
16
16
|
allowed_sections?: {
|
|
17
17
|
nova: boolean;
|
|
18
18
|
reconciliations: boolean;
|
|
19
|
+
future_providers: boolean;
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
22
|
enum CustomClaims {
|
|
@@ -32,6 +33,7 @@ export declare namespace Organization {
|
|
|
32
33
|
params: Connection.ConnectionPayload[];
|
|
33
34
|
provider: {
|
|
34
35
|
async: boolean;
|
|
36
|
+
location_coverage: string[];
|
|
35
37
|
};
|
|
36
38
|
code: number;
|
|
37
39
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { QueryClient } from '@tanstack/react-query';
|
|
2
3
|
export declare const createWrapper: (customQueryClient?: QueryClient) => ({ children }: {
|
|
3
4
|
children: any;
|
|
4
|
-
}) => import("react
|
|
5
|
+
}) => import("react").JSX.Element;
|
package/build/index.d.ts
CHANGED
|
@@ -1093,6 +1093,7 @@ declare namespace Organization {
|
|
|
1093
1093
|
allowed_sections?: {
|
|
1094
1094
|
nova: boolean;
|
|
1095
1095
|
reconciliations: boolean;
|
|
1096
|
+
future_providers: boolean;
|
|
1096
1097
|
};
|
|
1097
1098
|
}
|
|
1098
1099
|
enum CustomClaims {
|
|
@@ -1109,6 +1110,7 @@ declare namespace Organization {
|
|
|
1109
1110
|
params: Connection.ConnectionPayload[];
|
|
1110
1111
|
provider: {
|
|
1111
1112
|
async: boolean;
|
|
1113
|
+
location_coverage: string[];
|
|
1112
1114
|
};
|
|
1113
1115
|
code: number;
|
|
1114
1116
|
}
|
|
@@ -4236,6 +4238,7 @@ declare function useValidateCredentials(): _tanstack_react_query.UseMutationResu
|
|
|
4236
4238
|
provider_type: string;
|
|
4237
4239
|
integration_code: string;
|
|
4238
4240
|
payment_method: string;
|
|
4241
|
+
country_code?: string;
|
|
4239
4242
|
};
|
|
4240
4243
|
}, unknown>;
|
|
4241
4244
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuno-payments/dashboard-api-mfe",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"types": "build/index.d.ts",
|
|
5
5
|
"main": "build/cjs/index.js",
|
|
6
6
|
"module": "build/esm/index.js",
|
|
@@ -47,7 +47,6 @@
|
|
|
47
47
|
"@rollup/plugin-image": "^3.0.2",
|
|
48
48
|
"@rollup/plugin-json": "^6.0.0",
|
|
49
49
|
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
50
|
-
"@rollup/plugin-replace": "^6.0.2",
|
|
51
50
|
"@rollup/plugin-terser": "^0.4.3",
|
|
52
51
|
"@rollup/plugin-typescript": "^11.1.4",
|
|
53
52
|
"@testing-library/dom": "^10.4.0",
|
|
@@ -87,26 +86,24 @@
|
|
|
87
86
|
"webpack-config-single-spa-react-ts": "^4.0.0",
|
|
88
87
|
"webpack-config-single-spa-ts": "^4.0.0",
|
|
89
88
|
"webpack-dev-server": "^4.15.2",
|
|
90
|
-
"webpack-merge": "^5.8.0"
|
|
91
|
-
"@types/react": "^18.2.29",
|
|
92
|
-
"@types/react-dom": "^18.2.14"
|
|
89
|
+
"webpack-merge": "^5.8.0"
|
|
93
90
|
},
|
|
94
91
|
"dependencies": {
|
|
95
92
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
|
|
96
93
|
"@tanstack/react-query": "^4.29.7",
|
|
97
94
|
"@tanstack/react-query-devtools": "^4.29.7",
|
|
95
|
+
"@types/react": "^18.2.29",
|
|
96
|
+
"@types/react-dom": "^18.2.14",
|
|
98
97
|
"@types/systemjs": "^6.1.1",
|
|
99
98
|
"@types/webpack-env": "^1.16.2",
|
|
100
99
|
"axios": "^1.8.2",
|
|
100
|
+
"react": "^18.2.0",
|
|
101
|
+
"react-dom": "^18.2.0",
|
|
101
102
|
"react-refresh": "^0.14.0",
|
|
102
103
|
"react-refresh-typescript": "^2.0.9",
|
|
103
104
|
"single-spa": "^5.9.3",
|
|
104
105
|
"single-spa-react": "^5.1.4",
|
|
105
106
|
"ts-loader": "^9.4.4",
|
|
106
107
|
"uuid": "^11.1.0"
|
|
107
|
-
},
|
|
108
|
-
"peerDependencies": {
|
|
109
|
-
"react": "^18.2.0",
|
|
110
|
-
"react-dom": "^18.2.0"
|
|
111
108
|
}
|
|
112
109
|
}
|