@the9ines/bolt-core 0.6.2 → 0.6.3
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/dist/constants.d.ts +2 -2
- package/dist/constants.js +2 -2
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ export declare const NONCE_LENGTH = 24;
|
|
|
4
4
|
export declare const PUBLIC_KEY_LENGTH = 32;
|
|
5
5
|
/** X25519 secret key length in bytes */
|
|
6
6
|
export declare const SECRET_KEY_LENGTH = 32;
|
|
7
|
-
/** Default plaintext chunk size in bytes (
|
|
8
|
-
export declare const DEFAULT_CHUNK_SIZE =
|
|
7
|
+
/** Default plaintext chunk size in bytes (64KB) */
|
|
8
|
+
export declare const DEFAULT_CHUNK_SIZE = 65536;
|
|
9
9
|
/** Peer code length in characters */
|
|
10
10
|
export declare const PEER_CODE_LENGTH = 6;
|
|
11
11
|
/** Unambiguous base32 alphabet for peer codes (no 0/O, 1/I/L) */
|
package/dist/constants.js
CHANGED
|
@@ -4,8 +4,8 @@ export const NONCE_LENGTH = 24;
|
|
|
4
4
|
export const PUBLIC_KEY_LENGTH = 32;
|
|
5
5
|
/** X25519 secret key length in bytes */
|
|
6
6
|
export const SECRET_KEY_LENGTH = 32;
|
|
7
|
-
/** Default plaintext chunk size in bytes (
|
|
8
|
-
export const DEFAULT_CHUNK_SIZE =
|
|
7
|
+
/** Default plaintext chunk size in bytes (64KB) */
|
|
8
|
+
export const DEFAULT_CHUNK_SIZE = 65536;
|
|
9
9
|
/** Peer code length in characters */
|
|
10
10
|
export const PEER_CODE_LENGTH = 6;
|
|
11
11
|
/** Unambiguous base32 alphabet for peer codes (no 0/O, 1/I/L) */
|