@nmshd/consumption 2.0.0-beta.26 → 2.0.0-beta.27

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.
@@ -6,10 +6,10 @@ const content_1 = require("@nmshd/content");
6
6
  const crypto_1 = require("@nmshd/crypto");
7
7
  const transport_1 = require("@nmshd/transport");
8
8
  exports.buildInformation = {
9
- version: "2.0.0-beta.26",
10
- build: "78",
11
- date: "2022-09-29T07:28:06+00:00",
12
- commit: "b951a4478b0f71ccc8e8d1379bae83129bb3dd82",
9
+ version: "2.0.0-beta.27",
10
+ build: "79",
11
+ date: "2022-09-29T11:43:35+00:00",
12
+ commit: "2d56b0f94fb7544763da2f6220433345cbc9cab4",
13
13
  dependencies: {"@js-soft/docdb-querytranslator":"^1.1.0","ts-simple-nameof":"^1.3.1"},
14
14
  libraries: {
15
15
  transport: transport_1.buildInformation,
@@ -1,10 +1,10 @@
1
1
  import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
2
  import { Request } from "@nmshd/content";
3
3
  import { CoreAddress, ICoreAddress } from "@nmshd/transport";
4
- import { IRequestWithoutId } from "./CreateOutgoingRequestParameters";
4
+ import { IRequestWithoutId, RequestJSONWithoutId } from "./CreateOutgoingRequestParameters";
5
5
  export interface ICanCreateOutgoingRequestParameters extends ISerializable {
6
- content: IRequestWithoutId;
7
- peer?: ICoreAddress;
6
+ content: IRequestWithoutId | RequestJSONWithoutId;
7
+ peer?: ICoreAddress | string;
8
8
  }
9
9
  export declare class CanCreateOutgoingRequestParameters extends Serializable implements ICanCreateOutgoingRequestParameters {
10
10
  content: Request;
@@ -1,10 +1,11 @@
1
1
  import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
- import { IRequest, Request } from "@nmshd/content";
2
+ import { IRequest, Request, RequestJSON } from "@nmshd/content";
3
3
  import { CoreAddress, ICoreAddress } from "@nmshd/transport";
4
4
  export declare type IRequestWithoutId = Omit<IRequest, "id">;
5
+ export declare type RequestJSONWithoutId = Omit<RequestJSON, "id" | "@type" | "@version">;
5
6
  export interface ICreateOutgoingRequestParameters extends ISerializable {
6
- content: IRequestWithoutId;
7
- peer: ICoreAddress;
7
+ content: IRequestWithoutId | RequestJSONWithoutId;
8
+ peer: ICoreAddress | string;
8
9
  }
9
10
  export declare class CreateOutgoingRequestParameters extends Serializable implements ICreateOutgoingRequestParameters {
10
11
  content: Request;
@@ -1 +1 @@
1
- {"version":3,"file":"CreateOutgoingRequestParameters.js","sourceRoot":"","sources":["../../../../../src/modules/requests/outgoing/createOutgoingRequest/CreateOutgoingRequestParameters.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,4CAAkD;AAClD,gDAA4D;AAUrD,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,wBAAY;IAStD,MAAM,CAAC,IAAI,CAAC,KAAuC;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAXG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACK,iBAAO;gEAAA;AAEvB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACE,uBAAW;6DAAA;AAPf,+BAA+B;IAD3C,IAAA,gBAAI,EAAC,iCAAiC,CAAC;GAC3B,+BAA+B,CAY3C;AAZY,0EAA+B"}
1
+ {"version":3,"file":"CreateOutgoingRequestParameters.js","sourceRoot":"","sources":["../../../../../src/modules/requests/outgoing/createOutgoingRequest/CreateOutgoingRequestParameters.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,4CAA+D;AAC/D,gDAA4D;AAWrD,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,wBAAY;IAStD,MAAM,CAAC,IAAI,CAAC,KAAuC;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAXG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACK,iBAAO;gEAAA;AAEvB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACE,uBAAW;6DAAA;AAPf,+BAA+B;IAD3C,IAAA,gBAAI,EAAC,iCAAiC,CAAC;GAC3B,+BAA+B,CAY3C;AAZY,0EAA+B"}
@@ -17,10 +17,10 @@ const content_1 = __webpack_require__(/*! @nmshd/content */ "@nmshd/content");
17
17
  const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
18
18
  const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
19
19
  exports.buildInformation = {
20
- version: "2.0.0-beta.26",
21
- build: "78",
22
- date: "2022-09-29T07:28:06+00:00",
23
- commit: "b951a4478b0f71ccc8e8d1379bae83129bb3dd82",
20
+ version: "2.0.0-beta.27",
21
+ build: "79",
22
+ date: "2022-09-29T11:43:35+00:00",
23
+ commit: "2d56b0f94fb7544763da2f6220433345cbc9cab4",
24
24
  dependencies: {"@js-soft/docdb-querytranslator":"^1.1.0","ts-simple-nameof":"^1.3.1"},
25
25
  libraries: {
26
26
  transport: transport_1.buildInformation,