Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for default variant eval #309

Merged
merged 5 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flipt-client-browser/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class FliptEvaluationClient {

const headers = new Headers();
headers.append('Accept', 'application/json');
headers.append('x-flipt-accept-server-version', '1.38.0');
headers.append('x-flipt-accept-server-version', '1.47.0');

if (engine_opts.authentication) {
if ('client_token' in engine_opts.authentication) {
Expand Down
2 changes: 1 addition & 1 deletion flipt-engine-ffi/src/parser/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ impl Parser for HTTPParser {
// version (or higher) that we can accept from the server
headers.insert(
"X-Flipt-Accept-Server-Version",
reqwest::header::HeaderValue::from_static("1.38.0"),
reqwest::header::HeaderValue::from_static("1.47.0"),
);

// add etag / if-none-match header if we have one
Expand Down
Loading
Loading