@esportsplus/random 0.0.10 → 0.0.11

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.
package/build/index.d.ts CHANGED
@@ -3,12 +3,4 @@ import item from './item';
3
3
  import range from './range';
4
4
  import roll from './roll';
5
5
  import shuffle from './shuffle';
6
- declare const _default: {
7
- coinflip: () => boolean;
8
- item: <T>(items: T[], weights?: number[] | undefined) => T;
9
- range: (min: number, max: number, integer?: boolean) => number;
10
- roll: (percentage: number) => boolean;
11
- shuffle: (values: any[]) => any[];
12
- };
13
- export default _default;
14
6
  export { coinflip, item, range, roll, shuffle };
package/build/index.js CHANGED
@@ -3,5 +3,4 @@ import item from './item';
3
3
  import range from './range';
4
4
  import roll from './roll';
5
5
  import shuffle from './shuffle';
6
- export default { coinflip, item, range, roll, shuffle };
7
6
  export { coinflip, item, range, roll, shuffle };
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "prepublishOnly": "npm run build"
17
17
  },
18
18
  "types": "build/index.d.ts",
19
- "version": "0.0.10"
19
+ "version": "0.0.11"
20
20
  }
package/src/index.ts CHANGED
@@ -5,5 +5,4 @@ import roll from './roll';
5
5
  import shuffle from './shuffle';
6
6
 
7
7
 
8
- export default { coinflip, item, range, roll, shuffle };
9
8
  export { coinflip, item, range, roll, shuffle };