@dendronhq/common-server
Advanced tools
Comparing version
@@ -174,2 +174,6 @@ import { AppNames } from "@dendronhq/common-all"; | ||
/** | ||
* The current A/B test groups the user is participating in | ||
*/ | ||
splitTests?: string[]; | ||
/** | ||
* The role of user. Retrieved from initial survey. | ||
@@ -223,8 +227,7 @@ */ | ||
/** | ||
* Async tracking. Do not return promise from track call so it cannot be awaited | ||
* in downstream functions | ||
* Async tracking. Do not await this method as track calls can take ~8s to finish | ||
*/ | ||
static track(opts: SegmentEventProps & { | ||
platformProps: VSCodeProps | CLIProps; | ||
}): void; | ||
}): Promise<void>; | ||
/** | ||
@@ -231,0 +234,0 @@ * Sync tracking. NOTE that the downstream function must await this function in order for this to be synchronous |
@@ -98,2 +98,3 @@ "use strict"; | ||
} | ||
this.logger.info({ msg: "anonymous id", anonymousId: this._anonymousId }); | ||
} | ||
@@ -403,8 +404,6 @@ static instance(opts) { | ||
/** | ||
* Async tracking. Do not return promise from track call so it cannot be awaited | ||
* in downstream functions | ||
* Async tracking. Do not await this method as track calls can take ~8s to finish | ||
*/ | ||
static track(opts) { | ||
this._trackCommon(opts); | ||
return; | ||
static async track(opts) { | ||
return this._trackCommon(opts); | ||
} | ||
@@ -411,0 +410,0 @@ /** |
@@ -40,4 +40,4 @@ "use strict"; | ||
lodash_1.default.templateSettings.interpolate = /{{([\s\S]+?)}}/g; | ||
const noteHiearchy = note.fname.replace(/\./g, "/"); | ||
return lodash_1.default.template(txt)({ noteHiearchy }); | ||
const noteHierarchy = note.fname.replace(/\./g, "/"); | ||
return lodash_1.default.template(txt)({ noteHierarchy }); | ||
}; | ||
@@ -44,0 +44,0 @@ /** |
@@ -13,1 +13,2 @@ export * from "./files"; | ||
export * from "./yaml"; | ||
export * from "./abTesting"; |
@@ -25,2 +25,3 @@ "use strict"; | ||
__exportStar(require("./yaml"), exports); | ||
__exportStar(require("./abTesting"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@dendronhq/common-server", | ||
"version": "0.89.0", | ||
"version": "0.90.0", | ||
"description": "common-server", | ||
@@ -40,3 +40,3 @@ "license": "GPLv3", | ||
"dependencies": { | ||
"@dendronhq/common-all": "^0.89.0", | ||
"@dendronhq/common-all": "^0.90.0", | ||
"@sentry/integrations": "^6.13.3", | ||
@@ -58,2 +58,3 @@ "@sentry/node": "^6.13.3", | ||
"simple-git": "^3.3.0", | ||
"spark-md5": "^3.0.2", | ||
"tmp": "^0.2.1", | ||
@@ -88,3 +89,3 @@ "vscode-uri": "^2.1.2", | ||
}, | ||
"gitHead": "541fc2176b1c2e389c54e43a9bfe40bca5b72e30" | ||
"gitHead": "8596b50c159ed7e341bd0266f214663ed015c854" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
424110
1.26%46
6.98%3258
3.53%21
5%+ Added
+ Added
+ Added
- Removed