@digitaldefiance/ecies-lib 4.4.14 → 4.4.16

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.
Files changed (228) hide show
  1. package/package.json +2 -3
  2. package/src/builders/ecies-builder.js +9 -5
  3. package/src/builders/ecies-builder.js.map +1 -1
  4. package/src/builders/index.js +5 -2
  5. package/src/builders/index.js.map +1 -1
  6. package/src/builders/member-builder.js +25 -21
  7. package/src/builders/member-builder.js.map +1 -1
  8. package/src/constants.js +79 -68
  9. package/src/constants.js.map +1 -1
  10. package/src/core/errors/crypto-error.js +14 -10
  11. package/src/core/errors/crypto-error.js.map +1 -1
  12. package/src/core/index.js +5 -2
  13. package/src/core/index.js.map +1 -1
  14. package/src/core/types/result.js +5 -1
  15. package/src/core/types/result.js.map +1 -1
  16. package/src/email-string.js +13 -8
  17. package/src/email-string.js.map +1 -1
  18. package/src/enumerations/disposed-error-type.js +5 -2
  19. package/src/enumerations/disposed-error-type.js.map +1 -1
  20. package/src/enumerations/ecies-cipher-suite.js +5 -2
  21. package/src/enumerations/ecies-cipher-suite.js.map +1 -1
  22. package/src/enumerations/ecies-encryption-type.js +9 -6
  23. package/src/enumerations/ecies-encryption-type.js.map +1 -1
  24. package/src/enumerations/ecies-error-type.js +5 -2
  25. package/src/enumerations/ecies-error-type.js.map +1 -1
  26. package/src/enumerations/ecies-string-key.js +5 -2
  27. package/src/enumerations/ecies-string-key.js.map +1 -1
  28. package/src/enumerations/ecies-version.js +5 -2
  29. package/src/enumerations/ecies-version.js.map +1 -1
  30. package/src/enumerations/guid-brand-type.js +5 -2
  31. package/src/enumerations/guid-brand-type.js.map +1 -1
  32. package/src/enumerations/guid-error-type.js +5 -2
  33. package/src/enumerations/guid-error-type.js.map +1 -1
  34. package/src/enumerations/id-provider-error-type.js +5 -2
  35. package/src/enumerations/id-provider-error-type.js.map +1 -1
  36. package/src/enumerations/index.js +20 -17
  37. package/src/enumerations/index.js.map +1 -1
  38. package/src/enumerations/invalid-email-type.js +5 -2
  39. package/src/enumerations/invalid-email-type.js.map +1 -1
  40. package/src/enumerations/length-encoding-type.js +5 -2
  41. package/src/enumerations/length-encoding-type.js.map +1 -1
  42. package/src/enumerations/length-error-type.js +5 -2
  43. package/src/enumerations/length-error-type.js.map +1 -1
  44. package/src/enumerations/member-error-type.js +6 -3
  45. package/src/enumerations/member-error-type.js.map +1 -1
  46. package/src/enumerations/member-type.js +6 -3
  47. package/src/enumerations/member-type.js.map +1 -1
  48. package/src/enumerations/password-login-error-type.js +5 -2
  49. package/src/enumerations/password-login-error-type.js.map +1 -1
  50. package/src/enumerations/pbkdf2-error-type.js +5 -2
  51. package/src/enumerations/pbkdf2-error-type.js.map +1 -1
  52. package/src/enumerations/pbkdf2-profile.js +5 -2
  53. package/src/enumerations/pbkdf2-profile.js.map +1 -1
  54. package/src/enumerations/secure-storage-error-type.js +5 -2
  55. package/src/enumerations/secure-storage-error-type.js.map +1 -1
  56. package/src/errors/disposed.js +9 -5
  57. package/src/errors/disposed.js.map +1 -1
  58. package/src/errors/ecies.js +9 -5
  59. package/src/errors/ecies.js.map +1 -1
  60. package/src/errors/guid.js +13 -9
  61. package/src/errors/guid.js.map +1 -1
  62. package/src/errors/id-provider.js +10 -6
  63. package/src/errors/id-provider.js.map +1 -1
  64. package/src/errors/index.js +12 -9
  65. package/src/errors/index.js.map +1 -1
  66. package/src/errors/invalid-email.js +9 -5
  67. package/src/errors/invalid-email.js.map +1 -1
  68. package/src/errors/length.js +9 -5
  69. package/src/errors/length.js.map +1 -1
  70. package/src/errors/member.js +9 -5
  71. package/src/errors/member.js.map +1 -1
  72. package/src/errors/pbkdf2.js +9 -5
  73. package/src/errors/pbkdf2.js.map +1 -1
  74. package/src/errors/secure-storage.js +10 -6
  75. package/src/errors/secure-storage.js.map +1 -1
  76. package/src/errors/simple-ecies.js +10 -6
  77. package/src/errors/simple-ecies.js.map +1 -1
  78. package/src/errors/simple-test-error.js +5 -1
  79. package/src/errors/simple-test-error.js.map +1 -1
  80. package/src/i18n-setup.js +37 -29
  81. package/src/i18n-setup.js.map +1 -1
  82. package/src/index.d.ts +3 -3
  83. package/src/index.d.ts.map +1 -1
  84. package/src/index.js +123 -60
  85. package/src/index.js.map +1 -1
  86. package/src/interfaces/checksum-config.js +2 -1
  87. package/src/interfaces/checksum-consts.js +2 -1
  88. package/src/interfaces/configuration-provenance.js +6 -1
  89. package/src/interfaces/configuration-provenance.js.map +1 -1
  90. package/src/interfaces/constants.js +2 -1
  91. package/src/interfaces/ecies-config.js +2 -1
  92. package/src/interfaces/ecies-consts.js +2 -1
  93. package/src/interfaces/ecies-file-service.js +2 -1
  94. package/src/interfaces/encrypted-chunk.js +4 -1
  95. package/src/interfaces/encrypted-chunk.js.map +1 -1
  96. package/src/interfaces/encryption-state.js +4 -1
  97. package/src/interfaces/encryption-state.js.map +1 -1
  98. package/src/interfaces/frontend-member-operational.js +2 -1
  99. package/src/interfaces/guid.js +2 -1
  100. package/src/interfaces/id-provider.js +5 -1
  101. package/src/interfaces/id-provider.js.map +1 -1
  102. package/src/interfaces/index.js +15 -12
  103. package/src/interfaces/index.js.map +1 -1
  104. package/src/interfaces/invariant.js +5 -1
  105. package/src/interfaces/invariant.js.map +1 -1
  106. package/src/interfaces/library-error.js +2 -1
  107. package/src/interfaces/member-storage.js +2 -1
  108. package/src/interfaces/member-with-mnemonic.js +2 -1
  109. package/src/interfaces/member.js +2 -1
  110. package/src/interfaces/multi-recipient-chunk.js +6 -1
  111. package/src/interfaces/multi-recipient-chunk.js.map +1 -1
  112. package/src/interfaces/pbkdf2-config.js +2 -1
  113. package/src/interfaces/pbkdf2-consts.js +2 -1
  114. package/src/interfaces/pbkdf2-result.js +2 -1
  115. package/src/interfaces/stream-config.js +4 -1
  116. package/src/interfaces/stream-config.js.map +1 -1
  117. package/src/interfaces/stream-header.js +4 -1
  118. package/src/interfaces/stream-header.js.map +1 -1
  119. package/src/interfaces/stream-progress.js +2 -1
  120. package/src/lib/configuration-provenance-utils.js +9 -5
  121. package/src/lib/configuration-provenance-utils.js.map +1 -1
  122. package/src/lib/crypto-container.js +13 -9
  123. package/src/lib/crypto-container.js.map +1 -1
  124. package/src/lib/guid.js +81 -76
  125. package/src/lib/guid.js.map +1 -1
  126. package/src/lib/id-providers/custom-provider.js +14 -10
  127. package/src/lib/id-providers/custom-provider.js.map +1 -1
  128. package/src/lib/id-providers/guidv4-provider.js +20 -16
  129. package/src/lib/id-providers/guidv4-provider.js.map +1 -1
  130. package/src/lib/id-providers/index.js +13 -5
  131. package/src/lib/id-providers/index.js.map +1 -1
  132. package/src/lib/id-providers/objectid-provider.js +15 -11
  133. package/src/lib/id-providers/objectid-provider.js.map +1 -1
  134. package/src/lib/id-providers/uuid-provider.js +16 -12
  135. package/src/lib/id-providers/uuid-provider.js.map +1 -1
  136. package/src/lib/index.js +5 -2
  137. package/src/lib/index.js.map +1 -1
  138. package/src/lib/invariant-validator.js +18 -14
  139. package/src/lib/invariant-validator.js.map +1 -1
  140. package/src/lib/invariants/encryption-algorithm-consistency.js +6 -2
  141. package/src/lib/invariants/encryption-algorithm-consistency.js.map +1 -1
  142. package/src/lib/invariants/index.js +6 -3
  143. package/src/lib/invariants/index.js.map +1 -1
  144. package/src/lib/invariants/pbkdf2-profiles-validity.js +13 -9
  145. package/src/lib/invariants/pbkdf2-profiles-validity.js.map +1 -1
  146. package/src/lib/invariants/recipient-id-consistency.js +6 -2
  147. package/src/lib/invariants/recipient-id-consistency.js.map +1 -1
  148. package/src/lib/multi-recipient-chunk-utils.js +6 -2
  149. package/src/lib/multi-recipient-chunk-utils.js.map +1 -1
  150. package/src/member.js +48 -43
  151. package/src/member.js.map +1 -1
  152. package/src/pbkdf2-profiles.js +2 -1
  153. package/src/phone-number.js +11 -7
  154. package/src/phone-number.js.map +1 -1
  155. package/src/regexes.js +6 -3
  156. package/src/regexes.js.map +1 -1
  157. package/src/secure-buffer.js +21 -17
  158. package/src/secure-buffer.js.map +1 -1
  159. package/src/secure-string.js +23 -19
  160. package/src/secure-string.js.map +1 -1
  161. package/src/services/aes-gcm.js +25 -21
  162. package/src/services/aes-gcm.js.map +1 -1
  163. package/src/services/chunk-processor.js +36 -32
  164. package/src/services/chunk-processor.js.map +1 -1
  165. package/src/services/ecies/crypto-core.js +44 -40
  166. package/src/services/ecies/crypto-core.js.map +1 -1
  167. package/src/services/ecies/example.js +44 -37
  168. package/src/services/ecies/example.js.map +1 -1
  169. package/src/services/ecies/file.js +5 -1
  170. package/src/services/ecies/file.js.map +1 -1
  171. package/src/services/ecies/index.js +15 -10
  172. package/src/services/ecies/index.js.map +1 -1
  173. package/src/services/ecies/integration.js +28 -23
  174. package/src/services/ecies/integration.js.map +1 -1
  175. package/src/services/ecies/interfaces.js +2 -1
  176. package/src/services/ecies/interfaces.js.map +1 -1
  177. package/src/services/ecies/manual-test.js +34 -26
  178. package/src/services/ecies/manual-test.js.map +1 -1
  179. package/src/services/ecies/multi-recipient.js +68 -64
  180. package/src/services/ecies/multi-recipient.js.map +1 -1
  181. package/src/services/ecies/service.js +31 -27
  182. package/src/services/ecies/service.js.map +1 -1
  183. package/src/services/ecies/signature.js +13 -9
  184. package/src/services/ecies/signature.js.map +1 -1
  185. package/src/services/ecies/single-recipient.js +53 -49
  186. package/src/services/ecies/single-recipient.js.map +1 -1
  187. package/src/services/encryption-stream.js +46 -42
  188. package/src/services/encryption-stream.js.map +1 -1
  189. package/src/services/index.js +13 -10
  190. package/src/services/index.js.map +1 -1
  191. package/src/services/multi-recipient-processor.js +44 -40
  192. package/src/services/multi-recipient-processor.js.map +1 -1
  193. package/src/services/password-login.js +37 -33
  194. package/src/services/password-login.js.map +1 -1
  195. package/src/services/pbkdf2.js +12 -8
  196. package/src/services/pbkdf2.js.map +1 -1
  197. package/src/services/progress-tracker.js +9 -5
  198. package/src/services/progress-tracker.js.map +1 -1
  199. package/src/services/resumable-encryption.js +28 -24
  200. package/src/services/resumable-encryption.js.map +1 -1
  201. package/src/services/xor.js +5 -1
  202. package/src/services/xor.js.map +1 -1
  203. package/src/test-mocks/index.js +4 -1
  204. package/src/test-mocks/index.js.map +1 -1
  205. package/src/test-mocks/mock-frontend-member.js +24 -20
  206. package/src/test-mocks/mock-frontend-member.js.map +1 -1
  207. package/src/testing.js +4 -1
  208. package/src/testing.js.map +1 -1
  209. package/src/translations/de.js +195 -192
  210. package/src/translations/de.js.map +1 -1
  211. package/src/translations/en-US.js +195 -192
  212. package/src/translations/en-US.js.map +1 -1
  213. package/src/translations/es.js +195 -192
  214. package/src/translations/es.js.map +1 -1
  215. package/src/translations/fr.js +195 -192
  216. package/src/translations/fr.js.map +1 -1
  217. package/src/translations/ja.js +195 -192
  218. package/src/translations/ja.js.map +1 -1
  219. package/src/translations/uk.js +195 -192
  220. package/src/translations/uk.js.map +1 -1
  221. package/src/translations/zh-cn.js +195 -192
  222. package/src/translations/zh-cn.js.map +1 -1
  223. package/src/types/deep-partial.js +2 -1
  224. package/src/types.js +2 -1
  225. package/src/utils/encryption-type-utils.js +21 -15
  226. package/src/utils/encryption-type-utils.js.map +1 -1
  227. package/src/utils.js +77 -59
  228. package/src/utils.js.map +1 -1
