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

gent-core

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gent-core - npm Package Compare versions

Comparing version 0.5.8 to 0.5.9

lib/Automat.d.ts

8

lib/Hooks.js
"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": {

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