@artstesh/postboy 3.0.1 → 3.0.2
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.d.ts +2 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/mocks/message-history-mock.d.ts.map +1 -1
- package/lib/mocks/message-history-mock.js.map +1 -1
- package/lib/tests/integration/models/test-callback-message.d.ts +1 -1
- package/lib/tests/integration/models/test-callback-message.d.ts.map +1 -1
- package/lib/tests/integration/models/test-callback-message.js.map +1 -1
- package/lib/tests/integration/models/test-executor.d.ts +1 -1
- package/lib/tests/integration/models/test-executor.d.ts.map +1 -1
- package/lib/tests/integration/models/test-executor.js.map +1 -1
- package/lib/tests/integration/models/test-handler.d.ts +2 -2
- package/lib/tests/integration/models/test-handler.d.ts.map +1 -1
- package/lib/tests/integration/models/test-handler.js.map +1 -1
- package/lib/tests/integration/models/test-message.d.ts +1 -1
- package/lib/tests/integration/models/test-message.d.ts.map +1 -1
- package/lib/tests/integration/models/test-message.js.map +1 -1
- package/lib/tests/integration/models/test-postboy.d.ts +1 -1
- package/lib/tests/integration/models/test-postboy.d.ts.map +1 -1
- package/lib/tests/integration/models/test-postboy.js.map +1 -1
- package/lib/tests/integration/models/test-registry.d.ts +2 -2
- package/lib/tests/integration/models/test-registry.d.ts.map +1 -1
- package/lib/tests/integration/models/test-registry.js +1 -1
- package/lib/tests/integration/models/test-registry.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7,4 +7,6 @@ export * from './models/postboy-execution.handler';
|
|
|
7
7
|
export * from './models/postboy-executor';
|
|
8
8
|
export * from './models/postboy-middleware';
|
|
9
9
|
export * from './models/postboy.message';
|
|
10
|
+
export * from './services/postboy-middleware.service';
|
|
11
|
+
export * from './services/postboy-message.store';
|
|
10
12
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -26,4 +26,6 @@ __exportStar(require("./models/postboy-execution.handler"), exports);
|
|
|
26
26
|
__exportStar(require("./models/postboy-executor"), exports);
|
|
27
27
|
__exportStar(require("./models/postboy-middleware"), exports);
|
|
28
28
|
__exportStar(require("./models/postboy.message"), exports);
|
|
29
|
+
__exportStar(require("./services/postboy-middleware.service"), exports);
|
|
30
|
+
__exportStar(require("./services/postboy-message.store"), exports);
|
|
29
31
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,oDAAkC;AAClC,gEAA8C;AAC9C,iEAA+C;AAC/C,mEAAiD;AACjD,oEAAkD;AAClD,qEAAmD;AACnD,4DAA0C;AAC1C,8DAA4C;AAC5C,2DAAyC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,oDAAkC;AAClC,gEAA8C;AAC9C,iEAA+C;AAC/C,mEAAiD;AACjD,oEAAkD;AAClD,qEAAmD;AACnD,4DAA0C;AAC1C,8DAA4C;AAC5C,2DAAyC;AACzC,wEAAsD;AACtD,mEAAiD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-history-mock.d.ts","sourceRoot":"","sources":["../../src/mocks/message-history-mock.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"message-history-mock.d.ts","sourceRoot":"","sources":["../../src/mocks/message-history-mock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,MAAM,CAAkD;IAEhE,GAAG,CAAC,CAAC,SAAS,qBAAqB,EAAE,EAAE,EAAE,MAAM,GAAG,sBAAsB,CAAC,CAAC,CAAC;IAI3E,GAAG,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI;IAKzC,KAAK,IAAI,IAAI;CAGd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-history-mock.js","sourceRoot":"","sources":["../../src/mocks/message-history-mock.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"message-history-mock.js","sourceRoot":"","sources":["../../src/mocks/message-history-mock.ts"],"names":[],"mappings":";;;AACA,2EAAqE;AAErE,MAAa,kBAAkB;IAA/B;QACU,WAAM,GAAG,IAAI,GAAG,EAAuC,CAAC;IAclE,CAAC;IAZC,GAAG,CAAkC,EAAU;;QAC7C,OAAO,MAAA,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,mCAAI,IAAI,kDAAsB,EAAE,CAAC;IAC7D,CAAC;IAED,GAAG,CAAC,OAA8B;;QAChC,IAAI,CAAC,CAAA,MAAA,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,0CAAE,GAAG,CAAC,OAAO,CAAC,CAAA;YAC5C,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,EAAE,IAAI,kDAAsB,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3E,CAAC;IAED,KAAK;QACH,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;IACxC,CAAC;CACF;AAfD,gDAeC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PostboyCallbackMessage } from
|
|
1
|
+
import { PostboyCallbackMessage } from '../../../models/postboy-callback.message';
|
|
2
2
|
export declare class TestCallbackMessage extends PostboyCallbackMessage<string> {
|
|
3
3
|
static ID: string;
|
|
4
4
|
type: typeof TestCallbackMessage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-callback-message.d.ts","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-callback-message.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"test-callback-message.d.ts","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-callback-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAElF,qBAAa,mBAAoB,SAAQ,sBAAsB,CAAC,MAAM,CAAC;IACrE,MAAM,CAAC,EAAE,SAA2B;IACpC,IAAI,6BAAuB;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-callback-message.js","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-callback-message.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"test-callback-message.js","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-callback-message.ts"],"names":[],"mappings":";;;AAAA,uFAAkF;AAElF,MAAa,mBAAoB,SAAQ,iDAA8B;IAAvE;;QAEE,SAAI,GAAG,mBAAmB,CAAC;IAC7B,CAAC;;AAHD,kDAGC;AAFQ,sBAAE,GAAG,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PostboyGenericMessage } from
|
|
1
|
+
import { PostboyGenericMessage } from '../../../models/postboy-generic-message';
|
|
2
2
|
export declare class TestExecutor extends PostboyGenericMessage {
|
|
3
3
|
value: string;
|
|
4
4
|
static readonly ID = "TestExecutor";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-executor.d.ts","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-executor.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"test-executor.d.ts","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,qBAAa,YAAa,SAAQ,qBAAqB;IAGlC,KAAK,EAAE,MAAM;IAFhC,MAAM,CAAC,QAAQ,CAAC,EAAE,kBAAkB;gBAEjB,KAAK,EAAE,MAAM;CAGjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-executor.js","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-executor.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"test-executor.js","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-executor.ts"],"names":[],"mappings":";;;AAAA,qFAAgF;AAEhF,MAAa,YAAa,SAAQ,+CAAqB;IAGrD,YAAmB,KAAa;QAC9B,KAAK,EAAE,CAAC;QADS,UAAK,GAAL,KAAK,CAAQ;IAEhC,CAAC;;AALH,oCAMC;AALiB,eAAE,GAAG,cAAc,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PostboyExecutionHandler } from
|
|
2
|
-
import { TestExecutor } from
|
|
1
|
+
import { PostboyExecutionHandler } from '../../../models/postboy-execution.handler';
|
|
2
|
+
import { TestExecutor } from './test-executor';
|
|
3
3
|
export declare class TestHandler extends PostboyExecutionHandler<string, TestExecutor> {
|
|
4
4
|
toReturn: string;
|
|
5
5
|
constructor(toReturn: string);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-handler.d.ts","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-handler.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"test-handler.d.ts","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,qBAAa,WAAY,SAAQ,uBAAuB,CAAC,MAAM,EAAE,YAAY,CAAC;IACzD,QAAQ,EAAE,MAAM;gBAAhB,QAAQ,EAAE,MAAM;IAInC,MAAM,CAAC,QAAQ,EAAE,YAAY,GAAG,MAAM;CAGvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-handler.js","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-handler.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"test-handler.js","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-handler.ts"],"names":[],"mappings":";;;AAAA,yFAAoF;AAGpF,MAAa,WAAY,SAAQ,mDAA6C;IAC5E,YAAmB,QAAgB;QACjC,KAAK,EAAE,CAAC;QADS,aAAQ,GAAR,QAAQ,CAAQ;IAEnC,CAAC;IAED,MAAM,CAAC,QAAsB;QAC3B,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF;AARD,kCAQC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PostboyGenericMessage } from
|
|
1
|
+
import { PostboyGenericMessage } from '../../../models/postboy-generic-message';
|
|
2
2
|
export declare class TestMessage extends PostboyGenericMessage {
|
|
3
3
|
static ID: string;
|
|
4
4
|
type: typeof TestMessage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-message.d.ts","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-message.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"test-message.d.ts","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,qBAAa,WAAY,SAAQ,qBAAqB;IACpD,MAAM,CAAC,EAAE,SAAkB;IAC3B,IAAI,qBAAe;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-message.js","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-message.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"test-message.js","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-message.ts"],"names":[],"mappings":";;;AAAA,qFAAgF;AAEhF,MAAa,WAAY,SAAQ,+CAAqB;IAAtD;;QAEE,SAAI,GAAG,WAAW,CAAC;IACrB,CAAC;;AAHD,kCAGC;AAFQ,cAAE,GAAG,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-postboy.d.ts","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-postboy.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"test-postboy.d.ts","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-postboy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,qBAAa,WAAY,SAAQ,cAAc;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-postboy.js","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-postboy.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"test-postboy.js","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-postboy.ts"],"names":[],"mappings":";;;AAAA,8DAA0D;AAE1D,MAAa,WAAY,SAAQ,gCAAc;CAAG;AAAlD,kCAAkD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PostboyAbstractRegistrator } from
|
|
2
|
-
import { TestPostboy } from
|
|
1
|
+
import { PostboyAbstractRegistrator } from '../../../postboy-abstract.registrator';
|
|
2
|
+
import { TestPostboy } from './test-postboy';
|
|
3
3
|
export declare class TestReg extends PostboyAbstractRegistrator {
|
|
4
4
|
ups: ((r: this) => void)[];
|
|
5
5
|
constructor(postboy: TestPostboy);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-registry.d.ts","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-registry.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"test-registry.d.ts","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,qBAAa,OAAQ,SAAQ,0BAA0B;IACrD,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI,CAAC,EAAE,CAAM;gBAEpB,OAAO,EAAE,WAAW;IAIhC,SAAS,CAAC,GAAG,IAAI,IAAI;CAGtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-registry.js","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-registry.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"test-registry.js","sourceRoot":"","sources":["../../../../src/tests/integration/models/test-registry.ts"],"names":[],"mappings":";;;AAAA,wFAAmF;AAGnF,MAAa,OAAQ,SAAQ,yDAA0B;IAGrD,YAAY,OAAoB;QAC9B,KAAK,CAAC,OAAO,CAAC,CAAC;QAHjB,QAAG,GAA0B,EAAE,CAAC;IAIhC,CAAC;IAES,GAAG;QACX,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IACrC,CAAC;CACF;AAVD,0BAUC"}
|