diff --git a/dist/index.d.ts b/dist/index.d.ts index afc32af..20e5c3d 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -28,6 +28,6 @@ declare type AnyClassWithReactiveProps = (new (...args: any[]) => object) & { export declare function reactify(obj: T, props: (keyof T)[]): typeof obj; export declare function reactify(obj: InstanceType, ctor: C): typeof obj; export declare function circular(first: VariableGetter, setFirst: (v: Type) => void, second: VariableGetter, setSecond: (v: Type) => void): StopFunction; -export declare const version = "0.9.0"; +export declare const version = "0.10.0"; export {}; //# 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 6bc4f36..886c5b1 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,MAAM,WAAW,cAAc,CAAC,CAAC;IAChC,IAAI,CAAC,CAAA;CACL;AAED,MAAM,WAAW,cAAc,CAAC,CAAC;IAChC,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAA;CACb;AAGD,MAAM,WAAW,QAAQ,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;IAEzF,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,CAAC,CAAA;IAEtB,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAA;IACb,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,CAAA;IAErB,GAAG,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;IACtB,GAAG,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;IAGtB,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;IACtB,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;IACtB,CAAC,MAAM,CAAC,QAA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gB,OAAO,CAAC,CAAC,EAAE,WAAW,GAAG,YAAY,CASpD;AAED,wBAAgB,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,kBAAkB,GAAG,GAAG,CAiC3G;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,QAAQ,EAAE,MAAM,QAGxF;AAqJD,aAAK,QAAQ,GAAG,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,CAAA;AAC9C,aAAK,yBAAyB,GAAG,CAAC,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,CAAC,GAAG;IACnE,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC7B,cAAc,CAAC,EAAE,IAAI,CAAA;CACrB,CAAA;AAID,wBAAgB,QAAQ,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,OAAO,GAAG,CAAA;AACnE,wBAAgB,QAAQ,CAAC,CAAC,SAAS,QAAQ,EAAE,GAAG,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,OAAO,GAAG,CAAA;AAyCvF,wBAAgB,QAAQ,CAAC,IAAI,EAC5B,KAAK,EAAE,cAAc,CAAC,IAAI,CAAC,EAC3B,QAAQ,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI,EAC3B,MAAM,EAAE,cAAc,CAAC,IAAI,CAAC,EAC5B,SAAS,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI,GAC1B,YAAY,CAmBd;AAED,eAAO,MAAM,OAAO,WAAW,CAAA"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index 4c462b6..8c409c2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -205,5 +205,5 @@ export function circular(first, setFirst, second, setSecond) { stop2(); }; } -export const version = '0.9.0'; +export const version = '0.10.0'; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/index.js.map b/dist/index.js.map index 3362c75..bd1abc7 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":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,UAAU,CAAA;AAC/C,OAAO,EAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAC,MAAM,UAAU,CAAA;AA2BrF,SAAS,YAAY;IACpB,OAAO,IAAI,EAAE,CAAA;AACd,CAAC;AACD,SAAS,aAAa,CAAuB,KAAQ;IACpD,OAAO,IAAI,CAAC,KAAK,CAAC,CAAA;AACnB,CAAC;AAaD,MAAM,UAAU,QAAQ,CAAI,KAAQ;IACnC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,YAAY,CAAI,KAAK,EAAE,EAAC,MAAM,EAAE,KAAK,EAAC,CAAC,CAAA;IAG1D,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAS,EAAE,EAAE;QAC/B,IAAI,OAAO,KAAK,KAAK,WAAW;YAAE,OAAO,GAAG,EAAE,CAAA;QAC9C,GAAG,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAA;QAChB,OAAO,KAAK,CAAA;IACb,CAAC,CAAgB,CAAA;IAGjB,MAAM,MAAM,GAAG,YAAY,CAAC,IAAI,CAAC,QAAe,CAAsB,CAAA;IACtE,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,QAAe,CAAsB,CAAA;IAGvE,QAAQ,CAAC,GAAG,GAAG,MAAM,CAAA;IACrB,QAAQ,CAAC,GAAG,GAAG,MAAM,CAAA;IAGrB,QAAQ,CAAC,CAAC,CAAC,GAAG,MAAM,CAAA;IACpB,QAAQ,CAAC,CAAC,CAAC,GAAG,MAAM,CAAA;IACpB,QAAQ,CAAC,MAAM,CAAC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1C,OAAO,GAAG,IAAI,CAAA;IACpB,CAAC,CAAC,CAAA;IAEF,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE;QAC1B,MAAM,CAAC,GAAG,MAAM,EAAE,CAAA;QAClB,IAAI,OAAO,IAAI,CAAC,CAAC,OAAO,GAAG,KAAK,CAAC;YAAE,QAAQ,CAAC,CAAC,CAAC,CAAA;;YACzC,OAAO,GAAG,IAAI,CAAA;IACpB,CAAC,CAAC,CAAA;IAEF,OAAO,SAAS,IAAI;QACnB,KAAK,EAAE,CAAA;QACP,KAAK,EAAE,CAAA;IACR,CAAC,CAAA;AACF,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAA"} \ No newline at end of file diff --git a/package.json b/package.json index 4479938..89024ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lume/variable", - "version": "0.9.0", + "version": "0.10.0", "description": "Create reactive variables and react their changes.", "author": "Joe Pea ", "license": "MIT", diff --git a/src/index.ts b/src/index.ts index f3e7b97..34f06a9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -363,4 +363,4 @@ export function circular( } } -export const version = '0.9.0' +export const version = '0.10.0'