@imqueue/rpc 3.1.1 → 3.2.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@imqueue/rpc",
3
- "version": "3.1.1",
3
+ "version": "3.2.0",
4
4
  "description": "RPC-like client-service implementation over messaging queue",
5
5
  "keywords": [
6
6
  "redis",
@@ -20,9 +20,9 @@
20
20
  "lint": "oxlint",
21
21
  "format": "oxfmt \"index.ts\" \"debug.ts\" \"src/**/*.ts\" \"test/**/*.ts\"",
22
22
  "format:check": "oxfmt --check \"index.ts\" \"debug.ts\" \"src/**/*.ts\" \"test/**/*.ts\"",
23
- "test": "npm run build && node --experimental-test-module-mocks --test --test-timeout=15000 $(find test -name '*.spec.js')",
24
- "test-coverage": "npm run build && node --experimental-test-module-mocks --enable-source-maps --test --experimental-test-coverage --test-timeout=15000 $(find test -name '*.spec.js')",
25
- "test-lcov": "npm run build && mkdir -p coverage && node --experimental-test-module-mocks --enable-source-maps --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test-timeout=15000 $(find test -name '*.spec.js'); node scripts/strip-comment-coverage.mjs coverage/lcov.info",
23
+ "test": "npm run build && node --experimental-test-module-mocks --import ./test/warmup.mjs --test --test-timeout=15000 $(find test -name '*.spec.js')",
24
+ "test-coverage": "npm run build && node --experimental-test-module-mocks --enable-source-maps --import ./test/warmup.mjs --test --experimental-test-coverage --test-timeout=15000 $(find test -name '*.spec.js')",
25
+ "test-lcov": "npm run build && mkdir -p coverage && node --experimental-test-module-mocks --enable-source-maps --import ./test/warmup.mjs --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test-timeout=15000 $(find test -name '*.spec.js'); node scripts/strip-comment-coverage.mjs coverage/lcov.info",
26
26
  "test-coverage-html": "npm run test-lcov; genhtml coverage/lcov.info --output-directory coverage/html --ignore-errors inconsistent,corrupt,format,mismatch && echo \"Coverage report: file://$(pwd)/coverage/html/index.html\"",
27
27
  "test-dev": "npm run test && npm run clean-js && npm run clean-typedefs && npm run clean-maps",
28
28
  "clean-typedefs": "find . -name '*.d.ts' -not -wholename '*node_modules*' -not -wholename '*generator*' -type f -delete",
@@ -43,7 +43,7 @@
43
43
  "author": "imqueue.com <support@imqueue.com> (https://imqueue.com)",
44
44
  "license": "GPL-3.0-only",
45
45
  "dependencies": {
46
- "@imqueue/core": "^3.1.0",
46
+ "@imqueue/core": "^3.2.0",
47
47
  "acorn": "^8.17.0",
48
48
  "typescript": "^7.0.2"
49
49
  },
@@ -40,8 +40,8 @@ export declare const DEFAULT_REDIS_CACHE_OPTIONS: {
40
40
  useGzip?: boolean;
41
41
  safeDelivery?: boolean;
42
42
  safeDeliveryTtl?: number;
43
- cluster?: import("@imqueue/core").IMessageQueueConnection[];
44
- clusterManagers?: import("@imqueue/core/src/ClusterManager").ClusterManager[];
43
+ cluster?: import("@imqueue/core", { with: { "resolution-mode": "import" } }).IMessageQueueConnection[];
44
+ clusterManagers?: import("../../node_modules/@imqueue/core/src/ClusterManager.js", { with: { "resolution-mode": "import" } }).ClusterManager[];
45
45
  handleSignals?: boolean;
46
46
  verbose?: boolean;
47
47
  verboseExtended?: boolean;