package/src/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /**
2
3
  * ECIES Library v2.0 - Modern Architecture
3
4
  *
@@ -8,76 +9,138 @@
8
9
  * - Result pattern
9
10
  * - i18n 2.0 integration
10
11
  */
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ exports.EciesCryptoCore = exports.ChunkProcessor = exports.Member = exports.ENCRYPTION_STATE_VERSION = exports.captureCreationStack = exports.calculateConfigChecksum = exports.unregisterRuntimeConfiguration = exports.registerRuntimeConfiguration = exports.getRuntimeConfiguration = exports.createRuntimeConfiguration = exports.clearRuntimeConfigurations = exports.InvariantValidator = exports.BaseInvariant = exports.ObjectIdProvider = exports.BaseIdProvider = exports.validateEciesEncryptionTypeEnum = exports.ensureEciesEncryptionTypeEnum = exports.encryptionTypeToString = exports.encryptionTypeEnumToType = exports.getLengthForLengthType = exports.getLengthEncodingTypeFromValue = exports.getLengthEncodingTypeForLength = exports.ECIESError = exports.Pbkdf2ErrorType = exports.MemberErrorType = exports.LengthEncodingType = exports.InvalidEmailErrorType = exports.EciesVersionEnum = exports.ECIESErrorTypeEnum = exports.EciesEncryptionTypeMap = exports.EciesEncryptionTypeEnum = exports.EciesCipherSuiteEnum = exports.UINT64_SIZE = exports.UINT32_MAX = exports.OBJECT_ID_LENGTH = exports.ECIES = exports.ConstantsRegistry = exports.Constants = exports.SecureString = exports.SecureBuffer = exports.EmailString = exports.Pbkdf2ProfileEnum = exports.MemberType = exports.EciesStringKey = exports.safeEciesTranslation = exports.resetEciesI18nEngine = exports.getEciesTranslation = exports.getEciesI18nEngine = exports.EciesI18nEngineKey = exports.EciesComponentId = void 0;
14
+ exports.uint8ArrayToHex = exports.hexToUint8Array = exports.ResumableEncryption = exports.ProgressTracker = exports.Pbkdf2Service = exports.PasswordLoginService = exports.EncryptionStream = exports.ECIESService = void 0;
15
+ const tslib_1 = require("tslib");
11
16
  // Core v2 exports
