Comparing version 0.5.8 to 0.5.9
"use strict"; | ||
exports.__esModule = true; | ||
var Context_1 = require("./Context"); | ||
var Worker_1 = require("./Worker"); | ||
var Automat_1 = require("./Automat"); | ||
var scopedChanges = function (scope, changes) { | ||
@@ -14,7 +14,7 @@ var scopedChanges = {}; | ||
var __gentUpdateProcessState = function (changes) { | ||
var context = Worker_1.workerNamespace.get('context'); | ||
var context = Automat_1.automatNamespace.get('context'); | ||
Context_1.updateContextState(context, changes); | ||
}; | ||
var __gentGetProcessState = function () { | ||
return Worker_1.workerNamespace.get('context').state; | ||
return Automat_1.automatNamespace.get('context').state; | ||
}; | ||
@@ -42,3 +42,3 @@ exports.gentGetState = function () { | ||
exports.gentGetProcess = function () { | ||
return Worker_1.workerNamespace.get('context').process; | ||
return Automat_1.automatNamespace.get('context').process; | ||
}; | ||
@@ -45,0 +45,0 @@ exports.gentGetStatus = function () { |
@@ -126,3 +126,3 @@ import { Subtask } from './Subtask'; | ||
createProcess(process: ProcessStateType): Promise<ProcessStateType>; | ||
updateProcess(process: ProcessStateType, changes?: JournalMutationType): Promise<ProcessStateType>; | ||
updateProcess(process: ProcessStateType, changes: JournalMutationType): Promise<ProcessStateType>; | ||
getProcess(processId: string): Promise<ProcessStateType>; | ||
@@ -129,0 +129,0 @@ addJournalEntry(changes: JournalMutationType): Promise<JournalMutationType>; |
{ | ||
"name": "gent-core", | ||
"version": "0.5.8", | ||
"version": "0.5.9", | ||
"description": "Library for simple business processes implementation", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
80826