@appandflow/stalker
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -1,2 +0,2 @@ | ||
import { init } from './lib/init'; | ||
export { init }; | ||
import { initStalker } from './lib/init'; | ||
export { initStalker }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.init = void 0; | ||
exports.initStalker = void 0; | ||
const init_1 = require("./lib/init"); | ||
Object.defineProperty(exports, "init", { enumerable: true, get: function () { return init_1.init; } }); | ||
Object.defineProperty(exports, "initStalker", { enumerable: true, get: function () { return init_1.initStalker; } }); |
export declare function getOptions(): { | ||
key: string; | ||
} | undefined; | ||
export declare function init(key: string, options?: { | ||
export declare function initStalker(key: string, options?: { | ||
mobxRootStore?: any; | ||
}): Promise<void>; |
@@ -12,3 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.init = exports.getOptions = void 0; | ||
exports.initStalker = exports.getOptions = void 0; | ||
const log_1 = require("./log"); | ||
@@ -21,3 +21,3 @@ const mobx_1 = require("./mobx"); | ||
exports.getOptions = getOptions; | ||
function init(key, options) { | ||
function initStalker(key, options) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -36,2 +36,2 @@ stalkerOptions = { key }; | ||
} | ||
exports.init = init; | ||
exports.initStalker = initStalker; |
@@ -17,3 +17,3 @@ { | ||
], | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"typings": "dist/index.d.ts", | ||
@@ -20,0 +20,0 @@ "description": "", |
8778