12
- export * from './builders';
13
- export * from './core';
14
- export * from './lib';
17
+ tslib_1.__exportStar(require("./builders/index"), exports);
18
+ tslib_1.__exportStar(require("./core/index"), exports);
19
+ tslib_1.__exportStar(require("./lib/index"), exports);
15
20
  // i18n v2
16
- export { EciesComponentId, EciesI18nEngineKey, getEciesI18nEngine, getEciesTranslation, resetEciesI18nEngine, safeEciesTranslation, } from './i18n-setup';
21
+ var i18n_setup_1 = require("./i18n-setup");
22
+ Object.defineProperty(exports, "EciesComponentId", { enumerable: true, get: function () { return i18n_setup_1.EciesComponentId; } });
23
+ Object.defineProperty(exports, "EciesI18nEngineKey", { enumerable: true, get: function () { return i18n_setup_1.EciesI18nEngineKey; } });
24
+ Object.defineProperty(exports, "getEciesI18nEngine", { enumerable: true, get: function () { return i18n_setup_1.getEciesI18nEngine; } });
25
+ Object.defineProperty(exports, "getEciesTranslation", { enumerable: true, get: function () { return i18n_setup_1.getEciesTranslation; } });
26
+ Object.defineProperty(exports, "resetEciesI18nEngine", { enumerable: true, get: function () { return i18n_setup_1.resetEciesI18nEngine; } });
27
+ Object.defineProperty(exports, "safeEciesTranslation", { enumerable: true, get: function () { return i18n_setup_1.safeEciesTranslation; } });
17
28
  // Re-export existing types and enums (unchanged)
18
- export { EciesStringKey } from './enumerations/ecies-string-key';
19
- export { MemberType } from './enumerations/member-type';
20
- export { Pbkdf2ProfileEnum } from './enumerations/pbkdf2-profile';
29
+ var ecies_string_key_1 = require("./enumerations/ecies-string-key");
30
+ Object.defineProperty(exports, "EciesStringKey", { enumerable: true, get: function () { return ecies_string_key_1.EciesStringKey; } });
31
+ var member_type_1 = require("./enumerations/member-type");
32
+ Object.defineProperty(exports, "MemberType", { enumerable: true, get: function () { return member_type_1.MemberType; } });
33
+ var pbkdf2_profile_1 = require("./enumerations/pbkdf2-profile");
34
+ Object.defineProperty(exports, "Pbkdf2ProfileEnum", { enumerable: true, get: function () { return pbkdf2_profile_1.Pbkdf2ProfileEnum; } });
21
35
  // Re-export value objects (unchanged)
22
- export { EmailString } from './email-string';
23
- export { SecureBuffer } from './secure-buffer';
24
- export { SecureString } from './secure-string';
36
+ var email_string_1 = require("./email-string");
37
+ Object.defineProperty(exports, "EmailString", { enumerable: true, get: function () { return email_string_1.EmailString; } });
38
+ var secure_buffer_1 = require("./secure-buffer");
39
+ Object.defineProperty(exports, "SecureBuffer", { enumerable: true, get: function () { return secure_buffer_1.SecureBuffer; } });
40
+ var secure_string_1 = require("./secure-string");
41
+ Object.defineProperty(exports, "SecureString", { enumerable: true, get: function () { return secure_string_1.SecureString; } });
25
42
  // Re-export constants (unchanged)
