Skip to content

Commit e47bcd5

Browse files
wip
1 parent 0fbfebd commit e47bcd5

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

src/feature-management-applicationinsights-browser/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
},
4747
"dependencies": {
4848
"@microsoft/applicationinsights-web": "^3.3.2",
49-
"@microsoft/feature-management": "2.1.0"
49+
"@microsoft/feature-management": "2.1.0",
50+
"@nevware21/ts-utils": ">= 0.12.5 < 2.x"
5051
}
5152
}
5253

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT license.
3+
4+
import { getDocument, strTrim } from "@nevware21/ts-utils";
5+
import { ITargetingContext, ITargetingContextAccessor } from "@microsoft/feature-management";
6+
7+
const strCookie = "cookie";
8+
9+
export class DefaultHttpTargetingContextAccessor implements ITargetingContextAccessor {
10+
#cookieValue: string;
11+
#cookieCache: { [key: string]: string } | undefined;
12+
13+
14+
getTargetingContext(): ITargetingContext {
15+
return {};
16+
}
17+
18+
#
19+
}

0 commit comments

Comments
 (0)