@ez4/local-queue 0.25.0 → 0.26.0
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ez4/local-queue",
|
|
3
3
|
"description": "EZ4: Local queue emulator",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.26.0",
|
|
5
5
|
"author": "Silas B.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"test:types": "npm run build && tsc -p tsconfig.test.json",
|
|
43
43
|
"local:publish": "npm run build && npm run clean:registry && npm publish --registry http://localhost:4873",
|
|
44
44
|
"clean:registry": "rm -rf ../../../.registry/@ez4/local-queue",
|
|
45
|
-
"live:publish": "npm publish --access public"
|
|
45
|
+
"live:publish": "npm run build && npm publish --access public"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@ez4/common": "^0.
|
|
49
|
-
"@ez4/local-common": "^0.
|
|
50
|
-
"@ez4/project": "^0.
|
|
51
|
-
"@ez4/queue": "^0.
|
|
52
|
-
"@ez4/utils": "^0.
|
|
48
|
+
"@ez4/common": "^0.26.0",
|
|
49
|
+
"@ez4/local-common": "^0.26.0",
|
|
50
|
+
"@ez4/project": "^0.26.0",
|
|
51
|
+
"@ez4/queue": "^0.26.0",
|
|
52
|
+
"@ez4/utils": "^0.26.0"
|
|
53
53
|
}
|
|
54
54
|
}
|
package/dist/service/client.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Client, Queue } from '@ez4/queue';
|
|
2
|
-
import type { ServeOptions } from '@ez4/project/library';
|
|
3
|
-
import type { MessageSchema } from '@ez4/queue/utils';
|
|
4
|
-
export type ClientOptions = ServeOptions & {
|
|
5
|
-
delay?: number;
|
|
6
|
-
};
|
|
7
|
-
export declare const createQueueClient: <T extends Queue.Service<any>>(serviceName: string, messageSchema: MessageSchema, clientOptions: ClientOptions) => Client<T>;
|
package/dist/utils/tester.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Client, Queue } from '@ez4/queue';
|
|
2
|
-
import type { Mock } from 'node:test';
|
|
3
|
-
export declare namespace QueueTester {
|
|
4
|
-
const getClient: <T extends Queue.Message>(resourceName: string) => Client<Queue.Service<T>>;
|
|
5
|
-
const getMock: (resourceName?: string) => Client<Queue.Service<any>> & {
|
|
6
|
-
sendMessage: Mock<Client<Queue.Service<any>>["sendMessage"]>;
|
|
7
|
-
receiveMessage: Mock<Client<Queue.Service<any>>["receiveMessage"]>;
|
|
8
|
-
};
|
|
9
|
-
}
|