26
- export { Constants, ConstantsRegistry } from './constants';
43
+ var constants_1 = require("./constants");
44
+ Object.defineProperty(exports, "Constants", { enumerable: true, get: function () { return constants_1.Constants; } });
45
+ Object.defineProperty(exports, "ConstantsRegistry", { enumerable: true, get: function () { return constants_1.ConstantsRegistry; } });
27
46
  // Also export specific interfaces, types, and enums that are needed
28
- export { ECIES, OBJECT_ID_LENGTH, UINT32_MAX, UINT64_SIZE } from './constants';
29
- export { EciesCipherSuiteEnum } from './enumerations/ecies-cipher-suite';
30
- export { EciesEncryptionTypeEnum, EciesEncryptionTypeMap, } from './enumerations/ecies-encryption-type';
47
+ var constants_2 = require("./constants");
48
+ Object.defineProperty(exports, "ECIES", { enumerable: true, get: function () { return constants_2.ECIES; } });
49
+ Object.defineProperty(exports, "OBJECT_ID_LENGTH", { enumerable: true, get: function () { return constants_2.OBJECT_ID_LENGTH; } });
50
+ Object.defineProperty(exports, "UINT32_MAX", { enumerable: true, get: function () { return constants_2.UINT32_MAX; } });
51
+ Object.defineProperty(exports, "UINT64_SIZE", { enumerable: true, get: function () { return constants_2.UINT64_SIZE; } });
52
+ var ecies_cipher_suite_1 = require("./enumerations/ecies-cipher-suite");
53
+ Object.defineProperty(exports, "EciesCipherSuiteEnum", { enumerable: true, get: function () { return ecies_cipher_suite_1.EciesCipherSuiteEnum; } });
54
+ var ecies_encryption_type_1 = require("./enumerations/ecies-encryption-type");
55
+ Object.defineProperty(exports, "EciesEncryptionTypeEnum", { enumerable: true, get: function () { return ecies_encryption_type_1.EciesEncryptionTypeEnum; } });
56
+ Object.defineProperty(exports, "EciesEncryptionTypeMap", { enumerable: true, get: function () { return ecies_encryption_type_1.EciesEncryptionTypeMap; } });
31
57
  // Export utility functions from utils module (moved from enumerations for circular dependency fix)
32
- export { ECIESErrorTypeEnum } from './enumerations/ecies-error-type';
33
- export { EciesVersionEnum } from './enumerations/ecies-version';
34
- export { InvalidEmailErrorType } from './enumerations/invalid-email-type';
35
- export { LengthEncodingType } from './enumerations/length-encoding-type';
36
- export { MemberErrorType } from './enumerations/member-error-type';
37
- export { Pbkdf2ErrorType } from './enumerations/pbkdf2-error-type';
38
- export { ECIESError } from './errors/ecies';
39
- export { getLengthEncodingTypeForLength, getLengthEncodingTypeFromValue, getLengthForLengthType, } from './utils';
40
- export { encryptionTypeEnumToType, encryptionTypeToString, ensureEciesEncryptionTypeEnum, validateEciesEncryptionTypeEnum, } from './utils/encryption-type-utils';
58
+ var ecies_error_type_1 = require("./enumerations/ecies-error-type");
59
+ Object.defineProperty(exports, "ECIESErrorTypeEnum", { enumerable: true, get: function () { return ecies_error_type_1.ECIESErrorTypeEnum; } });
60
+ var ecies_version_1 = require("./enumerations/ecies-version");
61
+ Object.defineProperty(exports, "EciesVersionEnum", { enumerable: true, get: function () { return ecies_version_1.EciesVersionEnum; } });
62
+ var invalid_email_type_1 = require("./enumerations/invalid-email-type");
63
+ Object.defineProperty(exports, "InvalidEmailErrorType", { enumerable: true, get: function () { return invalid_email_type_1.InvalidEmailErrorType; } });
64
+ var length_encoding_type_1 = require("./enumerations/length-encoding-type");
65
+ Object.defineProperty(exports, "LengthEncodingType", { enumerable: true, get: function () { return length_encoding_type_1.LengthEncodingType; } });
66
+ var member_error_type_1 = require("./enumerations/member-error-type");
67
+ Object.defineProperty(exports, "MemberErrorType", { enumerable: true, get: function () { return member_error_type_1.MemberErrorType; } });
68
+ var pbkdf2_error_type_1 = require("./enumerations/pbkdf2-error-type");
69
+ Object.defineProperty(exports, "Pbkdf2ErrorType", { enumerable: true, get: function () { return pbkdf2_error_type_1.Pbkdf2ErrorType; } });
70
+ var ecies_1 = require("./errors/ecies");
71
+ Object.defineProperty(exports, "ECIESError", { enumerable: true, get: function () { return ecies_1.ECIESError; } });
72
+ var utils_1 = require("./utils");
73
+ Object.defineProperty(exports, "getLengthEncodingTypeForLength", { enumerable: true, get: function () { return utils_1.getLengthEncodingTypeForLength; } });
74
+ Object.defineProperty(exports, "getLengthEncodingTypeFromValue", { enumerable: true, get: function () { return utils_1.getLengthEncodingTypeFromValue; } });
75
+ Object.defineProperty(exports, "getLengthForLengthType", { enumerable: true, get: function () { return utils_1.getLengthForLengthType; } });
76
+ var encryption_type_utils_1 = require("./utils/encryption-type-utils");
77
+ Object.defineProperty(exports, "encryptionTypeEnumToType", { enumerable: true, get: function () { return encryption_type_utils_1.encryptionTypeEnumToType; } });
78
+ Object.defineProperty(exports, "encryptionTypeToString", { enumerable: true, get: function () { return encryption_type_utils_1.encryptionTypeToString; } });
79
+ Object.defineProperty(exports, "ensureEciesEncryptionTypeEnum", { enumerable: true, get: function () { return encryption_type_utils_1.ensureEciesEncryptionTypeEnum; } });
80
+ Object.defineProperty(exports, "validateEciesEncryptionTypeEnum", { enumerable: true, get: function () { return encryption_type_utils_1.validateEciesEncryptionTypeEnum; } });
41
81
  // ID Provider system
42
- export { BaseIdProvider } from './interfaces/id-provider';
43
- export * from './lib/id-providers';
44
- export { ObjectIdProvider } from './lib/id-providers/objectid-provider';
82
+ var id_provider_1 = require("./interfaces/id-provider");
83
+ Object.defineProperty(exports, "BaseIdProvider", { enumerable: true, get: function () { return id_provider_1.BaseIdProvider; } });
84
+ tslib_1.__exportStar(require("./lib/id-providers"), exports);
85
+ var objectid_provider_1 = require("./lib/id-providers/objectid-provider");
86
+ Object.defineProperty(exports, "ObjectIdProvider", { enumerable: true, get: function () { return objectid_provider_1.ObjectIdProvider; } });
45
87
  // Invariant validation system
