@yuno-payments/dashboard-api-mfe 0.36.60-RC.7 → 0.36.60-RC.9

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.
@@ -1,5 +1,12 @@
1
1
  import { Axios } from './axios';
2
2
  import { AxiosRequestConfig, AxiosResponse, AxiosError, CancelTokenSource } from 'axios';
3
+ /**
4
+ * Serializes parameters for URL query string with proper encoding
5
+ * and handling of arrays without duplication
6
+ * @param params - Object with parameters to serialize
7
+ * @returns URL encoded query string
8
+ */
9
+ export declare const serializeParams: (params: Record<string, any>) => string;
3
10
  /**
4
11
  * @class Api Class is a fancy es6 wrapper class for axios.
5
12
  *
@@ -113,8 +113,9 @@ export declare namespace Audit {
113
113
  start_date: string;
114
114
  end_date: string;
115
115
  time_zone: string;
116
- method?: string;
117
116
  organizationCode?: string;
117
+ status_codes?: string[];
118
+ methods?: string[];
118
119
  }
119
120
  interface AuditApiJSON {
120
121
  [key: string]: string;
@@ -146,8 +147,8 @@ export declare namespace Audit {
146
147
  periodicity?: string;
147
148
  account_code?: string[];
148
149
  organizationCode?: string;
149
- status_codes?: string;
150
- methods?: string;
150
+ status_codes?: string[];
151
+ methods?: string[];
151
152
  }
152
153
  interface AuditWebhooksParams {
153
154
  page: number;
@@ -155,8 +156,8 @@ export declare namespace Audit {
155
156
  organizationCode?: string;
156
157
  periodicity?: string;
157
158
  account_code?: string[];
158
- status_codes?: string;
159
- methods?: string;
159
+ status_codes?: string[];
160
+ methods?: string[];
160
161
  }
161
162
  interface AuditWebhooks {
162
163
  id: number;
package/build/index.d.ts CHANGED
@@ -3654,8 +3654,9 @@ declare namespace Audit {
3654
3654
  start_date: string;
3655
3655
  end_date: string;
3656
3656
  time_zone: string;
3657
- method?: string;
3658
3657
  organizationCode?: string;
3658
+ status_codes?: string[];
3659
+ methods?: string[];
3659
3660
  }
3660
3661
  interface AuditApiJSON {
3661
3662
  [key: string]: string;
@@ -3687,8 +3688,8 @@ declare namespace Audit {
3687
3688
  periodicity?: string;
3688
3689
  account_code?: string[];
3689
3690
  organizationCode?: string;
3690
- status_codes?: string;
3691
- methods?: string;
3691
+ status_codes?: string[];
3692
+ methods?: string[];
3692
3693
  }
3693
3694
  interface AuditWebhooksParams {
3694
3695
  page: number;
@@ -3696,8 +3697,8 @@ declare namespace Audit {
3696
3697
  organizationCode?: string;
3697
3698
  periodicity?: string;
3698
3699
  account_code?: string[];
3699
- status_codes?: string;
3700
- methods?: string;
3700
+ status_codes?: string[];
3701
+ methods?: string[];
3701
3702
  }
3702
3703
  interface AuditWebhooks {
3703
3704
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/dashboard-api-mfe",
3
- "version": "0.36.60-RC.7",
3
+ "version": "0.36.60-RC.9",
4
4
  "types": "build/index.d.ts",
5
5
  "main": "build/cjs/index.js",
6
6
  "module": "build/esm/index.js",
@@ -8,22 +8,22 @@
8
8
  "/build"
9
9
  ],
10
10
  "scripts": {
11
- "start": "cross-env BABEL_ENV=production webpack serve --env local --config webpack.config.js --port 9006",
12
- "startDev": "cross-env BABEL_ENV=production webpack serve --env dev --config webpack.config.js --port 9006",
13
- "startStg": "cross-env BABEL_ENV=production webpack serve --env stg --config webpack.config.js --port 9006",
14
- "startProd": "cross-env BABEL_ENV=production webpack serve --env prod --config webpack.config.js --port 9006",
15
- "start:standalone": "webpack serve --env standalone",
16
- "build": "concurrently npm:build:webpack && sh ./scripts/post-build.sh",
17
- "build:webpack": "webpack --env dev --mode=production",
18
- "build:sb": "concurrently npm:build:webpack:sb && sh ./scripts/post-build.sh",
19
- "build:webpack:sb": "webpack --env sbx --mode=production",
20
- "build:stg": "concurrently npm:build:webpack:stg && sh ./scripts/post-build.sh",
21
- "build:webpack:stg": "webpack --env stg --mode=production",
22
- "build:prod": "concurrently npm:build:webpack:prod && sh ./scripts/post-build.sh",
23
- "build:webpack:prod": "webpack --env prod --mode=production",
11
+ "start": "cross-env BABEL_ENV=production rspack serve --env local --config rspack.config.js --port 9006",
12
+ "startDev": "cross-env BABEL_ENV=production rspack serve --env dev --config rspack.config.js --port 9006",
13
+ "startStg": "cross-env BABEL_ENV=production rspack serve --env stg --config rspack.config.js --port 9006",
14
+ "startProd": "cross-env BABEL_ENV=production rspack serve --env prod --config rspack.config.js --port 9006",
15
+ "start:standalone": "rspack serve --env standalone",
16
+ "build": "concurrently npm:build:rspack && sh ./scripts/post-build.sh",
17
+ "build:rspack": "rspack --env dev --mode=production",
18
+ "build:sb": "concurrently npm:build:rspack:sb && sh ./scripts/post-build.sh",
19
+ "build:rspack:sb": "rspack --env sbx --mode=production",
20
+ "build:stg": "concurrently npm:build:rspack:stg && sh ./scripts/post-build.sh",
21
+ "build:rspack:stg": "rspack --env stg --mode=production",
22
+ "build:prod": "concurrently npm:build:rspack:prod && sh ./scripts/post-build.sh",
23
+ "build:rspack:prod": "rspack --env prod --mode=production",
24
24
  "build-publish": "rm -rf ./build && rollup -c",
25
25
  "prepublishOnly": "npm run build-publish",
26
- "analyze": "webpack --mode=production --env analyze",
26
+ "analyze": "rspack --mode=production --env analyze",
27
27
  "lint": "eslint src --ext js,ts,tsx",
28
28
  "format": "prettier --write .",
29
29
  "check-format": "prettier --check .",
@@ -57,9 +57,13 @@
57
57
  "@types/testing-library__jest-dom": "^5.14.1",
58
58
  "babel-jest": "^29.0.3",
59
59
  "concurrently": "^6.2.1",
60
+ "@swc/helpers": "^0.5.17",
60
61
  "cross-env": "^7.0.3",
61
62
  "dotenv-webpack": "^7.1.0",
62
63
  "eslint": "^7.32.0",
64
+ "@rspack/cli": "^1.2.6",
65
+ "@rspack/core": "^1.5.2",
66
+ "@rspack/plugin-react-refresh": "^1.5.0",
63
67
  "eslint-config-prettier": "^8.3.0",
64
68
  "eslint-config-ts-react-important-stuff": "^3.0.0",
65
69
  "eslint-plugin-prettier": "^3.4.1",
@@ -79,23 +83,15 @@
79
83
  "ts-config-single-spa": "^3.0.0",
80
84
  "ts-jest": "^29.1.5",
81
85
  "typescript": "^4.3.5",
82
- "webpack": "^5.51.1",
83
- "webpack-bundle-analyzer": "^4.5.0",
84
- "webpack-cli": "^5.1.4",
85
- "webpack-config-single-spa-react": "^4.0.0",
86
- "webpack-config-single-spa-react-ts": "^4.0.0",
87
- "webpack-config-single-spa-ts": "^4.0.0",
88
- "webpack-dev-server": "^5.2.2",
89
- "webpack-merge": "^5.8.0"
86
+ "webpack": "^5.51.1"
87
+
90
88
  },
91
89
  "dependencies": {
92
- "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
93
90
  "@tanstack/react-query": "^4.29.7",
94
91
  "@tanstack/react-query-devtools": "^4.29.7",
95
92
  "@types/react": "^18.2.29",
96
93
  "@types/react-dom": "^18.2.14",
97
94
  "@types/systemjs": "^6.1.1",
98
- "@types/webpack-env": "^1.16.2",
99
95
  "axios": "^1.8.2",
100
96
  "react": "^18.2.0",
101
97
  "react-dom": "^18.2.0",
@@ -105,5 +101,9 @@
105
101
  "single-spa-react": "^5.1.4",
106
102
  "ts-loader": "^9.4.4",
107
103
  "uuid": "^11.1.0"
104
+ },
105
+ "optionalDependencies": {
106
+ "@rspack/binding-linux-x64-gnu": "^1.2.6",
107
+ "@rspack/binding-linux-x64-musl": "^1.2.6"
108
108
  }
109
109
  }