Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@temporalio/workflow

Package Overview
Dependencies
Maintainers
8
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@temporalio/workflow - npm Package Compare versions

Comparing version 1.8.2 to 1.8.3

21

lib/workflow.js

@@ -5,6 +5,5 @@ "use strict";

const common_1 = require("@temporalio/common");
const type_helpers_1 = require("@temporalio/common/lib/type-helpers");
const versioning_intent_enum_1 = require("@temporalio/common/lib/versioning-intent-enum");
const time_1 = require("@temporalio/common/lib/time");
const interceptors_1 = require("@temporalio/common/lib/interceptors");
const proto_1 = require("@temporalio/proto");
const cancellation_scope_1 = require("./cancellation-scope");

@@ -130,3 +129,3 @@ const interfaces_1 = require("./interfaces");

doNotEagerlyExecute: !(options.allowEagerDispatch ?? true),
versioningIntent: versioningIntentToProto(options.versioningIntent),
versioningIntent: (0, versioning_intent_enum_1.versioningIntentToProto)(options.versioningIntent),
},

@@ -295,3 +294,3 @@ });

memo: options.memo && (0, common_1.mapToPayloads)(activator.payloadConverter, options.memo),
versioningIntent: versioningIntentToProto(options.versioningIntent),
versioningIntent: (0, versioning_intent_enum_1.versioningIntentToProto)(options.versioningIntent),
},

@@ -693,3 +692,3 @@ });

workflowTaskTimeout: (0, time_1.msOptionalToTs)(options.workflowTaskTimeout),
versioningIntent: versioningIntentToProto(options.versioningIntent),
versioningIntent: (0, versioning_intent_enum_1.versioningIntentToProto)(options.versioningIntent),
});

@@ -1024,14 +1023,2 @@ });

}
function versioningIntentToProto(intent) {
switch (intent) {
case 'DEFAULT':
return proto_1.coresdk.common.VersioningIntent.DEFAULT;
case 'COMPATIBLE':
return proto_1.coresdk.common.VersioningIntent.COMPATIBLE;
case undefined:
return proto_1.coresdk.common.VersioningIntent.UNSPECIFIED;
default:
(0, type_helpers_1.assertNever)('Unexpected VersioningIntent', intent);
}
}
//# sourceMappingURL=workflow.js.map

8

package.json
{
"name": "@temporalio/workflow",
"version": "1.8.2",
"version": "1.8.3",
"description": "Temporal.io SDK Workflow sub-package",

@@ -25,4 +25,4 @@ "keywords": [

"dependencies": {
"@temporalio/common": "1.8.2",
"@temporalio/proto": "1.8.2"
"@temporalio/common": "1.8.3",
"@temporalio/proto": "1.8.3"
},

@@ -39,3 +39,3 @@ "devDependencies": {

],
"gitHead": "d85bf54da757741b438f8d39a0e7265b80d4f0d6"
"gitHead": "7d1c0ec969b897b4f32bd5a8eda9819a03bd2f83"
}

@@ -15,3 +15,2 @@ import {

UntypedActivities,
VersioningIntent,
WithWorkflowArgs,

@@ -22,6 +21,5 @@ Workflow,

} from '@temporalio/common';
import { assertNever } from '@temporalio/common/lib/type-helpers';
import { versioningIntentToProto } from '@temporalio/common/lib/versioning-intent-enum';
import { Duration, msOptionalToTs, msToNumber, msToTs, tsToMs } from '@temporalio/common/lib/time';
import { composeInterceptors } from '@temporalio/common/lib/interceptors';
import { coresdk } from '@temporalio/proto';
import { CancellationScope, registerSleepImplementation } from './cancellation-scope';

@@ -1341,14 +1339,1 @@ import {

}
function versioningIntentToProto(intent: VersioningIntent | undefined): coresdk.common.VersioningIntent {
switch (intent) {
case 'DEFAULT':
return coresdk.common.VersioningIntent.DEFAULT;
case 'COMPATIBLE':
return coresdk.common.VersioningIntent.COMPATIBLE;
case undefined:
return coresdk.common.VersioningIntent.UNSPECIFIED;
default:
assertNever('Unexpected VersioningIntent', intent);
}
}

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