46
- export { BaseInvariant } from './interfaces/invariant';
47
- export { InvariantValidator } from './lib/invariant-validator';
48
- export * from './lib/invariants';
88
+ var invariant_1 = require("./interfaces/invariant");
89
+ Object.defineProperty(exports, "BaseInvariant", { enumerable: true, get: function () { return invariant_1.BaseInvariant; } });
90
+ var invariant_validator_1 = require("./lib/invariant-validator");
91
+ Object.defineProperty(exports, "InvariantValidator", { enumerable: true, get: function () { return invariant_validator_1.InvariantValidator; } });
92
+ tslib_1.__exportStar(require("./lib/invariants"), exports);
49
93
  // Configuration helpers
50
- export { clearRuntimeConfigurations, createRuntimeConfiguration, getRuntimeConfiguration, registerRuntimeConfiguration, unregisterRuntimeConfiguration, } from './constants';
51
- export { calculateConfigChecksum, captureCreationStack, } from './interfaces/configuration-provenance';
94
+ var constants_3 = require("./constants");
95
+ Object.defineProperty(exports, "clearRuntimeConfigurations", { enumerable: true, get: function () { return constants_3.clearRuntimeConfigurations; } });
96
+ Object.defineProperty(exports, "createRuntimeConfiguration", { enumerable: true, get: function () { return constants_3.createRuntimeConfiguration; } });
97
+ Object.defineProperty(exports, "getRuntimeConfiguration", { enumerable: true, get: function () { return constants_3.getRuntimeConfiguration; } });
98
+ Object.defineProperty(exports, "registerRuntimeConfiguration", { enumerable: true, get: function () { return constants_3.registerRuntimeConfiguration; } });
99
+ Object.defineProperty(exports, "unregisterRuntimeConfiguration", { enumerable: true, get: function () { return constants_3.unregisterRuntimeConfiguration; } });
100
+ var configuration_provenance_1 = require("./interfaces/configuration-provenance");
101
+ Object.defineProperty(exports, "calculateConfigChecksum", { enumerable: true, get: function () { return configuration_provenance_1.calculateConfigChecksum; } });
102
+ Object.defineProperty(exports, "captureCreationStack", { enumerable: true, get: function () { return configuration_provenance_1.captureCreationStack; } });
52
103
  // Note: Existing services will be re-exported once migrated to v2
53
104
  // For now, import from main index.ts for backward compatibility
54
- export * from './constants';
55
- export * from './email-string';
56
- export * from './enumerations';
57
- export * from './errors';
58
- export * from './i18n-setup';
59
- export * from './interfaces';
60
- export * from './interfaces/encrypted-chunk';
61
- export { ENCRYPTION_STATE_VERSION } from './interfaces/encryption-state';
62
- export * from './interfaces/stream-config';
63
- export * from './interfaces/stream-header';
64
- export * from './interfaces/stream-progress';
65
- export * from './member';
66
- export { Member } from './member';
67
- export * from './pbkdf2-profiles';
68
- export * from './phone-number';
69
- export * from './secure-buffer';
70
- export * from './secure-string';
71
- export * from './services';
72
- export { ChunkProcessor } from './services/chunk-processor';
73
- export { EciesCryptoCore } from './services/ecies/crypto-core';
74
- export { ECIESService } from './services/ecies/service';
75
- export { EncryptionStream } from './services/encryption-stream';
76
- export { PasswordLoginService } from './services/password-login';
77
- export { Pbkdf2Service } from './services/pbkdf2';
78
- export { ProgressTracker } from './services/progress-tracker';
79
- export { ResumableEncryption } from './services/resumable-encryption';
80
- export * from './types';
81
- export * from './utils';
82
- export { hexToUint8Array, uint8ArrayToHex } from './utils';
105
+ tslib_1.__exportStar(require("./constants"), exports);
106
+ tslib_1.__exportStar(require("./email-string"), exports);
107
+ tslib_1.__exportStar(require("./enumerations"), exports);
108
+ tslib_1.__exportStar(require("./errors"), exports);
109
+ tslib_1.__exportStar(require("./i18n-setup"), exports);
110
+ tslib_1.__exportStar(require("./interfaces"), exports);
111
+ tslib_1.__exportStar(require("./interfaces/encrypted-chunk"), exports);
112
+ var encryption_state_1 = require("./interfaces/encryption-state");
113
+ Object.defineProperty(exports, "ENCRYPTION_STATE_VERSION", { enumerable: true, get: function () { return encryption_state_1.ENCRYPTION_STATE_VERSION; } });
114
+ tslib_1.__exportStar(require("./interfaces/stream-config"), exports);
115
+ tslib_1.__exportStar(require("./interfaces/stream-header"), exports);
116
+ tslib_1.__exportStar(require("./interfaces/stream-progress"), exports);
117
+ tslib_1.__exportStar(require("./member"), exports);
118
+ var member_1 = require("./member");
119
+ Object.defineProperty(exports, "Member", { enumerable: true, get: function () { return member_1.Member; } });
120
+ tslib_1.__exportStar(require("./pbkdf2-profiles"), exports);
121
+ tslib_1.__exportStar(require("./phone-number"), exports);
122
+ tslib_1.__exportStar(require("./secure-buffer"), exports);
123
+ tslib_1.__exportStar(require("./secure-string"), exports);
124
+ tslib_1.__exportStar(require("./services"), exports);
125
+ var chunk_processor_1 = require("./services/chunk-processor");
126
+ Object.defineProperty(exports, "ChunkProcessor", { enumerable: true, get: function () { return chunk_processor_1.ChunkProcessor; } });
127
+ var crypto_core_1 = require("./services/ecies/crypto-core");
128
+ Object.defineProperty(exports, "EciesCryptoCore", { enumerable: true, get: function () { return crypto_core_1.EciesCryptoCore; } });
129
+ var service_1 = require("./services/ecies/service");
130
+ Object.defineProperty(exports, "ECIESService", { enumerable: true, get: function () { return service_1.ECIESService; } });
131
+ var encryption_stream_1 = require("./services/encryption-stream");
132
+ Object.defineProperty(exports, "EncryptionStream", { enumerable: true, get: function () { return encryption_stream_1.EncryptionStream; } });
133
+ var password_login_1 = require("./services/password-login");
134
+ Object.defineProperty(exports, "PasswordLoginService", { enumerable: true, get: function () { return password_login_1.PasswordLoginService; } });
135
+ var pbkdf2_1 = require("./services/pbkdf2");
136
+ Object.defineProperty(exports, "Pbkdf2Service", { enumerable: true, get: function () { return pbkdf2_1.Pbkdf2Service; } });
137
+ var progress_tracker_1 = require("./services/progress-tracker");
138
+ Object.defineProperty(exports, "ProgressTracker", { enumerable: true, get: function () { return progress_tracker_1.ProgressTracker; } });
139
+ var resumable_encryption_1 = require("./services/resumable-encryption");
140
+ Object.defineProperty(exports, "ResumableEncryption", { enumerable: true, get: function () { return resumable_encryption_1.ResumableEncryption; } });
141
+ tslib_1.__exportStar(require("./types"), exports);
142
+ tslib_1.__exportStar(require("./utils"), exports);
143
+ var utils_2 = require("./utils");
144
+ Object.defineProperty(exports, "hexToUint8Array", { enumerable: true, get: function () { return utils_2.hexToUint8Array; } });
145
+ Object.defineProperty(exports, "uint8ArrayToHex", { enumerable: true, get: function () { return utils_2.uint8ArrayToHex; } });
83
146
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/digitaldefiance-ecies-lib/src/index.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/digitaldefiance-ecies-lib/src/index.ts"],"names":[],"mappings":"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"}
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=checksum-config.js.map
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=checksum-consts.js.map
@@ -1,3 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.captureCreationStack = exports.calculateConfigChecksum = void 0;
1
4
  // Re-export utility functions from lib
