@splitsoftware/splitio 10.23.1 → 10.23.2-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
export var packageVersion = '10.23.
|
|
1
|
+
export var packageVersion = '10.23.2-rc.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splitsoftware/splitio",
|
|
3
|
-
"version": "10.23.
|
|
3
|
+
"version": "10.23.2-rc.0",
|
|
4
4
|
"description": "Split SDK",
|
|
5
5
|
"files": [
|
|
6
6
|
"README.md",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"node": ">=6"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@splitsoftware/splitio-commons": "1.9.1",
|
|
43
|
+
"@splitsoftware/splitio-commons": "1.9.2-rc.1",
|
|
44
44
|
"@types/google.analytics": "0.0.40",
|
|
45
45
|
"@types/ioredis": "^4.28.0",
|
|
46
46
|
"bloom-filters": "^3.0.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = '10.23.
|
|
1
|
+
export const packageVersion = '10.23.2-rc.0';
|
package/types/splitio.d.ts
CHANGED
|
@@ -1370,7 +1370,7 @@ declare namespace SplitIO {
|
|
|
1370
1370
|
/**
|
|
1371
1371
|
* Returns a TreatmentWithConfig value, which an object with both treatment and config string for the given feature.
|
|
1372
1372
|
* For usage on the Browser as we defined the key on the settings.
|
|
1373
|
-
* @function
|
|
1373
|
+
* @function getTreatmentWithConfig
|
|
1374
1374
|
* @param {string} featureFlagName - The string that represents the feature flag we want to get the treatment.
|
|
1375
1375
|
* @param {Attributes=} attributes - An object of type Attributes defining the attributes for the given key.
|
|
1376
1376
|
* @returns {TreatmentWithConfig} The TreatmentWithConfig, the object containing the treatment string and the
|
|
@@ -1417,6 +1417,74 @@ declare namespace SplitIO {
|
|
|
1417
1417
|
* @returns {TreatmentsWithConfig} The map with all the TreatmentWithConfig objects
|
|
1418
1418
|
*/
|
|
1419
1419
|
getTreatmentsWithConfig(featureFlagNames: string[], attributes?: Attributes): TreatmentsWithConfig,
|
|
1420
|
+
/**
|
|
1421
|
+
* Returns a Treatments value, which is an object map with the treatments for the feature flags related to the given flag set.
|
|
1422
|
+
* @function getTreatmentsByFlagSet
|
|
1423
|
+
* @param {string} key - The string key representing the consumer.
|
|
1424
|
+
* @param {string} flagSet - The flag set name we want to get the treatments.
|
|
1425
|
+
* @param {Attributes=} attributes - An object of type Attributes defining the attributes for the given key.
|
|
1426
|
+
* @returns {Treatments} The map with all the TreatmentWithConfig objects
|
|
1427
|
+
*/
|
|
1428
|
+
getTreatmentsByFlagSet(key: SplitKey, flagSet: string, attributes?: Attributes): Treatments,
|
|
1429
|
+
/**
|
|
1430
|
+
* Returns a Treatments value, which is an object map with the treatments for the feature flags related to the given flag set.
|
|
1431
|
+
* @function getTreatmentsByFlagSet
|
|
1432
|
+
* @param {string} flagSet - The flag set name we want to get the treatments.
|
|
1433
|
+
* @param {Attributes=} attributes - An object of type Attributes defining the attributes for the given key.
|
|
1434
|
+
* @returns {Treatments} The map with all the TreatmentWithConfig objects
|
|
1435
|
+
*/
|
|
1436
|
+
getTreatmentsByFlagSet(flagSet: string, attributes?: Attributes): Treatments,
|
|
1437
|
+
/**
|
|
1438
|
+
* Returns a TreatmentsWithConfig value, which is an object map with the TreatmentWithConfig (an object with both treatment and config string) for the feature flags related to the given flag sets.
|
|
1439
|
+
* @function getTreatmentsWithConfigByFlagSet
|
|
1440
|
+
* @param {string} key - The string key representing the consumer.
|
|
1441
|
+
* @param {string} flagSet - The flag set name we want to get the treatments.
|
|
1442
|
+
* @param {Attributes=} attributes - An object of type Attributes defining the attributes for the given key.
|
|
1443
|
+
* @returns {Treatments} The map with all the TreatmentWithConfig objects
|
|
1444
|
+
*/
|
|
1445
|
+
getTreatmentsWithConfigByFlagSet(key: SplitKey, flagSet: string, attributes?: Attributes): TreatmentsWithConfig,
|
|
1446
|
+
/**
|
|
1447
|
+
* Returns a TreatmentsWithConfig value, which is an object map with the TreatmentWithConfig (an object with both treatment and config string) for the feature flags related to the given flag set.
|
|
1448
|
+
* @function getTreatmentsWithConfigByFlagSet
|
|
1449
|
+
* @param {string} flagSet - The flag set name we want to get the treatments.
|
|
1450
|
+
* @param {Attributes=} attributes - An object of type Attributes defining the attributes for the given key.
|
|
1451
|
+
* @returns {Treatments} The map with all the TreatmentWithConfig objects
|
|
1452
|
+
*/
|
|
1453
|
+
getTreatmentsWithConfigByFlagSet(flagSet: string, attributes?: Attributes): TreatmentsWithConfig,
|
|
1454
|
+
/**
|
|
1455
|
+
* Returns a Returns a Treatments value, which is an object with both treatment and config string for to the feature flags related to the given flag sets.
|
|
1456
|
+
* @function getTreatmentsByFlagSets
|
|
1457
|
+
* @param {string} key - The string key representing the consumer.
|
|
1458
|
+
* @param {Array<string>} flagSets - An array of the flag set names we want to get the treatments.
|
|
1459
|
+
* @param {Attributes=} attributes - An object of type Attributes defining the attributes for the given key.
|
|
1460
|
+
* @returns {Treatments} The map with all the TreatmentWithConfig objects
|
|
1461
|
+
*/
|
|
1462
|
+
getTreatmentsByFlagSets(key: SplitKey, flagSets: string[], attributes?: Attributes): Treatments,
|
|
1463
|
+
/**
|
|
1464
|
+
* Returns a Returns a Treatments value, which is an object with both treatment and config string for to the feature flags related to the given flag sets.
|
|
1465
|
+
* @function getTreatmentsByFlagSets
|
|
1466
|
+
* @param {Array<string>} flagSets - An array of the flag set names we want to get the treatments.
|
|
1467
|
+
* @param {Attributes=} attributes - An object of type Attributes defining the attributes for the given key.
|
|
1468
|
+
* @returns {Treatments} The map with all the TreatmentWithConfig objects
|
|
1469
|
+
*/
|
|
1470
|
+
getTreatmentsByFlagSets(flagSets: string[], attributes?: Attributes): Treatments,
|
|
1471
|
+
/**
|
|
1472
|
+
* Returns a TreatmentsWithConfig value, which is an object map with the TreatmentWithConfig (an object with both treatment and config string) for the feature flags related to the given flag sets.
|
|
1473
|
+
* @function getTreatmentsWithConfigByFlagSets
|
|
1474
|
+
* @param {string} key - The string key representing the consumer.
|
|
1475
|
+
* @param {Array<string>} flagSets - An array of the flag set names we want to get the treatments.
|
|
1476
|
+
* @param {Attributes=} attributes - An object of type Attributes defining the attributes for the given key.
|
|
1477
|
+
* @returns {Treatments} The map with all the TreatmentWithConfig objects
|
|
1478
|
+
*/
|
|
1479
|
+
getTreatmentsWithConfigByFlagSets(key: SplitKey, flagSets: string[], attributes?: Attributes): TreatmentsWithConfig,
|
|
1480
|
+
/**
|
|
1481
|
+
* Returns a TreatmentsWithConfig value, which is an object map with the TreatmentWithConfig (an object with both treatment and config string) for the feature flags related to the given flag sets.
|
|
1482
|
+
* @function getTreatmentsWithConfigByFlagSets
|
|
1483
|
+
* @param {Array<string>} flagSets - An array of the flag set names we want to get the treatments.
|
|
1484
|
+
* @param {Attributes=} attributes - An object of type Attributes defining the attributes for the given key.
|
|
1485
|
+
* @returns {Treatments} The map with all the TreatmentWithConfig objects
|
|
1486
|
+
*/
|
|
1487
|
+
getTreatmentsWithConfigByFlagSets(flagSets: string[], attributes?: Attributes): TreatmentsWithConfig,
|
|
1420
1488
|
/**
|
|
1421
1489
|
* Tracks an event to be fed to the results product on Split user interface.
|
|
1422
1490
|
* For usage on NodeJS as we don't have only one key.
|