wallaby-cash 3.3.0 → 3.4.0

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,5 +1,4 @@
1
1
  export declare const DEFAULT_ENTROPY_BYTES = 32;
2
- export declare const MINIMUM_SHANNON_ENTROPY = 4;
3
2
  /**
4
3
  * creates a new private key
5
4
  * @param { Uint8Array } entropy - optional entropy to create the private key
@@ -1,6 +1,7 @@
1
1
  /**
2
- * Web: round-trip with uint8ArrayToBase64 (which does btoa(fromUint8Array(bytes, true))).
3
- * Single decode first; if the result looks like a base64 string, decode again to get original bytes.
2
+ * Web base64 helper. Re-exports shared logic from base64.base (single-decode only),
3
+ * matching base64.native.ts so web and native share one implementation.
4
+ *
5
+ * https://reactnative.dev/docs/platform-specific-code#native-specific-extensions
4
6
  */
5
- export declare function base64ToUint8Array(base64: string): Uint8Array;
6
- export { uint8ArrayToBase64, decodeBase64URL } from './base64.base';
7
+ export { base64ToUint8Array, decodeBase64URL, uint8ArrayToBase64 } from './base64.base';