@brightchain/brightchain-lib 0.10.0 → 0.11.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.
- package/package.json +1 -1
- package/src/lib/blockPaddingTransform.d.ts.map +1 -1
- package/src/lib/blockPaddingTransform.js +3 -1
- package/src/lib/blockPaddingTransform.js.map +1 -1
- package/src/lib/blocks/cblBase.d.ts.map +1 -1
- package/src/lib/blocks/cblBase.js +2 -2
- package/src/lib/blocks/cblBase.js.map +1 -1
- package/src/lib/blocks/encrypted.d.ts.map +1 -1
- package/src/lib/blocks/encrypted.js.map +1 -1
- package/src/lib/blocks/encryptedBlockCreator.d.ts.map +1 -1
- package/src/lib/blocks/encryptedBlockCreator.js +3 -1
- package/src/lib/blocks/encryptedBlockCreator.js.map +1 -1
- package/src/lib/blocks/extendedCbl.d.ts +5 -44
- package/src/lib/blocks/extendedCbl.d.ts.map +1 -1
- package/src/lib/blocks/extendedCbl.js +7 -130
- package/src/lib/blocks/extendedCbl.js.map +1 -1
- package/src/lib/blocks/handle.d.ts.map +1 -1
- package/src/lib/blocks/handle.js +5 -4
- package/src/lib/blocks/handle.js.map +1 -1
- package/src/lib/blocks/handleTuple.d.ts.map +1 -1
- package/src/lib/blocks/handleTuple.js +14 -2
- package/src/lib/blocks/handleTuple.js.map +1 -1
- package/src/lib/blocks/parity.d.ts.map +1 -1
- package/src/lib/blocks/parity.js +3 -1
- package/src/lib/blocks/parity.js.map +1 -1
- package/src/lib/blocks/random.d.ts.map +1 -1
- package/src/lib/blocks/random.js +4 -2
- package/src/lib/blocks/random.js.map +1 -1
- package/src/lib/blocks/rawData.d.ts.map +1 -1
- package/src/lib/blocks/rawData.js +4 -2
- package/src/lib/blocks/rawData.js.map +1 -1
- package/src/lib/browserConfig.d.ts.map +1 -1
- package/src/lib/browserConfig.js +5 -3
- package/src/lib/browserConfig.js.map +1 -1
- package/src/lib/browserKeyring.d.ts.map +1 -1
- package/src/lib/browserKeyring.js +3 -1
- package/src/lib/browserKeyring.js.map +1 -1
- package/src/lib/bufferUtils.d.ts.map +1 -1
- package/src/lib/bufferUtils.js +3 -1
- package/src/lib/bufferUtils.js.map +1 -1
- package/src/lib/cblStream.d.ts.map +1 -1
- package/src/lib/cblStream.js +3 -1
- package/src/lib/cblStream.js.map +1 -1
- package/src/lib/cpus/instructionFactory.d.ts.map +1 -1
- package/src/lib/cpus/instructionFactory.js +17 -12
- package/src/lib/cpus/instructionFactory.js.map +1 -1
- package/src/lib/cpus/riscvCpu.d.ts.map +1 -1
- package/src/lib/cpus/riscvCpu.js +6 -4
- package/src/lib/cpus/riscvCpu.js.map +1 -1
- package/src/lib/currencyCode.d.ts.map +1 -1
- package/src/lib/currencyCode.js +3 -1
- package/src/lib/currencyCode.js.map +1 -1
- package/src/lib/debug/HanselGretelBreadCrumbTrail.d.ts.map +1 -1
- package/src/lib/debug/HanselGretelBreadCrumbTrail.js +3 -1
- package/src/lib/debug/HanselGretelBreadCrumbTrail.js.map +1 -1
- package/src/lib/documents/base/document.d.ts.map +1 -1
- package/src/lib/documents/base/document.js +9 -7
- package/src/lib/documents/base/document.js.map +1 -1
- package/src/lib/documents/member/baseMemberDocument.d.ts.map +1 -1
- package/src/lib/documents/member/baseMemberDocument.js +4 -2
- package/src/lib/documents/member/baseMemberDocument.js.map +1 -1
- package/src/lib/documents/member/memberDocument.d.ts.map +1 -1
- package/src/lib/documents/member/memberDocument.js +6 -3
- package/src/lib/documents/member/memberDocument.js.map +1 -1
- package/src/lib/documents/member/memberProfileDocument.d.ts.map +1 -1
- package/src/lib/documents/member/memberProfileDocument.js +3 -1
- package/src/lib/documents/member/memberProfileDocument.js.map +1 -1
- package/src/lib/documents/quorumDocument.d.ts.map +1 -1
- package/src/lib/documents/quorumDocument.js +6 -4
- package/src/lib/documents/quorumDocument.js.map +1 -1
- package/src/lib/energyAccount.d.ts.map +1 -1
- package/src/lib/energyAccount.js +10 -2
- package/src/lib/energyAccount.js.map +1 -1
- package/src/lib/enumeration-translations/blockSize.d.ts.map +1 -1
- package/src/lib/enumeration-translations/blockSize.js +63 -0
- package/src/lib/enumeration-translations/blockSize.js.map +1 -1
- package/src/lib/enumeration-translations/blockType.d.ts.map +1 -1
- package/src/lib/enumeration-translations/blockType.js +105 -0
- package/src/lib/enumeration-translations/blockType.js.map +1 -1
- package/src/lib/enumeration-translations/memberType.d.ts.map +1 -1
- package/src/lib/enumeration-translations/memberType.js +42 -0
- package/src/lib/enumeration-translations/memberType.js.map +1 -1
- package/src/lib/enumeration-translations/quorumDataRecordAction.d.ts.map +1 -1
- package/src/lib/enumeration-translations/quorumDataRecordAction.js +49 -0
- package/src/lib/enumeration-translations/quorumDataRecordAction.js.map +1 -1
- package/src/lib/enumeration-translations/security-event-severity.d.ts +5 -0
- package/src/lib/enumeration-translations/security-event-severity.d.ts.map +1 -0
- package/src/lib/enumeration-translations/security-event-severity.js +58 -0
- package/src/lib/enumeration-translations/security-event-severity.js.map +1 -0
- package/src/lib/enumeration-translations/security-event-type.d.ts +5 -0
- package/src/lib/enumeration-translations/security-event-type.d.ts.map +1 -0
- package/src/lib/enumeration-translations/security-event-type.js +210 -0
- package/src/lib/enumeration-translations/security-event-type.js.map +1 -0
- package/src/lib/enumerations/brightChainStrings.d.ts +521 -381
- package/src/lib/enumerations/brightChainStrings.d.ts.map +1 -1
- package/src/lib/enumerations/brightChainStrings.js +599 -392
- package/src/lib/enumerations/brightChainStrings.js.map +1 -1
- package/src/lib/enumerations/cblErrorType.d.ts +3 -1
- package/src/lib/enumerations/cblErrorType.d.ts.map +1 -1
- package/src/lib/enumerations/cblErrorType.js +2 -0
- package/src/lib/enumerations/cblErrorType.js.map +1 -1
- package/src/lib/enumerations/votingDerivationErrorType.js +10 -10
- package/src/lib/enumerations/votingDerivationErrorType.js.map +1 -1
- package/src/lib/errors/block/blockAccess.js +7 -7
- package/src/lib/errors/block/blockAccess.js.map +1 -1
- package/src/lib/errors/block/blockCapacity.js +7 -7
- package/src/lib/errors/block/blockCapacity.js.map +1 -1
- package/src/lib/errors/block/blockError.js +15 -15
- package/src/lib/errors/block/blockError.js.map +1 -1
- package/src/lib/errors/block/blockMetadata.js +7 -7
- package/src/lib/errors/block/blockMetadata.js.map +1 -1
- package/src/lib/errors/block/blockValidation.d.ts.map +1 -1
- package/src/lib/errors/block/blockValidation.js +43 -41
- package/src/lib/errors/block/blockValidation.js.map +1 -1
- package/src/lib/errors/block/cannotDecrypt.js +1 -1
- package/src/lib/errors/block/cannotDecrypt.js.map +1 -1
- package/src/lib/errors/block/cannotEncrypt.js +1 -1
- package/src/lib/errors/block/cannotEncrypt.js.map +1 -1
- package/src/lib/errors/blockServiceError.js +14 -14
- package/src/lib/errors/blockServiceError.js.map +1 -1
- package/src/lib/errors/bufferError.js +1 -1
- package/src/lib/errors/bufferError.js.map +1 -1
- package/src/lib/errors/cblError.d.ts.map +1 -1
- package/src/lib/errors/cblError.js +38 -36
- package/src/lib/errors/cblError.js.map +1 -1
- package/src/lib/errors/checksumMismatch.js +1 -1
- package/src/lib/errors/checksumMismatch.js.map +1 -1
- package/src/lib/errors/disposed.js +2 -2
- package/src/lib/errors/disposed.js.map +1 -1
- package/src/lib/errors/document.js +4 -4
- package/src/lib/errors/document.js.map +1 -1
- package/src/lib/errors/eciesError.d.ts +3 -2
- package/src/lib/errors/eciesError.d.ts.map +1 -1
- package/src/lib/errors/eciesError.js +20 -19
- package/src/lib/errors/eciesError.js.map +1 -1
- package/src/lib/errors/enhancedValidationError.d.ts +3 -1
- package/src/lib/errors/enhancedValidationError.d.ts.map +1 -1
- package/src/lib/errors/enhancedValidationError.js +6 -2
- package/src/lib/errors/enhancedValidationError.js.map +1 -1
- package/src/lib/errors/extendedCblError.js +24 -24
- package/src/lib/errors/extendedCblError.js.map +1 -1
- package/src/lib/errors/failedToHydrate.js +1 -1
- package/src/lib/errors/failedToHydrate.js.map +1 -1
- package/src/lib/errors/failedToSerialize.d.ts.map +1 -1
- package/src/lib/errors/failedToSerialize.js +1 -1
- package/src/lib/errors/failedToSerialize.js.map +1 -1
- package/src/lib/errors/fecError.d.ts +3 -2
- package/src/lib/errors/fecError.d.ts.map +1 -1
- package/src/lib/errors/fecError.js +19 -18
- package/src/lib/errors/fecError.js.map +1 -1
- package/src/lib/errors/handleTupleError.js +4 -4
- package/src/lib/errors/handleTupleError.js.map +1 -1
- package/src/lib/errors/invalidBlockSize.js +1 -1
- package/src/lib/errors/invalidBlockSize.js.map +1 -1
- package/src/lib/errors/invalidBlockSizeLength.js +1 -1
- package/src/lib/errors/invalidBlockSizeLength.js.map +1 -1
- package/src/lib/errors/invalidCredentials.js +1 -1
- package/src/lib/errors/invalidCredentials.js.map +1 -1
- package/src/lib/errors/invalidIDFormat.js +1 -1
- package/src/lib/errors/invalidIDFormat.js.map +1 -1
- package/src/lib/errors/invalidSessionID.js +1 -1
- package/src/lib/errors/invalidSessionID.js.map +1 -1
- package/src/lib/errors/invalidTupleCount.js +1 -1
- package/src/lib/errors/invalidTupleCount.js.map +1 -1
- package/src/lib/errors/isolatedKeyError.js +6 -6
- package/src/lib/errors/isolatedKeyError.js.map +1 -1
- package/src/lib/errors/memberError.d.ts +3 -1
- package/src/lib/errors/memberError.d.ts.map +1 -1
- package/src/lib/errors/memberError.js +28 -26
- package/src/lib/errors/memberError.js.map +1 -1
- package/src/lib/errors/memoryTupleError.js +6 -6
- package/src/lib/errors/memoryTupleError.js.map +1 -1
- package/src/lib/errors/metadataMismatch.js +1 -1
- package/src/lib/errors/metadataMismatch.js.map +1 -1
- package/src/lib/errors/multiEncryptedError.js +10 -10
- package/src/lib/errors/multiEncryptedError.js.map +1 -1
- package/src/lib/errors/notImplemented.js +1 -1
- package/src/lib/errors/notImplemented.js.map +1 -1
- package/src/lib/errors/quorumError.js +7 -7
- package/src/lib/errors/quorumError.js.map +1 -1
- package/src/lib/errors/sealingError.js +8 -8
- package/src/lib/errors/sealingError.js.map +1 -1
- package/src/lib/errors/secureStorage.d.ts +3 -2
- package/src/lib/errors/secureStorage.d.ts.map +1 -1
- package/src/lib/errors/secureStorage.js +4 -4
- package/src/lib/errors/secureStorage.js.map +1 -1
- package/src/lib/errors/storeError.js +19 -19
- package/src/lib/errors/storeError.js.map +1 -1
- package/src/lib/errors/streamError.js +7 -7
- package/src/lib/errors/streamError.js.map +1 -1
- package/src/lib/errors/symmetricError.d.ts +3 -2
- package/src/lib/errors/symmetricError.d.ts.map +1 -1
- package/src/lib/errors/symmetricError.js +3 -3
- package/src/lib/errors/symmetricError.js.map +1 -1
- package/src/lib/errors/systemKeyringError.js +3 -3
- package/src/lib/errors/systemKeyringError.js.map +1 -1
- package/src/lib/errors/translatableBrightChainError.d.ts +8 -0
- package/src/lib/errors/translatableBrightChainError.d.ts.map +1 -0
- package/src/lib/errors/translatableBrightChainError.js +16 -0
- package/src/lib/errors/translatableBrightChainError.js.map +1 -0
- package/src/lib/errors/tupleError.js +12 -12
- package/src/lib/errors/tupleError.js.map +1 -1
- package/src/lib/errors/typedWithReasonError.js +7 -3
- package/src/lib/errors/typedWithReasonError.js.map +1 -1
- package/src/lib/errors/userNotFound.js +1 -1
- package/src/lib/errors/userNotFound.js.map +1 -1
- package/src/lib/errors/whitenedError.js +4 -4
- package/src/lib/errors/whitenedError.js.map +1 -1
- package/src/lib/i18n/index.d.ts +14 -2
- package/src/lib/i18n/index.d.ts.map +1 -1
- package/src/lib/i18n/index.js +101 -20
- package/src/lib/i18n/index.js.map +1 -1
- package/src/lib/i18n/strings/englishUK.d.ts +4 -0
- package/src/lib/i18n/strings/englishUK.d.ts.map +1 -0
- package/src/lib/i18n/strings/englishUK.js +20 -0
- package/src/lib/i18n/strings/englishUK.js.map +1 -0
- package/src/lib/i18n/strings/englishUs.d.ts +5 -0
- package/src/lib/i18n/strings/englishUs.d.ts.map +1 -0
- package/src/lib/i18n/strings/englishUs.js +617 -0
- package/src/lib/i18n/strings/englishUs.js.map +1 -0
- package/src/lib/i18n/strings/french.d.ts +4 -0
- package/src/lib/i18n/strings/french.d.ts.map +1 -0
- package/src/lib/i18n/strings/french.js +606 -0
- package/src/lib/i18n/strings/french.js.map +1 -0
- package/src/lib/i18n/strings/german.d.ts +4 -0
- package/src/lib/i18n/strings/german.d.ts.map +1 -0
- package/src/lib/i18n/strings/german.js +606 -0
- package/src/lib/i18n/strings/german.js.map +1 -0
- package/src/lib/i18n/strings/index.d.ts +9 -0
- package/src/lib/i18n/strings/index.d.ts.map +1 -0
- package/src/lib/i18n/strings/index.js +12 -0
- package/src/lib/i18n/strings/index.js.map +1 -0
- package/src/lib/i18n/strings/japanese.d.ts +4 -0
- package/src/lib/i18n/strings/japanese.d.ts.map +1 -0
- package/src/lib/i18n/strings/japanese.js +567 -0
- package/src/lib/i18n/strings/japanese.js.map +1 -0
- package/src/lib/i18n/strings/mandarin.d.ts +4 -0
- package/src/lib/i18n/strings/mandarin.d.ts.map +1 -0
- package/src/lib/i18n/strings/mandarin.js +606 -0
- package/src/lib/i18n/strings/mandarin.js.map +1 -0
- package/src/lib/i18n/strings/spanish.d.ts +4 -0
- package/src/lib/i18n/strings/spanish.d.ts.map +1 -0
- package/src/lib/i18n/strings/spanish.js +606 -0
- package/src/lib/i18n/strings/spanish.js.map +1 -0
- package/src/lib/i18n/strings/ukrainian.d.ts +4 -0
- package/src/lib/i18n/strings/ukrainian.d.ts.map +1 -0
- package/src/lib/i18n/strings/ukrainian.js +606 -0
- package/src/lib/i18n/strings/ukrainian.js.map +1 -0
- package/src/lib/index.d.ts +1 -5
- package/src/lib/index.d.ts.map +1 -1
- package/src/lib/index.js +0 -4
- package/src/lib/index.js.map +1 -1
- package/src/lib/init.d.ts.map +1 -1
- package/src/lib/init.js +6 -5
- package/src/lib/init.js.map +1 -1
- package/src/lib/interfaces/availability/locationRecord.d.ts.map +1 -1
- package/src/lib/interfaces/availability/locationRecord.js +26 -21
- package/src/lib/interfaces/availability/locationRecord.js.map +1 -1
- package/src/lib/interfaces/blocks/ephemeral.d.ts.map +1 -1
- package/src/lib/isolatedKeyModInverse.d.ts.map +1 -1
- package/src/lib/isolatedKeyModInverse.js +3 -1
- package/src/lib/isolatedKeyModInverse.js.map +1 -1
- package/src/lib/logging/blockLogger.d.ts.map +1 -1
- package/src/lib/logging/blockLogger.js +8 -3
- package/src/lib/logging/blockLogger.js.map +1 -1
- package/src/lib/primeTupleGeneratorStream.d.ts.map +1 -1
- package/src/lib/primeTupleGeneratorStream.js +7 -3
- package/src/lib/primeTupleGeneratorStream.js.map +1 -1
- package/src/lib/quorumDataRecord.d.ts.map +1 -1
- package/src/lib/quorumDataRecord.js +7 -5
- package/src/lib/quorumDataRecord.js.map +1 -1
- package/src/lib/schemas/member/memberSchema.d.ts.map +1 -1
- package/src/lib/schemas/member/memberSchema.js +11 -9
- package/src/lib/schemas/member/memberSchema.js.map +1 -1
- package/src/lib/schemas/messaging/messageMetadataSchema.d.ts.map +1 -1
- package/src/lib/schemas/messaging/messageMetadataSchema.js +8 -6
- package/src/lib/schemas/messaging/messageMetadataSchema.js.map +1 -1
- package/src/lib/schemas/network/networkDocumentSchema.js +5 -5
- package/src/lib/schemas/network/networkDocumentSchema.js.map +1 -1
- package/src/lib/schemas/quorumDocument.d.ts.map +1 -1
- package/src/lib/schemas/quorumDocument.js +7 -5
- package/src/lib/schemas/quorumDocument.js.map +1 -1
- package/src/lib/secureHeapStorage.d.ts.map +1 -1
- package/src/lib/secureHeapStorage.js +3 -1
- package/src/lib/secureHeapStorage.js.map +1 -1
- package/src/lib/security/dosProtectionValidator.d.ts.map +1 -1
- package/src/lib/security/dosProtectionValidator.js +17 -4
- package/src/lib/security/dosProtectionValidator.js.map +1 -1
- package/src/lib/security/rateLimiter.d.ts.map +1 -1
- package/src/lib/security/rateLimiter.js +3 -1
- package/src/lib/security/rateLimiter.js.map +1 -1
- package/src/lib/security/securityAuditLogger.d.ts.map +1 -1
- package/src/lib/security/securityAuditLogger.js +18 -6
- package/src/lib/security/securityAuditLogger.js.map +1 -1
- package/src/lib/services/blockFormatService.d.ts.map +1 -1
- package/src/lib/services/blockFormatService.js +11 -6
- package/src/lib/services/blockFormatService.js.map +1 -1
- package/src/lib/services/blockService.d.ts.map +1 -1
- package/src/lib/services/blockService.js +5 -3
- package/src/lib/services/blockService.js.map +1 -1
- package/src/lib/services/cblService.d.ts.map +1 -1
- package/src/lib/services/cblService.js +35 -21
- package/src/lib/services/cblService.js.map +1 -1
- package/src/lib/services/fec.service.d.ts.map +1 -1
- package/src/lib/services/fec.service.js +14 -4
- package/src/lib/services/fec.service.js.map +1 -1
- package/src/lib/services/globalServiceProvider.d.ts.map +1 -1
- package/src/lib/services/globalServiceProvider.js +5 -4
- package/src/lib/services/globalServiceProvider.js.map +1 -1
- package/src/lib/services/member/memberCblService.d.ts.map +1 -1
- package/src/lib/services/member/memberCblService.js +3 -1
- package/src/lib/services/member/memberCblService.js.map +1 -1
- package/src/lib/services/memberStore.d.ts.map +1 -1
- package/src/lib/services/memberStore.js +3 -1
- package/src/lib/services/memberStore.js.map +1 -1
- package/src/lib/services/messaging/deliveryTimeoutService.d.ts.map +1 -1
- package/src/lib/services/messaging/deliveryTimeoutService.js +6 -1
- package/src/lib/services/messaging/deliveryTimeoutService.js.map +1 -1
- package/src/lib/services/messaging/messageCBLService.d.ts.map +1 -1
- package/src/lib/services/messaging/messageCBLService.js +19 -7
- package/src/lib/services/messaging/messageCBLService.js.map +1 -1
- package/src/lib/services/messaging/messageEncryptionService.d.ts.map +1 -1
- package/src/lib/services/messaging/messageEncryptionService.js +16 -5
- package/src/lib/services/messaging/messageEncryptionService.js.map +1 -1
- package/src/lib/services/messaging/messageLogger.d.ts.map +1 -1
- package/src/lib/services/messaging/messageLogger.js +7 -5
- package/src/lib/services/messaging/messageLogger.js.map +1 -1
- package/src/lib/services/messaging/messageRouter.d.ts.map +1 -1
- package/src/lib/services/messaging/messageRouter.js +13 -5
- package/src/lib/services/messaging/messageRouter.js.map +1 -1
- package/src/lib/services/sealing.service.d.ts +8 -0
- package/src/lib/services/sealing.service.d.ts.map +1 -1
- package/src/lib/services/sealing.service.js +8 -0
- package/src/lib/services/sealing.service.js.map +1 -1
- package/src/lib/services/service.provider.d.ts.map +1 -1
- package/src/lib/services/service.provider.js +3 -1
- package/src/lib/services/service.provider.js.map +1 -1
- package/src/lib/services/serviceLocator.d.ts +1 -1
- package/src/lib/services/serviceLocator.d.ts.map +1 -1
- package/src/lib/services/serviceLocator.js +4 -2
- package/src/lib/services/serviceLocator.js.map +1 -1
- package/src/lib/services/tupleStorageService.d.ts.map +1 -1
- package/src/lib/services/tupleStorageService.js +6 -4
- package/src/lib/services/tupleStorageService.js.map +1 -1
- package/src/lib/services/xor.d.ts.map +1 -1
- package/src/lib/services/xor.js +10 -4
- package/src/lib/services/xor.js.map +1 -1
- package/src/lib/simpleBrightChain.d.ts.map +1 -1
- package/src/lib/simpleBrightChain.js +3 -1
- package/src/lib/simpleBrightChain.js.map +1 -1
- package/src/lib/stores/blockStoreAdapter.d.ts.map +1 -1
- package/src/lib/stores/blockStoreAdapter.js +3 -1
- package/src/lib/stores/blockStoreAdapter.js.map +1 -1
- package/src/lib/stores/memoryBlockStore.d.ts.map +1 -1
- package/src/lib/stores/memoryBlockStore.js +26 -18
- package/src/lib/stores/memoryBlockStore.js.map +1 -1
- package/src/lib/test/testMembers.d.ts.map +1 -1
- package/src/lib/test/testMembers.js +5 -3
- package/src/lib/test/testMembers.js.map +1 -1
- package/src/lib/types/checksum.d.ts.map +1 -1
- package/src/lib/types/checksum.js +11 -3
- package/src/lib/types/checksum.js.map +1 -1
- package/src/lib/utils/constantTime.d.ts +10 -2
- package/src/lib/utils/constantTime.d.ts.map +1 -1
- package/src/lib/utils/constantTime.js +24 -17
- package/src/lib/utils/constantTime.js.map +1 -1
- package/src/lib/utils/constantTimeXor.d.ts.map +1 -1
- package/src/lib/utils/constantTimeXor.js +13 -3
- package/src/lib/utils/constantTimeXor.js.map +1 -1
- package/src/lib/utils/dateUtils.d.ts.map +1 -1
- package/src/lib/utils/dateUtils.js +15 -5
- package/src/lib/utils/dateUtils.js.map +1 -1
- package/src/lib/utils/typeGuards.d.ts.map +1 -1
- package/src/lib/utils/typeGuards.js +26 -21
- package/src/lib/utils/typeGuards.js.map +1 -1
- package/src/lib/utils/validator.d.ts.map +1 -1
- package/src/lib/utils/validator.js +22 -8
- package/src/lib/utils/validator.js.map +1 -1
- package/src/lib/utils/xorUtils.d.ts.map +1 -1
- package/src/lib/utils/xorUtils.js +13 -3
- package/src/lib/utils/xorUtils.js.map +1 -1
- package/src/lib/strings/englishUs.d.ts +0 -4
- package/src/lib/strings/englishUs.d.ts.map +0 -1
- package/src/lib/strings/englishUs.js +0 -427
- package/src/lib/strings/englishUs.js.map +0 -1
- package/src/lib/strings/index.d.ts +0 -2
- package/src/lib/strings/index.d.ts.map +0 -1
- package/src/lib/strings/index.js +0 -5
- package/src/lib/strings/index.js.map +0 -1
- package/src/lib/strings.d.ts +0 -3
- package/src/lib/strings.d.ts.map +0 -1
- package/src/lib/strings.js +0 -8
- package/src/lib/strings.js.map +0 -1
|
@@ -0,0 +1,617 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AmericanEnglishStrings = void 0;
|
|
4
|
+
const brightChainStrings_1 = require("../../enumerations/brightChainStrings");
|
|
5
|
+
const site = 'BrightChain';
|
|
6
|
+
exports.AmericanEnglishStrings = {
|
|
7
|
+
// NOTE: Admin, i18n, common UI, and many error strings have been moved to external libraries
|
|
8
|
+
// Use SuiteCoreStringKey from @digitaldefiance/suite-core-lib for common errors
|
|
9
|
+
// Use EciesStringKey from @digitaldefiance/ecies-lib for ECIES/Member errors
|
|
10
|
+
[brightChainStrings_1.BrightChainStrings.Common_BlockSize]: 'Block Size',
|
|
11
|
+
[brightChainStrings_1.BrightChainStrings.Common_AtIndexTemplate]: '{OPERATION} at index {INDEX}',
|
|
12
|
+
[brightChainStrings_1.BrightChainStrings.ChangePassword_Success]: 'Password changed successfully.',
|
|
13
|
+
[brightChainStrings_1.BrightChainStrings.Common_Site]: site,
|
|
14
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockAccess_Template]: 'Block cannot be accessed: {REASON}',
|
|
15
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockAccessError_BlockAlreadyExists]: 'Block file already exists',
|
|
16
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockAccessError_BlockIsNotPersistable]: 'Block is not persistable',
|
|
17
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockAccessError_BlockIsNotReadable]: 'Block is not readable',
|
|
18
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockAccessError_BlockFileNotFoundTemplate]: 'Block file not found: {FILE}',
|
|
19
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockAccess_CBLCannotBeEncrypted]: 'CBL block cannot be encrypted',
|
|
20
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockAccessError_CreatorMustBeProvided]: 'Creator must be provided for signature validation',
|
|
21
|
+
[brightChainStrings_1.BrightChainStrings.Error_Block_CannotBeDecrypted]: 'Block cannot be decrypted',
|
|
22
|
+
[brightChainStrings_1.BrightChainStrings.Error_Block_CannotBeEncrypted]: 'Block cannot be encrypted',
|
|
23
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockCapacity_Template]: 'Block capacity exceeded. BlockSize: ({BLOCK_SIZE}), Data: ({DATA_SIZE})',
|
|
24
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockMetadataError_CreatorIdMismatch]: 'Creator ID mismatch',
|
|
25
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockMetadataError_CreatorRequired]: 'Creator is required',
|
|
26
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockMetadataError_EncryptorRequired]: 'Encryptor is required',
|
|
27
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockMetadataError_InvalidBlockMetadata]: 'Invalid block metadata',
|
|
28
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockMetadataError_InvalidBlockMetadataTemplate]: 'Invalid block metadata: {REASON}',
|
|
29
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockMetadataError_MetadataRequired]: 'Metadata is required',
|
|
30
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockMetadataError_MissingRequiredMetadata]: 'Missing required metadata fields',
|
|
31
|
+
// Block Capacity Errors
|
|
32
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockCapacity_InvalidBlockSize]: 'Invalid block size',
|
|
33
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockCapacity_InvalidBlockType]: 'Invalid block type',
|
|
34
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockCapacity_CapacityExceeded]: 'Capacity exceeded',
|
|
35
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockCapacity_InvalidFileName]: 'Invalid file name',
|
|
36
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockCapacity_InvalidMimetype]: 'Invalid mimetype',
|
|
37
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockCapacity_InvalidRecipientCount]: 'Invalid recipient count',
|
|
38
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockCapacity_InvalidExtendedCblData]: 'Invalid extended CBL data',
|
|
39
|
+
// Block validation error
|
|
40
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_Template]: 'Block validation failed: {REASON}',
|
|
41
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_ActualDataLengthUnknown]: 'Actual data length is unknown',
|
|
42
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_AddressCountExceedsCapacity]: 'Address count exceeds block capacity',
|
|
43
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_BlockDataNotBuffer]: 'Block.data must be a buffer',
|
|
44
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_BlockSizeNegative]: 'Block size must be a positive number',
|
|
45
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_CreatorIDMismatch]: 'Creator ID mismatch',
|
|
46
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_DataBufferIsTruncated]: 'Data buffer is truncated',
|
|
47
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_DataCannotBeEmpty]: 'Data cannot be empty',
|
|
48
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_DataLengthExceedsCapacity]: 'Data length exceeds block capacity',
|
|
49
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_DataLengthTooShort]: 'Data too short to contain encryption header',
|
|
50
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_DataLengthTooShortForCBLHeader]: 'Data too short for CBL header',
|
|
51
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_DataLengthTooShortForEncryptedCBL]: 'Data too short for encrypted CBL',
|
|
52
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_EphemeralBlockOnlySupportsBufferData]: 'EphemeralBlock only supports Buffer data',
|
|
53
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_FutureCreationDate]: 'Block creation date cannot be in the future',
|
|
54
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidAddressLengthTemplate]: 'Invalid address length at index {INDEX}: {LENGTH}, expected: {EXPECTED_LENGTH}',
|
|
55
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidAuthTagLength]: 'Invalid auth tag length',
|
|
56
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidBlockTypeTemplate]: 'Invalid block type: {TYPE}',
|
|
57
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidCBLAddressCount]: 'CBL address count must be a multiple of TupleSize',
|
|
58
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidCBLDataLength]: 'Invalid CBL data length',
|
|
59
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidDateCreated]: 'Invalid date created',
|
|
60
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidEncryptionHeaderLength]: 'Invalid encryption header length',
|
|
61
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidEphemeralPublicKeyLength]: 'Invalid ephemeral public key length',
|
|
62
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidIVLength]: 'Invalid IV length',
|
|
63
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidSignature]: 'Invalid signature provided',
|
|
64
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidRecipientIds]: 'Invalid recipient IDs',
|
|
65
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidTupleSizeTemplate]: 'Tuple size must be between {TUPLE_MIN_SIZE} and {TUPLE_MAX_SIZE}',
|
|
66
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_MethodMustBeImplementedByDerivedClass]: 'Method must be implemented by derived class',
|
|
67
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_NoChecksum]: 'No checksum provided',
|
|
68
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_OriginalDataLengthNegative]: 'Original data length cannot be negative',
|
|
69
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidEncryptionType]: 'Invalid encryption type',
|
|
70
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidRecipientCount]: 'Invalid recipient count',
|
|
71
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidRecipientKeys]: 'Invalid recipient keys',
|
|
72
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_EncryptionRecipientNotFoundInRecipients]: 'Encryption recipient not found in recipients',
|
|
73
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_EncryptionRecipientHasNoPrivateKey]: 'Encryption recipient has no private key',
|
|
74
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockValidationError_InvalidCreator]: 'Invalid creator',
|
|
75
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockMetadata_Template]: 'Block metadata error: {REASON}',
|
|
76
|
+
[brightChainStrings_1.BrightChainStrings.Error_BufferError_InvalidBufferTypeTemplate]: 'Invalid buffer type. Expected Buffer, got: {TYPE}',
|
|
77
|
+
[brightChainStrings_1.BrightChainStrings.Error_Checksum_MismatchTemplate]: 'Checksum mismatch: expected {EXPECTED}, got {CHECKSUM}',
|
|
78
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockSize_InvalidTemplate]: 'Invalid block size: {BLOCK_SIZE}',
|
|
79
|
+
[brightChainStrings_1.BrightChainStrings.Error_Credentials_Invalid]: 'Invalid credentials.',
|
|
80
|
+
// NOTE: Email and GUID errors moved to external libraries (SuiteCoreStringKey, EciesStringKey)
|
|
81
|
+
// Isolated Key Error
|
|
82
|
+
[brightChainStrings_1.BrightChainStrings.Error_IsolatedKeyError_InvalidPublicKey]: 'Invalid public key: must be an isolated key',
|
|
83
|
+
[brightChainStrings_1.BrightChainStrings.Error_IsolatedKeyError_InvalidKeyId]: 'Key isolation violation: invalid key ID',
|
|
84
|
+
[brightChainStrings_1.BrightChainStrings.Error_IsolatedKeyError_InvalidKeyFormat]: 'Invalid key format',
|
|
85
|
+
[brightChainStrings_1.BrightChainStrings.Error_IsolatedKeyError_InvalidKeyLength]: 'Invalid key length',
|
|
86
|
+
[brightChainStrings_1.BrightChainStrings.Error_IsolatedKeyError_InvalidKeyType]: 'Invalid key type',
|
|
87
|
+
[brightChainStrings_1.BrightChainStrings.Error_IsolatedKeyError_KeyIsolationViolation]: 'Key isolation violation: ciphertexts from different key instances',
|
|
88
|
+
// NOTE: PBKDF2 errors moved to EciesStringKey
|
|
89
|
+
// Block Handle Error
|
|
90
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockHandle_BlockConstructorMustBeValid]: 'blockConstructor must be a valid constructor function',
|
|
91
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockHandle_BlockSizeRequired]: 'blockSize is required',
|
|
92
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockHandle_DataMustBeUint8Array]: 'data must be a Uint8Array',
|
|
93
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockHandle_ChecksumMustBeChecksum]: 'checksum must be a Checksum',
|
|
94
|
+
// Block Handle Tuple Error
|
|
95
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockHandleTuple_FailedToLoadBlockTemplate]: 'Failed to load block {CHECKSUM}: {ERROR}',
|
|
96
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockHandleTuple_FailedToStoreXorResultTemplate]: 'Failed to store XOR result: {ERROR}',
|
|
97
|
+
// Block Service Error
|
|
98
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_BlockWhitenerCountMismatch]: 'Number of blocks and whiteners must be the same',
|
|
99
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_EmptyBlocksArray]: 'Blocks array must not be empty',
|
|
100
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_BlockSizeMismatch]: 'All blocks must have the same block size',
|
|
101
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_NoWhitenersProvided]: 'No whiteners provided',
|
|
102
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_AlreadyInitialized]: 'BlockService subsystem already initialized',
|
|
103
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_Uninitialized]: 'BlockService subsystem not initialized',
|
|
104
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_BlockAlreadyExistsTemplate]: 'Block already exists: {ID}',
|
|
105
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_RecipientRequiredForEncryption]: 'Recipient is required for encryption',
|
|
106
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_CannotDetermineFileLength]: 'Cannot determine file length',
|
|
107
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_CannotDetermineBlockSize]: 'Cannot determine block size',
|
|
108
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_CannotDetermineFileName]: 'Unable to determine file name',
|
|
109
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_CannotDetermineMimeType]: 'Unable to determine MIME type',
|
|
110
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_FilePathNotProvided]: 'File path not provided',
|
|
111
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_UnableToDetermineBlockSize]: 'Unable to determine block size',
|
|
112
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_InvalidBlockData]: 'Invalid block data',
|
|
113
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockServiceError_InvalidBlockType]: 'Invalid block type',
|
|
114
|
+
// Quorum Error
|
|
115
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumError_InvalidQuorumId]: 'Invalid quorum ID',
|
|
116
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumError_DocumentNotFound]: 'Document not found',
|
|
117
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumError_UnableToRestoreDocument]: 'Unable to restore document',
|
|
118
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumError_NotImplemented]: 'Not implemented',
|
|
119
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumError_Uninitialized]: 'Quorum subsystem not intialized',
|
|
120
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumError_MemberNotFound]: 'Member not found',
|
|
121
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumError_NotEnoughMembers]: 'Not enough members for quorum operation',
|
|
122
|
+
// System Keyring Error
|
|
123
|
+
[brightChainStrings_1.BrightChainStrings.Error_SystemKeyringError_KeyNotFoundTemplate]: 'Key {KEY} not found',
|
|
124
|
+
[brightChainStrings_1.BrightChainStrings.Error_SystemKeyringError_RateLimitExceeded]: 'Rate limit exceeded',
|
|
125
|
+
// NOTE: FEC errors moved to SuiteCoreStringKey in @digitaldefiance/suite-core-lib
|
|
126
|
+
// BrightChain-specific FEC errors remain here
|
|
127
|
+
[brightChainStrings_1.BrightChainStrings.Error_FecError_InputBlockRequired]: 'Input block is required',
|
|
128
|
+
[brightChainStrings_1.BrightChainStrings.Error_FecError_DamagedBlockRequired]: 'Damaged block is required',
|
|
129
|
+
[brightChainStrings_1.BrightChainStrings.Error_FecError_ParityBlocksRequired]: 'Parity blocks are required',
|
|
130
|
+
[brightChainStrings_1.BrightChainStrings.Error_FecError_InvalidParityBlockSizeTemplate]: 'Invalid parity block size: expected {EXPECTED_SIZE}, got {ACTUAL_SIZE}',
|
|
131
|
+
[brightChainStrings_1.BrightChainStrings.Error_FecError_InvalidRecoveredBlockSizeTemplate]: 'Invalid recovered block size: expected {EXPECTED_SIZE}, got {ACTUAL_SIZE}',
|
|
132
|
+
[brightChainStrings_1.BrightChainStrings.Error_FecError_InputDataMustBeBuffer]: 'Input data must be a Buffer',
|
|
133
|
+
[brightChainStrings_1.BrightChainStrings.Error_FecError_BlockSizeMismatch]: 'Block sizes must match',
|
|
134
|
+
[brightChainStrings_1.BrightChainStrings.Error_FecError_DamagedBlockDataMustBeBuffer]: 'Damaged block data must be a Buffer',
|
|
135
|
+
[brightChainStrings_1.BrightChainStrings.Error_FecError_ParityBlockDataMustBeBuffer]: 'Parity block data must be a Buffer',
|
|
136
|
+
// NOTE: ECIES errors moved to EciesStringKey in @digitaldefiance/ecies-lib
|
|
137
|
+
// BrightChain-specific ECIES errors remain here
|
|
138
|
+
[brightChainStrings_1.BrightChainStrings.Error_EciesError_InvalidBlockType]: 'Invalid block type for ECIES operation',
|
|
139
|
+
// Voting derivation error
|
|
140
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingDerivationError_FailedToGeneratePrime]: 'Failed to generate prime number after maximum attempts',
|
|
141
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingDerivationError_IdenticalPrimes]: 'Generated identical primes',
|
|
142
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingDerivationError_KeyPairTooSmallTemplate]: 'Generated key pair too small: {ACTUAL_BITS} bits < {REQUIRED_BITS} bits',
|
|
143
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingDerivationError_KeyPairValidationFailed]: 'Key pair validation failed',
|
|
144
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingDerivationError_ModularInverseDoesNotExist]: 'Modular multiplicative inverse does not exist',
|
|
145
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingDerivationError_PrivateKeyMustBeBuffer]: 'Private key must be a Buffer',
|
|
146
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingDerivationError_PublicKeyMustBeBuffer]: 'Public key must be a Buffer',
|
|
147
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingDerivationError_InvalidPublicKeyFormat]: 'Invalid public key format',
|
|
148
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingDerivationError_InvalidEcdhKeyPair]: 'Invalid ECDH key pair',
|
|
149
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingDerivationError_FailedToDeriveVotingKeysTemplate]: 'Failed to derive voting keys: {ERROR}',
|
|
150
|
+
// Voting error
|
|
151
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidKeyPairPublicKeyNotIsolated]: 'Invalid key pair: public key must be isolated',
|
|
152
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidKeyPairPrivateKeyNotIsolated]: 'Invalid key pair: private key must be isolated',
|
|
153
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPublicKeyNotIsolated]: 'Invalid public key: must be an isolated key',
|
|
154
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPublicKeyBufferTooShort]: 'Invalid public key buffer: too short',
|
|
155
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPublicKeyBufferWrongMagic]: 'Invalid public key buffer: wrong magic',
|
|
156
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_UnsupportedPublicKeyVersion]: 'Unsupported public key version',
|
|
157
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPublicKeyBufferIncompleteN]: 'Invalid public key buffer: incomplete n value',
|
|
158
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPublicKeyBufferFailedToParseNTemplate]: 'Invalid public key buffer: failed to parse n: {ERROR}',
|
|
159
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPublicKeyIdMismatch]: 'Invalid public key: key ID mismatch',
|
|
160
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_ModularInverseDoesNotExist]: 'Modular multiplicative inverse does not exist',
|
|
161
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_PrivateKeyMustBeBuffer]: 'Private key must be a Buffer',
|
|
162
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_PublicKeyMustBeBuffer]: 'Public key must be a Buffer',
|
|
163
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPublicKeyFormat]: 'Invalid public key format',
|
|
164
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidEcdhKeyPair]: 'Invalid ECDH key pair',
|
|
165
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_FailedToDeriveVotingKeysTemplate]: 'Failed to derive voting keys: {ERROR}',
|
|
166
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_FailedToGeneratePrime]: 'Failed to generate prime number after maximum attempts',
|
|
167
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_IdenticalPrimes]: 'Generated identical primes',
|
|
168
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_KeyPairTooSmallTemplate]: 'Generated key pair too small: {ACTUAL_BITS} bits < {REQUIRED_BITS} bits',
|
|
169
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_KeyPairValidationFailed]: 'Key pair validation failed',
|
|
170
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidVotingKey]: 'Invalid voting key',
|
|
171
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidKeyPair]: 'Invalid key pair',
|
|
172
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPublicKey]: 'Invalid public key',
|
|
173
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPrivateKey]: 'Invalid private key',
|
|
174
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidEncryptedKey]: 'Invalid encrypted key',
|
|
175
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPrivateKeyBufferTooShort]: 'Invalid private key buffer: too short',
|
|
176
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPrivateKeyBufferWrongMagic]: 'Invalid private key buffer: wrong magic',
|
|
177
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_UnsupportedPrivateKeyVersion]: 'Unsupported private key version',
|
|
178
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPrivateKeyBufferIncompleteLambda]: 'Invalid private key buffer: incomplete lambda',
|
|
179
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPrivateKeyBufferIncompleteMuLength]: 'Invalid private key buffer: incomplete mu length',
|
|
180
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPrivateKeyBufferIncompleteMu]: 'Invalid private key buffer: incomplete mu',
|
|
181
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPrivateKeyBufferFailedToParse]: 'Invalid private key buffer: failed to parse',
|
|
182
|
+
[brightChainStrings_1.BrightChainStrings.Error_VotingError_InvalidPrivateKeyBufferFailedToCreate]: 'Invalid private key buffer: failed to create',
|
|
183
|
+
// Store rror
|
|
184
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_KeyNotFoundTemplate]: 'Key not found: {KEY}',
|
|
185
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_StorePathRequired]: 'Store path is required',
|
|
186
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_StorePathNotFound]: 'Store path not found',
|
|
187
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_BlockSizeRequired]: 'Block size is required',
|
|
188
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_BlockIdRequired]: 'Block ID is required',
|
|
189
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_InvalidBlockIdTooShort]: 'Invalid block ID: too short',
|
|
190
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_BlockFileSizeMismatch]: 'Block file size mismatch',
|
|
191
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_BlockValidationFailed]: 'Block validation failed',
|
|
192
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_BlockPathAlreadyExistsTemplate]: 'Block path {PATH} already exists',
|
|
193
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_BlockAlreadyExists]: 'Block already exists',
|
|
194
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_NoBlocksProvided]: 'No blocks provided',
|
|
195
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_CannotStoreEphemeralData]: 'Cannot store ephemeral structured data',
|
|
196
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_BlockIdMismatchTemplate]: 'Key {KEY} does not match block ID {BLOCK_ID}',
|
|
197
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_BlockSizeMismatch]: 'Block size does not match store block size',
|
|
198
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_InvalidBlockMetadataTemplate]: 'Invalid block metadata: {ERROR}',
|
|
199
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_BlockDirectoryCreationFailedTemplate]: 'Failed to create block directory: {ERROR}',
|
|
200
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_BlockDeletionFailedTemplate]: 'Failed to delete block: {ERROR}',
|
|
201
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_NotImplemented]: 'Operation not implemented',
|
|
202
|
+
[brightChainStrings_1.BrightChainStrings.Error_StoreError_InsufficientRandomBlocksTemplate]: 'Insufficient random blocks available: requested {REQUESTED}, available {AVAILABLE}',
|
|
203
|
+
// NOTE: Secure storage errors moved to EciesStringKey in @digitaldefiance/ecies-lib
|
|
204
|
+
// NOTE: Symmetric errors moved to SuiteCoreStringKey in @digitaldefiance/suite-core-lib
|
|
205
|
+
// Tuple Error
|
|
206
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleError_InvalidTupleSize]: 'Invalid tuple size',
|
|
207
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleError_BlockSizeMismatch]: 'All blocks in tuple must have the same size',
|
|
208
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleError_NoBlocksToXor]: 'No blocks to XOR',
|
|
209
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleError_InvalidBlockCount]: 'Invalid number of blocks for tuple',
|
|
210
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleError_InvalidBlockType]: 'Invalid block type',
|
|
211
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleError_InvalidSourceLength]: 'Source length must be positive',
|
|
212
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleError_RandomBlockGenerationFailed]: 'Failed to generate random block',
|
|
213
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleError_WhiteningBlockGenerationFailed]: 'Failed to generate whitening block',
|
|
214
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleError_MissingParameters]: 'All parameters are required',
|
|
215
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleError_XorOperationFailedTemplate]: 'Failed to XOR blocks: {ERROR}',
|
|
216
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleError_DataStreamProcessingFailedTemplate]: 'Failed to process data stream: {ERROR}',
|
|
217
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleError_EncryptedDataStreamProcessingFailedTemplate]: 'Failed to process encrypted data stream: {ERROR}',
|
|
218
|
+
// Sealing Error
|
|
219
|
+
[brightChainStrings_1.BrightChainStrings.Error_SealingError_InvalidBitRange]: 'Bits must be between 3 and 20',
|
|
220
|
+
[brightChainStrings_1.BrightChainStrings.Error_SealingError_InvalidMemberArray]: 'amongstMembers must be an array of Member',
|
|
221
|
+
[brightChainStrings_1.BrightChainStrings.Error_SealingError_NotEnoughMembersToUnlock]: 'Not enough members to unlock the document',
|
|
222
|
+
[brightChainStrings_1.BrightChainStrings.Error_SealingError_TooManyMembersToUnlock]: 'Too many members to unlock the document',
|
|
223
|
+
[brightChainStrings_1.BrightChainStrings.Error_SealingError_MissingPrivateKeys]: 'Not all members have private keys loaded',
|
|
224
|
+
[brightChainStrings_1.BrightChainStrings.Error_SealingError_EncryptedShareNotFound]: 'Encrypted share not found',
|
|
225
|
+
[brightChainStrings_1.BrightChainStrings.Error_SealingError_MemberNotFound]: 'Member not found',
|
|
226
|
+
[brightChainStrings_1.BrightChainStrings.Error_SealingError_FailedToSealTemplate]: 'Failed to seal document: {ERROR}',
|
|
227
|
+
// CBL Error
|
|
228
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_CblRequired]: 'CBL is required',
|
|
229
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_WhitenedBlockFunctionRequired]: 'getWhitenedBlock function is required',
|
|
230
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_FailedToLoadBlock]: 'Failed to load block',
|
|
231
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_ExpectedEncryptedDataBlock]: 'Expected encrypted data block',
|
|
232
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_ExpectedOwnedDataBlock]: 'Expected owned data block',
|
|
233
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_InvalidStructure]: 'Invalid CBL structure',
|
|
234
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_CreatorUndefined]: 'Creator cannot be undefined',
|
|
235
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_BlockNotReadable]: 'Block cannot be read',
|
|
236
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_CreatorRequiredForSignature]: 'Creator is required for signature validation',
|
|
237
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_InvalidCreatorId]: 'Invalid creator ID',
|
|
238
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_FileNameRequired]: 'File name is required',
|
|
239
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_FileNameEmpty]: 'File name cannot be empty',
|
|
240
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_FileNameWhitespace]: 'File name cannot start or end with spaces',
|
|
241
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_FileNameInvalidChar]: 'File name contains invalid character',
|
|
242
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_FileNameControlChars]: 'File name contains control characters',
|
|
243
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_FileNamePathTraversal]: 'File name cannot contain path traversal',
|
|
244
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_MimeTypeRequired]: 'MIME type is required',
|
|
245
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_MimeTypeEmpty]: 'MIME type cannot be empty',
|
|
246
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_MimeTypeWhitespace]: 'MIME type cannot start or end with spaces',
|
|
247
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_MimeTypeLowercase]: 'MIME type must be lowercase',
|
|
248
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_MimeTypeInvalidFormat]: 'Invalid MIME type format',
|
|
249
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_InvalidBlockSize]: 'Invalid block size',
|
|
250
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_MetadataSizeExceeded]: 'Metadata size exceeds maximum allowed size',
|
|
251
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_MetadataSizeNegative]: 'Total metadata size cannot be negative',
|
|
252
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_InvalidMetadataBuffer]: 'Invalid metadata buffer',
|
|
253
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_CreationFailedTemplate]: 'Failed to create CBL block {ERROR}',
|
|
254
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_InsufficientCapacityTemplate]: 'Block size ({BLOCK_SIZE}) is too small to hold CBL data ({DATA_SIZE})',
|
|
255
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_NotExtendedCbl]: 'Not an extended CBL',
|
|
256
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_InvalidSignature]: 'Invalid CBL signature',
|
|
257
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_CreatorIdMismatch]: 'Creator ID mismatch',
|
|
258
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_FileSizeTooLarge]: 'File size too large',
|
|
259
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_FileSizeTooLargeForNode]: 'File size above the maximum allowable for the current node',
|
|
260
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_InvalidTupleSize]: 'Invalid tuple size',
|
|
261
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_FileNameTooLong]: 'File name too long',
|
|
262
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_MimeTypeTooLong]: 'MIME type too long',
|
|
263
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_AddressCountExceedsCapacity]: 'Address count exceeds block capacity',
|
|
264
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_CblEncrypted]: 'CBL is encrypted. Decrypt before use.',
|
|
265
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_UserRequiredForDecryption]: 'User is required for decryption',
|
|
266
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_NotASuperCbl]: 'Not a super CBL',
|
|
267
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_FailedToExtractCreatorId]: 'Failed to extract creator ID bytes from CBL header',
|
|
268
|
+
[brightChainStrings_1.BrightChainStrings.Error_CblError_FailedToExtractProvidedCreatorId]: 'Failed to extract member ID bytes from provided creator',
|
|
269
|
+
// Stream Error
|
|
270
|
+
[brightChainStrings_1.BrightChainStrings.Error_StreamError_BlockSizeRequired]: 'Block size is required',
|
|
271
|
+
[brightChainStrings_1.BrightChainStrings.Error_StreamError_WhitenedBlockSourceRequired]: 'Whitened block source is required',
|
|
272
|
+
[brightChainStrings_1.BrightChainStrings.Error_StreamError_RandomBlockSourceRequired]: 'Random block source is required',
|
|
273
|
+
[brightChainStrings_1.BrightChainStrings.Error_StreamError_InputMustBeBuffer]: 'Input must be a buffer',
|
|
274
|
+
[brightChainStrings_1.BrightChainStrings.Error_StreamError_FailedToGetRandomBlock]: 'Failed to get random block',
|
|
275
|
+
[brightChainStrings_1.BrightChainStrings.Error_StreamError_FailedToGetWhiteningBlock]: 'Failed to get whitening/random block',
|
|
276
|
+
[brightChainStrings_1.BrightChainStrings.Error_StreamError_IncompleteEncryptedBlock]: 'Incomplete encrypted block',
|
|
277
|
+
[brightChainStrings_1.BrightChainStrings.Error_SessionID_Invalid]: 'Invalid session ID.',
|
|
278
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleCount_InvalidTemplate]: 'Invalid tuple count ({TUPLE_COUNT}), must be between {TUPLE_MIN_SIZE} and {TUPLE_MAX_SIZE}',
|
|
279
|
+
// NOTE: Most Member errors moved to EciesStringKey in @digitaldefiance/ecies-lib
|
|
280
|
+
// BrightChain-specific member errors remain (voting-related, blocks-related)
|
|
281
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberError_InsufficientRandomBlocks]: 'Insufficient random blocks.',
|
|
282
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberError_FailedToCreateMemberBlocks]: 'Failed to create member blocks.',
|
|
283
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberError_InvalidMemberBlocks]: 'Invalid member blocks.',
|
|
284
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberError_PrivateKeyRequiredToDeriveVotingKeyPair]: 'Private key required to derive voting key pair.',
|
|
285
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemoryTupleError_InvalidTupleSizeTemplate]: `Tuple must have {TUPLE_SIZE} blocks`,
|
|
286
|
+
// Multi Encrypted Error
|
|
287
|
+
[brightChainStrings_1.BrightChainStrings.Error_MultiEncryptedError_DataTooShort]: 'Data too short to contain encryption header',
|
|
288
|
+
[brightChainStrings_1.BrightChainStrings.Error_MultiEncryptedError_DataLengthExceedsCapacity]: 'Data length exceeds block capacity',
|
|
289
|
+
[brightChainStrings_1.BrightChainStrings.Error_MultiEncryptedError_CreatorMustBeMember]: 'Creator must be a Member',
|
|
290
|
+
[brightChainStrings_1.BrightChainStrings.Error_MultiEncryptedError_BlockNotReadable]: 'Block cannot be read',
|
|
291
|
+
[brightChainStrings_1.BrightChainStrings.Error_MultiEncryptedError_InvalidEphemeralPublicKeyLength]: 'Invalid ephemeral public key length',
|
|
292
|
+
[brightChainStrings_1.BrightChainStrings.Error_MultiEncryptedError_InvalidIVLength]: 'Invalid IV length',
|
|
293
|
+
[brightChainStrings_1.BrightChainStrings.Error_MultiEncryptedError_InvalidAuthTagLength]: 'Invalid auth tag length',
|
|
294
|
+
[brightChainStrings_1.BrightChainStrings.Error_MultiEncryptedError_ChecksumMismatch]: 'Checksum mismatch',
|
|
295
|
+
[brightChainStrings_1.BrightChainStrings.Error_MultiEncryptedError_RecipientMismatch]: 'Recipient list does not match header recipient count',
|
|
296
|
+
[brightChainStrings_1.BrightChainStrings.Error_MultiEncryptedError_RecipientsAlreadyLoaded]: 'Recipients already loaded',
|
|
297
|
+
// Whitened Error
|
|
298
|
+
[brightChainStrings_1.BrightChainStrings.Error_WhitenedError_BlockNotReadable]: 'Block cannot be read',
|
|
299
|
+
[brightChainStrings_1.BrightChainStrings.Error_WhitenedError_BlockSizeMismatch]: 'Block sizes must match',
|
|
300
|
+
[brightChainStrings_1.BrightChainStrings.Error_WhitenedError_DataLengthMismatch]: 'Data and random data lengths must match',
|
|
301
|
+
[brightChainStrings_1.BrightChainStrings.Error_WhitenedError_InvalidBlockSize]: 'Invalid block size',
|
|
302
|
+
// Handle Tuple Error
|
|
303
|
+
[brightChainStrings_1.BrightChainStrings.Error_HandleTupleError_InvalidTupleSizeTemplate]: 'Invalid tuple size ({TUPLE_SIZE})',
|
|
304
|
+
[brightChainStrings_1.BrightChainStrings.Error_HandleTupleError_BlockSizeMismatch]: 'All blocks in tuple must have the same size',
|
|
305
|
+
[brightChainStrings_1.BrightChainStrings.Error_HandleTupleError_NoBlocksToXor]: 'No blocks to XOR',
|
|
306
|
+
[brightChainStrings_1.BrightChainStrings.Error_HandleTupleError_BlockSizesMustMatch]: 'Block sizes must match',
|
|
307
|
+
// Owned Data Error
|
|
308
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_CreatorRequired]: 'Creator is required',
|
|
309
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_DataRequired]: 'Data is required',
|
|
310
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_DataLengthExceedsCapacity]: 'Data length exceeds block capacity',
|
|
311
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_ActualDataLengthNegative]: 'Actual data length must be positive',
|
|
312
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_ActualDataLengthExceedsDataLength]: 'Actual data length cannot exceed data length',
|
|
313
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_CreatorRequiredForEncryption]: 'Creator is required for encryption',
|
|
314
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_UnexpectedEncryptedBlockType]: 'Unexpected encrypted block type',
|
|
315
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_CannotEncrypt]: 'Block cannot be encrypted',
|
|
316
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_CannotDecrypt]: 'Block cannot be decrypted',
|
|
317
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_CreatorPrivateKeyRequired]: 'Creator private key is required',
|
|
318
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_InvalidMultiEncryptionRecipientCount]: 'Invalid multi-encryption recipient count',
|
|
319
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_InvalidNewBlockType]: 'Invalid new block type',
|
|
320
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_UnexpectedEphemeralBlockType]: 'Unexpected ephemeral block type',
|
|
321
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_RecipientRequired]: 'Recipient required',
|
|
322
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_RecipientKeyRequired]: 'Recipient private key required',
|
|
323
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_DataLengthMustMatchBlockSize]: 'Data length must match block size',
|
|
324
|
+
// Memory Tuple Error
|
|
325
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemoryTupleError_BlockSizeMismatch]: 'All blocks in tuple must have the same size',
|
|
326
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemoryTupleError_NoBlocksToXor]: 'No blocks to XOR',
|
|
327
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemoryTupleError_InvalidBlockCount]: 'Invalid number of blocks for tuple',
|
|
328
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemoryTupleError_ExpectedBlockIdsTemplate]: `Expected {TUPLE_SIZE} block IDs`,
|
|
329
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemoryTupleError_ExpectedBlocksTemplate]: `Expected {TUPLE_SIZE} blocks`,
|
|
330
|
+
[brightChainStrings_1.BrightChainStrings.Error_Hydration_FailedToHydrateTemplate]: 'Failed to hydrate: {ERROR}',
|
|
331
|
+
[brightChainStrings_1.BrightChainStrings.Error_Serialization_FailedToSerializeTemplate]: 'Failed to serialize: {ERROR}',
|
|
332
|
+
[brightChainStrings_1.BrightChainStrings.Error_Checksum_Invalid]: 'Invalid checksum.',
|
|
333
|
+
[brightChainStrings_1.BrightChainStrings.Error_Creator_Invalid]: 'Invalid creator.',
|
|
334
|
+
[brightChainStrings_1.BrightChainStrings.Error_ID_InvalidFormat]: 'Invalid ID format.',
|
|
335
|
+
[brightChainStrings_1.BrightChainStrings.Error_References_Invalid]: 'Invalid references.',
|
|
336
|
+
[brightChainStrings_1.BrightChainStrings.Error_Signature_Invalid]: 'Invalid signature.',
|
|
337
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_Mismatch]: 'Metadata mismatch.',
|
|
338
|
+
[brightChainStrings_1.BrightChainStrings.Error_Token_Expired]: 'Token expired.',
|
|
339
|
+
[brightChainStrings_1.BrightChainStrings.Error_Token_Invalid]: 'Token invalid.',
|
|
340
|
+
[brightChainStrings_1.BrightChainStrings.Error_Unexpected_Error]: 'An unexpected error occurred.',
|
|
341
|
+
[brightChainStrings_1.BrightChainStrings.Error_User_NotFound]: 'User not found.',
|
|
342
|
+
[brightChainStrings_1.BrightChainStrings.Error_Validation_Error]: 'Validation error.',
|
|
343
|
+
// NOTE: UI strings and common errors moved to SuiteCoreStringKey in @digitaldefiance/suite-core-lib
|
|
344
|
+
[brightChainStrings_1.BrightChainStrings.ForgotPassword_Title]: 'Forgot Password',
|
|
345
|
+
[brightChainStrings_1.BrightChainStrings.Register_Button]: 'Register',
|
|
346
|
+
[brightChainStrings_1.BrightChainStrings.Register_Error]: 'An error occurred during registration.',
|
|
347
|
+
[brightChainStrings_1.BrightChainStrings.Register_Success]: 'Registration successful.',
|
|
348
|
+
[brightChainStrings_1.BrightChainStrings.Error_Capacity_Insufficient]: 'Insufficient capacity.',
|
|
349
|
+
[brightChainStrings_1.BrightChainStrings.Error_Implementation_NotImplemented]: 'Not implemented.',
|
|
350
|
+
// Block Sizes
|
|
351
|
+
[brightChainStrings_1.BrightChainStrings.BlockSize_Unknown]: 'Unknown',
|
|
352
|
+
[brightChainStrings_1.BrightChainStrings.BlockSize_Message]: 'Message',
|
|
353
|
+
[brightChainStrings_1.BrightChainStrings.BlockSize_Tiny]: 'Tiny',
|
|
354
|
+
[brightChainStrings_1.BrightChainStrings.BlockSize_Small]: 'Small',
|
|
355
|
+
[brightChainStrings_1.BrightChainStrings.BlockSize_Medium]: 'Medium',
|
|
356
|
+
[brightChainStrings_1.BrightChainStrings.BlockSize_Large]: 'Large',
|
|
357
|
+
[brightChainStrings_1.BrightChainStrings.BlockSize_Huge]: 'Huge',
|
|
358
|
+
// Document Error
|
|
359
|
+
[brightChainStrings_1.BrightChainStrings.Error_DocumentError_InvalidValueTemplate]: 'Invalid value for {KEY}',
|
|
360
|
+
[brightChainStrings_1.BrightChainStrings.Error_DocumentError_FieldRequiredTemplate]: 'Field {KEY} is required.',
|
|
361
|
+
[brightChainStrings_1.BrightChainStrings.Error_DocumentError_AlreadyInitialized]: 'Document subsystem is already initialized',
|
|
362
|
+
[brightChainStrings_1.BrightChainStrings.Error_DocumentError_Uninitialized]: 'Document subsystem is not initialized',
|
|
363
|
+
// XOR Service Errors
|
|
364
|
+
[brightChainStrings_1.BrightChainStrings.Error_Xor_LengthMismatchTemplate]: 'XOR requires equal-length arrays: a.length={A_LENGTH}, b.length={B_LENGTH}',
|
|
365
|
+
[brightChainStrings_1.BrightChainStrings.Error_Xor_NoArraysProvided]: 'At least one array must be provided for XOR',
|
|
366
|
+
[brightChainStrings_1.BrightChainStrings.Error_Xor_ArrayLengthMismatchTemplate]: 'All arrays must have the same length. Expected: {EXPECTED_LENGTH}, got: {ACTUAL_LENGTH} at index {INDEX}',
|
|
367
|
+
[brightChainStrings_1.BrightChainStrings.Error_Xor_CryptoApiNotAvailable]: 'Crypto API is not available in this environment',
|
|
368
|
+
// Tuple Storage Service Errors
|
|
369
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleStorage_DataExceedsBlockSizeTemplate]: 'Data size ({DATA_SIZE}) exceeds block size ({BLOCK_SIZE})',
|
|
370
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleStorage_InvalidMagnetProtocol]: 'Invalid magnet protocol. Expected "magnet:"',
|
|
371
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleStorage_InvalidMagnetType]: 'Invalid magnet type. Expected "brightchain"',
|
|
372
|
+
[brightChainStrings_1.BrightChainStrings.Error_TupleStorage_MissingMagnetParameters]: 'Missing required magnet parameters',
|
|
373
|
+
// Location Record Errors
|
|
374
|
+
[brightChainStrings_1.BrightChainStrings.Error_LocationRecord_NodeIdRequired]: 'Node ID is required',
|
|
375
|
+
[brightChainStrings_1.BrightChainStrings.Error_LocationRecord_LastSeenRequired]: 'Last seen timestamp is required',
|
|
376
|
+
[brightChainStrings_1.BrightChainStrings.Error_LocationRecord_IsAuthoritativeRequired]: 'isAuthoritative flag is required',
|
|
377
|
+
[brightChainStrings_1.BrightChainStrings.Error_LocationRecord_InvalidLastSeenDate]: 'Invalid last seen date',
|
|
378
|
+
[brightChainStrings_1.BrightChainStrings.Error_LocationRecord_InvalidLatencyMs]: 'Latency must be a non-negative number',
|
|
379
|
+
// Metadata Errors
|
|
380
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_BlockIdRequired]: 'Block ID is required',
|
|
381
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_CreatedAtRequired]: 'Created at timestamp is required',
|
|
382
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_LastAccessedAtRequired]: 'Last accessed at timestamp is required',
|
|
383
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_LocationUpdatedAtRequired]: 'Location updated at timestamp is required',
|
|
384
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_InvalidCreatedAtDate]: 'Invalid created at date',
|
|
385
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_InvalidLastAccessedAtDate]: 'Invalid last accessed at date',
|
|
386
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_InvalidLocationUpdatedAtDate]: 'Invalid location updated at date',
|
|
387
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_InvalidExpiresAtDate]: 'Invalid expires at date',
|
|
388
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_InvalidAvailabilityStateTemplate]: 'Invalid availability state: {STATE}',
|
|
389
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_LocationRecordsMustBeArray]: 'Location records must be an array',
|
|
390
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_InvalidLocationRecordTemplate]: 'Invalid location record at index {INDEX}',
|
|
391
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_InvalidAccessCount]: 'Access count must be a non-negative number',
|
|
392
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_InvalidTargetReplicationFactor]: 'Target replication factor must be a positive number',
|
|
393
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_InvalidSize]: 'Size must be a non-negative number',
|
|
394
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_ParityBlockIdsMustBeArray]: 'Parity block IDs must be an array',
|
|
395
|
+
[brightChainStrings_1.BrightChainStrings.Error_Metadata_ReplicaNodeIdsMustBeArray]: 'Replica node IDs must be an array',
|
|
396
|
+
// Service Provider Errors
|
|
397
|
+
[brightChainStrings_1.BrightChainStrings.Error_ServiceProvider_UseSingletonInstance]: 'Use ServiceProvider.getInstance() instead of creating a new instance',
|
|
398
|
+
[brightChainStrings_1.BrightChainStrings.Error_ServiceProvider_NotInitialized]: 'ServiceProvider has not been initialized',
|
|
399
|
+
[brightChainStrings_1.BrightChainStrings.Error_ServiceLocator_NotSet]: 'ServiceLocator has not been set',
|
|
400
|
+
// Block Service Errors (additional)
|
|
401
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockService_CannotEncrypt]: 'Cannot encrypt block',
|
|
402
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockService_BlocksArrayEmpty]: 'Blocks array must not be empty',
|
|
403
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockService_BlockSizesMustMatch]: 'All blocks must have the same block size',
|
|
404
|
+
// Message Router Errors
|
|
405
|
+
[brightChainStrings_1.BrightChainStrings.Error_MessageRouter_MessageNotFoundTemplate]: 'Message not found: {MESSAGE_ID}',
|
|
406
|
+
// Browser Config Errors
|
|
407
|
+
[brightChainStrings_1.BrightChainStrings.Error_BrowserConfig_NotImplementedTemplate]: 'Method {METHOD} is not implemented in browser environment',
|
|
408
|
+
// Debug Errors
|
|
409
|
+
[brightChainStrings_1.BrightChainStrings.Error_Debug_UnsupportedFormat]: 'Unsupported format for debug output',
|
|
410
|
+
// Secure Heap Storage Errors
|
|
411
|
+
[brightChainStrings_1.BrightChainStrings.Error_SecureHeap_KeyNotFound]: 'Key not found in secure heap storage',
|
|
412
|
+
// I18n Errors
|
|
413
|
+
[brightChainStrings_1.BrightChainStrings.Error_I18n_KeyConflictObjectTemplate]: 'Key conflict detected: {KEY} already exists in {OBJECT}',
|
|
414
|
+
[brightChainStrings_1.BrightChainStrings.Error_I18n_KeyConflictValueTemplate]: 'Key conflict detected: {KEY} has conflicting value {VALUE}',
|
|
415
|
+
[brightChainStrings_1.BrightChainStrings.Error_I18n_StringsNotFoundTemplate]: 'Strings not found for language: {LANGUAGE}',
|
|
416
|
+
// Document Errors (additional)
|
|
417
|
+
[brightChainStrings_1.BrightChainStrings.Error_Document_CreatorRequiredForSaving]: 'Creator is required for saving document',
|
|
418
|
+
[brightChainStrings_1.BrightChainStrings.Error_Document_CreatorRequiredForEncrypting]: 'Creator is required for encrypting document',
|
|
419
|
+
[brightChainStrings_1.BrightChainStrings.Error_Document_NoEncryptedData]: 'No encrypted data available',
|
|
420
|
+
[brightChainStrings_1.BrightChainStrings.Error_Document_FieldShouldBeArrayTemplate]: 'Field {FIELD} should be an array',
|
|
421
|
+
[brightChainStrings_1.BrightChainStrings.Error_Document_InvalidArrayValueTemplate]: 'Invalid array value at index {INDEX} in field {FIELD}',
|
|
422
|
+
[brightChainStrings_1.BrightChainStrings.Error_Document_FieldRequiredTemplate]: 'Field {FIELD} is required',
|
|
423
|
+
[brightChainStrings_1.BrightChainStrings.Error_Document_FieldInvalidTemplate]: 'Field {FIELD} is invalid',
|
|
424
|
+
[brightChainStrings_1.BrightChainStrings.Error_Document_InvalidValueTemplate]: 'Invalid value for field {FIELD}',
|
|
425
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberDocument_PublicCblIdNotSet]: 'Public CBL ID has not been set',
|
|
426
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberDocument_PrivateCblIdNotSet]: 'Private CBL ID has not been set',
|
|
427
|
+
[brightChainStrings_1.BrightChainStrings.Error_BaseMemberDocument_PublicCblIdNotSet]: 'Base member document public CBL ID has not been set',
|
|
428
|
+
[brightChainStrings_1.BrightChainStrings.Error_BaseMemberDocument_PrivateCblIdNotSet]: 'Base member document private CBL ID has not been set',
|
|
429
|
+
[brightChainStrings_1.BrightChainStrings.Error_Document_InvalidValueInArrayTemplate]: 'Invalid value in array for {KEY}',
|
|
430
|
+
[brightChainStrings_1.BrightChainStrings.Error_Document_FieldIsRequiredTemplate]: 'Field {FIELD} is required',
|
|
431
|
+
[brightChainStrings_1.BrightChainStrings.Error_Document_FieldIsInvalidTemplate]: 'Field {FIELD} is invalid',
|
|
432
|
+
// SimpleBrightChain Errors
|
|
433
|
+
[brightChainStrings_1.BrightChainStrings.Error_SimpleBrightChain_BlockNotFoundTemplate]: 'Block not found: {BLOCK_ID}',
|
|
434
|
+
// Currency Code Errors
|
|
435
|
+
[brightChainStrings_1.BrightChainStrings.Error_CurrencyCode_Invalid]: 'Invalid currency code',
|
|
436
|
+
// Console Output Warnings
|
|
437
|
+
[brightChainStrings_1.BrightChainStrings.Warning_BufferUtils_InvalidBase64String]: 'Invalid base64 string provided',
|
|
438
|
+
[brightChainStrings_1.BrightChainStrings.Warning_Keyring_FailedToLoad]: 'Failed to load keyring from storage',
|
|
439
|
+
[brightChainStrings_1.BrightChainStrings.Warning_I18n_TranslationFailedTemplate]: 'Translation failed for key {KEY}',
|
|
440
|
+
// Console Output Errors
|
|
441
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberStore_RollbackFailed]: 'Failed to rollback member store transaction',
|
|
442
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberCblService_CreateMemberCblFailed]: 'Failed to create member CBL',
|
|
443
|
+
[brightChainStrings_1.BrightChainStrings.Error_DeliveryTimeout_HandleTimeoutFailedTemplate]: 'Failed to handle delivery timeout: {ERROR}',
|
|
444
|
+
// Validator Errors
|
|
445
|
+
[brightChainStrings_1.BrightChainStrings.Error_Validator_InvalidBlockSizeTemplate]: 'Invalid block size: {BLOCK_SIZE}. Valid sizes are: {BLOCK_SIZES}',
|
|
446
|
+
[brightChainStrings_1.BrightChainStrings.Error_Validator_InvalidBlockTypeTemplate]: 'Invalid block type: {BLOCK_TYPE}. Valid types are: {BLOCK_TYPES}',
|
|
447
|
+
[brightChainStrings_1.BrightChainStrings.Error_Validator_InvalidEncryptionTypeTemplate]: 'Invalid encryption type: {ENCRYPTION_TYPE}. Valid types are: {ENCRYPTION_TYPES}',
|
|
448
|
+
[brightChainStrings_1.BrightChainStrings.Error_Validator_RecipientCountMustBeAtLeastOne]: 'Recipient count must be at least 1 for multi-recipient encryption',
|
|
449
|
+
[brightChainStrings_1.BrightChainStrings.Error_Validator_RecipientCountMaximumTemplate]: 'Recipient count cannot exceed {MAXIMUM}',
|
|
450
|
+
[brightChainStrings_1.BrightChainStrings.Error_Validator_FieldRequiredTemplate]: '{FIELD} is required',
|
|
451
|
+
[brightChainStrings_1.BrightChainStrings.Error_Validator_FieldCannotBeEmptyTemplate]: '{FIELD} cannot be empty',
|
|
452
|
+
// Miscellaneous Block Errors
|
|
453
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_BlockSizesMustMatch]: 'Block sizes must match',
|
|
454
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_DataCannotBeNullOrUndefined]: 'Data cannot be null or undefined',
|
|
455
|
+
[brightChainStrings_1.BrightChainStrings.Error_BlockError_DataLengthExceedsBlockSizeTemplate]: 'Data length ({LENGTH}) exceeds block size ({BLOCK_SIZE})',
|
|
456
|
+
// CPU Errors
|
|
457
|
+
[brightChainStrings_1.BrightChainStrings.Error_CPU_DuplicateOpcodeErrorTemplate]: 'Duplicate opcode 0x{OPCODE} in instruction set {INSTRUCTION_SET}',
|
|
458
|
+
[brightChainStrings_1.BrightChainStrings.Error_CPU_NotImplementedTemplate]: '{INSTRUCTION} is not implemented',
|
|
459
|
+
[brightChainStrings_1.BrightChainStrings.Error_CPU_InvalidReadSizeTemplate]: 'Invalid read size: {SIZE}',
|
|
460
|
+
[brightChainStrings_1.BrightChainStrings.Error_CPU_StackOverflow]: 'Stack overflow',
|
|
461
|
+
[brightChainStrings_1.BrightChainStrings.Error_CPU_StackUnderflow]: 'Stack underflow',
|
|
462
|
+
// Member CBL Errors
|
|
463
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberCBL_PublicCBLIdNotSet]: 'Public CBL ID not set',
|
|
464
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberCBL_PrivateCBLIdNotSet]: 'Private CBL ID not set',
|
|
465
|
+
// Member Document Errors
|
|
466
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberDocument_Hint]: 'Use MemberDocument.create() instead of new MemberDocument()',
|
|
467
|
+
// Member Profile Document Errors
|
|
468
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberProfileDocument_Hint]: 'Use MemberProfileDocument.create() instead of new MemberProfileDocument()',
|
|
469
|
+
// Quorum Document Errors
|
|
470
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumDocument_CreatorMustBeSetBeforeSaving]: 'Creator must be set before saving',
|
|
471
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumDocument_CreatorMustBeSetBeforeEncrypting]: 'Creator must be set before encrypting',
|
|
472
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumDocument_DocumentHasNoEncryptedData]: 'Document has no encrypted data',
|
|
473
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumDocument_InvalidEncryptedDataFormat]: 'Invalid encrypted data format',
|
|
474
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumDocument_InvalidMemberIdsFormat]: 'Invalid member IDs format',
|
|
475
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumDocument_InvalidSignatureFormat]: 'Invalid signature format',
|
|
476
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumDocument_InvalidCreatorIdFormat]: 'Invalid creator ID format',
|
|
477
|
+
[brightChainStrings_1.BrightChainStrings.Error_QuorumDocument_InvalidChecksumFormat]: 'Invalid checksum format',
|
|
478
|
+
// Quorum DataRecord
|
|
479
|
+
[brightChainStrings_1.BrightChainStrings.QuorumDataRecord_MustShareWithAtLeastTwoMembers]: 'Must share with at least 2 members',
|
|
480
|
+
[brightChainStrings_1.BrightChainStrings.QuorumDataRecord_SharesRequiredExceedsMembers]: 'Shares required exceeds number of members',
|
|
481
|
+
[brightChainStrings_1.BrightChainStrings.QuorumDataRecord_SharesRequiredMustBeAtLeastTwo]: 'Shares required must be at least 2',
|
|
482
|
+
[brightChainStrings_1.BrightChainStrings.QuorumDataRecord_InvalidChecksum]: 'Invalid checksum',
|
|
483
|
+
[brightChainStrings_1.BrightChainStrings.QuorumDataRecord_InvalidSignature]: 'Invalid signature',
|
|
484
|
+
// Block Logger
|
|
485
|
+
[brightChainStrings_1.BrightChainStrings.BlockLogger_Redacted]: 'REDACTED',
|
|
486
|
+
// Member Schema Errors
|
|
487
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberSchema_InvalidIdFormat]: 'Invalid ID format',
|
|
488
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberSchema_InvalidPublicKeyFormat]: 'Invalid public key format',
|
|
489
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberSchema_InvalidVotingPublicKeyFormat]: 'Invalid voting public key format',
|
|
490
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberSchema_InvalidEmailFormat]: 'Invalid email format',
|
|
491
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberSchema_InvalidRecoveryDataFormat]: 'Invalid recovery data format',
|
|
492
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberSchema_InvalidTrustedPeersFormat]: 'Invalid trusted peers format',
|
|
493
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberSchema_InvalidBlockedPeersFormat]: 'Invalid blocked peers format',
|
|
494
|
+
[brightChainStrings_1.BrightChainStrings.Error_MemberSchema_InvalidActivityLogFormat]: 'Invalid activity log format',
|
|
495
|
+
// Message Metadata Schema Errors
|
|
496
|
+
[brightChainStrings_1.BrightChainStrings.Error_MessageMetadataSchema_InvalidRecipientsFormat]: 'Invalid recipients format',
|
|
497
|
+
[brightChainStrings_1.BrightChainStrings.Error_MessageMetadataSchema_InvalidPriorityFormat]: 'Invalid priority format',
|
|
498
|
+
[brightChainStrings_1.BrightChainStrings.Error_MessageMetadataSchema_InvalidDeliveryStatusFormat]: 'Invalid delivery status format',
|
|
499
|
+
[brightChainStrings_1.BrightChainStrings.Error_MessageMetadataSchema_InvalidAcknowledgementsFormat]: 'Invalid acknowledgments format',
|
|
500
|
+
[brightChainStrings_1.BrightChainStrings.Error_MessageMetadataSchema_InvalidEncryptionSchemeFormat]: 'Invalid encryption scheme format',
|
|
501
|
+
[brightChainStrings_1.BrightChainStrings.Error_MessageMetadataSchema_InvalidCBLBlockIDsFormat]: 'Invalid CBL block IDs format',
|
|
502
|
+
// Security
|
|
503
|
+
[brightChainStrings_1.BrightChainStrings.Security_DOS_InputSizeExceedsLimitErrorTemplate]: 'Input size {SIZE} exceeds limit {MAX_SIZE} for {OPERATION}',
|
|
504
|
+
[brightChainStrings_1.BrightChainStrings.Security_DOS_OperationExceededTimeLimitErrorTemplate]: 'Operation {OPERATION} exceeded timeout {MAX_TIME}ms',
|
|
505
|
+
[brightChainStrings_1.BrightChainStrings.Security_RateLimiter_RateLimitExceededErrorTemplate]: 'Rate limit exceeded for {OPERATION}',
|
|
506
|
+
[brightChainStrings_1.BrightChainStrings.Security_AuditLogger_SignatureValidationResultTemplate]: 'Signature validation {RESULT}',
|
|
507
|
+
[brightChainStrings_1.BrightChainStrings.Security_AuditLogger_Failure]: 'Failure',
|
|
508
|
+
[brightChainStrings_1.BrightChainStrings.Security_AuditLogger_Success]: 'Success',
|
|
509
|
+
[brightChainStrings_1.BrightChainStrings.Security_AuditLogger_BlockCreated]: 'Block created',
|
|
510
|
+
[brightChainStrings_1.BrightChainStrings.Security_AuditLogger_EncryptionPerformed]: 'Encryption performed',
|
|
511
|
+
[brightChainStrings_1.BrightChainStrings.Security_AuditLogger_DecryptionResultTemplate]: 'Decryption {RESULT}',
|
|
512
|
+
[brightChainStrings_1.BrightChainStrings.Security_AuditLogger_AccessDeniedTemplate]: 'Access denied to {RESOURCE}',
|
|
513
|
+
[brightChainStrings_1.BrightChainStrings.Security_AuditLogger_Security]: 'Security',
|
|
514
|
+
// Delivery Timeout
|
|
515
|
+
[brightChainStrings_1.BrightChainStrings.DeliveryTimeout_FailedToHandleTimeoutTemplate]: 'Failed to handle timeout for {MESSAGE_ID}:{RECIPIENT_ID}',
|
|
516
|
+
// Message CBL Service
|
|
517
|
+
[brightChainStrings_1.BrightChainStrings.MessageCBLService_MessageSizeExceedsMaximumTemplate]: 'Message size {SIZE} exceeds maximum {MAX_SIZE}',
|
|
518
|
+
[brightChainStrings_1.BrightChainStrings.MessageCBLService_FailedToCreateMessageAfterRetries]: 'Failed to create message after retries',
|
|
519
|
+
[brightChainStrings_1.BrightChainStrings.MessageCBLService_FailedToRetrieveMessageTemplate]: 'Failed to retrieve message {MESSAGE_ID}',
|
|
520
|
+
[brightChainStrings_1.BrightChainStrings.MessageCBLService_MessageTypeIsRequired]: 'Message type is required',
|
|
521
|
+
[brightChainStrings_1.BrightChainStrings.MessageCBLService_SenderIDIsRequired]: 'Sender ID is required',
|
|
522
|
+
[brightChainStrings_1.BrightChainStrings.MessageCBLService_RecipientCountExceedsMaximumTemplate]: 'Recipient count {COUNT} exceeds maximum {MAXIMUM}',
|
|
523
|
+
// Message Encryption Service
|
|
524
|
+
[brightChainStrings_1.BrightChainStrings.MessageEncryptionService_NoRecipientPublicKeysProvided]: 'No recipient public keys provided',
|
|
525
|
+
[brightChainStrings_1.BrightChainStrings.MessageEncryptionService_FailedToEncryptTemplate]: 'Failed to encrypt for recipient {RECIPIENT_ID}: {ERROR}',
|
|
526
|
+
[brightChainStrings_1.BrightChainStrings.MessageEncryptionService_BroadcastEncryptionFailedTemplate]: 'Broadcast encryption failed: {TEMPLATE}',
|
|
527
|
+
[brightChainStrings_1.BrightChainStrings.MessageEncryptionService_DecryptionFailedTemplate]: 'Decryption failed: {ERROR}',
|
|
528
|
+
[brightChainStrings_1.BrightChainStrings.MessageEncryptionService_KeyDecryptionFailedTemplate]: 'Key decryption failed: {ERROR}',
|
|
529
|
+
// Message Logger
|
|
530
|
+
[brightChainStrings_1.BrightChainStrings.MessageLogger_MessageCreated]: 'Message created',
|
|
531
|
+
[brightChainStrings_1.BrightChainStrings.MessageLogger_RoutingDecision]: 'Routing decision',
|
|
532
|
+
[brightChainStrings_1.BrightChainStrings.MessageLogger_DeliveryFailure]: 'Delivery failure',
|
|
533
|
+
[brightChainStrings_1.BrightChainStrings.MessageLogger_EncryptionFailure]: 'Encryption failure',
|
|
534
|
+
[brightChainStrings_1.BrightChainStrings.MessageLogger_SlowQueryDetected]: 'Slow query detected',
|
|
535
|
+
// Message Router
|
|
536
|
+
[brightChainStrings_1.BrightChainStrings.MessageRouter_RoutingTimeout]: 'Routing timeout',
|
|
537
|
+
[brightChainStrings_1.BrightChainStrings.MessageRouter_FailedToRouteToAnyRecipient]: 'Failed to route message to any recipient',
|
|
538
|
+
[brightChainStrings_1.BrightChainStrings.MessageRouter_ForwardingLoopDetected]: 'Forwarding loop detected',
|
|
539
|
+
// Block Format Service
|
|
540
|
+
[brightChainStrings_1.BrightChainStrings.BlockFormatService_DataTooShort]: 'Data too short for structured block header (minimum 4 bytes required)',
|
|
541
|
+
[brightChainStrings_1.BrightChainStrings.BlockFormatService_InvalidStructuredBlockFormatTemplate]: 'Invalid structured block type: 0x{TYPE}',
|
|
542
|
+
[brightChainStrings_1.BrightChainStrings.BlockFormatService_CannotDetermineHeaderSize]: 'Cannot determine header size - data may be truncated',
|
|
543
|
+
[brightChainStrings_1.BrightChainStrings.BlockFormatService_Crc8MismatchTemplate]: 'CRC8 mismatch - header may be corrupted (expected 0x{EXPECTED}, got 0x{CHECKSUM})',
|
|
544
|
+
[brightChainStrings_1.BrightChainStrings.BlockFormatService_DataAppearsEncrypted]: 'Data appears to be ECIES encrypted - decrypt before parsing',
|
|
545
|
+
[brightChainStrings_1.BrightChainStrings.BlockFormatService_UnknownBlockFormat]: 'Unknown block format - missing 0xBC magic prefix (may be raw data)',
|
|
546
|
+
// CBL Service
|
|
547
|
+
[brightChainStrings_1.BrightChainStrings.CBLService_NotAMessageCBL]: 'Not a message CBL',
|
|
548
|
+
[brightChainStrings_1.BrightChainStrings.CBLService_CreatorIDByteLengthMismatchTemplate]: 'Creator ID byte length mismatch: got {LENGTH}, expected {EXPECTED}',
|
|
549
|
+
[brightChainStrings_1.BrightChainStrings.CBLService_CreatorIDProviderReturnedBytesLengthMismatchTemplate]: 'Creator ID provider returned {LENGTH} bytes, expected {EXPECTED}',
|
|
550
|
+
[brightChainStrings_1.BrightChainStrings.CBLService_SignatureLengthMismatchTemplate]: 'Signature length mismatch: got {LENGTH}, expected {EXPECTED}',
|
|
551
|
+
[brightChainStrings_1.BrightChainStrings.CBLService_DataAppearsRaw]: 'Data appears to be raw data without structured header',
|
|
552
|
+
[brightChainStrings_1.BrightChainStrings.CBLService_InvalidBlockFormat]: 'Invalid block format',
|
|
553
|
+
[brightChainStrings_1.BrightChainStrings.CBLService_SubCBLCountChecksumMismatchTemplate]: 'SubCblCount ({COUNT}) does not match subCblChecksums length ({EXPECTED})',
|
|
554
|
+
[brightChainStrings_1.BrightChainStrings.CBLService_InvalidDepthTemplate]: 'Depth must be between 1 and 65535, got {DEPTH}',
|
|
555
|
+
[brightChainStrings_1.BrightChainStrings.CBLService_ExpectedSuperCBLTemplate]: 'Expected SuperCBL (block type 0x03), got block type 0x${TYPE}',
|
|
556
|
+
// Global Service Provider
|
|
557
|
+
[brightChainStrings_1.BrightChainStrings.GlobalServiceProvider_NotInitialized]: 'Service provider not initialized. Call ServiceProvider.getInstance() first.',
|
|
558
|
+
// Block Store Adapter
|
|
559
|
+
[brightChainStrings_1.BrightChainStrings.BlockStoreAdapter_DataLengthExceedsBlockSizeTemplate]: 'Data length ({LENGTH}) exceeds block size ({BLOCK_SIZE})',
|
|
560
|
+
// Memory Block Store
|
|
561
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_FECServiceUnavailable]: 'FEC service is not available',
|
|
562
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_FECServiceUnavailableInThisEnvironment]: 'FEC service is not available in this environment',
|
|
563
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_NoParityDataAvailable]: 'No parity data available for recovery',
|
|
564
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_BlockMetadataNotFound]: 'Block metadata not found',
|
|
565
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_RecoveryFailedInsufficientParityData]: 'Recovery failed - insufficient parity data',
|
|
566
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_UnknownRecoveryError]: 'Unknown recovery error',
|
|
567
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_CBLDataCannotBeEmpty]: 'CBL data cannot be empty',
|
|
568
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_CBLDataTooLargeTemplate]: 'CBL data too large: padded size ({LENGTH}) exceeds block size ({BLOCK_SIZE}). Use a larger block size or smaller CBL.',
|
|
569
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_Block1NotFound]: 'Block 1 not found and recovery failed',
|
|
570
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_Block2NotFound]: 'Block 2 not found and recovery failed',
|
|
571
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_InvalidMagnetURL]: 'Invalid magnet URL: must start with "magnet:?"',
|
|
572
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_InvalidMagnetURLXT]: 'Invalid magnet URL: xt parameter must be "urn:brightchain:cbl"',
|
|
573
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_InvalidMagnetURLMissingTemplate]: 'Invalid magnet URL: missing {PARAMETER} parameter',
|
|
574
|
+
[brightChainStrings_1.BrightChainStrings.MemoryBlockStore_InvalidMagnetURL_InvalidBlockSize]: 'Invalid magnet URL: invalid block size',
|
|
575
|
+
// Checksum
|
|
576
|
+
[brightChainStrings_1.BrightChainStrings.Checksum_InvalidTemplate]: 'Checksum must be {EXPECTED} bytes, got {LENGTH} bytes',
|
|
577
|
+
[brightChainStrings_1.BrightChainStrings.Checksum_InvalidHexString]: 'Invalid hex string: contains non-hexadecimal characters',
|
|
578
|
+
[brightChainStrings_1.BrightChainStrings.Checksum_InvalidHexStringTemplate]: 'Invalid hex string length: expected {EXPECTED} characters, got {LENGTH}',
|
|
579
|
+
[brightChainStrings_1.BrightChainStrings.Error_XorLengthMismatchTemplate]: 'XOR requires equal-length arrays{CONTEXT}: a.length={A_LENGTH}, b.length={B_LENGTH}',
|
|
580
|
+
[brightChainStrings_1.BrightChainStrings.Error_XorAtLeastOneArrayRequired]: 'At least one array must be provided for XOR',
|
|
581
|
+
[brightChainStrings_1.BrightChainStrings.Error_InvalidUnixTimestampTemplate]: 'Invalid Unix timestamp: {TIMESTAMP}',
|
|
582
|
+
[brightChainStrings_1.BrightChainStrings.Error_InvalidDateStringTemplate]: 'Invalid date string: "{VALUE}". Expected ISO 8601 format (e.g., "2024-01-23T10:30:00Z") or Unix timestamp.',
|
|
583
|
+
[brightChainStrings_1.BrightChainStrings.Error_InvalidDateValueTypeTemplate]: 'Invalid date value type: {TYPE}. Expected string or number.',
|
|
584
|
+
[brightChainStrings_1.BrightChainStrings.Error_InvalidDateObjectTemplate]: 'Invalid date object: expected Date instance, got {OBJECT_STRING}',
|
|
585
|
+
[brightChainStrings_1.BrightChainStrings.Error_InvalidDateNaN]: 'Invalid date: date object contains NaN timestamp',
|
|
586
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationErrorTemplate]: 'JSON validation failed for field {FIELD}: {REASON}',
|
|
587
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationError_MustBeNonNull]: 'must be a non-null object',
|
|
588
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationError_FieldRequired]: 'field is required',
|
|
589
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationError_MustBeValidBlockSize]: 'must be a valid BlockSize enum value',
|
|
590
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationError_MustBeValidBlockType]: 'must be a valid BlockType enum value',
|
|
591
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationError_MustBeValidBlockDataType]: 'must be a valid BlockDataType enum value',
|
|
592
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationError_MustBeNumber]: 'must be a number',
|
|
593
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationError_MustBeNonNegative]: 'must be non-negative',
|
|
594
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationError_MustBeInteger]: 'must be an integer',
|
|
595
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationError_MustBeISO8601DateStringOrUnixTimestamp]: 'must be a valid ISO 8601 string or Unix timestamp',
|
|
596
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationError_MustBeString]: 'must be a string',
|
|
597
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationError_MustNotBeEmpty]: 'must not be empty',
|
|
598
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationError_JSONParsingFailed]: 'JSON parsing failed',
|
|
599
|
+
[brightChainStrings_1.BrightChainStrings.Error_JsonValidationError_ValidationFailed]: 'validation failed',
|
|
600
|
+
[brightChainStrings_1.BrightChainStrings.XorUtils_BlockSizeMustBePositiveTemplate]: 'Block size must be positive: {BLOCK_SIZE}',
|
|
601
|
+
[brightChainStrings_1.BrightChainStrings.XorUtils_InvalidPaddedDataTemplate]: 'Invalid padded data: too short ({LENGTH} bytes, need at least {REQUIRED})',
|
|
602
|
+
[brightChainStrings_1.BrightChainStrings.XorUtils_InvalidLengthPrefixTemplate]: 'Invalid length prefix: claims {LENGTH} bytes but only {AVAILABLE} available',
|
|
603
|
+
[brightChainStrings_1.BrightChainStrings.BlockPaddingTransform_MustBeArray]: 'Input must be Uint8Array, TypedArray, or ArrayBuffer',
|
|
604
|
+
[brightChainStrings_1.BrightChainStrings.CblStream_UnknownErrorReadingData]: 'Unknown error reading data',
|
|
605
|
+
[brightChainStrings_1.BrightChainStrings.CurrencyCode_InvalidCurrencyCode]: 'Invalid currency code',
|
|
606
|
+
[brightChainStrings_1.BrightChainStrings.EnergyAccount_InsufficientBalanceTemplate]: 'Insufficient balance: need {AMOUNT}J, have {AVAILABLE_BALANCE}J',
|
|
607
|
+
[brightChainStrings_1.BrightChainStrings.Init_BrowserCompatibleConfiguration]: 'BrightChain browser-compatible configuration with GuidV4Provider',
|
|
608
|
+
[brightChainStrings_1.BrightChainStrings.Init_NotInitialized]: 'BrightChain library not initialized. Call initializeBrightChain() first.',
|
|
609
|
+
[brightChainStrings_1.BrightChainStrings.ModInverse_MultiplicativeInverseDoesNotExist]: 'Modular multiplicative inverse does not exist',
|
|
610
|
+
[brightChainStrings_1.BrightChainStrings.PrimeTupleGeneratorStream_UnknownErrorInTransform]: 'Unknown error in transform',
|
|
611
|
+
[brightChainStrings_1.BrightChainStrings.PrimeTupleGeneratorStream_UnknownErrorInMakeTuple]: 'Unknown error in makeTuple',
|
|
612
|
+
[brightChainStrings_1.BrightChainStrings.SimpleBrowserStore_BlockNotFoundTemplate]: 'Block not found: {ID}',
|
|
613
|
+
[brightChainStrings_1.BrightChainStrings.EncryptedBlockCreator_NoCreatorRegisteredTemplate]: 'No creator registered for block type {TYPE}',
|
|
614
|
+
[brightChainStrings_1.BrightChainStrings.TestMember_MemberNotFoundTemplate]: 'Member {KEY} not found',
|
|
615
|
+
};
|
|
616
|
+
exports.default = exports.AmericanEnglishStrings;
|
|
617
|
+
//# sourceMappingURL=englishUs.js.map
|