medusa-test-utils 1.1.45-preview-20240611120646 → 1.1.45-preview-20240611150455
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.
@@ -3,4 +3,6 @@ export default class EventBusService implements IEventBusModuleService {
|
|
3
3
|
emit<T>(data: Message<T> | Message<T>[], options: Record<string, unknown>): Promise<void>;
|
4
4
|
subscribe(event: string | symbol, subscriber: Subscriber): this;
|
5
5
|
unsubscribe(event: string | symbol, subscriber: Subscriber, context?: EventBusTypes.SubscriberContext): this;
|
6
|
+
releaseGroupedEvents(eventGroupId: string): Promise<void>;
|
7
|
+
clearGroupedEvents(eventGroupId: string): Promise<void>;
|
6
8
|
}
|
@@ -50,6 +50,12 @@ var EventBusService = /** @class */ (function () {
|
|
50
50
|
EventBusService.prototype.unsubscribe = function (event, subscriber, context) {
|
51
51
|
return this;
|
52
52
|
};
|
53
|
+
EventBusService.prototype.releaseGroupedEvents = function (eventGroupId) {
|
54
|
+
return Promise.resolve();
|
55
|
+
};
|
56
|
+
EventBusService.prototype.clearGroupedEvents = function (eventGroupId) {
|
57
|
+
return Promise.resolve();
|
58
|
+
};
|
53
59
|
return EventBusService;
|
54
60
|
}());
|
55
61
|
exports.default = EventBusService;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mock-event-bus-service.js","sourceRoot":"","sources":["../src/mock-event-bus-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA;IAAA;
|
1
|
+
{"version":3,"file":"mock-event-bus-service.js","sourceRoot":"","sources":["../src/mock-event-bus-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA;IAAA;IAyBA,CAAC;IAxBO,8BAAI,GAAV,UACE,IAA+B,EAC/B,OAAgC;;;;KACf;IAEnB,mCAAS,GAAT,UAAU,KAAsB,EAAE,UAAsB;QACtD,OAAO,IAAI,CAAA;IACb,CAAC;IAED,qCAAW,GAAX,UACE,KAAsB,EACtB,UAAsB,EACtB,OAAyC;QAEzC,OAAO,IAAI,CAAA;IACb,CAAC;IAED,8CAAoB,GAApB,UAAqB,YAAoB;QACvC,OAAO,OAAO,CAAC,OAAO,EAAE,CAAA;IAC1B,CAAC;IAED,4CAAkB,GAAlB,UAAmB,YAAoB;QACrC,OAAO,OAAO,CAAC,OAAO,EAAE,CAAA;IAC1B,CAAC;IACH,sBAAC;AAAD,CAAC,AAzBD,IAyBC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "medusa-test-utils",
|
3
|
-
"version": "1.1.45-preview-
|
3
|
+
"version": "1.1.45-preview-20240611150455",
|
4
4
|
"description": "Test utils for Medusa",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"repository": {
|
@@ -24,15 +24,15 @@
|
|
24
24
|
"author": "Sebastian Rindom",
|
25
25
|
"license": "MIT",
|
26
26
|
"devDependencies": {
|
27
|
-
"@medusajs/types": "1.12.0-preview-
|
27
|
+
"@medusajs/types": "1.12.0-preview-20240611150455",
|
28
28
|
"cross-env": "^5.2.1",
|
29
29
|
"jest": "^25.5.4",
|
30
30
|
"rimraf": "^3.0.2",
|
31
31
|
"typescript": "^5.1.6"
|
32
32
|
},
|
33
33
|
"peerDependencies": {
|
34
|
-
"@medusajs/medusa": "1.20.6-preview-
|
35
|
-
"@medusajs/modules-sdk": "1.13.0-preview-
|
34
|
+
"@medusajs/medusa": "1.20.6-preview-20240611150455",
|
35
|
+
"@medusajs/modules-sdk": "1.13.0-preview-20240611150455",
|
36
36
|
"axios": "^0.28.0",
|
37
37
|
"express": "^4.18.3",
|
38
38
|
"get-port": "^5.1.0",
|
@@ -56,7 +56,7 @@
|
|
56
56
|
}
|
57
57
|
},
|
58
58
|
"dependencies": {
|
59
|
-
"@medusajs/utils": "1.12.0-preview-
|
59
|
+
"@medusajs/utils": "1.12.0-preview-20240611150455",
|
60
60
|
"@mikro-orm/migrations": "5.9.7",
|
61
61
|
"@mikro-orm/postgresql": "5.9.7",
|
62
62
|
"randomatic": "^3.1.1"
|