apius 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -30,7 +30,7 @@ export default {
30
30
  return Math.round(Math.random() * (max - min) + min)
31
31
  },
32
32
 
33
- getRandomString: (arr) => {
34
- return arr[Math.floor(Math.random() * arr.length)]
33
+ getRandomString: (array) => {
34
+ return array[Math.floor(Math.random() * array.length)]
35
35
  }
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apius",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "A simple package.",
5
5
  "main": "index.js",
6
6
  "type": "module",