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

@temporalio/activity

Package Overview
Dependencies
Maintainers
6
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@temporalio/activity - npm Package Compare versions

Comparing version 1.0.0-rc.1 to 1.0.0

5

lib/index.d.ts

@@ -48,6 +48,5 @@ /**

import { AsyncLocalStorage } from 'async_hooks';
export { CancelledFailure } from '@temporalio/common';
export { CancelledFailure, ApplicationFailure } from '@temporalio/common';
export { ActivityFunction, ActivityInterface, // eslint-disable-line deprecation/deprecation
UntypedActivities, } from '@temporalio/internal-workflow-common';
export * from '@temporalio/internal-workflow-common/lib/errors';
UntypedActivities, errorMessage, errorCode, } from '@temporalio/internal-workflow-common';
/**

@@ -54,0 +53,0 @@ * Throw this error from an Activity in order to make the Worker forget about this Activity.

21

lib/index.js

@@ -46,18 +46,4 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Context = exports.asyncLocalStorage = exports.CompleteAsyncError = exports.CancelledFailure = void 0;
exports.Context = exports.asyncLocalStorage = exports.CompleteAsyncError = exports.errorCode = exports.errorMessage = exports.ApplicationFailure = exports.CancelledFailure = void 0;
const internal_workflow_common_1 = require("@temporalio/internal-workflow-common");

@@ -67,3 +53,6 @@ const async_hooks_1 = require("async_hooks");

Object.defineProperty(exports, "CancelledFailure", { enumerable: true, get: function () { return common_1.CancelledFailure; } });
__exportStar(require("@temporalio/internal-workflow-common/lib/errors"), exports);
Object.defineProperty(exports, "ApplicationFailure", { enumerable: true, get: function () { return common_1.ApplicationFailure; } });
var internal_workflow_common_2 = require("@temporalio/internal-workflow-common");
Object.defineProperty(exports, "errorMessage", { enumerable: true, get: function () { return internal_workflow_common_2.errorMessage; } });
Object.defineProperty(exports, "errorCode", { enumerable: true, get: function () { return internal_workflow_common_2.errorCode; } });
/**

@@ -70,0 +59,0 @@ * Throw this error from an Activity in order to make the Worker forget about this Activity.

@@ -5,3 +5,3 @@ Temporal TypeScript SDK

Copyright (c) 2021 Temporal Technologies, Inc. All Rights Reserved
Copyright (c) 2021 Temporal Technologies Inc. All Rights Reserved

@@ -8,0 +8,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "@temporalio/activity",
"version": "1.0.0-rc.1",
"version": "1.0.0",
"description": "Temporal.io SDK Activity sub-package",

@@ -13,7 +13,7 @@ "main": "lib/index.js",

],
"author": "Roey Berman <roey@temporal.io>",
"author": "Temporal Technologies Inc. <sdk@temporal.io>",
"license": "MIT",
"dependencies": {
"@temporalio/common": "^1.0.0-rc.1",
"@temporalio/internal-workflow-common": "^1.0.0-rc.1",
"@temporalio/common": "^1.0.0",
"@temporalio/internal-workflow-common": "^1.0.0",
"abort-controller": "^3.0.0"

@@ -32,3 +32,3 @@ },

],
"gitHead": "723de0fbc7a04e68084ec99453578e7027eb3803"
"gitHead": "c4fc4dc608bf58701c11b6ae02d1d63b4457718d"
}

@@ -49,3 +49,3 @@ /**

import { AsyncLocalStorage } from 'async_hooks';
export { CancelledFailure } from '@temporalio/common';
export { CancelledFailure, ApplicationFailure } from '@temporalio/common';
export {

@@ -55,4 +55,5 @@ ActivityFunction,

UntypedActivities,
errorMessage,
errorCode,
} from '@temporalio/internal-workflow-common';
export * from '@temporalio/internal-workflow-common/lib/errors';

@@ -59,0 +60,0 @@ /**

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