jdev_helpers 1.3.2 → 1.3.3

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/index.d.mts CHANGED
@@ -1,5 +1,4 @@
1
- import { HttpParams } from '@angular/common/module.d-CnjH8Dlt';
2
- import { HttpClient } from '@angular/common/http';
1
+ import { HttpParams, HttpClient } from '@angular/common/http';
3
2
 
4
3
  declare const debug: (message?: any, ...optionalParams: any[]) => void;
5
4
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import { HttpParams } from '@angular/common/module.d-CnjH8Dlt';
2
- import { HttpClient } from '@angular/common/http';
1
+ import { HttpParams, HttpClient } from '@angular/common/http';
3
2
 
4
3
  declare const debug: (message?: any, ...optionalParams: any[]) => void;
5
4
 
package/dist/index.js CHANGED
@@ -72,9 +72,9 @@ var writeToStorage = (storageName, obj, isLocalStorage) => {
72
72
  };
73
73
 
74
74
  // src/js/http-helper.ts
75
- var import_module = require("@angular/common/module.d-CnjH8Dlt");
75
+ var import_http = require("@angular/common/http");
76
76
  function createHttpParams(customHttpParams) {
77
- return addParamsToHttpParamsProcess(new import_module.HttpParams(), customHttpParams);
77
+ return addParamsToHttpParamsProcess(new import_http.HttpParams(), customHttpParams);
78
78
  }
79
79
  function addHttpParams(hp, customHttpParams) {
80
80
  if (customHttpParams.needToCheckValue) {
@@ -95,10 +95,10 @@ function addParamsToHttpParamsProcess(hp, customHttpParams) {
95
95
  }
96
96
 
97
97
  // src/angular/http-parent.service.ts
98
- var import_http = require("@angular/common/http");
98
+ var import_http2 = require("@angular/common/http");
99
99
  var import_core = require("@angular/core");
100
100
  var HttpParentService = class {
101
- http = (0, import_core.inject)(import_http.HttpClient);
101
+ http = (0, import_core.inject)(import_http2.HttpClient);
102
102
  constructor() {
103
103
  }
104
104
  };
package/dist/index.mjs CHANGED
@@ -39,7 +39,7 @@ var writeToStorage = (storageName, obj, isLocalStorage) => {
39
39
  };
40
40
 
41
41
  // src/js/http-helper.ts
42
- import { HttpParams } from "@angular/common/module.d-CnjH8Dlt";
42
+ import { HttpParams } from "@angular/common/http";
43
43
  function createHttpParams(customHttpParams) {
44
44
  return addParamsToHttpParamsProcess(new HttpParams(), customHttpParams);
45
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jdev_helpers",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "jdev helpers for js and angular",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",