Skip to content
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
f45b39c
chore: rename configuration.ts to configuration-wire-types.ts
typotter Feb 19, 2025
704d2e5
chore: deprecate fetchFlagConfigurations in favour of startPolling
typotter Feb 19, 2025
0e9c2f5
feat: Wrap configuration store access in new Configuration object
typotter Feb 19, 2025
8b11bb4
feat: ConfigurationRequestor.getConfiguration
typotter Feb 19, 2025
84857ad
merge main
typotter Feb 19, 2025
688b200
chore: delegate isObfuscated check to i-config
typotter Feb 19, 2025
40a953d
chore: delegate getFlagKeys to i-config
typotter Feb 19, 2025
3786b78
chore: delegate getFlagConfigurations to i-config
typotter Feb 19, 2025
2ab3dda
chore: delegate getFlag->getNormalizedFlag and evalDetails method to …
typotter Feb 19, 2025
06fc3e5
fix: point default config at other config stores
typotter Feb 19, 2025
1cc8cea
chore: remove findBanditByVariation and delegate to i-config
typotter Feb 19, 2025
f7e539e
chore: remove getBandit and delegate to i-config
typotter Feb 19, 2025
39aed59
feat: i-config.isInitialized
typotter Feb 19, 2025
421470d
remove getConfigDetails and delegate to i-config
typotter Feb 19, 2025
5b34fc7
feat: getters for other config stores and some renaming
typotter Feb 19, 2025
15e3262
chore: delegate banditVariations.get to i-config
typotter Feb 19, 2025
bf412f8
move flag config expired check to config requestor
typotter Feb 19, 2025
1ff4f35
v4.11.0
typotter Feb 19, 2025
5fc7ef3
chore: drop unimplemented and add specific string types
typotter Feb 19, 2025
3ab4301
chore: rename new config file to make a nicer diff
typotter Feb 19, 2025
3533fa5
chore: save startPolling for later
typotter Feb 19, 2025
b4b44b9
chore:lint
typotter Feb 19, 2025
4a1231b
chore: take TODO
typotter Feb 19, 2025
0f1874e
chore: don't duplicate code
typotter Feb 19, 2025
3f86324
Merge branch 'main' into tp/i-configuration
typotter Feb 21, 2025
94e7f3e
comments
typotter Feb 21, 2025
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 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eppo/js-client-sdk-common",
"version": "4.10.0",
"version": "4.11.0",
"description": "Common library for Eppo JavaScript SDKs (web, react native, and node)",
"main": "dist/index.js",
"files": [
Expand Down
6 changes: 3 additions & 3 deletions src/client/eppo-client-with-bandits.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import ApiEndpoints from '../api-endpoints';
import { IAssignmentEvent, IAssignmentLogger } from '../assignment-logger';
import { BanditEvaluation, BanditEvaluator } from '../bandit-evaluator';
import { IBanditEvent, IBanditLogger } from '../bandit-logger';
import ConfigurationRequestor from '../configuration-requestor';
import { MemoryOnlyConfigurationStore } from '../configuration-store/memory.store';
import {
IConfigurationWire,
IPrecomputedConfiguration,
IObfuscatedPrecomputedConfigurationResponse,
} from '../configuration';
import ConfigurationRequestor from '../configuration-requestor';
import { MemoryOnlyConfigurationStore } from '../configuration-store/memory.store';
} from '../configuration-wire-types';
import { Evaluator, FlagEvaluation } from '../evaluator';
import {
AllocationEvaluationCode,
Expand Down
8 changes: 4 additions & 4 deletions src/client/eppo-client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ import {
} from '../../test/testHelpers';
import { IAssignmentLogger } from '../assignment-logger';
import { AssignmentCache } from '../cache/abstract-assignment-cache';
import { IConfigurationStore } from '../configuration-store/configuration-store';
import { MemoryOnlyConfigurationStore } from '../configuration-store/memory.store';
import {
IConfigurationWire,
IObfuscatedPrecomputedConfigurationResponse,
ObfuscatedPrecomputedConfigurationResponse,
} from '../configuration';
import { IConfigurationStore } from '../configuration-store/configuration-store';
import { MemoryOnlyConfigurationStore } from '../configuration-store/memory.store';
import { DEFAULT_POLL_INTERVAL_MS, MAX_EVENT_QUEUE_SIZE, POLL_JITTER_PCT } from '../constants';
} from '../configuration-wire-types';
import { MAX_EVENT_QUEUE_SIZE, DEFAULT_POLL_INTERVAL_MS, POLL_JITTER_PCT } from '../constants';
import { decodePrecomputedFlag } from '../decoding';
import { Flag, ObfuscatedFlag, VariationType, FormatEnum, Variation } from '../interfaces';
import { getMD5Hash } from '../obfuscation';
Expand Down
Loading
Loading