Socket
Socket
Sign inDemoInstall

@temporalio/client

Package Overview
Dependencies
Maintainers
8
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@temporalio/client - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

15

lib/task-queue-client.d.ts

@@ -6,3 +6,3 @@ import { RequireAtLeastOne } from '@temporalio/common/lib/type-helpers';

import { BuildIdOperation, WorkerBuildIdVersionSets } from './build-id-types';
import GetWorkerTaskReachabilityResponse = temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse;
type GetWorkerTaskReachabilityResponse = temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse;
/**

@@ -74,8 +74,8 @@ * @experimental

* There are different types of reachability:
* - `NewWorkflows`: The Build Id might be used by new workflows
* - `ExistingWorkflows` The Build Id might be used by open workflows and/or closed workflows.
* - `OpenWorkflows` The Build Id might be used by open workflows
* - `ClosedWorkflows` The Build Id might be used by closed workflows
* - `NEW_WORKFLOWS`: The Build Id might be used by new workflows
* - `EXISTING_WORKFLOWS` The Build Id might be used by open workflows and/or closed workflows.
* - `OPEN_WORKFLOWS` The Build Id might be used by open workflows
* - `CLOSED_WORKFLOWS` The Build Id might be used by closed workflows
*/
export type ReachabilityType = 'NewWorkflows' | 'ExistingWorkflows' | 'OpenWorkflows' | 'ClosedWorkflows';
export type ReachabilityType = 'NEW_WORKFLOWS' | 'EXISTING_WORKFLOWS' | 'OPEN_WORKFLOWS' | 'CLOSED_WORKFLOWS';
/**

@@ -102,3 +102,3 @@ * See {@link ReachabilityOptions}

}
export type ReachabilityTypeResponse = ReachabilityType | 'NotFetched';
export type ReachabilityTypeResponse = ReachabilityType | 'NOT_FETCHED';
export interface BuildIdReachability {

@@ -125,1 +125,2 @@ /**

}
export {};

@@ -157,9 +157,9 @@ "use strict";

return proto_1.temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_UNSPECIFIED;
case 'NewWorkflows':
case 'NEW_WORKFLOWS':
return proto_1.temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_NEW_WORKFLOWS;
case 'ExistingWorkflows':
case 'EXISTING_WORKFLOWS':
return proto_1.temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_EXISTING_WORKFLOWS;
case 'OpenWorkflows':
case 'OPEN_WORKFLOWS':
return proto_1.temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_OPEN_WORKFLOWS;
case 'ClosedWorkflows':
case 'CLOSED_WORKFLOWS':
return proto_1.temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_CLOSED_WORKFLOWS;

@@ -201,11 +201,11 @@ default:

case proto_1.temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_UNSPECIFIED:
return 'NotFetched';
return 'NOT_FETCHED';
case proto_1.temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_NEW_WORKFLOWS:
return 'NewWorkflows';
return 'NEW_WORKFLOWS';
case proto_1.temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_EXISTING_WORKFLOWS:
return 'ExistingWorkflows';
return 'EXISTING_WORKFLOWS';
case proto_1.temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_OPEN_WORKFLOWS:
return 'OpenWorkflows';
return 'OPEN_WORKFLOWS';
case proto_1.temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_CLOSED_WORKFLOWS:
return 'ClosedWorkflows';
return 'CLOSED_WORKFLOWS';
default:

@@ -212,0 +212,0 @@ return (0, type_helpers_1.assertNever)('Unknown Build Id reachability operation', rtype);

{
"name": "@temporalio/client",
"version": "1.8.0",
"version": "1.8.1",
"description": "Temporal.io SDK Client sub-package",

@@ -17,4 +17,4 @@ "main": "lib/index.js",

"@grpc/grpc-js": "~1.7.3",
"@temporalio/common": "1.8.0",
"@temporalio/proto": "1.8.0",
"@temporalio/common": "1.8.1",
"@temporalio/proto": "1.8.1",
"abort-controller": "^3.0.0",

@@ -43,3 +43,3 @@ "long": "^5.2.0",

],
"gitHead": "17d16e4dca39513470dd4b6e30d9af06dafd00d6"
"gitHead": "97808111bbec478260e915726bb9730a489f8fa4"
}

@@ -10,5 +10,7 @@ import { status } from '@grpc/grpc-js';

import { rethrowKnownErrorTypes } from './helpers';
import IUpdateWorkerBuildIdCompatibilityRequest = temporal.api.workflowservice.v1.IUpdateWorkerBuildIdCompatibilityRequest;
import GetWorkerTaskReachabilityResponse = temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse;
type IUpdateWorkerBuildIdCompatibilityRequest =
temporal.api.workflowservice.v1.IUpdateWorkerBuildIdCompatibilityRequest;
type GetWorkerTaskReachabilityResponse = temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse;
/**

@@ -177,8 +179,8 @@ * @experimental

* There are different types of reachability:
* - `NewWorkflows`: The Build Id might be used by new workflows
* - `ExistingWorkflows` The Build Id might be used by open workflows and/or closed workflows.
* - `OpenWorkflows` The Build Id might be used by open workflows
* - `ClosedWorkflows` The Build Id might be used by closed workflows
* - `NEW_WORKFLOWS`: The Build Id might be used by new workflows
* - `EXISTING_WORKFLOWS` The Build Id might be used by open workflows and/or closed workflows.
* - `OPEN_WORKFLOWS` The Build Id might be used by open workflows
* - `CLOSED_WORKFLOWS` The Build Id might be used by closed workflows
*/
export type ReachabilityType = 'NewWorkflows' | 'ExistingWorkflows' | 'OpenWorkflows' | 'ClosedWorkflows';
export type ReachabilityType = 'NEW_WORKFLOWS' | 'EXISTING_WORKFLOWS' | 'OPEN_WORKFLOWS' | 'CLOSED_WORKFLOWS';

@@ -208,3 +210,3 @@ /**

export type ReachabilityTypeResponse = ReachabilityType | 'NotFetched';
export type ReachabilityTypeResponse = ReachabilityType | 'NOT_FETCHED';

@@ -224,9 +226,9 @@ export interface BuildIdReachability {

return temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_UNSPECIFIED;
case 'NewWorkflows':
case 'NEW_WORKFLOWS':
return temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_NEW_WORKFLOWS;
case 'ExistingWorkflows':
case 'EXISTING_WORKFLOWS':
return temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_EXISTING_WORKFLOWS;
case 'OpenWorkflows':
case 'OPEN_WORKFLOWS':
return temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_OPEN_WORKFLOWS;
case 'ClosedWorkflows':
case 'CLOSED_WORKFLOWS':
return temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_CLOSED_WORKFLOWS;

@@ -270,11 +272,11 @@ default:

case temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_UNSPECIFIED:
return 'NotFetched';
return 'NOT_FETCHED';
case temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_NEW_WORKFLOWS:
return 'NewWorkflows';
return 'NEW_WORKFLOWS';
case temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_EXISTING_WORKFLOWS:
return 'ExistingWorkflows';
return 'EXISTING_WORKFLOWS';
case temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_OPEN_WORKFLOWS:
return 'OpenWorkflows';
return 'OPEN_WORKFLOWS';
case temporal.api.enums.v1.TaskReachability.TASK_REACHABILITY_CLOSED_WORKFLOWS:
return 'ClosedWorkflows';
return 'CLOSED_WORKFLOWS';
default:

@@ -281,0 +283,0 @@ return assertNever('Unknown Build Id reachability operation', rtype);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc