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

@studyportals/sp-lord-business-interface

Package Overview
Dependencies
Maintainers
19
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studyportals/sp-lord-business-interface - npm Package Compare versions

Comparing version 0.0.1-3 to 0.0.1-4

src/reconstitution/StateFlyweightFactory.d.ts

4

index.d.ts

@@ -6,5 +6,5 @@ import { IConstructableState } from "./src/reconstitution/IConstructableState";

import { FulfillmentProcessDescriptionResult } from "./src/FulfillmentProcessDescriptionResult";
import { StateFlyweight } from "./src/reconstitution/StateFlyweight";
import { StateFlyweightFactory } from "./src/reconstitution/StateFlyweightFactory";
import { ITransitionDescription } from "./src/reconstitution/ITransitionDescription";
import { FulfillmentProcessFactory } from "./src/reconstitution/FulfillmentProcessFactory";
export { IConstructableState, State, StateFlyweight, ITransitionDescription, Transition, FulfillmentProcessFactory, FulfillmentProcessDescriptionResult, LordBusinessClient, };
export { IConstructableState, State, StateFlyweightFactory, ITransitionDescription, Transition, FulfillmentProcessFactory, FulfillmentProcessDescriptionResult, LordBusinessClient, };

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

exports.FulfillmentProcessDescriptionResult = FulfillmentProcessDescriptionResult_1.FulfillmentProcessDescriptionResult;
const StateFlyweight_1 = require("./src/reconstitution/StateFlyweight");
exports.StateFlyweight = StateFlyweight_1.StateFlyweight;
const StateFlyweightFactory_1 = require("./src/reconstitution/StateFlyweightFactory");
exports.StateFlyweightFactory = StateFlyweightFactory_1.StateFlyweightFactory;
const FulfillmentProcessFactory_1 = require("./src/reconstitution/FulfillmentProcessFactory");
exports.FulfillmentProcessFactory = FulfillmentProcessFactory_1.FulfillmentProcessFactory;
//# sourceMappingURL=index.js.map
{
"name": "@studyportals/sp-lord-business-interface",
"version": "0.0.1-3",
"version": "0.0.1-4",
"description": "Typescript library containing resources that facilitate integration with Lord Business.",

@@ -5,0 +5,0 @@ "main": "bin/index.js",

@@ -1,6 +0,6 @@

import { IConstructableState, ITransitionDescription, StateFlyweight } from "../..";
import { IConstructableState, ITransitionDescription, StateFlyweightFactory } from "../..";
export declare class FulfillmentProcessFactory<TState extends IConstructableState> {
private stateFlyweight;
constructor(stateFlyweight: StateFlyweight<TState>);
private stateFlyweightFactory;
constructor(stateFlyweightFactory: StateFlyweightFactory<TState>);
create(transitions: ReadonlyArray<ITransitionDescription>): TState[];
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class FulfillmentProcessFactory {
constructor(stateFlyweight) {
this.stateFlyweight = stateFlyweight;
constructor(stateFlyweightFactory) {
this.stateFlyweightFactory = stateFlyweightFactory;
}

@@ -10,4 +10,4 @@ create(transitions) {

for (const transition of transitions) {
const sourceState = this.stateFlyweight.obtain(transition.source);
const targetState = this.stateFlyweight.obtain(transition.target);
const sourceState = this.stateFlyweightFactory.obtain(transition.source);
const targetState = this.stateFlyweightFactory.obtain(transition.target);
sourceState.registerTransition(targetState);

@@ -14,0 +14,0 @@ stateSet.add(sourceState);

Sorry, the diff of this file is not supported yet

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