From ee9c204fa09b5b15d64ec82d438347e69734560b Mon Sep 17 00:00:00 2001 From: REllEK-IO Date: Tue, 2 Apr 2024 11:50:58 -0700 Subject: [PATCH] Patch v0.1.51 --- README.md | 1 + package.json | 2 +- src/concepts/axium/axium.mode.ts | 5 ----- src/concepts/counter/qualities/add.quality.ts | 1 - src/concepts/counter/qualities/subtract.quality.ts | 1 - src/model/axium.ts | 3 --- 6 files changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index c735aa2..68de417 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ When in doubt simplify. * It is now a requirement you use the **stageWaitForOpenThenIterate(() => action)** helper function in your plans if you are depending on the last strategyTopic property on the axium concept. * Added an addition logging property to reveal the internal action stream that can be set when creating your axium. This is separate from the prior logging feature. * Method now utilize an internal actionConcept$ stream of type Subject. Method creators that utilize the UnifiedSubject will throw a type error and will need to be updated. +* **PATCH v0.1.51** Removed debugging logs ### **BREAKING Update v0.1.4** 3/28/24 * Removed the "on.expected" option from dispatch to reduce inner complexity of your stages * Renamed **axium.stage** to **axium.plan** to be in line with industry terminology diff --git a/package.json b/package.json index d859148..bfaa396 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "stratimux", "license": "GPL-3.0", - "version": "0.1.5", + "version": "0.1.51", "description": "Unified Turing Machine", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/src/concepts/axium/axium.mode.ts b/src/concepts/axium/axium.mode.ts index deecb74..eee7651 100644 --- a/src/concepts/axium/axium.mode.ts +++ b/src/concepts/axium/axium.mode.ts @@ -46,7 +46,6 @@ export const permissiveMode: Mode = ( const newConcept = {...newConcepts[action.semaphore[0]]}; newConcepts[action.semaphore[0]] = newConcept; newConcepts[action.semaphore[0]].state = newState; - // console.log('CHECK NEW STATE', newState); axiumState.actionConcepts$.next(newConcepts); concepts$.next(newConcepts); } @@ -89,10 +88,6 @@ export const blockingMode: Mode = ( let subject: Subject; if (concepts[action.semaphore[0]].qualities[action.semaphore[1]].method) { subject = concepts[action.semaphore[0]].qualities[action.semaphore[1]].subject as Subject; - // if (action.strategy?.topic === 'Counting Strategy') { - // console.log('Method Subject', action); - // } - console.log('Action HIt'); subject.next(action); } } else { diff --git a/src/concepts/counter/qualities/add.quality.ts b/src/concepts/counter/qualities/add.quality.ts index 3a268f4..9055f3f 100644 --- a/src/concepts/counter/qualities/add.quality.ts +++ b/src/concepts/counter/qualities/add.quality.ts @@ -12,7 +12,6 @@ export const counterAddType: ActionType = 'Counter Add'; export const counterAdd = prepareActionCreator(counterAddType); function counterAddReducer(state: CounterState, _: Action) { - console.log('ADD: Incoming', state.count, 'Outgoing', state.count + 1); return { ...state, count: state.count + 1 diff --git a/src/concepts/counter/qualities/subtract.quality.ts b/src/concepts/counter/qualities/subtract.quality.ts index 15a6ab1..34357f8 100644 --- a/src/concepts/counter/qualities/subtract.quality.ts +++ b/src/concepts/counter/qualities/subtract.quality.ts @@ -13,7 +13,6 @@ export const counterSubtractType: ActionType = 'Counter Subtract'; export const counterSubtract = prepareActionCreator(counterSubtractType); function counterSubtractReducer(state: CounterState) { - console.log('SUBTRACT: Incoming', state.count, 'Outgoing', state.count - 1); return { ...state, count: state.count - 1 diff --git a/src/model/axium.ts b/src/model/axium.ts index 1554fcb..29ee1df 100644 --- a/src/model/axium.ts +++ b/src/model/axium.ts @@ -62,13 +62,10 @@ export const defaultMethodSubscription = (action$: Subject, action: Acti strategyTopic: action.strategy.topic, strategyData: action.strategy.data }); - // setTimeout(() => { - console.log('APPEND', appendToDialog); setTimeout(() => { action$.next(appendToDialog); action$.next(action); }, 0); - // }, 0); } else if ( action.strategy && // Logical Determination: axiumBadType