From c6e53a7fd6734a4dd0ba9f79472dd5061a317602 Mon Sep 17 00:00:00 2001 From: REllEK-IO Date: Mon, 23 Oct 2023 08:24:14 -0700 Subject: [PATCH] Proper export of: isConceptLoaded, unifyConcepts, unifyConceptNames, and selectUnifiedState helper functions --- package.json | 2 +- src/index.ts | 3 +-- src/test/concepts.test.ts | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index d758238..b671b3c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@phuire/strx", - "version": "0.0.45", + "version": "0.0.46", "description": "Unified Turing Machine", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/src/index.ts b/src/index.ts index 2976bde..b41922c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -44,7 +44,7 @@ export { } from './model/actionOperators'; export type { Action, ActionType } from './model/action'; export { primeAction, createAction, getSemaphore, prepareActionCreator, prepareActionWithPayloadCreator } from './model/action'; -export { createConcept, createQuality, defaultReducer, defaultMethodCreator } from './model/concept'; +export { createConcept, createQuality, defaultReducer, defaultMethodCreator, isConceptLoaded } from './model/concept'; export type { Concept, Quality, @@ -53,7 +53,6 @@ export type { Principle, Mode, MethodCreator, - isConceptLoaded } from './model/concept'; export type { KeyedSelector } from './model/selector'; export { selectState, selectConcept, selectSlice, selectPayload } from './model/selector'; diff --git a/src/test/concepts.test.ts b/src/test/concepts.test.ts index 24c9827..9ee9e68 100644 --- a/src/test/concepts.test.ts +++ b/src/test/concepts.test.ts @@ -1,6 +1,6 @@ import { counterName, createCounterConcept } from '../concepts/counter/counter.concept'; import { createAxium } from '../model/axium'; -import { isConceptLoaded } from '../model/concept'; +import { isConceptLoaded } from '../index'; test('Concepts exists', (done) => { const axium = createAxium('Mock Axium', [createCounterConcept()]);