diff --git a/dist/lib/index.js b/dist/lib/index.js index b5eecca..45253bb 100644 --- a/dist/lib/index.js +++ b/dist/lib/index.js @@ -349,6 +349,9 @@ exports.build = build; exports.createActions = createActions; exports.createEffects = createEffects; + exports.checkKeyUsage = checkKeyUsage; + exports.wrapKeys = wrapKeys; + exports.Store = Store; Object.defineProperty(exports, '__esModule', { value: true }); diff --git a/dist/lib/index.js.map b/dist/lib/index.js.map index edb9409..ccfe437 100644 --- a/dist/lib/index.js.map +++ b/dist/lib/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AAAA,iDAAqE;AACrE,iCAAgC;AAChC,qBAA+B,YAAe;IAC5C,IAAI,YAAY,KAAK,SAAS,EAAE;QAC9B,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;KACtD;IACD,IAAM,OAAO,GAAG,IAAI,8BAAc,CAAI,YAAY,CAAC,CAAC;IACpD,IAAM,KAAK,GAAG,IAAI,aAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IACxC,IAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAC1C,aAAa;IACb,OAAO,GAAG,CAAC;AACb,CAAC;AATD,kCASC;AAED,qCAAgC;AAChC,oCAA+B"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AAAA,iDAAqE;AACrE,iCAAgC;AAChC,qBAA+B,YAAe;IAC5C,IAAI,YAAY,KAAK,SAAS,EAAE;QAC9B,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;KACtD;IACD,IAAM,OAAO,GAAG,IAAI,8BAAc,CAAI,YAAY,CAAC,CAAC;IACpD,IAAM,KAAK,GAAG,IAAI,aAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IACxC,IAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAC1C,aAAa;IACb,OAAO,GAAG,CAAC;AACb,CAAC;AATD,kCASC;AAED,qCAAgC;AAChC,oCAA+B;AAC/B,6BAAwB"} \ No newline at end of file diff --git a/dist/restate.es5.js b/dist/restate.es5.js index aded76f..2541386 100644 --- a/dist/restate.es5.js +++ b/dist/restate.es5.js @@ -339,4 +339,4 @@ function createState(initialState) { return res; } -export { createState, reducerPathSymbol, getKeys, ReducerBuilder, createAction, build, createActions, createEffects }; +export { createState, reducerPathSymbol, getKeys, ReducerBuilder, createAction, build, createActions, createEffects, checkKeyUsage, wrapKeys, Store }; diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts index 17e08a1..fe0e0bd 100644 --- a/dist/types/index.d.ts +++ b/dist/types/index.d.ts @@ -2,3 +2,4 @@ import { IReducerBuilder, R } from "./createReducer"; export declare function createState(initialState: T): IReducerBuilder>; export * from "./createReducer"; export * from "./createAction"; +export * from "./store"; diff --git a/src/index.ts b/src/index.ts index 184527f..f8cc686 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,3 +13,4 @@ export function createState(initialState: T): IReducerBuilder> { export * from "./createReducer"; export * from "./createAction"; +export * from "./store";