diff --git a/dist/buildMutations/test.d.ts b/dist/buildMutations/test.d.ts new file mode 100644 index 0000000..9bcc471 --- /dev/null +++ b/dist/buildMutations/test.d.ts @@ -0,0 +1,2 @@ +export {}; +//# sourceMappingURL=test.d.ts.map \ No newline at end of file diff --git a/dist/buildMutations/test.d.ts.map b/dist/buildMutations/test.d.ts.map new file mode 100644 index 0000000..dffe080 --- /dev/null +++ b/dist/buildMutations/test.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../src/buildMutations/test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/buildMutations/test.js b/dist/buildMutations/test.js new file mode 100644 index 0000000..d4b2ef1 --- /dev/null +++ b/dist/buildMutations/test.js @@ -0,0 +1,13 @@ +"use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const _1 = __importDefault(require(".")); +const actions = { + multiply: (factor) => ({ factor }), +}; +const mutations = _1.default({ + multiply: ({ factor }) => ({ counter }) => factor * counter, +}); +//# sourceMappingURL=test.js.map \ No newline at end of file diff --git a/dist/buildMutations/test.js.map b/dist/buildMutations/test.js.map new file mode 100644 index 0000000..771a352 --- /dev/null +++ b/dist/buildMutations/test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../src/buildMutations/test.ts"],"names":[],"mappings":";;;;;AAAA,yCAA+B;AAE/B,MAAM,OAAO,GAAG;IACZ,QAAQ,EAAE,CAAC,MAAc,EAAE,EAAE,CAAC,CAAC,EAAC,MAAM,EAAC,CAAC;CAC3C,CAAC;AAEF,MAAM,SAAS,GAAG,UAAc,CAC5B;IACI,QAAQ,EAAE,CAAC,EAAC,MAAM,EAAC,EAAE,EAAE,CAAC,CAAC,EAAC,OAAO,EAAC,EAAE,EAAE,CAAC,MAAM,GAAG,OAAO;CAC1D,CACJ,CAAC"} \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts index bc88b6e..4f094ab 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,4 +1,4 @@ import Updux from './updux'; import { UpduxConfig } from './types'; -export default function updux(config: UpduxConfig): Updux; +export default function updux(config: UpduxConfig): Updux; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/index.d.ts.map b/dist/index.d.ts.map index 921c006..f2d2137 100644 --- a/dist/index.d.ts.map +++ b/dist/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,MAAM,EAAE,WAAW,cAEhD"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,CAAC,GAAC,GAAG,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,YAE1D"} \ No newline at end of file diff --git a/dist/index.js.map b/dist/index.js.map index bb586ca..1e3561f 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAGA,oDAA4B;AAI5B,SAAwB,KAAK,CAAC,MAAmB;IAC/C,OAAO,IAAI,eAAK,CAAC,MAAM,CAAC,CAAC;AAC3B,CAAC;AAFD,wBAEC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAGA,oDAA4B;AAI5B,SAAwB,KAAK,CAAQ,MAAsB;IACzD,OAAO,IAAI,eAAK,CAAI,MAAM,CAAC,CAAC;AAC9B,CAAC;AAFD,wBAEC"} \ No newline at end of file diff --git a/dist/test.js b/dist/test.js index c5ac448..4ee83cd 100644 --- a/dist/test.js +++ b/dist/test.js @@ -25,7 +25,7 @@ test('reducer', () => { inc: () => ({ counter }) => ({ counter: counter + 1 }), }, }); - let state = reducer(null, { type: 'noop' }); + let state = reducer(undefined, { type: 'noop' }); expect(state).toEqual({ counter: 1 }); state = reducer(state, actions.inc()); expect(state).toEqual({ counter: 2 }); @@ -89,7 +89,7 @@ test('precedence between root and sub-reducers', () => { expect(initial).toEqual({ foo: { bar: 4, quux: 3 } }); - expect(reducer(null, actions.inc())).toEqual({ + expect(reducer(undefined, actions.inc())).toEqual({ foo: { bar: 5, quux: 3 }, surprise: 5 }); }); diff --git a/dist/test.js.map b/dist/test.js.map index f6fb1f9..2fed5a9 100644 --- a/dist/test.js.map +++ b/dist/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../src/test.ts"],"names":[],"mappings":";;;;;AAAA,yCAAsB;AAEtB,IAAI,CAAC,wBAAwB,EAAE,GAAG,EAAE;IAClC,MAAM,EACJ,OAAO,EAAE,EAAC,GAAG,EAAE,GAAG,EAAC,GACpB,GAAG,UAAK,CAAC;QACR,SAAS,EAAE;YACT,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,CAAK,EAAE,EAAE,CAAC,CAAC;SACxB;KACF,CAAC,CAAC;IAEH,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,EAAC,IAAI,EAAE,KAAK,EAAC,CAAC,CAAC;IAErC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,EAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC,CAAC;IAExD,MAAM,CAAC,GAAG,CAAC,EAAC,GAAG,EAAE,CAAC,EAAC,EAAE,EAAC,SAAS,EAAE,GAAG,EAA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