Skip to content

Commit 24c8e16

Browse files
authored
Merge branch 'main' into feat/ofrep-metadata
2 parents 774a4cc + 68585ae commit 24c8e16

File tree

7 files changed

+26
-15
lines changed

7 files changed

+26
-15
lines changed

.release-please-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"libs/hooks/open-telemetry": "0.4.0",
3-
"libs/providers/go-feature-flag": "0.7.4",
3+
"libs/providers/go-feature-flag": "0.7.5",
44
"libs/providers/flagd": "0.13.3",
55
"libs/providers/flagd-web": "0.7.2",
66
"libs/providers/env-var": "0.3.1",
@@ -13,7 +13,7 @@
1313
"libs/providers/ofrep-web": "0.3.1",
1414
"libs/providers/flipt": "0.1.2",
1515
"libs/providers/flagsmith-client": "0.1.2",
16-
"libs/providers/flipt-web": "0.1.1",
16+
"libs/providers/flipt-web": "0.1.2",
1717
"libs/providers/multi-provider": "0.1.2",
1818
"libs/providers/multi-provider-web": "0.0.3",
1919
"libs/providers/growthbook-client": "0.1.2",

libs/providers/flipt-web/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## [0.1.2](https://github.com/open-feature/js-sdk-contrib/compare/flipt-web-provider-v0.1.1...flipt-web-provider-v0.1.2) (2025-02-11)
4+
5+
6+
### 🐛 Bug Fixes
7+
8+
* Removed incorrect string case format from the options.authentica… ([#1209](https://github.com/open-feature/js-sdk-contrib/issues/1209)) ([dbd2326](https://github.com/open-feature/js-sdk-contrib/commit/dbd23264e4d6408dd9d8b4bd62e0a2735daea1f7))
9+
10+
11+
### 🧹 Chore
12+
13+
* update nx packages ([#1147](https://github.com/open-feature/js-sdk-contrib/issues/1147)) ([7f310fe](https://github.com/open-feature/js-sdk-contrib/commit/7f310fe87101b8aa793e1436e63c7602ccc202e3))
14+
315
## [0.1.1](https://github.com/open-feature/js-sdk-contrib/compare/flipt-web-provider-v0.1.0...flipt-web-provider-v0.1.1) (2024-12-02)
416

517

libs/providers/flipt-web/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libs/providers/flipt-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openfeature/flipt-web-provider",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"license": "Apache-2.0",
55
"main": "./src/index.js",
66
"typings": "./src/index.d.ts",

libs/providers/flipt-web/src/lib/flipt-web-provider.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,11 @@ export class FliptWebProvider implements Provider {
4747
}
4848

4949
async initializeClient() {
50-
let authentication = {};
51-
52-
if (this._options?.authentication && 'clientToken' in this._options.authentication) {
53-
authentication = { client_token: this._options.authentication.clientToken };
54-
} else if (this._options?.authentication && 'jwtToken' in this._options.authentication) {
55-
authentication = { jwt_token: this._options.authentication.jwtToken };
56-
}
57-
5850
try {
5951
this._client = await FliptEvaluationClient.init(this._namespace || 'default', {
6052
url: this._options?.url || 'http://localhost:8080',
6153
fetcher: this._options?.fetcher,
62-
authentication,
54+
authentication: this._options?.authentication,
6355
});
6456
} catch (e) {
6557
throw new ProviderFatalError(getErrorMessage(e));

libs/providers/go-feature-flag/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.7.5](https://github.com/open-feature/js-sdk-contrib/compare/go-feature-flag-provider-v0.7.4...go-feature-flag-provider-v0.7.5) (2025-02-07)
4+
5+
6+
### ✨ New Features
7+
8+
* **go-feature-flag:** Support exporter metadata during evaluation ([#1186](https://github.com/open-feature/js-sdk-contrib/issues/1186)) ([0dfffdc](https://github.com/open-feature/js-sdk-contrib/commit/0dfffdc3167312b036034dd450b8b23b92d8e132))
9+
310
## [0.7.4](https://github.com/open-feature/js-sdk-contrib/compare/go-feature-flag-provider-v0.7.3...go-feature-flag-provider-v0.7.4) (2025-01-16)
411

512

libs/providers/go-feature-flag/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openfeature/go-feature-flag-provider",
3-
"version": "0.7.4",
3+
"version": "0.7.5",
44
"license": "Apache-2.0",
55
"scripts": {
66
"publish-if-not-exists": "cp $NPM_CONFIG_USERCONFIG .npmrc && if [ \"$(npm show $npm_package_name@$npm_package_version version)\" = \"$(npm run current-version -s)\" ]; then echo 'already published, skipping'; else npm publish --access public; fi",

0 commit comments

Comments
 (0)