@temporalio/workflow
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -163,4 +163,5 @@ "use strict"; | ||
if (fn === undefined) { | ||
const knownQueryTypes = [...exports.state.queryHandlers.keys()].join(' '); | ||
// Fail the query | ||
throw new ReferenceError(`Workflow did not register a handler for ${queryName}`); | ||
throw new ReferenceError(`Workflow did not register a handler for ${queryName}. Registered queries: [${knownQueryTypes}]`); | ||
} | ||
@@ -167,0 +168,0 @@ try { |
{ | ||
"name": "@temporalio/workflow", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Temporal.io SDK Workflow sub-package", | ||
@@ -20,5 +20,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@temporalio/common": "^1.0.0", | ||
"@temporalio/internal-workflow-common": "^1.0.0", | ||
"@temporalio/proto": "^1.0.0" | ||
"@temporalio/common": "^1.0.1", | ||
"@temporalio/internal-workflow-common": "^1.0.1", | ||
"@temporalio/proto": "^1.0.1" | ||
}, | ||
@@ -32,3 +32,3 @@ "publishConfig": { | ||
], | ||
"gitHead": "c4fc4dc608bf58701c11b6ae02d1d63b4457718d" | ||
"gitHead": "a1dae539e72b6b088b400998d7bef482e8ed52f1" | ||
} |
@@ -215,4 +215,7 @@ import { PayloadConverter } from '@temporalio/common'; | ||
if (fn === undefined) { | ||
const knownQueryTypes = [...state.queryHandlers.keys()].join(' '); | ||
// Fail the query | ||
throw new ReferenceError(`Workflow did not register a handler for ${queryName}`); | ||
throw new ReferenceError( | ||
`Workflow did not register a handler for ${queryName}. Registered queries: [${knownQueryTypes}]` | ||
); | ||
} | ||
@@ -219,0 +222,0 @@ try { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
311025
6601