@koine/utils 1.0.78 → 1.0.79

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/whitelistObject.js +0 -15
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "tslib": "^2.4.0"
9
9
  },
10
10
  "peerDependencies": {},
11
- "version": "1.0.78",
11
+ "version": "1.0.79",
12
12
  "module": "./index.js",
13
13
  "types": "./index.d.ts"
14
14
  }
@@ -1,15 +0,0 @@
1
- /**
2
- * Whitelist an object properties by selecting only the given keys, it returns a
3
- * new object.
4
- *
5
- * @category objects
6
- */
7
- export function whitelistObject(object, keys) {
8
- var output = {};
9
- var len = keys.length;
10
- while (len--) {
11
- output[keys[len]] = object[keys[len]];
12
- }
13
- return output;
14
- }
15
- export default whitelistObject;