Skip to content

Commit

Permalink
Patch v0.1.51
Browse files Browse the repository at this point in the history
  • Loading branch information
REllEK-IO committed Apr 2, 2024
1 parent 43c08db commit ee9c204
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 11 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Concepts>. 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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 0 additions & 5 deletions src/concepts/axium/axium.mode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -89,10 +88,6 @@ export const blockingMode: Mode = (
let subject: Subject<Action>;
if (concepts[action.semaphore[0]].qualities[action.semaphore[1]].method) {
subject = concepts[action.semaphore[0]].qualities[action.semaphore[1]].subject as Subject<Action>;
// if (action.strategy?.topic === 'Counting Strategy') {
// console.log('Method Subject', action);
// }
console.log('Action HIt');
subject.next(action);
}
} else {
Expand Down
1 change: 0 additions & 1 deletion src/concepts/counter/qualities/add.quality.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/concepts/counter/qualities/subtract.quality.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions src/model/axium.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,10 @@ export const defaultMethodSubscription = (action$: Subject<Action>, 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
Expand Down

0 comments on commit ee9c204

Please sign in to comment.