2
- export { calculateConfigChecksum, captureCreationStack, } from '../lib/configuration-provenance-utils';
5
+ var configuration_provenance_utils_1 = require("../lib/configuration-provenance-utils");
6
+ Object.defineProperty(exports, "calculateConfigChecksum", { enumerable: true, get: function () { return configuration_provenance_utils_1.calculateConfigChecksum; } });
7
+ Object.defineProperty(exports, "captureCreationStack", { enumerable: true, get: function () { return configuration_provenance_utils_1.captureCreationStack; } });
3
8
  //# sourceMappingURL=configuration-provenance.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"configuration-provenance.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/configuration-provenance.ts"],"names":[],"mappings":"AAiDA,uCAAuC;AACvC,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,uCAAuC,CAAC"}
1
+ {"version":3,"file":"configuration-provenance.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/configuration-provenance.ts"],"names":[],"mappings":";;;AAiDA,uCAAuC;AACvC,wFAG+C;AAF7C,yIAAA,uBAAuB,OAAA;AACvB,sIAAA,oBAAoB,OAAA"}
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=constants.js.map
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=ecies-config.js.map
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=ecies-consts.js.map
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=ecies-file-service.js.map
@@ -1,7 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CHUNK_CONSTANTS = void 0;
1
4
  /**
2
5
  * Constants for chunk format
3
6
  */
4
- export const CHUNK_CONSTANTS = {
7
+ exports.CHUNK_CONSTANTS = {
5
8
  MAGIC: 0x45434945, // "ECIE"
6
9
  VERSION: 0x0001,
7
10
  HEADER_SIZE: 32,
@@ -1 +1 @@
1
- {"version":3,"file":"encrypted-chunk.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/encrypted-chunk.ts"],"names":[],"mappings":"AA8CA;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAOxB;IACF,KAAK,EAAE,UAAU,EAAE,SAAS;IAC5B,OAAO,EAAE,MAAM;IACf,WAAW,EAAE,EAAE;IACf,YAAY,EAAE,IAAI;IAClB,iBAAiB,EAAE,IAAI;IACvB,aAAa,EAAE,EAAE,EAAE,UAAU;CACrB,CAAC"}
1
+ {"version":3,"file":"encrypted-chunk.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/encrypted-chunk.ts"],"names":[],"mappings":";;;AA8CA;;GAEG;AACU,QAAA,eAAe,GAOxB;IACF,KAAK,EAAE,UAAU,EAAE,SAAS;IAC5B,OAAO,EAAE,MAAM;IACf,WAAW,EAAE,EAAE;IACf,YAAY,EAAE,IAAI;IAClB,iBAAiB,EAAE,IAAI;IACvB,aAAa,EAAE,EAAE,EAAE,UAAU;CACrB,CAAC"}
@@ -1,2 +1,5 @@
1
- export const ENCRYPTION_STATE_VERSION = 1;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ENCRYPTION_STATE_VERSION = void 0;
4
+ exports.ENCRYPTION_STATE_VERSION = 1;
2
5
  //# sourceMappingURL=encryption-state.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"encryption-state.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/encryption-state.ts"],"names":[],"mappings":"AAkBA,MAAM,CAAC,MAAM,wBAAwB,GAAW,CAAC,CAAC"}
1
+ {"version":3,"file":"encryption-state.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/encryption-state.ts"],"names":[],"mappings":";;;AAkBa,QAAA,wBAAwB,GAAW,CAAC,CAAC"}
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=frontend-member-operational.js.map
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=guid.js.map
@@ -1,7 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BaseIdProvider = void 0;
1
4
  /**
2
5
  * Base class for ID providers with common utility methods.
3
6
  */
