@splitsoftware/splitio 10.22.1 → 10.22.2-rc1

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,4 +1,4 @@
1
- import { BloomFilter } from '@ably/bloomit';
1
+ import { BloomFilter } from 'bloom-filters';
2
2
  var EXPECTED_INSERTIONS = 10000000;
3
3
  var ERROR_RATE = 0.01;
4
4
  var REFRESH_RATE = 24 * 60 * 60000; // 24HS
@@ -1 +1 @@
1
- export var packageVersion = '10.22.1';
1
+ export var packageVersion = '10.22.2-rc1';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.bloomFilterFactory = void 0;
4
- var bloomit_1 = require("@ably/bloomit");
4
+ var bloom_filters_1 = require("bloom-filters");
5
5
  var EXPECTED_INSERTIONS = 10000000;
6
6
  var ERROR_RATE = 0.01;
7
7
  var REFRESH_RATE = 24 * 60 * 60000; // 24HS
@@ -9,7 +9,7 @@ function bloomFilterFactory(expectedInsertions, errorRate, refreshRate) {
9
9
  if (expectedInsertions === void 0) { expectedInsertions = EXPECTED_INSERTIONS; }
10
10
  if (errorRate === void 0) { errorRate = ERROR_RATE; }
11
11
  if (refreshRate === void 0) { refreshRate = REFRESH_RATE; }
12
- var filter = bloomit_1.BloomFilter.create(expectedInsertions, errorRate);
12
+ var filter = bloom_filters_1.BloomFilter.create(expectedInsertions, errorRate);
13
13
  return {
14
14
  refreshRate: refreshRate,
15
15
  add: function (key, value) {
@@ -25,7 +25,7 @@ function bloomFilterFactory(expectedInsertions, errorRate, refreshRate) {
25
25
  return filter.has(data);
26
26
  },
27
27
  clear: function () {
28
- filter = bloomit_1.BloomFilter.create(expectedInsertions, errorRate);
28
+ filter = bloom_filters_1.BloomFilter.create(expectedInsertions, errorRate);
29
29
  }
30
30
  };
31
31
  }
@@ -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.22.1';
4
+ exports.packageVersion = '10.22.2-rc1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitsoftware/splitio",
3
- "version": "10.22.1",
3
+ "version": "10.22.2-rc1",
4
4
  "description": "Split SDK",
5
5
  "files": [
6
6
  "README.md",
@@ -33,10 +33,10 @@
33
33
  "node": ">=6"
34
34
  },
35
35
  "dependencies": {
36
- "@ably/bloomit": "^1.4.2",
37
36
  "@splitsoftware/splitio-commons": "1.7.2",
38
37
  "@types/google.analytics": "0.0.40",
39
38
  "@types/ioredis": "^4.28.0",
39
+ "bloom-filters": "^3.0.0",
40
40
  "ioredis": "^4.28.0",
41
41
  "js-yaml": "^3.13.1",
42
42
  "node-fetch": "^2.6.7",
@@ -47,16 +47,17 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node-fetch": "^2.5.12",
50
+ "@types/seedrandom": "^3.0.2",
50
51
  "copyfiles": "^2.4.1",
51
52
  "cross-env": "^7.0.3",
52
53
  "csv-streamify": "4.0.0",
53
54
  "eslint": "^8.0.1",
54
- "eslint-plugin-compat": "^3.13.0",
55
+ "eslint-plugin-compat": "^4.0.2",
55
56
  "eslint-plugin-import": "^2.25.4",
56
57
  "fetch-mock": "^9.11.0",
57
58
  "karma": "^6.3.16",
58
59
  "karma-chrome-launcher": "^3.1.0",
59
- "karma-tap": "4.1.4",
60
+ "karma-tap": "^4.2.0",
60
61
  "karma-webpack": "^5.0.0",
61
62
  "lodash": "^4.17.21",
62
63
  "node-polyfill-webpack-plugin": "^1.1.4",
@@ -110,7 +111,7 @@
110
111
  "test-node-e2e-redis": "cross-env NODE_ENV=test tape -r ./ts-node.register src/__tests__/consumer/node_redis.spec.js | tap-min",
111
112
  "pretest-ts-decls": "npm run build-esm && npm run build-cjs && npm link",
112
113
  "test-ts-decls": "./scripts/ts-tests.sh",
113
- "posttest-ts-decls": "npm unlink && npm install",
114
+ "posttest-ts-decls": "npm rm --location=global @splitsoftware/splitio && npm install",
114
115
  "test": "npm run test-node && npm run test-browser",
115
116
  "all": "npm run check && npm run build && npm run test-ts-decls && npm run test",
116
117
  "publish:rc": "npm run check && npm run build && npm publish --tag canary",
@@ -1,4 +1,4 @@
1
- import { BloomFilter } from '@ably/bloomit';
1
+ import { BloomFilter } from 'bloom-filters';
2
2
 
3
3
  const EXPECTED_INSERTIONS = 10000000;
4
4
  const ERROR_RATE = 0.01;
@@ -1 +1 @@
1
- export const packageVersion = '10.22.1';
1
+ export const packageVersion = '10.22.2-rc1';
package/src/.DS_Store DELETED
Binary file
Binary file
Binary file