Skip to content

Commit 7f935fb

Browse files
Merge branch 'main' into sdk-configs-baseline
2 parents 92756e4 + 4a9c03b commit 7f935fb

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

CHANGES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
- Removed the misleading warning log 'No listeners for SDK_READY event detected', since users can use the `whenReady` method to wait for the SDK to be ready.
1313
- BREAKING CHANGES: Renamed some types and modules, and updated the signatures of others for clarity and reusability.
1414

15-
2.12.1 (April 30, 2026)
15+
2.12.1 (June 25, 2026)
1616
- Updated internal modules to handle `null` values from `/splitChanges` response.
1717
- Updated some dependencies for vulnerability fixes.
1818

src/logger/messages/warn.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ export const codesWarn: [number, string][] = codesError.concat([
2020
[c.WARN_TRIMMING_PROPERTIES, '%s: more than 300 properties were provided. Some of them will be trimmed when processed.'],
2121
[c.WARN_CONVERTING, '%s: %s "%s" is not of type string, converting.'],
2222
[c.WARN_TRIMMING, '%s: %s "%s" has extra whitespace, trimming.'],
23-
[c.WARN_NOT_EXISTENT_DEFINITION, '%s: "%s" does not exist in this environment. Please double check that it exists in Harness UI.'],
23+
[c.WARN_NOT_EXISTENT_DEFINITION, '%s: "%s" does not exist in this environment. Please double check that it exists in Harness FME UI.'],
2424
[c.WARN_LOWERCASE_TRAFFIC_TYPE, '%s: traffic_type_name should be all lowercase - converting string to lowercase.'],
25-
[c.WARN_NOT_EXISTENT_TT, '%s: traffic type "%s" does not have any corresponding feature flag in this environment, make sure you\'re tracking your events to a valid traffic type defined in Harness UI.'],
25+
[c.WARN_NOT_EXISTENT_TT, '%s: traffic type "%s" does not have any corresponding feature flag in this environment, make sure you\'re tracking your events to a valid traffic type defined in Harness FME UI.'],
2626
[c.WARN_FLAGSET_NOT_CONFIGURED, '%s: you passed %s which is not part of the configured FlagSetsFilter, ignoring Flag Set.'],
2727
// initialization / settings validation
2828
[c.WARN_INTEGRATION_INVALID, c.LOG_PREFIX_SETTINGS + ': %s integration item(s) at settings is invalid. %s'],
@@ -35,5 +35,5 @@ export const codesWarn: [number, string][] = codesError.concat([
3535
[c.STREAMING_PARSING_SPLIT_UPDATE, c.LOG_PREFIX_SYNC_STREAMING + 'Fetching SplitChanges due to an error processing %s notification: %s'],
3636
[c.WARN_INVALID_FLAGSET, '%s: you passed %s, flag set must adhere to the regular expressions %s. This means a flag set must start with a letter or number, be in lowercase, alphanumeric and have a max length of 50 characters. %s was discarded.'],
3737
[c.WARN_LOWERCASE_FLAGSET, '%s: flag set %s should be all lowercase - converting string to lowercase.'],
38-
[c.WARN_FLAGSET_WITHOUT_FLAGS, '%s: you passed %s flag set that does not contain cached feature flag names. Please double check what flag sets are in use in Harness UI.'],
38+
[c.WARN_FLAGSET_WITHOUT_FLAGS, '%s: you passed %s flag set that does not contain cached feature flag names. Please double check what flag sets are in use in Harness FME UI.'],
3939
]);

src/sync/polling/updaters/segmentChangesUpdater.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export function segmentChangesUpdaterFactory(
102102
// If the operation is forbidden, it may be due to permissions. Destroy the SDK instance.
103103
// @TODO although factory status is destroyed, synchronization is not stopped
104104
if (readiness) readiness.setDestroyed();
105-
log.error(`${LOG_PREFIX_INSTANTIATION}: you passed a client-side type authorizationKey, please grab an SDK Key from Harness UI that is of type server-side.`);
105+
log.error(`${LOG_PREFIX_INSTANTIATION}: you passed a client-side type authorizationKey, please grab an SDK Key from Harness FME UI that is of type server-side.`);
106106
} else {
107107
log.warn(`${LOG_PREFIX_SYNC}Error while doing fetch of segments. ${error}`);
108108
}

types/splitio.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ interface ISharedSettings {
7979
* 'Authorization': context.headers['Authorization'] + ', other-value',
8080
* 'custom-header': 'custom-value'
8181
* };
82-
* };
82+
* }
8383
* }
8484
* }
8585
* });
@@ -925,7 +925,7 @@ declare namespace SplitIO {
925925
type AsyncTreatmentWithConfig = Promise<TreatmentWithConfig>;
926926
/**
927927
* An object with the treatments with configs for a bulk of feature flags, returned by getTreatmentsWithConfig.
928-
* Each existing configuration is a stringified version of the JSON you defined on the Split user interface. For example:
928+
* Each existing configuration is a stringified version of the JSON you defined on Harness FME UI. For example:
929929
* ```
930930
* {
931931
* feature1: { treatment: 'on', config: null }
@@ -1080,7 +1080,7 @@ declare namespace SplitIO {
10801080
changeNumber: number;
10811081
/**
10821082
* Map of configurations per treatment.
1083-
* Each existing configuration is a stringified version of the JSON you defined on the Split user interface.
1083+
* Each existing configuration is a stringified version of the JSON you defined on Harness FME UI.
10841084
*/
10851085
configs: {
10861086
[treatmentName: string]: string;
@@ -1599,7 +1599,7 @@ declare namespace SplitIO {
15991599
* 'Authorization': context.headers['Authorization'] + ', other-value',
16001600
* 'custom-header': 'custom-value'
16011601
* };
1602-
* };
1602+
* }
16031603
* }
16041604
* }
16051605
* });

0 commit comments

Comments
 (0)