mp-front-cli 2.1.0 → 2.1.1-next-1
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/AuthEngine-AJU52DBI.cjs +1 -0
- package/dist/{fetch-service-parent-be-ieWZxGPx.js → AuthEngine-MkGcIFAo.js} +445 -252
- package/dist/core/utils/AuthEngine/AuthEngine.d.ts +31 -0
- package/dist/core/utils/AuthEngine/AuthEngine.d.ts.map +1 -0
- package/dist/core/utils/AuthEngine/EntraID.d.ts +11 -0
- package/dist/core/utils/AuthEngine/EntraID.d.ts.map +1 -0
- package/dist/core/utils/AuthEngine/index.d.ts +2 -0
- package/dist/core/utils/AuthEngine/index.d.ts.map +1 -0
- package/dist/core/utils/AuthEngine/interfaces/index.d.ts +51 -0
- package/dist/core/utils/AuthEngine/interfaces/index.d.ts.map +1 -0
- package/dist/core/utils/index.d.ts +1 -0
- package/dist/core/utils/index.d.ts.map +1 -1
- package/dist/custom-redis-BaTLH6jE.cjs +1 -0
- package/dist/index-D-Gvi_du.cjs +1 -0
- package/dist/{index-B_86KXmg.js → index-Dy5KNkhq.js} +2 -2
- package/dist/loading-handler-CVkAHN_A.cjs +1 -0
- package/dist/mp-front-cli-adapter.cjs +1 -0
- package/dist/mp-front-cli-all.cjs +1 -0
- package/dist/mp-front-cli-all.js +15 -0
- package/dist/mp-front-cli-cache.cjs +1 -0
- package/dist/{mp-front-cli-cache.es.js → mp-front-cli-cache.js} +1 -1
- package/dist/mp-front-cli-core.cjs +1 -0
- package/dist/mp-front-cli-core.js +15 -0
- package/dist/mp-front-cli-encoder.cjs +27 -0
- package/dist/{mp-front-cli-encoder.es.js → mp-front-cli-encoder.js} +1 -1
- package/dist/mp-front-cli-encrypter.cjs +1 -0
- package/dist/{mp-front-cli-encrypter.es.js → mp-front-cli-encrypter.js} +1 -1
- package/dist/mp-front-cli-header.cjs +1 -0
- package/dist/{mp-front-cli-header.es.js → mp-front-cli-header.js} +2 -2
- package/dist/mp-front-cli-locale.cjs +1 -0
- package/dist/{mp-front-cli-locale.es.js → mp-front-cli-locale.js} +1 -1
- package/dist/mp-front-cli-logger.cjs +1 -0
- package/dist/mp-front-cli-services.cjs +1 -0
- package/dist/mp-front-cli-services.js +4 -0
- package/dist/mp-front-cli-utils-rxjs.cjs +1 -0
- package/dist/service-token-Bv3BAiQd.cjs +3 -0
- package/dist/{service-token-DceocCHP.js → service-token-DUKgd-pZ.js} +1 -1
- package/dist/stringify-BN6t_WDt.cjs +1 -0
- package/package.json +28 -15
- package/dist/mp-front-cli-all.es.js +0 -14
- package/dist/mp-front-cli-core.es.js +0 -14
- package/dist/mp-front-cli-services.es.js +0 -4
- /package/dist/{mp-front-cli-adapter.es.js → mp-front-cli-adapter.js} +0 -0
- /package/dist/{mp-front-cli-logger.es.js → mp-front-cli-logger.js} +0 -0
- /package/dist/{mp-front-cli-utils-rxjs.es.js → mp-front-cli-utils-rxjs.js} +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";var G=Object.defineProperty;var q=(r,t,e)=>t in r?G(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var m=(r,t,e)=>q(r,typeof t!="symbol"?t+"":t,e);const S=require("rxjs"),J=require("./mp-front-cli-logger.cjs");var O=function(r,t){return O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])},O(r,t)};function x(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");O(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var g=function(){return g=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},g.apply(this,arguments)};function V(r,t){var e={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&t.indexOf(n)<0&&(e[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i])&&(e[n[i]]=r[n[i]]);return e}function N(r,t,e,n){function i(o){return o instanceof e?o:new e(function(c){c(o)})}return new(e||(e=Promise))(function(o,c){function a(l){try{u(n.next(l))}catch(p){c(p)}}function s(l){try{u(n.throw(l))}catch(p){c(p)}}function u(l){l.done?o(l.value):i(l.value).then(a,s)}u((n=n.apply(r,t||[])).next())})}function C(r,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,c=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return c.next=a(0),c.throw=a(1),c.return=a(2),typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(u){return function(l){return s([u,l])}}function s(u){if(n)throw new TypeError("Generator is already executing.");for(;c&&(c=0,u[0]&&(e=0)),e;)try{if(n=1,i&&(o=u[0]&2?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return e.label++,{value:u[1],done:!1};case 5:e.label++,i=u[1],u=[0];continue;case 7:u=e.ops.pop(),e.trys.pop();continue;default:if(o=e.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){e.label=u[1];break}if(u[0]===6&&e.label<o[1]){e.label=o[1],o=u;break}if(o&&e.label<o[2]){e.label=o[2],e.ops.push(u);break}o[2]&&e.ops.pop(),e.trys.pop();continue}u=t.call(r,e)}catch(l){u=[6,l],i=0}finally{n=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function _(r){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&r[t],n=0;if(e)return e.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function P(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var n=e.call(r),i,o=[],c;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(a){c={error:a}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(c)throw c.error}}return o}function I(r,t,e){if(e||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return r.concat(o||Array.prototype.slice.call(t))}function A(r){return this instanceof A?(this.v=r,this):new A(r)}function W(r,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e.apply(r,t||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",c),i[Symbol.asyncIterator]=function(){return this},i;function c(f){return function(d){return Promise.resolve(d).then(f,p)}}function a(f,d){n[f]&&(i[f]=function(h){return new Promise(function(Y,$){o.push([f,h,Y,$])>1||s(f,h)})},d&&(i[f]=d(i[f])))}function s(f,d){try{u(n[f](d))}catch(h){v(o[0][3],h)}}function u(f){f.value instanceof A?Promise.resolve(f.value.v).then(l,p):v(o[0][2],f)}function l(f){s("next",f)}function p(f){s("throw",f)}function v(f,d){f(d),o.shift(),o.length&&s(o[0][0],o[0][1])}}function Q(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=r[Symbol.asyncIterator],e;return t?t.call(r):(r=typeof _=="function"?_(r):r[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(o){e[o]=r[o]&&function(c){return new Promise(function(a,s){c=r[o](c),i(a,s,c.done,c.value)})}}function i(o,c,a,s){Promise.resolve(s).then(function(u){o({value:u,done:a})},c)}}function y(r){return typeof r=="function"}function X(r){var t=function(n){Error.call(n),n.stack=new Error().stack},e=r(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var T=X(function(r){return function(e){r(this),this.message=e?e.length+` errors occurred during unsubscription:
|
|
2
|
+
`+e.map(function(n,i){return i+1+") "+n.toString()}).join(`
|
|
3
|
+
`):"",this.name="UnsubscriptionError",this.errors=e}});function H(r,t){if(r){var e=r.indexOf(t);0<=e&&r.splice(e,1)}}var U=function(){function r(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var t,e,n,i,o;if(!this.closed){this.closed=!0;var c=this._parentage;if(c)if(this._parentage=null,Array.isArray(c))try{for(var a=_(c),s=a.next();!s.done;s=a.next()){var u=s.value;u.remove(this)}}catch(h){t={error:h}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else c.remove(this);var l=this.initialTeardown;if(y(l))try{l()}catch(h){o=h instanceof T?h.errors:[h]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var v=_(p),f=v.next();!f.done;f=v.next()){var d=f.value;try{j(d)}catch(h){o=o??[],h instanceof T?o=I(I([],P(o)),P(h.errors)):o.push(h)}}}catch(h){n={error:h}}finally{try{f&&!f.done&&(i=v.return)&&i.call(v)}finally{if(n)throw n.error}}}if(o)throw new T(o)}},r.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)j(t);else{if(t instanceof r){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},r.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},r.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},r.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&H(e,t)},r.prototype.remove=function(t){var e=this._finalizers;e&&H(e,t),t instanceof r&&t._removeParent(this)},r.EMPTY=function(){var t=new r;return t.closed=!0,t}(),r}();U.EMPTY;function K(r){return r instanceof U||r&&"closed"in r&&y(r.remove)&&y(r.add)&&y(r.unsubscribe)}function j(r){y(r)?r():r.unsubscribe()}var Z={Promise:void 0},z={setTimeout:function(r,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return setTimeout.apply(void 0,I([r,t],P(e)))},clearTimeout:function(r){return clearTimeout(r)},delegate:void 0};function D(r){z.setTimeout(function(){throw r})}function k(){}function rr(r){r()}var R=function(r){x(t,r);function t(e){var n=r.call(this)||this;return n.isStopped=!1,e?(n.destination=e,K(e)&&e.add(n)):n.destination=nr,n}return t.create=function(e,n,i){return new E(e,n,i)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(U),er=function(){function r(t){this.partialObserver=t}return r.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(n){w(n)}},r.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(n){w(n)}else w(t)},r.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){w(e)}},r}(),E=function(r){x(t,r);function t(e,n,i){var o=r.call(this)||this,c;return y(e)||!e?c={next:e??void 0,error:n??void 0,complete:i??void 0}:c=e,o.destination=new er(c),o}return t}(R);function w(r){D(r)}function tr(r){throw r}var nr={closed:!0,next:k,error:tr,complete:k};function or(r,t,e,n,i){return new ir(r,t,e,n,i)}var ir=function(r){x(t,r);function t(e,n,i,o,c,a){var s=r.call(this,e)||this;return s.onFinalize=c,s.shouldUnsubscribe=a,s._next=n?function(u){try{n(u)}catch(l){e.error(l)}}:r.prototype._next,s._error=o?function(u){try{o(u)}catch(l){e.error(l)}finally{this.unsubscribe()}}:r.prototype._error,s._complete=i?function(){try{i()}catch(u){e.error(u)}finally{this.unsubscribe()}}:r.prototype._complete,s}return t.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;r.prototype.unsubscribe.call(this),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}},t}(R),B=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function cr(r){return r}function ur(r){return r.length===0?cr:r.length===1?r[0]:function(e){return r.reduce(function(n,i){return i(n)},e)}}var b=function(){function r(t){t&&(this._subscribe=t)}return r.prototype.lift=function(t){var e=new r;return e.source=this,e.operator=t,e},r.prototype.subscribe=function(t,e,n){var i=this,o=ar(t)?t:new E(t,e,n);return rr(function(){var c=i,a=c.operator,s=c.source;o.add(a?a.call(o,s):s?i._subscribe(o):i._trySubscribe(o))}),o},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(t,e){var n=this;return e=L(e),new e(function(i,o){var c=new E({next:function(a){try{t(a)}catch(s){o(s),c.unsubscribe()}},error:o,complete:i});n.subscribe(c)})},r.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},r.prototype[B]=function(){return this},r.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return ur(t)(this)},r.prototype.toPromise=function(t){var e=this;return t=L(t),new t(function(n,i){var o;e.subscribe(function(c){return o=c},function(c){return i(c)},function(){return n(o)})})},r.create=function(t){return new r(t)},r}();function L(r){var t;return(t=r??Z.Promise)!==null&&t!==void 0?t:Promise}function sr(r){return r&&y(r.next)&&y(r.error)&&y(r.complete)}function ar(r){return r&&r instanceof R||sr(r)&&K(r)}var fr=function(r){return r&&typeof r.length=="number"&&typeof r!="function"};function lr(r){return y(r==null?void 0:r.then)}function hr(r){return y(r[B])}function yr(r){return Symbol.asyncIterator&&y(r==null?void 0:r[Symbol.asyncIterator])}function pr(r){return new TypeError("You provided "+(r!==null&&typeof r=="object"?"an invalid object":"'"+r+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function vr(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var dr=vr();function br(r){return y(r==null?void 0:r[dr])}function mr(r){return W(this,arguments,function(){var e,n,i,o;return C(this,function(c){switch(c.label){case 0:e=r.getReader(),c.label=1;case 1:c.trys.push([1,,9,10]),c.label=2;case 2:return[4,A(e.read())];case 3:return n=c.sent(),i=n.value,o=n.done,o?[4,A(void 0)]:[3,5];case 4:return[2,c.sent()];case 5:return[4,A(i)];case 6:return[4,c.sent()];case 7:return c.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}})})}function Ar(r){return y(r==null?void 0:r.getReader)}function Sr(r){if(r instanceof b)return r;if(r!=null){if(hr(r))return _r(r);if(fr(r))return wr(r);if(lr(r))return gr(r);if(yr(r))return F(r);if(br(r))return Tr(r);if(Ar(r))return Or(r)}throw pr(r)}function _r(r){return new b(function(t){var e=r[B]();if(y(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function wr(r){return new b(function(t){for(var e=0;e<r.length&&!t.closed;e++)t.next(r[e]);t.complete()})}function gr(r){return new b(function(t){r.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,D)})}function Tr(r){return new b(function(t){var e,n;try{for(var i=_(r),o=i.next();!o.done;o=i.next()){var c=o.value;if(t.next(c),t.closed)return}}catch(a){e={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}t.complete()})}function F(r){return new b(function(t){Pr(r,t).catch(function(e){return t.error(e)})})}function Or(r){return F(mr(r))}function Pr(r,t){var e,n,i,o;return N(this,void 0,void 0,function(){var c,a;return C(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),e=Q(r),s.label=1;case 1:return[4,e.next()];case 2:if(n=s.sent(),!!n.done)return[3,4];if(c=n.value,t.next(c),t.closed)return[2];s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=s.sent(),i={error:a},[3,11];case 6:return s.trys.push([6,,9,10]),n&&!n.done&&(o=e.return)?[4,o.call(e)]:[3,8];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function M(r,t){t===void 0&&(t={});var e=t.selector,n=V(t,["selector"]);return new b(function(i){var o=new AbortController,c=o.signal,a=!0,s=n.signal;if(s)if(s.aborted)o.abort();else{var u=function(){c.aborted||o.abort()};s.addEventListener("abort",u),i.add(function(){return s.removeEventListener("abort",u)})}var l=g(g({},n),{signal:c}),p=function(v){a=!1,i.error(v)};return fetch(r,l).then(function(v){e?Sr(e(v)).subscribe(or(i,void 0,function(){a=!1,i.complete()},p)):(a=!1,i.next(v),i.complete())}).catch(p),function(){a&&o.abort()}})}class Ir extends J.CustomLogger{constructor(){super();m(this,"API_AUTH_BACK_URL");m(this,"API_AUTH_BACK_USERNAME_AUTH");m(this,"API_AUTH_BACK_PASSWORD_AUTH");m(this,"headers");m(this,"ID",process.env.ID_FRONT??"NOT_AVAILABLE");this.API_AUTH_BACK_URL=process.env.API_AUTH_BACK_URL,this.API_AUTH_BACK_USERNAME_AUTH=process.env.API_AUTH_BACK_USERNAME_AUTH,this.API_AUTH_BACK_PASSWORD_AUTH=process.env.API_AUTH_BACK_PASSWORD_AUTH,this.headers={Accept:"application/json","Content-Type":"application/vnd.api+json"}}get(){return this.logDebug("get ServiceToken"),M(this.API_AUTH_BACK_URL,{method:"POST",headers:this.headers,body:JSON.stringify({data:{id:this.ID,type:"AuthUser",attributes:{username:this.API_AUTH_BACK_USERNAME_AUTH,password:this.API_AUTH_BACK_PASSWORD_AUTH}}})}).pipe(S.switchMap(e=>e.json()),S.switchMap(e=>{var n;return this.logDebug(`ServiceToken <URL>: \x1B[33m ${this.API_AUTH_BACK_URL} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(this.headers)} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(e)} \x1B[37m`),S.of(((n=e==null?void 0:e.data.attributes)==null?void 0:n.token)||"")}),S.catchError(e=>(this.logError(`ServiceToken ${e}`),S.of(""))))}}exports.ServiceToken=Ir;exports.fromFetch=M;
|
|
@@ -2,7 +2,7 @@ var G = Object.defineProperty;
|
|
|
2
2
|
var J = (r, t, e) => t in r ? G(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var m = (r, t, e) => J(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
import { switchMap as B, of as H, catchError as V } from "rxjs";
|
|
5
|
-
import { CustomLogger as q } from "./mp-front-cli-logger.
|
|
5
|
+
import { CustomLogger as q } from "./mp-front-cli-logger.js";
|
|
6
6
|
var O = function(r, t) {
|
|
7
7
|
return O = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
|
|
8
8
|
e.__proto__ = n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=[];for(let i=0;i<256;++i)n.push((i+256).toString(16).slice(1));function c(i,u=0){return n[i[u+0]]+n[i[u+1]]+n[i[u+2]]+n[i[u+3]]+"-"+n[i[u+4]]+n[i[u+5]]+"-"+n[i[u+6]]+n[i[u+7]]+"-"+n[i[u+8]]+n[i[u+9]]+"-"+n[i[u+10]]+n[i[u+11]]+n[i[u+12]]+n[i[u+13]]+n[i[u+14]]+n[i[u+15]]}exports.unsafeStringify=c;
|
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mp-front-cli",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1-next-1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
|
+
"main": "./dist/mp-front-cli-all.cjs",
|
|
7
|
+
"module": "./dist/mp-front-cli-all.js",
|
|
6
8
|
"scripts": {
|
|
7
9
|
"build": "tsc && vite build",
|
|
8
10
|
"package": "npm pack",
|
|
@@ -20,54 +22,65 @@
|
|
|
20
22
|
"exports": {
|
|
21
23
|
".": {
|
|
22
24
|
"types": "./dist/index.d.ts",
|
|
23
|
-
"import": "./dist/mp-front-cli-all.
|
|
25
|
+
"import": "./dist/mp-front-cli-all.js",
|
|
26
|
+
"require": "./dist/mp-front-cli-all.cjs"
|
|
24
27
|
},
|
|
25
28
|
"./core": {
|
|
26
29
|
"types": "./dist/core/index.d.ts",
|
|
27
|
-
"import": "./dist/mp-front-cli-core.
|
|
30
|
+
"import": "./dist/mp-front-cli-core.js",
|
|
31
|
+
"require": "./dist/mp-front-cli-core.cjs"
|
|
28
32
|
},
|
|
29
33
|
"./core/rxjs": {
|
|
30
34
|
"types": "./dist/core/utils/rxjs/index.d.ts",
|
|
31
|
-
"import": "./dist/mp-front-cli-utils-rxjs.
|
|
35
|
+
"import": "./dist/mp-front-cli-utils-rxjs.js",
|
|
36
|
+
"require": "./dist/mp-front-cli-utils-rxjs.cjs"
|
|
32
37
|
},
|
|
33
38
|
"./core/encoder": {
|
|
34
39
|
"types": "./dist/core/utils/custom-encoder.d.ts",
|
|
35
|
-
"import": "./dist/mp-front-cli-encoder.
|
|
40
|
+
"import": "./dist/mp-front-cli-encoder.js",
|
|
41
|
+
"require": "./dist/mp-front-cli-encoder.cjs"
|
|
36
42
|
},
|
|
37
43
|
"./core/header": {
|
|
38
44
|
"types": "./dist/core/utils/custom-header.d.ts",
|
|
39
|
-
"import": "./dist/mp-front-cli-header.
|
|
45
|
+
"import": "./dist/mp-front-cli-header.js",
|
|
46
|
+
"require": "./dist/mp-front-cli-header.cjs"
|
|
40
47
|
},
|
|
41
48
|
"./core/logger": {
|
|
42
49
|
"types": "./dist/core/utils/custom-logger.d.ts",
|
|
43
|
-
"import": "./dist/mp-front-cli-logger.
|
|
50
|
+
"import": "./dist/mp-front-cli-logger.js",
|
|
51
|
+
"require": "./dist/mp-front-cli-logger.cjs"
|
|
44
52
|
},
|
|
45
53
|
"./core/encrypter": {
|
|
46
54
|
"types": "./dist/core/utils/custom-encrypter.d.ts",
|
|
47
|
-
"import": "./dist/mp-front-cli-encrypter.
|
|
55
|
+
"import": "./dist/mp-front-cli-encrypter.js",
|
|
56
|
+
"require": "./dist/mp-front-cli-encrypter.cjs"
|
|
48
57
|
},
|
|
49
58
|
"./core/cache": {
|
|
50
59
|
"types": "./dist/core/utils/custom-cache.d.ts",
|
|
51
|
-
"import": "./dist/mp-front-cli-cache.
|
|
60
|
+
"import": "./dist/mp-front-cli-cache.js",
|
|
61
|
+
"require": "./dist/mp-front-cli-cache.cjs"
|
|
52
62
|
},
|
|
53
63
|
"./core/adapter": {
|
|
54
64
|
"types": "./dist/core/utils/custom-adapter.d.ts",
|
|
55
|
-
"import": "./dist/mp-front-cli-adapter.
|
|
65
|
+
"import": "./dist/mp-front-cli-adapter.js",
|
|
66
|
+
"require": "./dist/mp-front-cli-adapter.cjs"
|
|
56
67
|
},
|
|
57
68
|
"./core/services": {
|
|
58
69
|
"types": "./dist/core/services/index.d.ts",
|
|
59
|
-
"import": "./dist/mp-front-cli-services.
|
|
70
|
+
"import": "./dist/mp-front-cli-services.js",
|
|
71
|
+
"require": "./dist/mp-front-cli-services.cjs"
|
|
60
72
|
},
|
|
61
73
|
"./locale": {
|
|
62
74
|
"types": "./dist/lang/index.d.ts",
|
|
63
|
-
"import": "./dist/mp-front-cli-locale.
|
|
75
|
+
"import": "./dist/mp-front-cli-locale.js",
|
|
76
|
+
"require": "./dist/mp-front-cli-locale.cjs"
|
|
64
77
|
},
|
|
65
78
|
"./types": {
|
|
66
79
|
"types": "./dist/core/interfaces/index.d.ts"
|
|
67
80
|
}
|
|
68
81
|
},
|
|
69
82
|
"peerDependencies": {
|
|
70
|
-
"i18next": "
|
|
83
|
+
"i18next": "25.2.0",
|
|
71
84
|
"ioredis": "5.3.2",
|
|
72
85
|
"next-auth": "4.24.11",
|
|
73
86
|
"node-jose": "2.2.0",
|
|
@@ -91,8 +104,8 @@
|
|
|
91
104
|
"globals": "15.14.0",
|
|
92
105
|
"husky": "9.1.7",
|
|
93
106
|
"typescript": "5.7.2",
|
|
94
|
-
"vite": "6.
|
|
107
|
+
"vite": "6.3.5",
|
|
95
108
|
"vite-plugin-dts": "4.5.0",
|
|
96
109
|
"vite-tsconfig-paths": "5.1.4"
|
|
97
110
|
}
|
|
98
|
-
}
|
|
111
|
+
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { A as r, E as s, F as o, a as t, b as c } from "./fetch-service-parent-be-ieWZxGPx.js";
|
|
2
|
-
import { L as n, M as S, R as d } from "./loading-handler-Br21zGTA.js";
|
|
3
|
-
import { S as F } from "./service-token-DceocCHP.js";
|
|
4
|
-
export {
|
|
5
|
-
r as ApiMiddleware,
|
|
6
|
-
s as ErrorCatalog,
|
|
7
|
-
o as FetchServiceBE,
|
|
8
|
-
t as FetchServiceFE,
|
|
9
|
-
c as FetchServiceParentBE,
|
|
10
|
-
n as LoadingHandler,
|
|
11
|
-
S as MessageHandler,
|
|
12
|
-
d as RxSubjectManager,
|
|
13
|
-
F as ServiceToken
|
|
14
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { A as r, E as s, F as o, a as t, b as c } from "./fetch-service-parent-be-ieWZxGPx.js";
|
|
2
|
-
import { L as n, M as S, R as d } from "./loading-handler-Br21zGTA.js";
|
|
3
|
-
import { S as F } from "./service-token-DceocCHP.js";
|
|
4
|
-
export {
|
|
5
|
-
r as ApiMiddleware,
|
|
6
|
-
s as ErrorCatalog,
|
|
7
|
-
o as FetchServiceBE,
|
|
8
|
-
t as FetchServiceFE,
|
|
9
|
-
c as FetchServiceParentBE,
|
|
10
|
-
n as LoadingHandler,
|
|
11
|
-
S as MessageHandler,
|
|
12
|
-
d as RxSubjectManager,
|
|
13
|
-
F as ServiceToken
|
|
14
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|