4
- export class BaseIdProvider {
7
+ class BaseIdProvider {
5
8
  /**
6
9
  * Convert an ID of unknown type to a string representation.
7
10
  * Default implementation handles Uint8Array using serialize(), and falls back to String().
@@ -49,4 +52,5 @@ export class BaseIdProvider {
49
52
  }
50
53
  }
51
54
  }
55
+ exports.BaseIdProvider = BaseIdProvider;
52
56
  //# sourceMappingURL=id-provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"id-provider.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/id-provider.ts"],"names":[],"mappings":"AAmFA;;GAEG;AACH,MAAM,OAAgB,cAAc;IASlC;;;OAGG;IACH,UAAU,CAAC,EAAW;QACpB,IAAI,EAAE,YAAY,UAAU,EAAE,CAAC;YAC7B,OAAO,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;QAC5B,CAAC;QACD,OAAO,MAAM,CAAC,EAAE,CAAC,CAAC;IACpB,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,GAAW;QACtB,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,CAAa,EAAE,CAAa;QACjC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC;YAC1B,OAAO,KAAK,CAAC;QACf,CAAC;QAED,IAAI,IAAI,GAAG,CAAC,CAAC;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAClC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QACtB,CAAC;QACD,OAAO,IAAI,KAAK,CAAC,CAAC;IACpB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,EAAc;QAClB,OAAO,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACO,cAAc,CAAC,EAAc,EAAE,OAAe;QACtD,IAAI,EAAE,CAAC,MAAM,KAAK,IAAI,CAAC,UAAU,EAAE,CAAC;YAClC,MAAM,EAAE,eAAe,EAAE,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;YAC7D,MAAM,EAAE,mBAAmB,EAAE,GAAG,OAAO,CAAC,wCAAwC,CAAC,CAAC;YAClF,MAAM,IAAI,eAAe,CACvB,mBAAmB,CAAC,aAAa,EACjC,SAAS,EACT,SAAS,EACT,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,CAC1D,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"id-provider.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/id-provider.ts"],"names":[],"mappings":";;;AAmFA;;GAEG;AACH,MAAsB,cAAc;IASlC;;;OAGG;IACH,UAAU,CAAC,EAAW;QACpB,IAAI,EAAE,YAAY,UAAU,EAAE,CAAC;YAC7B,OAAO,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;QAC5B,CAAC;QACD,OAAO,MAAM,CAAC,EAAE,CAAC,CAAC;IACpB,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,GAAW;QACtB,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,CAAa,EAAE,CAAa;QACjC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC;YAC1B,OAAO,KAAK,CAAC;QACf,CAAC;QAED,IAAI,IAAI,GAAG,CAAC,CAAC;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAClC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QACtB,CAAC;QACD,OAAO,IAAI,KAAK,CAAC,CAAC;IACpB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,EAAc;QAClB,OAAO,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACO,cAAc,CAAC,EAAc,EAAE,OAAe;QACtD,IAAI,EAAE,CAAC,MAAM,KAAK,IAAI,CAAC,UAAU,EAAE,CAAC;YAClC,MAAM,EAAE,eAAe,EAAE,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;YAC7D,MAAM,EAAE,mBAAmB,EAAE,GAAG,OAAO,CAAC,wCAAwC,CAAC,CAAC;YAClF,MAAM,IAAI,eAAe,CACvB,mBAAmB,CAAC,aAAa,EACjC,SAAS,EACT,SAAS,EACT,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,CAC1D,CAAC;QACJ,CAAC;IACH,CAAC;CACF;AAjED,wCAiEC"}
@@ -1,13 +1,16 @@
1
- export * from './checksum-config';
2
- export * from './checksum-consts';
3
- export * from './constants';
4
- export * from './ecies-config';
5
- export * from './ecies-consts';
6
- export * from './ecies-file-service';
7
- export * from './frontend-member-operational';
8
- export * from './guid';
9
- export * from './member-storage';
10
- export * from './pbkdf2-config';
11
- export * from './pbkdf2-consts';
12
- export * from './pbkdf2-result';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./checksum-config"), exports);
5
+ tslib_1.__exportStar(require("./checksum-consts"), exports);
6
+ tslib_1.__exportStar(require("./constants"), exports);
7
+ tslib_1.__exportStar(require("./ecies-config"), exports);
8
+ tslib_1.__exportStar(require("./ecies-consts"), exports);
9
+ tslib_1.__exportStar(require("./ecies-file-service"), exports);
10
+ tslib_1.__exportStar(require("./frontend-member-operational"), exports);
11
+ tslib_1.__exportStar(require("./guid"), exports);
12
+ tslib_1.__exportStar(require("./member-storage"), exports);
13
+ tslib_1.__exportStar(require("./pbkdf2-config"), exports);
14
+ tslib_1.__exportStar(require("./pbkdf2-consts"), exports);
15
+ tslib_1.__exportStar(require("./pbkdf2-result"), exports);
13
16
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,QAAQ,CAAC;AAEvB,cAAc,kBAAkB,CAAC;AAEjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/index.ts"],"names":[],"mappings":";;;AAAA,4DAAkC;AAClC,4DAAkC;AAClC,sDAA4B;AAC5B,yDAA+B;AAC/B,yDAA+B;AAC/B,+DAAqC;AACrC,wEAA8C;AAC9C,iDAAuB;AAEvB,2DAAiC;AAEjC,0DAAgC;AAChC,0DAAgC;AAChC,0DAAgC"}
@@ -1,7 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BaseInvariant = void 0;
1
4
  /**
2
5
  * Base class for invariants with common utilities
3
6
  */
4
- export class BaseInvariant {
7
+ class BaseInvariant {
5
8
  name;
6
9
  description;
7
10
  constructor(name, description) {
@@ -15,4 +18,5 @@ export class BaseInvariant {
15
18
  return `Invariant '${this.name}' failed: ${property1} (${value1}) must equal ${property2} (${value2})`;
16
19
  }
17
20
  }
21
+ exports.BaseInvariant = BaseInvariant;
18
22
  //# sourceMappingURL=invariant.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"invariant.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/invariant.ts"],"names":[],"mappings":"AAoCA;;GAEG;AACH,MAAM,OAAgB,aAAa;IAEf;IACA;IAFlB,YACkB,IAAY,EACZ,WAAmB;QADnB,SAAI,GAAJ,IAAI,CAAQ;QACZ,gBAAW,GAAX,WAAW,CAAQ;IAClC,CAAC;IAKJ;;OAEG;IACO,WAAW,CACnB,SAAiB,EACjB,MAAe,EACf,SAAiB,EACjB,MAAe;QAEf,OAAO,cAAc,IAAI,CAAC,IAAI,aAAa,SAAS,KAAK,MAAM,gBAAgB,SAAS,KAAK,MAAM,GAAG,CAAC;IACzG,CAAC;CACF"}
1
+ {"version":3,"file":"invariant.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/invariant.ts"],"names":[],"mappings":";;;AAoCA;;GAEG;AACH,MAAsB,aAAa;IAEf;IACA;IAFlB,YACkB,IAAY,EACZ,WAAmB;QADnB,SAAI,GAAJ,IAAI,CAAQ;QACZ,gBAAW,GAAX,WAAW,CAAQ;IAClC,CAAC;IAKJ;;OAEG;IACO,WAAW,CACnB,SAAiB,EACjB,MAAe,EACf,SAAiB,EACjB,MAAe;QAEf,OAAO,cAAc,IAAI,CAAC,IAAI,aAAa,SAAS,KAAK,MAAM,gBAAgB,SAAS,KAAK,MAAM,GAAG,CAAC;IACzG,CAAC;CACF;AApBD,sCAoBC"}
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=library-error.js.map
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=member-storage.js.map
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=member-with-mnemonic.js.map
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=member.js.map
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  /**
2
3
  * Multi-recipient encrypted chunk format
3
4
  *
@@ -6,6 +7,10 @@
6
7
  * - Recipient headers (variable): encrypted symmetric keys for each recipient
7
8
  * - Encrypted data (variable): data encrypted with symmetric key
8
9
  */
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.getMultiRecipientConstants = exports.MULTI_RECIPIENT_CONSTANTS = void 0;
9
12
  // Re-export interface (type-only), utility function and constant from lib
10
- export { MULTI_RECIPIENT_CONSTANTS, getMultiRecipientConstants, } from '../lib/multi-recipient-chunk-utils';
13
+ var multi_recipient_chunk_utils_1 = require("../lib/multi-recipient-chunk-utils");
14
+ Object.defineProperty(exports, "MULTI_RECIPIENT_CONSTANTS", { enumerable: true, get: function () { return multi_recipient_chunk_utils_1.MULTI_RECIPIENT_CONSTANTS; } });
15
+ Object.defineProperty(exports, "getMultiRecipientConstants", { enumerable: true, get: function () { return multi_recipient_chunk_utils_1.getMultiRecipientConstants; } });
11
16
  //# sourceMappingURL=multi-recipient-chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"multi-recipient-chunk.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/multi-recipient-chunk.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAgDH,0EAA0E;AAC1E,OAAO,EACL,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,oCAAoC,CAAC"}
1
+ {"version":3,"file":"multi-recipient-chunk.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/multi-recipient-chunk.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAgDH,0EAA0E;AAC1E,kFAG4C;AAF1C,wIAAA,yBAAyB,OAAA;AACzB,yIAAA,0BAA0B,OAAA"}
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=pbkdf2-config.js.map
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=pbkdf2-consts.js.map
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=pbkdf2-result.js.map
@@ -1,7 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DEFAULT_STREAM_CONFIG = void 0;
1
4
  /**
2
5
  * Default streaming configuration
3
6
  */
4
- export const DEFAULT_STREAM_CONFIG = {
7
+ exports.DEFAULT_STREAM_CONFIG = {
5
8
  chunkSize: 1024 * 1024, // 1MB
6
9
  includeChecksums: false,
7
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"stream-config.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/stream-config.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAkB;IAClD,SAAS,EAAE,IAAI,GAAG,IAAI,EAAE,MAAM;IAC9B,gBAAgB,EAAE,KAAK;CACxB,CAAC"}
1
+ {"version":3,"file":"stream-config.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/stream-config.ts"],"names":[],"mappings":";;;AAUA;;GAEG;AACU,QAAA,qBAAqB,GAAkB;IAClD,SAAS,EAAE,IAAI,GAAG,IAAI,EAAE,MAAM;IAC9B,gBAAgB,EAAE,KAAK;CACxB,CAAC"}
@@ -1,7 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.STREAM_HEADER_CONSTANTS = void 0;
1
4
  /**
2
5
  * Constants for stream header format
3
6
  */
4
- export const STREAM_HEADER_CONSTANTS = {
7
+ exports.STREAM_HEADER_CONSTANTS = {
5
8
  MAGIC: 0x45435354, // "ECST"
6
9
  VERSION: 0x0001,
7
10
  HEADER_SIZE: 128,
@@ -1 +1 @@
1
- {"version":3,"file":"stream-header.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/stream-header.ts"],"names":[],"mappings":"AAsBA;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAIhC;IACF,KAAK,EAAE,UAAU,EAAE,SAAS;IAC5B,OAAO,EAAE,MAAM;IACf,WAAW,EAAE,GAAG;CACR,CAAC"}
1
+ {"version":3,"file":"stream-header.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/interfaces/stream-header.ts"],"names":[],"mappings":";;;AAsBA;;GAEG;AACU,QAAA,uBAAuB,GAIhC;IACF,KAAK,EAAE,UAAU,EAAE,SAAS;IAC5B,OAAO,EAAE,MAAM;IACf,WAAW,EAAE,GAAG;CACR,CAAC"}
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=stream-progress.js.map
@@ -1,21 +1,25 @@
1
- import { sha256 } from '@noble/hashes/sha2.js';
2
- import { bytesToHex } from '@noble/hashes/utils.js';
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.calculateConfigChecksum = calculateConfigChecksum;
4
+ exports.captureCreationStack = captureCreationStack;
5
+ const sha2_js_1 = require("@noble/hashes/sha2.js");
6
+ const utils_js_1 = require("@noble/hashes/utils.js");
3
7
  /**
4
8
  * Calculates a checksum for a configuration object.
5
9
  * Uses SHA-256 of JSON representation.
6
10
  */
7
- export function calculateConfigChecksum(config) {
11
+ function calculateConfigChecksum(config) {
8
12
  // Create a stable JSON representation with BigInt support
9
13
  const replacer = (_key, value) => typeof value === 'bigint' ? value.toString() : value;
10
14
  const stable = JSON.stringify(config, replacer);
11
15
  const encoder = new TextEncoder();
12
16
  const data = encoder.encode(stable);
13
- return bytesToHex(sha256(data));
17
+ return (0, utils_js_1.bytesToHex)((0, sha2_js_1.sha256)(data));
14
18
  }
15
19
  /**
16
20
  * Captures a stack trace for provenance tracking
17
21
  */
18
- export function captureCreationStack() {
22
+ function captureCreationStack() {
19
23
  const stack = new Error().stack;
20
24
  if (!stack)
21
25
  return 'stack unavailable';
@@ -1 +1 @@
1
- {"version":3,"file":"configuration-provenance-utils.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/lib/configuration-provenance-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAGpD;;;GAGG;AACH,MAAM,UAAU,uBAAuB,CAAC,MAAkB;IACxD,0DAA0D;IAC1D,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAE,KAAU,EAAE,EAAE,CAC5C,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;IACvD,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAChD,MAAM,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;IAClC,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpC,OAAO,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,oBAAoB;IAClC,MAAM,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC,KAAK,CAAC;IAChC,IAAI,CAAC,KAAK;QAAE,OAAO,mBAAmB,CAAC;IAEvC,+DAA+D;IAC/D,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACzC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
1
+ {"version":3,"file":"configuration-provenance-utils.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-ecies-lib/src/lib/configuration-provenance-utils.ts"],"names":[],"mappings":";;AAQA,0DAQC;AAKD,oDAOC;AA5BD,mDAA+C;AAC/C,qDAAoD;AAGpD;;;GAGG;AACH,SAAgB,uBAAuB,CAAC,MAAkB;IACxD,0DAA0D;IAC1D,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAE,KAAU,EAAE,EAAE,CAC5C,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;IACvD,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAChD,MAAM,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;IAClC,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpC,OAAO,IAAA,qBAAU,EAAC,IAAA,gBAAM,EAAC,IAAI,CAAC,CAAC,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,SAAgB,oBAAoB;IAClC,MAAM,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC,KAAK,CAAC;IAChC,IAAI,CAAC,KAAK;QAAE,OAAO,mBAAmB,CAAC;IAEvC,+DAA+D;IAC/D,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACzC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}