Skip to content

Commit db8dbba

Browse files
authored
Merge branch 'main' into move-request-context
Signed-off-by: Michael Beemer <[email protected]>
2 parents 37e1158 + 801d7e0 commit db8dbba

22 files changed

+249
-227
lines changed

.github/workflows/coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
- uses: actions/setup-node@v3
1717
with:
1818
registry-url: 'https://registry.npmjs.org'

.github/workflows/pr-checks.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- 20.x
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
- name: Use Node.js ${{ matrix.node-version }}
2525
uses: actions/setup-node@v3
2626
with:
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ubuntu-latest
4444

4545
steps:
46-
- uses: actions/checkout@v3
46+
- uses: actions/checkout@v4
4747
- uses: actions/setup-node@v3
4848
with:
4949
node-version: 16
@@ -68,7 +68,7 @@ jobs:
6868
- 8013:8013
6969

7070
steps:
71-
- uses: actions/checkout@v3
71+
- uses: actions/checkout@v4
7272
- uses: actions/setup-node@v3
7373
with:
7474
# we need 'fetch' for this test, which is only in 18

.github/workflows/publish-experimental.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- uses: actions/setup-node@v3
1818
with:
1919
registry-url: 'https://registry.npmjs.org'

.github/workflows/release-please.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
# The logic below handles the npm publication:
2727
- name: Checkout Repository
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
- name: Setup Node
3030
uses: actions/setup-node@v3
3131
with:

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"packages/react": "0.0.1-experimental",
33
"packages/client": "0.4.1",
4-
"packages/server": "1.6.0",
4+
"packages/server": "1.6.3",
55
"packages/shared": "0.0.12"
66
}

package-lock.json

+11-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/client/src/open-feature.ts

+8
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ export class OpenFeatureAPI extends OpenFeatureCommonAPI<Provider> implements Ma
7575
{ name, version }
7676
);
7777
}
78+
79+
/**
80+
* Clears all registered providers and resets the default provider.
81+
* @returns {Promise<void>}
82+
*/
83+
clearProviders(): Promise<void> {
84+
return super.clearProvidersAndSetDefault(NOOP_PROVIDER);
85+
}
7886
}
7987

8088
/**

0 commit comments

Comments
 (0)