@xtia/alea-rc 0.0.4 → 0.0.5

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/browser.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./common";
2
- export declare const cryptoAlea: import("./common").Alea;
1
+ export * from "./common.js";
2
+ export declare const cryptoAlea: import("./common.js").Alea;
package/browser.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { createAleaFromByteSource } from "./internal/factories.js";
2
- export * from "./common";
2
+ export * from "./common.js";
3
3
  export const cryptoAlea = createAleaFromByteSource(arr => globalThis.crypto.getRandomValues(arr));
package/node.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./common";
2
- export declare const cryptoAlea: import("./common").Alea;
1
+ export * from "./common.js";
2
+ export declare const cryptoAlea: import("./common.js").Alea;
package/node.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createAleaFromByteSource } from "./internal/factories.js";
2
2
  import { randomBytes } from 'node:crypto';
3
- export * from "./common";
3
+ export * from "./common.js";
4
4
  export const cryptoAlea = createAleaFromByteSource(arr => {
5
5
  randomBytes(arr.length).copy(arr);
6
6
  });
package/other.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Alea } from "./internal/alea.js";
2
- export * from "./common";
2
+ export * from "./common.js";
3
3
  /**
4
4
  * An Alea instance that uses the runtime environment's `crypto` provider as a source
5
5
  */
package/other.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Alea } from "./internal/alea.js";
2
- export * from "./common";
2
+ export * from "./common.js";
3
3
  /**
4
4
  * An Alea instance that uses the runtime environment's `crypto` provider as a source
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtia/alea-rc",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "RNG utilities",
5
5
  "repository": {
6
6
  "url": "https://github.com/tiadrop/alea",