@digitaldefiance/node-ecies-lib 4.15.3 → 4.15.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/package.json +7 -7
- package/src/i18n/node-keys.d.ts +53 -58
- package/src/i18n/node-keys.d.ts.map +1 -1
- package/src/i18n/node-keys.js +54 -59
- package/src/i18n/node-keys.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digitaldefiance/node-ecies-lib",
|
|
3
|
-
"version": "4.15.
|
|
3
|
+
"version": "4.15.5",
|
|
4
4
|
"description": "Digital Defiance Node ECIES Library",
|
|
5
5
|
"homepage": "https://github.com/Digital-Defiance/node-ecies-lib",
|
|
6
6
|
"repository": {
|
|
@@ -59,16 +59,16 @@
|
|
|
59
59
|
"license": "MIT",
|
|
60
60
|
"packageManager": "yarn@4.10.3",
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@digitaldefiance/ecies-lib": "4.15.
|
|
62
|
+
"@digitaldefiance/ecies-lib": "4.15.5",
|
|
63
63
|
"@digitaldefiance/express-suite-test-utils": "1.0.14",
|
|
64
64
|
"@digitaldefiance/i18n-lib": "4.0.4",
|
|
65
|
-
"@ethereumjs/wallet": "^
|
|
66
|
-
"@noble/curves": "^1.
|
|
67
|
-
"@noble/hashes": "^1.
|
|
68
|
-
"@scure/bip32": "^1.
|
|
65
|
+
"@ethereumjs/wallet": "^2.0.4",
|
|
66
|
+
"@noble/curves": "^1.4.2",
|
|
67
|
+
"@noble/hashes": "^1.4.0",
|
|
68
|
+
"@scure/bip32": "^1.4.0",
|
|
69
69
|
"bson": "^6.10.4",
|
|
70
70
|
"crc": "^4.3.2",
|
|
71
|
-
"ethereum-cryptography": "^
|
|
71
|
+
"ethereum-cryptography": "^2.2.1",
|
|
72
72
|
"js-sha3": "^0.9.3",
|
|
73
73
|
"paillier-bigint": "^3.4.1",
|
|
74
74
|
"ts-brand": "^0.2.0",
|
package/src/i18n/node-keys.d.ts
CHANGED
|
@@ -1,69 +1,64 @@
|
|
|
1
1
|
import { BrandedStringKeyValue } from '@digitaldefiance/i18n-lib';
|
|
2
|
-
export declare const NodeEciesComponentId
|
|
3
|
-
/**
|
|
4
|
-
* ECIES-specific string keys for the node ECIES library (TypeScript enum)
|
|
5
|
-
*/
|
|
6
|
-
declare enum NodeEciesStringKeyEnum {
|
|
7
|
-
Error_LengthError_LengthIsInvalidType = "error_length_error_length_is_invalid_type",
|
|
8
|
-
Error_Member_MissingMemberName = "error_member_missing_member_name",
|
|
9
|
-
Error_Member_InvalidMemberNameWhitespace = "error_member_invalid_member_name_whitespace",
|
|
10
|
-
Error_Member_NoWallet = "error_member_no_wallet",
|
|
11
|
-
Error_Member_WalletAlreadyLoaded = "error_member_wallet_already_loaded",
|
|
12
|
-
Error_Member_InvalidMnemonic = "error_member_invalid_mnemonic",
|
|
13
|
-
Error_Member_MissingPrivateKey = "error_member_missing_private_key",
|
|
14
|
-
Error_Member_MissingEncryptionData = "error_member_missing_encryption_data",
|
|
15
|
-
Error_Member_EncryptionDataTooLarge = "error_member_encryption_data_too_large",
|
|
16
|
-
Error_Member_MissingEmail = "error_member_missing_email",
|
|
17
|
-
Error_Member_InvalidEmailWhitespace = "error_member_invalid_email_whitespace",
|
|
18
|
-
Error_InvalidPublicKey = "error_invalidPublicKey",
|
|
19
|
-
Error_InvalidPublicKeyFormat = "error_invalidPublicKeyFormat",
|
|
20
|
-
Error_MessageLengthExceedsMaximumAllowedSize = "error_messageLengthExceedsMaximumAllowedSize",
|
|
21
|
-
Error_InvalidEncryptionTypeOrNumberOfRecipients = "error_invalidEncryptionTypeOrNumberOfRecipients",
|
|
22
|
-
Error_EncryptedDataLengthMismatch = "error_encryptedDataLengthMismatch",
|
|
23
|
-
Error_EphemeralPublicKeyLengthMismatch = "error_ephemeralPublicKeyLengthMismatch",
|
|
24
|
-
Error_EncryptedDataIsEmpty = "error_encryptedDataIsEmpty",
|
|
25
|
-
Error_CombinedDataTooShort = "error_combinedDataTooShort",
|
|
26
|
-
Error_BufferIsTooShort = "error_bufferIsTooShort",
|
|
27
|
-
Error_BufferIsTooShortToReadFullLengthValue = "error_bufferIsTooShortToReadFullLengthValue",
|
|
28
|
-
Error_LengthExceedsMaximumSafeInteger = "error_lengthExceedsMaximumSafeInteger",
|
|
29
|
-
Error_BufferIsTooShortForDeclaredDataLength = "error_bufferIsTooShortForDeclaredDataLength",
|
|
30
|
-
Error_InvalidChecksumConstants = "error_invalidChecksumConstants",
|
|
31
|
-
Error_InvalidAESKeyLength = "error_invalidAESKeyLength",
|
|
32
|
-
Error_CannotEncryptEmptyData = "error_cannotEncryptEmptyData",
|
|
33
|
-
Error_CannotDecryptEmptyData = "error_cannotDecryptEmptyData",
|
|
34
|
-
Error_InvalidIVLength = "error_invalidIVLength",
|
|
35
|
-
Error_MessageTooLarge = "error_messageTooLarge",
|
|
36
|
-
Error_EncryptedSizeExceedsExpected = "error_encryptedSizeExceedsExpected",
|
|
37
|
-
Error_Pbkdf2_InvalidSaltLength = "error_pbkdf2_invalid_salt_length",
|
|
38
|
-
Error_Pbkdf2_InvalidHashLength = "error_pbkdf2_invalid_hash_length",
|
|
39
|
-
Error_Builder_ECIESServiceMustBeSetBeforeGeneratingMnemonic = "error_builder_ecies_service_must_be_set_before_generating_mnemonic",
|
|
40
|
-
Error_Builder_ECIESServiceIsRequired = "error_builder_ecies_service_is_required",
|
|
41
|
-
Error_Builder_TypeNameAndEmailAreRequired = "error_builder_type_name_and_email_are_required",
|
|
42
|
-
Error_Stream_InvalidPublicKeyLength = "error_stream_invalid_public_key_length",
|
|
43
|
-
Error_Stream_EncryptionCancelled = "error_stream_encryption_cancelled",
|
|
44
|
-
Error_Stream_BufferOverflow = "error_stream_buffer_overflow",
|
|
45
|
-
Error_Stream_AtLeastOneRecipientRequired = "error_stream_at_least_one_recipient_required",
|
|
46
|
-
Error_Stream_MaxRecipientsExceeded = "error_stream_max_recipients_exceeded",
|
|
47
|
-
Error_Stream_InvalidRecipientPublicKeyLength = "error_stream_invalid_recipient_public_key_length",
|
|
48
|
-
Error_Stream_InvalidRecipientIdLength = "error_stream_invalid_recipient_id_length",
|
|
49
|
-
Error_Stream_InvalidPrivateKeyLength = "error_stream_invalid_private_key_length",
|
|
50
|
-
Error_Stream_DecryptionCancelled = "error_stream_decryption_cancelled",
|
|
51
|
-
Error_Stream_ChunkSequenceError = "error_stream_chunk_sequence_error",
|
|
52
|
-
Error_Invariant_ConfigurationValidationFailedTemplate = "error_invariant_configuration_validation_failed_template",
|
|
53
|
-
Error_Invariant_NodeRecipientIdConsistency_FailedTemplate = "error_invariant_node_recipient_id_consistency_failed_template",
|
|
54
|
-
Error_Invariant_MemberIdLengthMismatchTemplate = "error_invariant_member_id_length_mismatch_template",
|
|
55
|
-
Error_Invariant_EciesMultipleRecipientIdSizeMismatchTemplate = "error_invariant_ecies_multiple_recipient_id_size_mismatch_template",
|
|
56
|
-
Error_Invariant_EncryptionRecipientIdSizeMismatchTemplate = "error_invariant_encryption_recipient_id_size_mismatch_template"
|
|
57
|
-
}
|
|
2
|
+
export declare const NodeEciesComponentId: "node-ecies";
|
|
58
3
|
/**
|
|
59
4
|
* Branded enum for node-ecies string keys.
|
|
60
5
|
* Use this for type-safe i18n operations with runtime identification.
|
|
61
6
|
*/
|
|
62
|
-
export declare const NodeEciesStringKey: import("@digitaldefiance/i18n-lib").BrandedStringKeys<
|
|
7
|
+
export declare const NodeEciesStringKey: import("@digitaldefiance/i18n-lib").BrandedStringKeys<{
|
|
8
|
+
readonly Error_LengthError_LengthIsInvalidType: "error_length_error_length_is_invalid_type";
|
|
9
|
+
readonly Error_Member_MissingMemberName: "error_member_missing_member_name";
|
|
10
|
+
readonly Error_Member_InvalidMemberNameWhitespace: "error_member_invalid_member_name_whitespace";
|
|
11
|
+
readonly Error_Member_NoWallet: "error_member_no_wallet";
|
|
12
|
+
readonly Error_Member_WalletAlreadyLoaded: "error_member_wallet_already_loaded";
|
|
13
|
+
readonly Error_Member_InvalidMnemonic: "error_member_invalid_mnemonic";
|
|
14
|
+
readonly Error_Member_MissingPrivateKey: "error_member_missing_private_key";
|
|
15
|
+
readonly Error_Member_MissingEncryptionData: "error_member_missing_encryption_data";
|
|
16
|
+
readonly Error_Member_EncryptionDataTooLarge: "error_member_encryption_data_too_large";
|
|
17
|
+
readonly Error_Member_MissingEmail: "error_member_missing_email";
|
|
18
|
+
readonly Error_Member_InvalidEmailWhitespace: "error_member_invalid_email_whitespace";
|
|
19
|
+
readonly Error_InvalidPublicKey: "error_invalidPublicKey";
|
|
20
|
+
readonly Error_InvalidPublicKeyFormat: "error_invalidPublicKeyFormat";
|
|
21
|
+
readonly Error_MessageLengthExceedsMaximumAllowedSize: "error_messageLengthExceedsMaximumAllowedSize";
|
|
22
|
+
readonly Error_InvalidEncryptionTypeOrNumberOfRecipients: "error_invalidEncryptionTypeOrNumberOfRecipients";
|
|
23
|
+
readonly Error_EncryptedDataLengthMismatch: "error_encryptedDataLengthMismatch";
|
|
24
|
+
readonly Error_EphemeralPublicKeyLengthMismatch: "error_ephemeralPublicKeyLengthMismatch";
|
|
25
|
+
readonly Error_EncryptedDataIsEmpty: "error_encryptedDataIsEmpty";
|
|
26
|
+
readonly Error_CombinedDataTooShort: "error_combinedDataTooShort";
|
|
27
|
+
readonly Error_BufferIsTooShort: "error_bufferIsTooShort";
|
|
28
|
+
readonly Error_BufferIsTooShortToReadFullLengthValue: "error_bufferIsTooShortToReadFullLengthValue";
|
|
29
|
+
readonly Error_LengthExceedsMaximumSafeInteger: "error_lengthExceedsMaximumSafeInteger";
|
|
30
|
+
readonly Error_BufferIsTooShortForDeclaredDataLength: "error_bufferIsTooShortForDeclaredDataLength";
|
|
31
|
+
readonly Error_InvalidChecksumConstants: "error_invalidChecksumConstants";
|
|
32
|
+
readonly Error_InvalidAESKeyLength: "error_invalidAESKeyLength";
|
|
33
|
+
readonly Error_CannotEncryptEmptyData: "error_cannotEncryptEmptyData";
|
|
34
|
+
readonly Error_CannotDecryptEmptyData: "error_cannotDecryptEmptyData";
|
|
35
|
+
readonly Error_InvalidIVLength: "error_invalidIVLength";
|
|
36
|
+
readonly Error_MessageTooLarge: "error_messageTooLarge";
|
|
37
|
+
readonly Error_EncryptedSizeExceedsExpected: "error_encryptedSizeExceedsExpected";
|
|
38
|
+
readonly Error_Pbkdf2_InvalidSaltLength: "error_pbkdf2_invalid_salt_length";
|
|
39
|
+
readonly Error_Pbkdf2_InvalidHashLength: "error_pbkdf2_invalid_hash_length";
|
|
40
|
+
readonly Error_Builder_ECIESServiceMustBeSetBeforeGeneratingMnemonic: "error_builder_ecies_service_must_be_set_before_generating_mnemonic";
|
|
41
|
+
readonly Error_Builder_ECIESServiceIsRequired: "error_builder_ecies_service_is_required";
|
|
42
|
+
readonly Error_Builder_TypeNameAndEmailAreRequired: "error_builder_type_name_and_email_are_required";
|
|
43
|
+
readonly Error_Stream_InvalidPublicKeyLength: "error_stream_invalid_public_key_length";
|
|
44
|
+
readonly Error_Stream_EncryptionCancelled: "error_stream_encryption_cancelled";
|
|
45
|
+
readonly Error_Stream_BufferOverflow: "error_stream_buffer_overflow";
|
|
46
|
+
readonly Error_Stream_AtLeastOneRecipientRequired: "error_stream_at_least_one_recipient_required";
|
|
47
|
+
readonly Error_Stream_MaxRecipientsExceeded: "error_stream_max_recipients_exceeded";
|
|
48
|
+
readonly Error_Stream_InvalidRecipientPublicKeyLength: "error_stream_invalid_recipient_public_key_length";
|
|
49
|
+
readonly Error_Stream_InvalidRecipientIdLength: "error_stream_invalid_recipient_id_length";
|
|
50
|
+
readonly Error_Stream_InvalidPrivateKeyLength: "error_stream_invalid_private_key_length";
|
|
51
|
+
readonly Error_Stream_DecryptionCancelled: "error_stream_decryption_cancelled";
|
|
52
|
+
readonly Error_Stream_ChunkSequenceError: "error_stream_chunk_sequence_error";
|
|
53
|
+
readonly Error_Invariant_ConfigurationValidationFailedTemplate: "error_invariant_configuration_validation_failed_template";
|
|
54
|
+
readonly Error_Invariant_NodeRecipientIdConsistency_FailedTemplate: "error_invariant_node_recipient_id_consistency_failed_template";
|
|
55
|
+
readonly Error_Invariant_MemberIdLengthMismatchTemplate: "error_invariant_member_id_length_mismatch_template";
|
|
56
|
+
readonly Error_Invariant_EciesMultipleRecipientIdSizeMismatchTemplate: "error_invariant_ecies_multiple_recipient_id_size_mismatch_template";
|
|
57
|
+
readonly Error_Invariant_EncryptionRecipientIdSizeMismatchTemplate: "error_invariant_encryption_recipient_id_size_mismatch_template";
|
|
58
|
+
}>;
|
|
63
59
|
/**
|
|
64
60
|
* Type for individual NodeEciesStringKey values (string literal union).
|
|
65
61
|
* Use this when typing variables or function parameters that accept a string key value.
|
|
66
62
|
*/
|
|
67
63
|
export type NodeEciesStringKeyValue = BrandedStringKeyValue<typeof NodeEciesStringKey>;
|
|
68
|
-
export {};
|
|
69
64
|
//# sourceMappingURL=node-keys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-keys.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/i18n/node-keys.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"node-keys.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/i18n/node-keys.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,oBAAoB,EAAG,YAAqB,CAAC;AAE1D;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DpB,CAAC;AAEZ;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,qBAAqB,CACzD,OAAO,kBAAkB,CAC1B,CAAC"}
|
package/src/i18n/node-keys.js
CHANGED
|
@@ -4,70 +4,65 @@ exports.NodeEciesStringKey = exports.NodeEciesComponentId = void 0;
|
|
|
4
4
|
const i18n_lib_1 = require("@digitaldefiance/i18n-lib");
|
|
5
5
|
exports.NodeEciesComponentId = 'node-ecies';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Branded enum for node-ecies string keys.
|
|
8
|
+
* Use this for type-safe i18n operations with runtime identification.
|
|
8
9
|
*/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
NodeEciesStringKeyEnum["Error_LengthError_LengthIsInvalidType"] = "error_length_error_length_is_invalid_type";
|
|
10
|
+
exports.NodeEciesStringKey = (0, i18n_lib_1.createI18nStringKeys)(exports.NodeEciesComponentId, {
|
|
11
|
+
Error_LengthError_LengthIsInvalidType: 'error_length_error_length_is_invalid_type',
|
|
12
12
|
// Member errors
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
13
|
+
Error_Member_MissingMemberName: 'error_member_missing_member_name',
|
|
14
|
+
Error_Member_InvalidMemberNameWhitespace: 'error_member_invalid_member_name_whitespace',
|
|
15
|
+
Error_Member_NoWallet: 'error_member_no_wallet',
|
|
16
|
+
Error_Member_WalletAlreadyLoaded: 'error_member_wallet_already_loaded',
|
|
17
|
+
Error_Member_InvalidMnemonic: 'error_member_invalid_mnemonic',
|
|
18
|
+
Error_Member_MissingPrivateKey: 'error_member_missing_private_key',
|
|
19
|
+
Error_Member_MissingEncryptionData: 'error_member_missing_encryption_data',
|
|
20
|
+
Error_Member_EncryptionDataTooLarge: 'error_member_encryption_data_too_large',
|
|
21
|
+
Error_Member_MissingEmail: 'error_member_missing_email',
|
|
22
|
+
Error_Member_InvalidEmailWhitespace: 'error_member_invalid_email_whitespace',
|
|
23
|
+
Error_InvalidPublicKey: 'error_invalidPublicKey',
|
|
24
|
+
Error_InvalidPublicKeyFormat: 'error_invalidPublicKeyFormat',
|
|
25
|
+
Error_MessageLengthExceedsMaximumAllowedSize: 'error_messageLengthExceedsMaximumAllowedSize',
|
|
26
|
+
Error_InvalidEncryptionTypeOrNumberOfRecipients: 'error_invalidEncryptionTypeOrNumberOfRecipients',
|
|
27
|
+
Error_EncryptedDataLengthMismatch: 'error_encryptedDataLengthMismatch',
|
|
28
|
+
Error_EphemeralPublicKeyLengthMismatch: 'error_ephemeralPublicKeyLengthMismatch',
|
|
29
|
+
Error_EncryptedDataIsEmpty: 'error_encryptedDataIsEmpty',
|
|
30
|
+
Error_CombinedDataTooShort: 'error_combinedDataTooShort',
|
|
31
|
+
Error_BufferIsTooShort: 'error_bufferIsTooShort',
|
|
32
|
+
Error_BufferIsTooShortToReadFullLengthValue: 'error_bufferIsTooShortToReadFullLengthValue',
|
|
33
|
+
Error_LengthExceedsMaximumSafeInteger: 'error_lengthExceedsMaximumSafeInteger',
|
|
34
|
+
Error_BufferIsTooShortForDeclaredDataLength: 'error_bufferIsTooShortForDeclaredDataLength',
|
|
35
|
+
Error_InvalidChecksumConstants: 'error_invalidChecksumConstants',
|
|
36
36
|
// AES-GCM security errors
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
Error_InvalidAESKeyLength: 'error_invalidAESKeyLength',
|
|
38
|
+
Error_CannotEncryptEmptyData: 'error_cannotEncryptEmptyData',
|
|
39
|
+
Error_CannotDecryptEmptyData: 'error_cannotDecryptEmptyData',
|
|
40
|
+
Error_InvalidIVLength: 'error_invalidIVLength',
|
|
41
|
+
Error_MessageTooLarge: 'error_messageTooLarge',
|
|
42
|
+
Error_EncryptedSizeExceedsExpected: 'error_encryptedSizeExceedsExpected',
|
|
43
43
|
// PBKDF2 errors
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
Error_Pbkdf2_InvalidSaltLength: 'error_pbkdf2_invalid_salt_length',
|
|
45
|
+
Error_Pbkdf2_InvalidHashLength: 'error_pbkdf2_invalid_hash_length',
|
|
46
46
|
// Builder errors
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
Error_Builder_ECIESServiceMustBeSetBeforeGeneratingMnemonic: 'error_builder_ecies_service_must_be_set_before_generating_mnemonic',
|
|
48
|
+
Error_Builder_ECIESServiceIsRequired: 'error_builder_ecies_service_is_required',
|
|
49
|
+
Error_Builder_TypeNameAndEmailAreRequired: 'error_builder_type_name_and_email_are_required',
|
|
50
50
|
// Streaming errors
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
51
|
+
Error_Stream_InvalidPublicKeyLength: 'error_stream_invalid_public_key_length',
|
|
52
|
+
Error_Stream_EncryptionCancelled: 'error_stream_encryption_cancelled',
|
|
53
|
+
Error_Stream_BufferOverflow: 'error_stream_buffer_overflow',
|
|
54
|
+
Error_Stream_AtLeastOneRecipientRequired: 'error_stream_at_least_one_recipient_required',
|
|
55
|
+
Error_Stream_MaxRecipientsExceeded: 'error_stream_max_recipients_exceeded',
|
|
56
|
+
Error_Stream_InvalidRecipientPublicKeyLength: 'error_stream_invalid_recipient_public_key_length',
|
|
57
|
+
Error_Stream_InvalidRecipientIdLength: 'error_stream_invalid_recipient_id_length',
|
|
58
|
+
Error_Stream_InvalidPrivateKeyLength: 'error_stream_invalid_private_key_length',
|
|
59
|
+
Error_Stream_DecryptionCancelled: 'error_stream_decryption_cancelled',
|
|
60
|
+
Error_Stream_ChunkSequenceError: 'error_stream_chunk_sequence_error',
|
|
61
61
|
// Invariant errors
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
})
|
|
68
|
-
/**
|
|
69
|
-
* Branded enum for node-ecies string keys.
|
|
70
|
-
* Use this for type-safe i18n operations with runtime identification.
|
|
71
|
-
*/
|
|
72
|
-
exports.NodeEciesStringKey = (0, i18n_lib_1.createI18nStringKeysFromEnum)(exports.NodeEciesComponentId, NodeEciesStringKeyEnum);
|
|
62
|
+
Error_Invariant_ConfigurationValidationFailedTemplate: 'error_invariant_configuration_validation_failed_template',
|
|
63
|
+
Error_Invariant_NodeRecipientIdConsistency_FailedTemplate: 'error_invariant_node_recipient_id_consistency_failed_template',
|
|
64
|
+
Error_Invariant_MemberIdLengthMismatchTemplate: 'error_invariant_member_id_length_mismatch_template',
|
|
65
|
+
Error_Invariant_EciesMultipleRecipientIdSizeMismatchTemplate: 'error_invariant_ecies_multiple_recipient_id_size_mismatch_template',
|
|
66
|
+
Error_Invariant_EncryptionRecipientIdSizeMismatchTemplate: 'error_invariant_encryption_recipient_id_size_mismatch_template',
|
|
67
|
+
});
|
|
73
68
|
//# sourceMappingURL=node-keys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-keys.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/i18n/node-keys.ts"],"names":[],"mappings":";;;AAAA,wDAGmC;AAEtB,QAAA,oBAAoB,GAAG,
|
|
1
|
+
{"version":3,"file":"node-keys.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/i18n/node-keys.ts"],"names":[],"mappings":";;;AAAA,wDAGmC;AAEtB,QAAA,oBAAoB,GAAG,YAAqB,CAAC;AAE1D;;;GAGG;AACU,QAAA,kBAAkB,GAAG,IAAA,+BAAoB,EAAC,4BAAoB,EAAE;IAC3E,qCAAqC,EAAE,2CAA2C;IAElF,gBAAgB;IAChB,8BAA8B,EAAE,kCAAkC;IAClE,wCAAwC,EAAE,6CAA6C;IACvF,qBAAqB,EAAE,wBAAwB;IAC/C,gCAAgC,EAAE,oCAAoC;IACtE,4BAA4B,EAAE,+BAA+B;IAC7D,8BAA8B,EAAE,kCAAkC;IAClE,kCAAkC,EAAE,sCAAsC;IAC1E,mCAAmC,EAAE,wCAAwC;IAC7E,yBAAyB,EAAE,4BAA4B;IACvD,mCAAmC,EAAE,uCAAuC;IAC5E,sBAAsB,EAAE,wBAAwB;IAChD,4BAA4B,EAAE,8BAA8B;IAC5D,4CAA4C,EAAE,8CAA8C;IAC5F,+CAA+C,EAAE,iDAAiD;IAClG,iCAAiC,EAAE,mCAAmC;IACtE,sCAAsC,EAAE,wCAAwC;IAChF,0BAA0B,EAAE,4BAA4B;IACxD,0BAA0B,EAAE,4BAA4B;IACxD,sBAAsB,EAAE,wBAAwB;IAChD,2CAA2C,EAAE,6CAA6C;IAC1F,qCAAqC,EAAE,uCAAuC;IAC9E,2CAA2C,EAAE,6CAA6C;IAC1F,8BAA8B,EAAE,gCAAgC;IAEhE,0BAA0B;IAC1B,yBAAyB,EAAE,2BAA2B;IACtD,4BAA4B,EAAE,8BAA8B;IAC5D,4BAA4B,EAAE,8BAA8B;IAC5D,qBAAqB,EAAE,uBAAuB;IAC9C,qBAAqB,EAAE,uBAAuB;IAC9C,kCAAkC,EAAE,oCAAoC;IAExE,gBAAgB;IAChB,8BAA8B,EAAE,kCAAkC;IAClE,8BAA8B,EAAE,kCAAkC;IAElE,iBAAiB;IACjB,2DAA2D,EAAE,oEAAoE;IACjI,oCAAoC,EAAE,yCAAyC;IAC/E,yCAAyC,EAAE,gDAAgD;IAE3F,mBAAmB;IACnB,mCAAmC,EAAE,wCAAwC;IAC7E,gCAAgC,EAAE,mCAAmC;IACrE,2BAA2B,EAAE,8BAA8B;IAC3D,wCAAwC,EAAE,8CAA8C;IACxF,kCAAkC,EAAE,sCAAsC;IAC1E,4CAA4C,EAAE,kDAAkD;IAChG,qCAAqC,EAAE,0CAA0C;IACjF,oCAAoC,EAAE,yCAAyC;IAC/E,gCAAgC,EAAE,mCAAmC;IACrE,+BAA+B,EAAE,mCAAmC;IAEpE,mBAAmB;IACnB,qDAAqD,EAAE,0DAA0D;IACjH,yDAAyD,EAAE,+DAA+D;IAC1H,8CAA8C,EAAE,oDAAoD;IACpG,4DAA4D,EAAE,oEAAoE;IAClI,yDAAyD,EAAE,gEAAgE;CACnH,CAAC,CAAC"}
|