@splitsoftware/splitio 10.28.1-rc.0 → 10.28.1-rc.1

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.28.1-rc.0';
1
+ export var packageVersion = '10.28.1-rc.1';
@@ -4,12 +4,14 @@ import { LocalhostFromFile } from '../sync/offline/LocalhostFromFile';
4
4
  import { defaults } from './defaults/node';
5
5
  import { validateStorage } from './storage/node';
6
6
  import { validateRuntime } from './runtime/node';
7
+ var FLAG_SPEC_VERSION = '1.1';
7
8
  var params = {
8
9
  defaults: defaults,
9
10
  runtime: validateRuntime,
10
11
  storage: validateStorage,
11
12
  logger: validateLogger,
12
13
  localhost: function () { return LocalhostFromFile(); },
14
+ flagSpec: function () { return FLAG_SPEC_VERSION; }
13
15
  // In Node.js the SDK ignores `config.integrations`, so a validator for integrations is not required
14
16
  };
15
17
  export function settingsFactory(config) {
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageVersion = void 0;
4
- exports.packageVersion = '10.28.1-rc.0';
4
+ exports.packageVersion = '10.28.1-rc.1';
@@ -7,12 +7,14 @@ var LocalhostFromFile_1 = require("../sync/offline/LocalhostFromFile");
7
7
  var node_1 = require("./defaults/node");
8
8
  var node_2 = require("./storage/node");
9
9
  var node_3 = require("./runtime/node");
10
+ var FLAG_SPEC_VERSION = '1.1';
10
11
  var params = {
11
12
  defaults: node_1.defaults,
12
13
  runtime: node_3.validateRuntime,
13
14
  storage: node_2.validateStorage,
14
15
  logger: builtinLogger_1.validateLogger,
15
16
  localhost: function () { return (0, LocalhostFromFile_1.LocalhostFromFile)(); },
17
+ flagSpec: function () { return FLAG_SPEC_VERSION; }
16
18
  // In Node.js the SDK ignores `config.integrations`, so a validator for integrations is not required
17
19
  };
18
20
  function settingsFactory(config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitsoftware/splitio",
3
- "version": "10.28.1-rc.0",
3
+ "version": "10.28.1-rc.1",
4
4
  "description": "Split SDK",
5
5
  "files": [
6
6
  "README.md",
@@ -1 +1 @@
1
- export const packageVersion = '10.28.1-rc.0';
1
+ export const packageVersion = '10.28.1-rc.1';
@@ -6,12 +6,15 @@ import { defaults } from './defaults/node';
6
6
  import { validateStorage } from './storage/node';
7
7
  import { validateRuntime } from './runtime/node';
8
8
 
9
+ const FLAG_SPEC_VERSION = '1.1';
10
+
9
11
  const params = {
10
12
  defaults,
11
13
  runtime: validateRuntime,
12
14
  storage: validateStorage,
13
15
  logger: validateLogger,
14
16
  localhost: () => LocalhostFromFile(),
17
+ flagSpec: () => FLAG_SPEC_VERSION
15
18
  // In Node.js the SDK ignores `config.integrations`, so a validator for integrations is not required
16
19
  };
17
20