@inceptionbg/main 3.0.3 → 3.0.7

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,3 +1,5 @@
1
+ import { AxiosInstance } from 'axios';
2
+
1
3
  declare const moduleIds = [
2
4
  'DASHBOARD',
3
5
  'ADMIN',
@@ -11,656 +13,25 @@ declare const moduleIds = [
11
13
  'EPROCUREMENT',
12
14
  'EREGISTER',
13
15
  'PAM',
16
+ 'DISPATCH_NOTE',
14
17
  'ERP_CASH_REGISTER',
15
18
  'ERP_RIF',
16
19
  'ERP_MAT_ACC',
17
20
  'ERP_SMALL_INVENTORY',
18
21
  'ERP_WMS',
19
22
  'JISUSZ_BACKOFFICE',
23
+ // 'ERP',
24
+ // 'FINANCES',
25
+ // 'CONTRACTS',
26
+ // 'IDM',
27
+ // 'REGISTRATION',
28
+ // 'QC_REGISTRATION',
29
+ // 'SETTINGS',
20
30
  ] as const;
21
31
 
22
32
  type IModuleId = (typeof moduleIds)[number];
23
33
 
24
- type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT' | 'TEST_PPLCG' | 'PROD_PPLCG';
25
- type IServiceApi =
26
- | 'auth'
27
- | 'idm'
28
- | 'codebook'
29
- | 'auditLog'
30
- | 'notifications'
31
- | 'indexData'
32
- | 'registration'
33
- | 'reportTemplates'
34
- | 'procurement'
35
- | 'archive'
36
- | 'invoice'
37
- | 'edms'
38
- | 'rif'
39
- | 'cashRegister'
40
- | 'jisuszProxy'
41
- | 'fosterCare'
42
- | 'article';
43
-
44
- type CustomHeader = {
45
- public?: boolean;
46
- baseUrl?: string;
47
- service?: IServiceApi;
48
- token?: string;
49
- noToast?: boolean;
50
- noErrors?: boolean;
51
- };
52
-
53
- // TypeScript Version: 4.7
54
- type AxiosHeaderValue = AxiosHeaders | string | string[] | number | boolean | null;
55
-
56
- interface RawAxiosHeaders {
57
- [key: string]: AxiosHeaderValue;
58
- }
59
-
60
- type MethodsHeaders = Partial<
61
- {
62
- [Key in Method as Lowercase<Key>]: AxiosHeaders;
63
- } & { common: AxiosHeaders }
64
- >;
65
-
66
- type AxiosHeaderMatcher =
67
- | string
68
- | RegExp
69
- | ((this: AxiosHeaders, value: string, name: string) => boolean);
70
-
71
- type AxiosHeaderParser = (
72
- this: AxiosHeaders,
73
- value: AxiosHeaderValue,
74
- header: string
75
- ) => any;
76
-
77
- declare class AxiosHeaders {
78
- constructor(headers?: RawAxiosHeaders | AxiosHeaders | string);
79
-
80
- [key: string]: any;
81
-
82
- set(
83
- headerName?: string,
84
- value?: AxiosHeaderValue,
85
- rewrite?: boolean | AxiosHeaderMatcher
86
- ): AxiosHeaders;
87
- set(headers?: RawAxiosHeaders | AxiosHeaders | string, rewrite?: boolean): AxiosHeaders;
88
-
89
- get(headerName: string, parser: RegExp): RegExpExecArray | null;
90
- get(headerName: string, matcher?: true | AxiosHeaderParser): AxiosHeaderValue;
91
-
92
- has(header: string, matcher?: AxiosHeaderMatcher): boolean;
93
-
94
- delete(header: string | string[], matcher?: AxiosHeaderMatcher): boolean;
95
-
96
- clear(matcher?: AxiosHeaderMatcher): boolean;
97
-
98
- normalize(format: boolean): AxiosHeaders;
99
-
100
- concat(
101
- ...targets: Array<AxiosHeaders | RawAxiosHeaders | string | undefined | null>
102
- ): AxiosHeaders;
103
-
104
- toJSON(asStrings?: boolean): RawAxiosHeaders;
105
-
106
- static from(thing?: AxiosHeaders | RawAxiosHeaders | string): AxiosHeaders;
107
-
108
- static accessor(header: string | string[]): AxiosHeaders;
109
-
110
- static concat(
111
- ...targets: Array<AxiosHeaders | RawAxiosHeaders | string | undefined | null>
112
- ): AxiosHeaders;
113
-
114
- setContentType(
115
- value: ContentType,
116
- rewrite?: boolean | AxiosHeaderMatcher
117
- ): AxiosHeaders;
118
- getContentType(parser?: RegExp): RegExpExecArray | null;
119
- getContentType(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
120
- hasContentType(matcher?: AxiosHeaderMatcher): boolean;
121
-
122
- setContentLength(
123
- value: AxiosHeaderValue,
124
- rewrite?: boolean | AxiosHeaderMatcher
125
- ): AxiosHeaders;
126
- getContentLength(parser?: RegExp): RegExpExecArray | null;
127
- getContentLength(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
128
- hasContentLength(matcher?: AxiosHeaderMatcher): boolean;
129
-
130
- setAccept(
131
- value: AxiosHeaderValue,
132
- rewrite?: boolean | AxiosHeaderMatcher
133
- ): AxiosHeaders;
134
- getAccept(parser?: RegExp): RegExpExecArray | null;
135
- getAccept(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
136
- hasAccept(matcher?: AxiosHeaderMatcher): boolean;
137
-
138
- setUserAgent(
139
- value: AxiosHeaderValue,
140
- rewrite?: boolean | AxiosHeaderMatcher
141
- ): AxiosHeaders;
142
- getUserAgent(parser?: RegExp): RegExpExecArray | null;
143
- getUserAgent(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
144
- hasUserAgent(matcher?: AxiosHeaderMatcher): boolean;
145
-
146
- setContentEncoding(
147
- value: AxiosHeaderValue,
148
- rewrite?: boolean | AxiosHeaderMatcher
149
- ): AxiosHeaders;
150
- getContentEncoding(parser?: RegExp): RegExpExecArray | null;
151
- getContentEncoding(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
152
- hasContentEncoding(matcher?: AxiosHeaderMatcher): boolean;
153
-
154
- setAuthorization(
155
- value: AxiosHeaderValue,
156
- rewrite?: boolean | AxiosHeaderMatcher
157
- ): AxiosHeaders;
158
- getAuthorization(parser?: RegExp): RegExpExecArray | null;
159
- getAuthorization(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
160
- hasAuthorization(matcher?: AxiosHeaderMatcher): boolean;
161
-
162
- getSetCookie(): string[];
163
-
164
- [Symbol.iterator](): IterableIterator<[string, AxiosHeaderValue]>;
165
- }
166
-
167
- type CommonRequestHeadersList =
168
- | 'Accept'
169
- | 'Content-Length'
170
- | 'User-Agent'
171
- | 'Content-Encoding'
172
- | 'Authorization';
173
-
174
- type ContentType =
175
- | AxiosHeaderValue
176
- | 'text/html'
177
- | 'text/plain'
178
- | 'multipart/form-data'
179
- | 'application/json'
180
- | 'application/x-www-form-urlencoded'
181
- | 'application/octet-stream';
182
-
183
- type RawAxiosRequestHeaders = Partial<
184
- RawAxiosHeaders & {
185
- [Key in CommonRequestHeadersList]: AxiosHeaderValue;
186
- } & {
187
- 'Content-Type': ContentType;
188
- }
189
- >;
190
-
191
- type AxiosRequestHeaders = RawAxiosRequestHeaders & AxiosHeaders;
192
-
193
- type CommonResponseHeadersList =
194
- | 'Server'
195
- | 'Content-Type'
196
- | 'Content-Length'
197
- | 'Cache-Control'
198
- | 'Content-Encoding';
199
-
200
- type RawCommonResponseHeaders = {
201
- [Key in CommonResponseHeadersList]: AxiosHeaderValue;
202
- } & {
203
- 'set-cookie': string[];
204
- };
205
-
206
- type RawAxiosResponseHeaders = Partial<RawAxiosHeaders & RawCommonResponseHeaders>;
207
-
208
- type AxiosResponseHeaders = RawAxiosResponseHeaders & AxiosHeaders;
209
-
210
- interface AxiosRequestTransformer {
211
- (this: InternalAxiosRequestConfig, data: any, headers: AxiosRequestHeaders): any;
212
- }
213
-
214
- interface AxiosResponseTransformer {
215
- (
216
- this: InternalAxiosRequestConfig,
217
- data: any,
218
- headers: AxiosResponseHeaders,
219
- status?: number
220
- ): any;
221
- }
222
-
223
- interface AxiosAdapter {
224
- (config: InternalAxiosRequestConfig): AxiosPromise;
225
- }
226
-
227
- interface AxiosBasicCredentials {
228
- username: string;
229
- password: string;
230
- }
231
-
232
- interface AxiosProxyConfig {
233
- host: string;
234
- port: number;
235
- auth?: AxiosBasicCredentials;
236
- protocol?: string;
237
- }
238
-
239
- declare enum HttpStatusCode {
240
- Continue = 100,
241
- SwitchingProtocols = 101,
242
- Processing = 102,
243
- EarlyHints = 103,
244
- Ok = 200,
245
- Created = 201,
246
- Accepted = 202,
247
- NonAuthoritativeInformation = 203,
248
- NoContent = 204,
249
- ResetContent = 205,
250
- PartialContent = 206,
251
- MultiStatus = 207,
252
- AlreadyReported = 208,
253
- ImUsed = 226,
254
- MultipleChoices = 300,
255
- MovedPermanently = 301,
256
- Found = 302,
257
- SeeOther = 303,
258
- NotModified = 304,
259
- UseProxy = 305,
260
- Unused = 306,
261
- TemporaryRedirect = 307,
262
- PermanentRedirect = 308,
263
- BadRequest = 400,
264
- Unauthorized = 401,
265
- PaymentRequired = 402,
266
- Forbidden = 403,
267
- NotFound = 404,
268
- MethodNotAllowed = 405,
269
- NotAcceptable = 406,
270
- ProxyAuthenticationRequired = 407,
271
- RequestTimeout = 408,
272
- Conflict = 409,
273
- Gone = 410,
274
- LengthRequired = 411,
275
- PreconditionFailed = 412,
276
- PayloadTooLarge = 413,
277
- UriTooLong = 414,
278
- UnsupportedMediaType = 415,
279
- RangeNotSatisfiable = 416,
280
- ExpectationFailed = 417,
281
- ImATeapot = 418,
282
- MisdirectedRequest = 421,
283
- UnprocessableEntity = 422,
284
- Locked = 423,
285
- FailedDependency = 424,
286
- TooEarly = 425,
287
- UpgradeRequired = 426,
288
- PreconditionRequired = 428,
289
- TooManyRequests = 429,
290
- RequestHeaderFieldsTooLarge = 431,
291
- UnavailableForLegalReasons = 451,
292
- InternalServerError = 500,
293
- NotImplemented = 501,
294
- BadGateway = 502,
295
- ServiceUnavailable = 503,
296
- GatewayTimeout = 504,
297
- HttpVersionNotSupported = 505,
298
- VariantAlsoNegotiates = 506,
299
- InsufficientStorage = 507,
300
- LoopDetected = 508,
301
- NotExtended = 510,
302
- NetworkAuthenticationRequired = 511,
303
- }
304
-
305
- type Method =
306
- | 'get'
307
- | 'GET'
308
- | 'delete'
309
- | 'DELETE'
310
- | 'head'
311
- | 'HEAD'
312
- | 'options'
313
- | 'OPTIONS'
314
- | 'post'
315
- | 'POST'
316
- | 'put'
317
- | 'PUT'
318
- | 'patch'
319
- | 'PATCH'
320
- | 'purge'
321
- | 'PURGE'
322
- | 'link'
323
- | 'LINK'
324
- | 'unlink'
325
- | 'UNLINK';
326
-
327
- type ResponseType =
328
- | 'arraybuffer'
329
- | 'blob'
330
- | 'document'
331
- | 'json'
332
- | 'text'
333
- | 'stream'
334
- | 'formdata';
335
-
336
- type responseEncoding =
337
- | 'ascii'
338
- | 'ASCII'
339
- | 'ansi'
340
- | 'ANSI'
341
- | 'binary'
342
- | 'BINARY'
343
- | 'base64'
344
- | 'BASE64'
345
- | 'base64url'
346
- | 'BASE64URL'
347
- | 'hex'
348
- | 'HEX'
349
- | 'latin1'
350
- | 'LATIN1'
351
- | 'ucs-2'
352
- | 'UCS-2'
353
- | 'ucs2'
354
- | 'UCS2'
355
- | 'utf-8'
356
- | 'UTF-8'
357
- | 'utf8'
358
- | 'UTF8'
359
- | 'utf16le'
360
- | 'UTF16LE';
361
-
362
- interface TransitionalOptions {
363
- silentJSONParsing?: boolean;
364
- forcedJSONParsing?: boolean;
365
- clarifyTimeoutError?: boolean;
366
- }
367
-
368
- interface GenericAbortSignal {
369
- readonly aborted: boolean;
370
- onabort?: ((...args: any) => any) | null;
371
- addEventListener?: (...args: any) => any;
372
- removeEventListener?: (...args: any) => any;
373
- }
374
-
375
- interface FormDataVisitorHelpers {
376
- defaultVisitor: SerializerVisitor;
377
- convertValue: (value: any) => any;
378
- isVisitable: (value: any) => boolean;
379
- }
380
-
381
- interface SerializerVisitor {
382
- (
383
- this: GenericFormData,
384
- value: any,
385
- key: string | number,
386
- path: null | Array<string | number>,
387
- helpers: FormDataVisitorHelpers
388
- ): boolean;
389
- }
390
-
391
- interface SerializerOptions {
392
- visitor?: SerializerVisitor;
393
- dots?: boolean;
394
- metaTokens?: boolean;
395
- indexes?: boolean | null;
396
- }
397
-
398
- // eslint-disable-next-line
399
- interface FormSerializerOptions extends SerializerOptions {}
400
-
401
- interface ParamEncoder {
402
- (value: any, defaultEncoder: (value: any) => any): any;
403
- }
404
-
405
- interface CustomParamsSerializer {
406
- (params: Record<string, any>, options?: ParamsSerializerOptions): string;
407
- }
408
-
409
- interface ParamsSerializerOptions extends SerializerOptions {
410
- encode?: ParamEncoder;
411
- serialize?: CustomParamsSerializer;
412
- }
413
-
414
- type MaxUploadRate = number;
415
-
416
- type MaxDownloadRate = number;
417
-
418
- type BrowserProgressEvent = any;
419
-
420
- interface AxiosProgressEvent {
421
- loaded: number;
422
- total?: number;
423
- progress?: number;
424
- bytes: number;
425
- rate?: number;
426
- estimated?: number;
427
- upload?: boolean;
428
- download?: boolean;
429
- event?: BrowserProgressEvent;
430
- lengthComputable: boolean;
431
- }
432
-
433
- type Milliseconds = number;
434
-
435
- type AxiosAdapterName = 'fetch' | 'xhr' | 'http' | (string & {});
436
-
437
- type AxiosAdapterConfig = AxiosAdapter | AxiosAdapterName;
438
-
439
- type AddressFamily = 4 | 6 | undefined;
440
-
441
- interface LookupAddressEntry {
442
- address: string;
443
- family?: AddressFamily;
444
- }
445
-
446
- type LookupAddress = string | LookupAddressEntry;
447
-
448
- interface AxiosRequestConfig<D = any> {
449
- url?: string;
450
- method?: Method | string;
451
- baseURL?: string;
452
- allowAbsoluteUrls?: boolean;
453
- transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
454
- transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
455
- headers?: ((RawAxiosRequestHeaders & MethodsHeaders) | AxiosHeaders) & CustomHeader;
456
- params?: any;
457
- paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer;
458
- data?: D;
459
- timeout?: Milliseconds;
460
- timeoutErrorMessage?: string;
461
- withCredentials?: boolean;
462
- adapter?: AxiosAdapterConfig | AxiosAdapterConfig[];
463
- auth?: AxiosBasicCredentials;
464
- responseType?: ResponseType;
465
- responseEncoding?: responseEncoding | string;
466
- xsrfCookieName?: string;
467
- xsrfHeaderName?: string;
468
- onUploadProgress?: (progressEvent: AxiosProgressEvent) => void;
469
- onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void;
470
- maxContentLength?: number;
471
- validateStatus?: ((status: number) => boolean) | null;
472
- maxBodyLength?: number;
473
- maxRedirects?: number;
474
- maxRate?: number | [MaxUploadRate, MaxDownloadRate];
475
- beforeRedirect?: (
476
- options: Record<string, any>,
477
- responseDetails: { headers: Record<string, string>; statusCode: HttpStatusCode }
478
- ) => void;
479
- socketPath?: string | null;
480
- transport?: any;
481
- httpAgent?: any;
482
- httpsAgent?: any;
483
- proxy?: AxiosProxyConfig | false;
484
- cancelToken?: CancelToken;
485
- decompress?: boolean;
486
- transitional?: TransitionalOptions;
487
- signal?: GenericAbortSignal;
488
- insecureHTTPParser?: boolean;
489
- env?: {
490
- FormData?: new (...args: any[]) => object;
491
- };
492
- formSerializer?: FormSerializerOptions;
493
- family?: AddressFamily;
494
- lookup?:
495
- | ((
496
- hostname: string,
497
- options: object,
498
- cb: (
499
- err: Error | null,
500
- address: LookupAddress | LookupAddress[],
501
- family?: AddressFamily
502
- ) => void
503
- ) => void)
504
- | ((
505
- hostname: string,
506
- options: object
507
- ) => Promise<
508
- | [address: LookupAddressEntry | LookupAddressEntry[], family?: AddressFamily]
509
- | LookupAddress
510
- >);
511
- withXSRFToken?: boolean | ((config: InternalAxiosRequestConfig) => boolean | undefined);
512
- fetchOptions?: Record<string, any>;
513
- }
514
-
515
- interface InternalAxiosRequestConfig<D = any> extends AxiosRequestConfig<D> {
516
- headers: AxiosRequestHeaders;
517
- }
518
-
519
- interface HeadersDefaults {
520
- common: RawAxiosRequestHeaders;
521
- delete: RawAxiosRequestHeaders;
522
- get: RawAxiosRequestHeaders;
523
- head: RawAxiosRequestHeaders;
524
- post: RawAxiosRequestHeaders;
525
- put: RawAxiosRequestHeaders;
526
- patch: RawAxiosRequestHeaders;
527
- options?: RawAxiosRequestHeaders;
528
- purge?: RawAxiosRequestHeaders;
529
- link?: RawAxiosRequestHeaders;
530
- unlink?: RawAxiosRequestHeaders;
531
- }
532
-
533
- interface AxiosDefaults<D = any> extends Omit<AxiosRequestConfig<D>, 'headers'> {
534
- headers: HeadersDefaults;
535
- }
536
-
537
- interface CreateAxiosDefaults<D = any>
538
- extends Omit<AxiosRequestConfig<D>, 'headers'> {
539
- headers?: RawAxiosRequestHeaders | AxiosHeaders | Partial<HeadersDefaults>;
540
- }
541
-
542
- interface AxiosResponse<T = any, D = any> {
543
- data: T;
544
- status: number;
545
- statusText: string;
546
- headers: RawAxiosResponseHeaders | AxiosResponseHeaders;
547
- config: InternalAxiosRequestConfig<D>;
548
- request?: any;
549
- }
550
-
551
- type AxiosPromise<T = any> = Promise<AxiosResponse<T>>;
552
-
553
- interface Cancel {
554
- message: string | undefined;
555
- }
556
-
557
- interface CancelToken {
558
- promise: Promise<Cancel>;
559
- reason?: Cancel;
560
- throwIfRequested(): void;
561
- }
562
-
563
- interface AxiosInterceptorOptions {
564
- synchronous?: boolean;
565
- runWhen?: (config: InternalAxiosRequestConfig) => boolean;
566
- }
567
-
568
- type AxiosRequestInterceptorUse<T> = (
569
- onFulfilled?: ((value: T) => T | Promise<T>) | null,
570
- onRejected?: ((error: any) => any) | null,
571
- options?: AxiosInterceptorOptions
572
- ) => number;
573
-
574
- type AxiosResponseInterceptorUse<T> = (
575
- onFulfilled?: ((value: T) => T | Promise<T>) | null,
576
- onRejected?: ((error: any) => any) | null
577
- ) => number;
578
-
579
- interface AxiosInterceptorManager<V> {
580
- use: V extends AxiosResponse
581
- ? AxiosResponseInterceptorUse<V>
582
- : AxiosRequestInterceptorUse<V>;
583
- eject(id: number): void;
584
- clear(): void;
585
- }
586
-
587
- declare class Axios {
588
- constructor(config?: AxiosRequestConfig);
589
- defaults: AxiosDefaults;
590
- interceptors: {
591
- request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
592
- response: AxiosInterceptorManager<AxiosResponse>;
593
- };
594
- getUri(config?: AxiosRequestConfig): string;
595
- request<T = any, R = AxiosResponse<T>, D = any>(
596
- config: AxiosRequestConfig<D>
597
- ): Promise<R>;
598
- get<T = any, R = AxiosResponse<T>, D = any>(
599
- url: string,
600
- config?: AxiosRequestConfig<D>
601
- ): Promise<R>;
602
- delete<T = any, R = AxiosResponse<T>, D = any>(
603
- url: string,
604
- config?: AxiosRequestConfig<D>
605
- ): Promise<R>;
606
- head<T = any, R = AxiosResponse<T>, D = any>(
607
- url: string,
608
- config?: AxiosRequestConfig<D>
609
- ): Promise<R>;
610
- options<T = any, R = AxiosResponse<T>, D = any>(
611
- url: string,
612
- config?: AxiosRequestConfig<D>
613
- ): Promise<R>;
614
- post<T = any, R = AxiosResponse<T>, D = any>(
615
- url: string,
616
- data?: D,
617
- config?: AxiosRequestConfig<D>
618
- ): Promise<R>;
619
- put<T = any, R = AxiosResponse<T>, D = any>(
620
- url: string,
621
- data?: D,
622
- config?: AxiosRequestConfig<D>
623
- ): Promise<R>;
624
- patch<T = any, R = AxiosResponse<T>, D = any>(
625
- url: string,
626
- data?: D,
627
- config?: AxiosRequestConfig<D>
628
- ): Promise<R>;
629
- postForm<T = any, R = AxiosResponse<T>, D = any>(
630
- url: string,
631
- data?: D,
632
- config?: AxiosRequestConfig<D>
633
- ): Promise<R>;
634
- putForm<T = any, R = AxiosResponse<T>, D = any>(
635
- url: string,
636
- data?: D,
637
- config?: AxiosRequestConfig<D>
638
- ): Promise<R>;
639
- patchForm<T = any, R = AxiosResponse<T>, D = any>(
640
- url: string,
641
- data?: D,
642
- config?: AxiosRequestConfig<D>
643
- ): Promise<R>;
644
- }
645
-
646
- interface AxiosInstance extends Axios {
647
- <T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R>;
648
- <T = any, R = AxiosResponse<T>, D = any>(
649
- url: string,
650
- config?: AxiosRequestConfig<D>
651
- ): Promise<R>;
652
-
653
- create(config?: CreateAxiosDefaults): AxiosInstance;
654
- defaults: Omit<AxiosDefaults, 'headers'> & {
655
- headers: HeadersDefaults & {
656
- [key: string]: AxiosHeaderValue;
657
- };
658
- };
659
- }
660
-
661
- interface GenericFormData {
662
- append(name: string, value: any, options?: any): any;
663
- }
34
+ type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT' | 'TEST_PPLCG' | 'PROD_PPLCG';
664
35
 
665
36
  declare global {
666
37
  var environment: IEnv;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inceptionbg/main",
3
- "version": "3.0.3",
3
+ "version": "3.0.7",
4
4
  "description": "Main app wrapper for Inception ecosystem",
5
5
  "type": "module",
6
6
  "files": [
@@ -12,13 +12,14 @@
12
12
  "build": "rollup -c",
13
13
  "tsc": "tsc --noEmit",
14
14
  "lint": "eslint --max-warnings=0 src",
15
+ "link-i": "npm link @inceptionbg/iui",
15
16
  "update": "npm i @inceptionbg/iui@latest",
16
17
  "release": "npm version patch && npm run build && npm publish"
17
18
  },
18
19
  "author": "Aleksandar Sadzak",
19
20
  "license": "ISC",
20
21
  "dependencies": {
21
- "axios": "^1.9.0",
22
+ "axios": "^1.10.0",
22
23
  "crypto-js": "^4.2.0",
23
24
  "jwt-decode": "^4.0.0"
24
25
  },
@@ -38,7 +39,7 @@
38
39
  "tslib": "^2.6.1"
39
40
  },
40
41
  "peerDependencies": {
41
- "@inceptionbg/iui": "^2.0.6",
42
+ "@inceptionbg/iui": "^2.0.13",
42
43
  "@tanstack/react-query": "^5.83.0",
43
44
  "i18next": "^25.3.2",
44
45
  "react": "^19.1.0",