mp-front-cli 0.0.52 → 0.0.54

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,15 +1,15 @@
1
1
  var ve = Object.defineProperty;
2
2
  var we = (i, e, t) => e in i ? ve(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
3
  var $ = (i, e, t) => (we(i, typeof e != "symbol" ? e + "" : e, t), t);
4
- import { C as Re, f as pe } from "./custom-header-17ded9ec.js";
5
- import { S as ht } from "./custom-header-17ded9ec.js";
4
+ import { C as Re, f as pe } from "./custom-header-eeb04e28.js";
5
+ import { S as ht } from "./custom-header-eeb04e28.js";
6
6
  import { MessageHandler as ne, LoadingHandler as M } from "./mp-front-cli-utils-rxjs.es.js";
7
7
  import { RxSubjectManager as dt } from "./mp-front-cli-utils-rxjs.es.js";
8
8
  import { t as Ne } from "./index-df4e0539.js";
9
9
  import { CustomLogger as Pe } from "./mp-front-cli-logger.es.js";
10
10
  import { of as w, switchMap as N, forkJoin as ie, catchError as me, EMPTY as ye, filter as be } from "rxjs";
11
- import { C as $e, c as re } from "./custom-encrypter-8d9d2783.js";
12
- import { C as Ce } from "./custom-encoder-70a77460.js";
11
+ import { C as $e, c as re } from "./custom-encrypter-1573699a.js";
12
+ import { C as Ce } from "./custom-encoder-05d6a9f1.js";
13
13
  import "crypto";
14
14
  const Ee = {
15
15
  type: "logger",
@@ -1703,7 +1703,7 @@ class lt extends Re {
1703
1703
  throw new _().get(t.errors[0], s);
1704
1704
  return !(t != null && t.errors);
1705
1705
  }
1706
- fetchData(t = {}, s) {
1706
+ fetchData(t, s) {
1707
1707
  return w(t).pipe(
1708
1708
  N(
1709
1709
  (n) => this.getHeaders().pipe(N((r) => w({ params: n, headers: r })))
@@ -1749,7 +1749,7 @@ class ut extends Ce {
1749
1749
  fetchData(t = {}) {
1750
1750
  const s = (/* @__PURE__ */ new Date()).toISOString(), n = re.v5(s, re.v5.URL), r = this.encode({ ...t }, n);
1751
1751
  M.getInstance().setSubject(this.isLoadingEnabled);
1752
- const l = new URLSearchParams(window.location.search).get("flow") || "N/A";
1752
+ const l = new URLSearchParams(window.location.search).get("flow") ?? "N/A";
1753
1753
  return pe(this.apiUrl, {
1754
1754
  method: this.method,
1755
1755
  headers: { ...this.headers, flow: l },
@@ -1,4 +1,4 @@
1
- import { C as t } from "./custom-encoder-70a77460.js";
1
+ import { C as t } from "./custom-encoder-05d6a9f1.js";
2
2
  import "./mp-front-cli-logger.es.js";
3
3
  export {
4
4
  t as CustomEncoder
@@ -1,6 +1,6 @@
1
- import { C as i } from "./custom-encrypter-8d9d2783.js";
1
+ import { C as i } from "./custom-encrypter-1573699a.js";
2
2
  import "crypto";
3
- import "./custom-encoder-70a77460.js";
3
+ import "./custom-encoder-05d6a9f1.js";
4
4
  import "./mp-front-cli-logger.es.js";
5
5
  export {
6
6
  i as CustomEncrypter
@@ -1,8 +1,8 @@
1
1
  import "rxjs";
2
- import { C as a } from "./custom-header-17ded9ec.js";
3
- import "./custom-encrypter-8d9d2783.js";
2
+ import { C as a } from "./custom-header-eeb04e28.js";
3
+ import "./custom-encrypter-1573699a.js";
4
4
  import "./mp-front-cli-logger.es.js";
5
- import "./custom-encoder-70a77460.js";
5
+ import "./custom-encoder-05d6a9f1.js";
6
6
  import "crypto";
7
7
  export {
8
8
  a as CustomHeader
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "mp-front-cli",
3
- "version": "0.0.52",
3
+ "version": "0.0.54",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "tsc && vite build",
8
- "package": "npm pack"
8
+ "package": "npm pack",
9
+ "husky:prepare": "husky install"
9
10
  },
10
11
  "files": [
11
12
  "dist"
@@ -51,24 +52,29 @@
51
52
  "import": "./dist/mp-front-cli-locale.es.js"
52
53
  }
53
54
  },
55
+ "peerDependencies": {
56
+ "ioredis": "5.3.2",
57
+ "rxjs": "7.8.1"
58
+ },
54
59
  "dependencies": {
55
- "@types/node-jose": "^1.1.13",
56
- "@types/uuid": "^9.0.8",
60
+ "@types/node-jose": "1.1.13",
61
+ "@types/uuid": "9.0.8",
62
+ "husky": "^9.0.11",
57
63
  "i18next": "23.7.20",
58
- "ioredis": "^5.3.2",
59
- "lodash": "^4.17.21",
64
+ "ioredis": "5.3.2",
65
+ "lodash": "4.17.21",
60
66
  "next": "14.1.0",
61
- "node-jose": "^2.2.0",
62
- "rxjs": "^7.8.1",
63
- "uuid": "^9.0.1"
67
+ "node-jose": "2.2.0",
68
+ "rxjs": "7.8.1",
69
+ "uuid": "9.0.1"
64
70
  },
65
71
  "devDependencies": {
66
- "@types/lodash": "^4.14.202",
72
+ "@types/lodash": "4.14.202",
67
73
  "@types/node": "20.10.6",
68
- "@typescript-eslint/eslint-plugin": "^6.19.0",
74
+ "@typescript-eslint/eslint-plugin": "6.19.0",
69
75
  "eslint": "8.56.0",
70
- "eslint-config-prettier": "^9.1.0",
71
- "eslint-plugin-prettier": "^5.1.3",
76
+ "eslint-config-prettier": "9.1.0",
77
+ "eslint-plugin-prettier": "5.1.3",
72
78
  "typescript": "5.3.3",
73
79
  "vite": "4.5.2",
74
80
  "vite-plugin-dts": "3.7.1",