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 +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
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
|
|
75
|
+
var import_http = require("@angular/common/http");
|
|
76
76
|
function createHttpParams(customHttpParams) {
|
|
77
|
-
return addParamsToHttpParamsProcess(new
|
|
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
|
|
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)(
|
|
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/
|
|
42
|
+
import { HttpParams } from "@angular/common/http";
|
|
43
43
|
function createHttpParams(customHttpParams) {
|
|
44
44
|
return addParamsToHttpParamsProcess(new HttpParams(), customHttpParams);
|
|
45
45
|
}
|