@decaf-ts/for-http 0.3.12 → 0.3.14

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/lib/index.cjs CHANGED
@@ -29,6 +29,7 @@ __exportStar(require("./axios/index.cjs"), exports);
29
29
  __exportStar(require("./adapter.cjs"), exports);
30
30
  __exportStar(require("./HttpPaginator.cjs"), exports);
31
31
  __exportStar(require("./HttpStatement.cjs"), exports);
32
+ __exportStar(require("./ResponseParser.cjs"), exports);
32
33
  __exportStar(require("./RestRepository.cjs"), exports);
33
34
  __exportStar(require("./RestService.cjs"), exports);
34
35
  __exportStar(require("./types.cjs"), exports);
@@ -37,7 +38,7 @@ __exportStar(require("./types.cjs"), exports);
37
38
  * @summary Version identifier for the module
38
39
  * @const VERSION
39
40
  */
40
- exports.VERSION = "0.3.11";
41
+ exports.VERSION = "0.3.13";
41
42
  exports.PACKAGE_NAME = "@decaf-ts/for-http";
42
43
  decoration_1.Metadata.registerLibrary(exports.PACKAGE_NAME, exports.VERSION);
43
44
  //# sourceMappingURL=index.js.map
package/lib/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export * from "./axios";
11
11
  export * from "./adapter";
12
12
  export * from "./HttpPaginator";
13
13
  export * from "./HttpStatement";
14
+ export * from "./ResponseParser";
14
15
  export * from "./RestRepository";
15
16
  export * from "./RestService";
16
17
  export * from "./types";
@@ -19,5 +20,5 @@ export * from "./types";
19
20
  * @summary Version identifier for the module
20
21
  * @const VERSION
21
22
  */
22
- export declare const VERSION = "0.3.11";
23
+ export declare const VERSION = "0.3.13";
23
24
  export declare const PACKAGE_NAME = "@decaf-ts/for-http";
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0BAAwB;AACxB,qDAAgD;AAEhD;;;;;;;GAOG;AACH,oDAAwB;AACxB,gDAA0B;AAC1B,sDAAgC;AAChC,sDAAgC;AAChC,uDAAiC;AACjC,oDAA8B;AAC9B,8CAAwB;AAExB;;;;GAIG;AACU,QAAA,OAAO,GAAG,aAAa,CAAC;AAExB,QAAA,YAAY,GAAG,aAAa,CAAC;AAE1C,qBAAQ,CAAC,eAAe,CAAC,oBAAY,EAAE,eAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0BAAwB;AACxB,qDAAgD;AAEhD;;;;;;;GAOG;AACH,oDAAwB;AACxB,gDAA0B;AAC1B,sDAAgC;AAChC,sDAAgC;AAChC,uDAAiC;AACjC,uDAAiC;AACjC,oDAA8B;AAC9B,8CAAwB;AAExB;;;;GAIG;AACU,QAAA,OAAO,GAAG,aAAa,CAAC;AAExB,QAAA,YAAY,GAAG,aAAa,CAAC;AAE1C,qBAAQ,CAAC,eAAe,CAAC,oBAAY,EAAE,eAAO,CAAC,CAAC"}
package/lib/types.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { AdapterFlags } from "@decaf-ts/core";
2
+ import { ResponseParser } from "./ResponseParser";
2
3
  /**
3
4
  * @description HTTP configuration type
4
5
  * @summary Configuration type for HTTP connections specifying protocol and host
@@ -10,6 +11,7 @@ import { AdapterFlags } from "@decaf-ts/core";
10
11
  export type HttpConfig = {
11
12
  protocol: "http" | "https";
12
13
  host: string;
14
+ responseParser?: ResponseParser;
13
15
  };
14
16
  /**
15
17
  * @description HTTP flags interface
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decaf-ts/for-http",
3
- "version": "0.3.12",
3
+ "version": "0.3.14",
4
4
  "description": "http wrappers for decaf-ts",
5
5
  "type": "module",
6
6
  "exports": {