@brightchain/brightchain-lib 0.29.23 → 0.29.25
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/README.md +4 -4
- package/package.json +35 -10
- package/src/browser.d.ts +14 -9
- package/src/browser.d.ts.map +1 -1
- package/src/browser.js +27 -12
- package/src/browser.js.map +1 -1
- package/src/lib/blocks/cblBase.d.ts.map +1 -1
- package/src/lib/blocks/cblBase.js +5 -2
- package/src/lib/blocks/cblBase.js.map +1 -1
- package/src/lib/blocks/encryptedBlockFactory.d.ts +0 -1
- package/src/lib/blocks/encryptedBlockFactory.d.ts.map +1 -1
- package/src/lib/blocks/encryptedBlockFactory.js +0 -2
- package/src/lib/blocks/encryptedBlockFactory.js.map +1 -1
- package/src/lib/blocks/tcbl/tcblAttachmentUtils.d.ts +1 -1
- package/src/lib/blocks/tcbl/tcblAttachmentUtils.js +1 -1
- package/src/lib/{quorum.d.ts → brightTrust.d.ts} +11 -11
- package/src/lib/brightTrust.d.ts.map +1 -0
- package/src/lib/{quorum.js → brightTrust.js} +18 -18
- package/src/lib/brightTrust.js.map +1 -0
- package/src/lib/{quorumDataRecord.d.ts → brightTrustDataRecord.d.ts} +6 -6
- package/src/lib/brightTrustDataRecord.d.ts.map +1 -0
- package/src/lib/{quorumDataRecord.js → brightTrustDataRecord.js} +11 -11
- package/src/lib/brightTrustDataRecord.js.map +1 -0
- package/src/lib/{quorumDataRecordDto.d.ts → brightTrustDataRecordDto.d.ts} +2 -2
- package/src/lib/brightTrustDataRecordDto.d.ts.map +1 -0
- package/src/lib/{interfaces/quoromDataRecordActionLog.js → brightTrustDataRecordDto.js} +1 -1
- package/src/lib/brightTrustDataRecordDto.js.map +1 -0
- package/src/lib/constants.js +1 -1
- package/src/lib/constants.js.map +1 -1
- package/src/lib/db/brightdb.d.ts +3 -0
- package/src/lib/db/brightdb.d.ts.map +1 -0
- package/src/lib/db/brightdb.js +6 -0
- package/src/lib/db/brightdb.js.map +1 -0
- package/src/lib/db/index.d.ts +1 -0
- package/src/lib/db/index.d.ts.map +1 -1
- package/src/lib/db/index.js +1 -0
- package/src/lib/db/index.js.map +1 -1
- package/src/lib/db/queryEngine.d.ts.map +1 -1
- package/src/lib/db/queryEngine.js +18 -4
- package/src/lib/db/queryEngine.js.map +1 -1
- package/src/lib/documents/{quorumDocument.d.ts → brightTrustDocument.d.ts} +7 -7
- package/src/lib/documents/brightTrustDocument.d.ts.map +1 -0
- package/src/lib/documents/{quorumDocument.js → brightTrustDocument.js} +27 -27
- package/src/lib/documents/brightTrustDocument.js.map +1 -0
- package/src/lib/documents/index.d.ts +1 -1
- package/src/lib/documents/index.d.ts.map +1 -1
- package/src/lib/documents/index.js +1 -1
- package/src/lib/documents/index.js.map +1 -1
- package/src/lib/enumeration-translations/brightTrustDataRecordAction.d.ts +5 -0
- package/src/lib/enumeration-translations/brightTrustDataRecordAction.d.ts.map +1 -0
- package/src/lib/enumeration-translations/{quorumDataRecordAction.js → brightTrustDataRecordAction.js} +4 -4
- package/src/lib/enumeration-translations/brightTrustDataRecordAction.js.map +1 -0
- package/src/lib/enumeration-translations/index.d.ts +2 -2
- package/src/lib/enumeration-translations/index.d.ts.map +1 -1
- package/src/lib/enumeration-translations/index.js +1 -1
- package/src/lib/enumeration-translations/index.js.map +1 -1
- package/src/lib/enumerations/actionEvent.d.ts +2 -2
- package/src/lib/enumerations/actionEvent.d.ts.map +1 -1
- package/src/lib/enumerations/actionEvent.js +10 -10
- package/src/lib/enumerations/actionEvent.js.map +1 -1
- package/src/lib/enumerations/actionType.d.ts +2 -2
- package/src/lib/enumerations/actionType.d.ts.map +1 -1
- package/src/lib/enumerations/actionType.js +10 -10
- package/src/lib/enumerations/actionType.js.map +1 -1
- package/src/lib/enumerations/brightChainStrings.d.ts +251 -58
- package/src/lib/enumerations/brightChainStrings.d.ts.map +1 -1
- package/src/lib/enumerations/brightChainStrings.js +269 -68
- package/src/lib/enumerations/brightChainStrings.js.map +1 -1
- package/src/lib/enumerations/{quorumErrorType.d.ts → brightTrustErrorType.d.ts} +4 -4
- package/src/lib/enumerations/brightTrustErrorType.d.ts.map +1 -0
- package/src/lib/enumerations/brightTrustErrorType.js +58 -0
- package/src/lib/enumerations/brightTrustErrorType.js.map +1 -0
- package/src/lib/enumerations/brightTrustOperationalMode.d.ts +16 -0
- package/src/lib/enumerations/brightTrustOperationalMode.d.ts.map +1 -0
- package/src/lib/enumerations/brightTrustOperationalMode.js +20 -0
- package/src/lib/enumerations/brightTrustOperationalMode.js.map +1 -0
- package/src/lib/enumerations/brightchainFeatures.d.ts +8 -0
- package/src/lib/enumerations/brightchainFeatures.d.ts.map +1 -0
- package/src/lib/enumerations/brightchainFeatures.js +12 -0
- package/src/lib/enumerations/brightchainFeatures.js.map +1 -0
- package/src/lib/enumerations/index.d.ts +4 -2
- package/src/lib/enumerations/index.d.ts.map +1 -1
- package/src/lib/enumerations/index.js +5 -3
- package/src/lib/enumerations/index.js.map +1 -1
- package/src/lib/enumerations/nodeCapability.d.ts +1 -1
- package/src/lib/enumerations/nodeCapability.d.ts.map +1 -1
- package/src/lib/enumerations/nodeCapability.js +1 -1
- package/src/lib/enumerations/nodeCapability.js.map +1 -1
- package/src/lib/enumerations/nodeIdSource.d.ts +18 -0
- package/src/lib/enumerations/nodeIdSource.d.ts.map +1 -0
- package/src/lib/enumerations/nodeIdSource.js +22 -0
- package/src/lib/enumerations/nodeIdSource.js.map +1 -0
- package/src/lib/enumerations/operationType.d.ts +3 -3
- package/src/lib/enumerations/operationType.d.ts.map +1 -1
- package/src/lib/enumerations/operationType.js +4 -4
- package/src/lib/enumerations/operationType.js.map +1 -1
- package/src/lib/enumerations/proposalActionType.d.ts +4 -4
- package/src/lib/enumerations/proposalActionType.d.ts.map +1 -1
- package/src/lib/enumerations/proposalActionType.js +4 -4
- package/src/lib/enumerations/proposalActionType.js.map +1 -1
- package/src/lib/enumerations/proposalStatus.d.ts +1 -1
- package/src/lib/enumerations/proposalStatus.js +1 -1
- package/src/lib/enumerations/translatableEnum.d.ts +1 -1
- package/src/lib/enumerations/translatableEnum.d.ts.map +1 -1
- package/src/lib/enumerations/translatableEnum.js +1 -1
- package/src/lib/enumerations/translatableEnum.js.map +1 -1
- package/src/lib/errors/brightTrustError.d.ts +8 -0
- package/src/lib/errors/brightTrustError.d.ts.map +1 -0
- package/src/lib/errors/brightTrustError.js +69 -0
- package/src/lib/errors/brightTrustError.js.map +1 -0
- package/src/lib/errors/index.d.ts +2 -2
- package/src/lib/errors/index.d.ts.map +1 -1
- package/src/lib/errors/index.js +3 -3
- package/src/lib/errors/index.js.map +1 -1
- package/src/lib/i18n/strings/englishUK.js +2 -2
- package/src/lib/i18n/strings/englishUK.js.map +1 -1
- package/src/lib/i18n/strings/englishUs.d.ts.map +1 -1
- package/src/lib/i18n/strings/englishUs.js +270 -66
- package/src/lib/i18n/strings/englishUs.js.map +1 -1
- package/src/lib/i18n/strings/french.d.ts.map +1 -1
- package/src/lib/i18n/strings/french.js +254 -57
- package/src/lib/i18n/strings/french.js.map +1 -1
- package/src/lib/i18n/strings/german.d.ts.map +1 -1
- package/src/lib/i18n/strings/german.js +254 -57
- package/src/lib/i18n/strings/german.js.map +1 -1
- package/src/lib/i18n/strings/japanese.d.ts.map +1 -1
- package/src/lib/i18n/strings/japanese.js +254 -56
- package/src/lib/i18n/strings/japanese.js.map +1 -1
- package/src/lib/i18n/strings/mandarin.d.ts.map +1 -1
- package/src/lib/i18n/strings/mandarin.js +254 -57
- package/src/lib/i18n/strings/mandarin.js.map +1 -1
- package/src/lib/i18n/strings/spanish.d.ts.map +1 -1
- package/src/lib/i18n/strings/spanish.js +254 -57
- package/src/lib/i18n/strings/spanish.js.map +1 -1
- package/src/lib/i18n/strings/ukrainian.d.ts.map +1 -1
- package/src/lib/i18n/strings/ukrainian.js +254 -57
- package/src/lib/i18n/strings/ukrainian.js.map +1 -1
- package/src/lib/index.d.ts +4 -4
- package/src/lib/index.d.ts.map +1 -1
- package/src/lib/index.js +4 -4
- package/src/lib/index.js.map +1 -1
- package/src/lib/interfaces/aliasRecord.d.ts +1 -1
- package/src/lib/interfaces/aliasRecord.js +1 -1
- package/src/lib/interfaces/api/{quorumApi.d.ts → brightTrustApi.d.ts} +11 -11
- package/src/lib/interfaces/api/brightTrustApi.d.ts.map +1 -0
- package/src/lib/interfaces/api/{quorumApi.js → brightTrustApi.js} +2 -2
- package/src/lib/interfaces/api/brightTrustApi.js.map +1 -0
- package/src/lib/interfaces/api/index.d.ts +1 -1
- package/src/lib/interfaces/api/index.d.ts.map +1 -1
- package/src/lib/interfaces/api/index.js +1 -1
- package/src/lib/interfaces/api/index.js.map +1 -1
- package/src/lib/interfaces/auditLogEntry.d.ts +4 -4
- package/src/lib/interfaces/auditLogEntry.d.ts.map +1 -1
- package/src/lib/interfaces/auditLogEntry.js +1 -1
- package/src/lib/interfaces/availability/gossipService.d.ts +40 -40
- package/src/lib/interfaces/availability/gossipService.d.ts.map +1 -1
- package/src/lib/interfaces/availability/gossipService.js +26 -26
- package/src/lib/interfaces/availability/gossipService.js.map +1 -1
- package/src/lib/interfaces/brightTrustDataRecordActionLog.d.ts +11 -0
- package/src/lib/interfaces/brightTrustDataRecordActionLog.d.ts.map +1 -0
- package/src/lib/interfaces/brightTrustDataRecordActionLog.js +3 -0
- package/src/lib/interfaces/brightTrustDataRecordActionLog.js.map +1 -0
- package/src/lib/interfaces/{quorumDocumentMetadata.d.ts → brightTrustDocumentMetadata.d.ts} +5 -5
- package/src/lib/interfaces/brightTrustDocumentMetadata.d.ts.map +1 -0
- package/src/lib/interfaces/brightTrustDocumentMetadata.js +10 -0
- package/src/lib/interfaces/brightTrustDocumentMetadata.js.map +1 -0
- package/src/lib/interfaces/{quorumEpoch.d.ts → brightTrustEpoch.d.ts} +8 -8
- package/src/lib/interfaces/brightTrustEpoch.d.ts.map +1 -0
- package/src/lib/interfaces/brightTrustEpoch.js +11 -0
- package/src/lib/interfaces/brightTrustEpoch.js.map +1 -0
- package/src/lib/interfaces/{quorumMetrics.d.ts → brightTrustMetrics.d.ts} +5 -5
- package/src/lib/interfaces/brightTrustMetrics.d.ts.map +1 -0
- package/src/lib/interfaces/brightTrustMetrics.js +10 -0
- package/src/lib/interfaces/brightTrustMetrics.js.map +1 -0
- package/src/lib/interfaces/brightpass/auditLog.d.ts +1 -1
- package/src/lib/interfaces/brightpass/auditLog.d.ts.map +1 -1
- package/src/lib/interfaces/brightpass/auditLog.js +1 -1
- package/src/lib/interfaces/brightpass/auditLog.js.map +1 -1
- package/src/lib/interfaces/brightpass/vaultMetadata.d.ts +10 -5
- package/src/lib/interfaces/brightpass/vaultMetadata.d.ts.map +1 -1
- package/src/lib/interfaces/chainedAuditLogEntry.d.ts +2 -2
- package/src/lib/interfaces/chainedAuditLogEntry.d.ts.map +1 -1
- package/src/lib/interfaces/document/{quorumDocument.d.ts → brightTrustDocument.d.ts} +4 -4
- package/src/lib/interfaces/document/brightTrustDocument.d.ts.map +1 -0
- package/src/lib/interfaces/{services/quorumService.js → document/brightTrustDocument.js} +1 -1
- package/src/lib/interfaces/document/brightTrustDocument.js.map +1 -0
- package/src/lib/interfaces/document/index.d.ts +1 -1
- package/src/lib/interfaces/document/index.d.ts.map +1 -1
- package/src/lib/interfaces/dto/request-user.d.ts +7 -13
- package/src/lib/interfaces/dto/request-user.d.ts.map +1 -1
- package/src/lib/interfaces/identityRecoveryRecord.d.ts +2 -2
- package/src/lib/interfaces/identityRecoveryRecord.d.ts.map +1 -1
- package/src/lib/interfaces/identityRecoveryRecord.js +1 -1
- package/src/lib/interfaces/index.d.ts +4 -4
- package/src/lib/interfaces/index.d.ts.map +1 -1
- package/src/lib/interfaces/index.js +2 -2
- package/src/lib/interfaces/index.js.map +1 -1
- package/src/lib/interfaces/ledger/{quorumPolicy.d.ts → brightTrustPolicy.d.ts} +4 -4
- package/src/lib/interfaces/ledger/brightTrustPolicy.d.ts.map +1 -0
- package/src/lib/interfaces/ledger/{quorumPolicy.js → brightTrustPolicy.js} +3 -3
- package/src/lib/interfaces/ledger/brightTrustPolicy.js.map +1 -0
- package/src/lib/interfaces/ledger/governanceAction.d.ts +2 -2
- package/src/lib/interfaces/ledger/governanceAction.d.ts.map +1 -1
- package/src/lib/interfaces/ledger/governancePayload.d.ts +3 -3
- package/src/lib/interfaces/ledger/governancePayload.d.ts.map +1 -1
- package/src/lib/interfaces/ledger/governancePayload.js +1 -1
- package/src/lib/interfaces/ledger/index.d.ts +6 -6
- package/src/lib/interfaces/ledger/index.d.ts.map +1 -1
- package/src/lib/interfaces/ledger/index.js +5 -7
- package/src/lib/interfaces/ledger/index.js.map +1 -1
- package/src/lib/interfaces/member-init-config.d.ts +6 -0
- package/src/lib/interfaces/member-init-config.d.ts.map +1 -1
- package/src/lib/interfaces/network/banListCache.d.ts +2 -2
- package/src/lib/interfaces/network/banListCache.d.ts.map +1 -1
- package/src/lib/interfaces/network/banRecord.d.ts +3 -3
- package/src/lib/interfaces/network/banRecord.d.ts.map +1 -1
- package/src/lib/interfaces/network/banRecord.js +2 -2
- package/src/lib/interfaces/operationalState.d.ts +4 -4
- package/src/lib/interfaces/operationalState.d.ts.map +1 -1
- package/src/lib/interfaces/operationalState.js +1 -1
- package/src/lib/interfaces/proposal.d.ts +2 -2
- package/src/lib/interfaces/proposal.js +1 -1
- package/src/lib/interfaces/requestUser.d.ts +2 -0
- package/src/lib/interfaces/requestUser.d.ts.map +1 -1
- package/src/lib/interfaces/responses/adminDashboardResponse.d.ts +107 -0
- package/src/lib/interfaces/responses/adminDashboardResponse.d.ts.map +1 -0
- package/src/lib/{quorumDataRecordDto.js → interfaces/responses/adminDashboardResponse.js} +1 -1
- package/src/lib/interfaces/responses/adminDashboardResponse.js.map +1 -0
- package/src/lib/interfaces/responses/index.d.ts +1 -0
- package/src/lib/interfaces/responses/index.d.ts.map +1 -1
- package/src/lib/interfaces/responses/registrationResponseData.d.ts +3 -2
- package/src/lib/interfaces/responses/registrationResponseData.d.ts.map +1 -1
- package/src/lib/interfaces/services/{quorumDatabase.d.ts → brightTrustDatabase.d.ts} +25 -25
- package/src/lib/interfaces/services/brightTrustDatabase.d.ts.map +1 -0
- package/src/lib/interfaces/services/{quorumDatabase.js → brightTrustDatabase.js} +3 -3
- package/src/lib/interfaces/services/brightTrustDatabase.js.map +1 -0
- package/src/lib/interfaces/services/{quorumService.d.ts → brightTrustService.d.ts} +21 -21
- package/src/lib/interfaces/services/brightTrustService.d.ts.map +1 -0
- package/src/lib/interfaces/{document/quorumDocument.js → services/brightTrustService.js} +1 -1
- package/src/lib/interfaces/services/brightTrustService.js.map +1 -0
- package/src/lib/interfaces/services/{quorumStateMachine.d.ts → brightTrustStateMachine.d.ts} +37 -37
- package/src/lib/interfaces/services/brightTrustStateMachine.d.ts.map +1 -0
- package/src/lib/interfaces/services/{quorumStateMachine.js → brightTrustStateMachine.js} +3 -3
- package/src/lib/interfaces/services/brightTrustStateMachine.js.map +1 -0
- package/src/lib/interfaces/services/contentIngestion.d.ts +1 -1
- package/src/lib/interfaces/services/identitySealingPipeline.d.ts +4 -4
- package/src/lib/interfaces/services/index.d.ts +3 -3
- package/src/lib/interfaces/services/index.d.ts.map +1 -1
- package/src/lib/interfaces/services/membershipProof.d.ts +5 -5
- package/src/lib/interfaces/services/membershipProof.js +1 -1
- package/src/lib/interfaces/services/operatorPrompt.d.ts +2 -2
- package/src/lib/interfaces/services/operatorPrompt.js +1 -1
- package/src/lib/interfaces/storage/blockStore.d.ts +9 -0
- package/src/lib/interfaces/storage/blockStore.d.ts.map +1 -1
- package/src/lib/interfaces/storage/userRoleSchema.d.ts +1 -1
- package/src/lib/interfaces/storage/userRoleSchema.js +1 -1
- package/src/lib/interfaces/unifiedNotificationCounts.d.ts +3 -1
- package/src/lib/interfaces/unifiedNotificationCounts.d.ts.map +1 -1
- package/src/lib/interfaces/userDto.d.ts +3 -0
- package/src/lib/interfaces/userDto.d.ts.map +1 -1
- package/src/lib/interfaces/vote.d.ts +2 -2
- package/src/lib/interfaces/vote.js +1 -1
- package/src/lib/ledger/authorizedSignerSet.d.ts +4 -4
- package/src/lib/ledger/authorizedSignerSet.d.ts.map +1 -1
- package/src/lib/ledger/authorizedSignerSet.js +19 -16
- package/src/lib/ledger/authorizedSignerSet.js.map +1 -1
- package/src/lib/ledger/governancePayloadSerializer.d.ts +3 -3
- package/src/lib/ledger/governancePayloadSerializer.d.ts.map +1 -1
- package/src/lib/ledger/governancePayloadSerializer.js +17 -14
- package/src/lib/ledger/governancePayloadSerializer.js.map +1 -1
- package/src/lib/ledger/incrementalMerkleTree.d.ts.map +1 -1
- package/src/lib/ledger/incrementalMerkleTree.js +4 -1
- package/src/lib/ledger/incrementalMerkleTree.js.map +1 -1
- package/src/lib/ledger/ledger.d.ts +2 -2
- package/src/lib/ledger/ledger.d.ts.map +1 -1
- package/src/lib/ledger/ledger.js +4 -4
- package/src/lib/ledger/ledger.js.map +1 -1
- package/src/lib/ledger/ledgerChainValidator.d.ts.map +1 -1
- package/src/lib/ledger/ledgerChainValidator.js +4 -2
- package/src/lib/ledger/ledgerChainValidator.js.map +1 -1
- package/src/lib/ledger/proofSerializer.d.ts +1 -1
- package/src/lib/ledger/proofSerializer.d.ts.map +1 -1
- package/src/lib/ledger/proofSerializer.js +1 -1
- package/src/lib/ledger/proofSerializer.js.map +1 -1
- package/src/lib/schemas/brightTrustDocument.d.ts +10 -0
- package/src/lib/schemas/brightTrustDocument.d.ts.map +1 -0
- package/src/lib/schemas/{quorumDocument.js → brightTrustDocument.js} +11 -11
- package/src/lib/schemas/brightTrustDocument.js.map +1 -0
- package/src/lib/schemas/index.d.ts +1 -1
- package/src/lib/schemas/index.d.ts.map +1 -1
- package/src/lib/schemas/index.js +1 -1
- package/src/lib/schemas/index.js.map +1 -1
- package/src/lib/services/aliasRegistry.d.ts +14 -14
- package/src/lib/services/aliasRegistry.d.ts.map +1 -1
- package/src/lib/services/aliasRegistry.js +17 -17
- package/src/lib/services/aliasRegistry.js.map +1 -1
- package/src/lib/services/auditLogService.d.ts +6 -6
- package/src/lib/services/auditLogService.d.ts.map +1 -1
- package/src/lib/services/auditLogService.js +10 -10
- package/src/lib/services/auditLogService.js.map +1 -1
- package/src/lib/services/banListCache.d.ts +4 -4
- package/src/lib/services/banListCache.d.ts.map +1 -1
- package/src/lib/services/banListCache.js +6 -6
- package/src/lib/services/banListCache.js.map +1 -1
- package/src/lib/services/banProposalValidator.d.ts +8 -8
- package/src/lib/services/banProposalValidator.d.ts.map +1 -1
- package/src/lib/services/banProposalValidator.js +9 -9
- package/src/lib/services/banProposalValidator.js.map +1 -1
- package/src/lib/services/blockService.js +3 -3
- package/src/lib/services/blockService.js.map +1 -1
- package/src/lib/services/{quorumService.d.ts → brightTrustService.d.ts} +14 -14
- package/src/lib/services/brightTrustService.d.ts.map +1 -0
- package/src/lib/services/{quorumService.js → brightTrustService.js} +20 -20
- package/src/lib/services/brightTrustService.js.map +1 -0
- package/src/lib/services/{quorumStateMachine.d.ts → brightTrustStateMachine.d.ts} +56 -56
- package/src/lib/services/brightTrustStateMachine.d.ts.map +1 -0
- package/src/lib/services/{quorumStateMachine.js → brightTrustStateMachine.js} +139 -136
- package/src/lib/services/brightTrustStateMachine.js.map +1 -0
- package/src/lib/services/identitySealingPipeline.d.ts +10 -10
- package/src/lib/services/identitySealingPipeline.d.ts.map +1 -1
- package/src/lib/services/identitySealingPipeline.js +21 -21
- package/src/lib/services/identitySealingPipeline.js.map +1 -1
- package/src/lib/services/identityValidator.d.ts +2 -2
- package/src/lib/services/identityValidator.d.ts.map +1 -1
- package/src/lib/services/identityValidator.js.map +1 -1
- package/src/lib/services/index.d.ts +2 -2
- package/src/lib/services/index.d.ts.map +1 -1
- package/src/lib/services/index.js +2 -2
- package/src/lib/services/index.js.map +1 -1
- package/src/lib/services/memberStore.d.ts.map +1 -1
- package/src/lib/services/memberStore.js +64 -15
- package/src/lib/services/memberStore.js.map +1 -1
- package/src/lib/services/membershipProofService.d.ts +5 -5
- package/src/lib/services/membershipProofService.js +5 -5
- package/src/lib/services/messaging/emailMetadataJsonSerializer.d.ts +42 -0
- package/src/lib/services/messaging/emailMetadataJsonSerializer.d.ts.map +1 -0
- package/src/lib/services/messaging/emailMetadataJsonSerializer.js +110 -0
- package/src/lib/services/messaging/emailMetadataJsonSerializer.js.map +1 -0
- package/src/lib/services/messaging/inMemoryEmailMetadataStore.d.ts +13 -0
- package/src/lib/services/messaging/inMemoryEmailMetadataStore.d.ts.map +1 -1
- package/src/lib/services/messaging/inMemoryEmailMetadataStore.js +30 -3
- package/src/lib/services/messaging/inMemoryEmailMetadataStore.js.map +1 -1
- package/src/lib/services/messaging/index.d.ts +1 -0
- package/src/lib/services/messaging/index.d.ts.map +1 -1
- package/src/lib/services/messaging/index.js +1 -0
- package/src/lib/services/messaging/index.js.map +1 -1
- package/src/lib/services/sealing.service.d.ts +14 -14
- package/src/lib/services/sealing.service.d.ts.map +1 -1
- package/src/lib/services/sealing.service.js +25 -25
- package/src/lib/services/sealing.service.js.map +1 -1
- package/src/lib/services/tuple.service.d.ts.map +1 -1
- package/src/lib/services/tuple.service.js +4 -4
- package/src/lib/services/tuple.service.js.map +1 -1
- package/src/lib/stores/memoryBlockMetadataStore.d.ts +5 -0
- package/src/lib/stores/memoryBlockMetadataStore.d.ts.map +1 -1
- package/src/lib/stores/memoryBlockMetadataStore.js +7 -0
- package/src/lib/stores/memoryBlockMetadataStore.js.map +1 -1
- package/src/lib/stores/memoryCblStore.d.ts.map +1 -1
- package/src/lib/stores/memoryCblStore.js +7 -7
- package/src/lib/stores/memoryCblStore.js.map +1 -1
- package/src/lib/documents/quorumDocument.d.ts.map +0 -1
- package/src/lib/documents/quorumDocument.js.map +0 -1
- package/src/lib/enumeration-translations/quorumDataRecordAction.d.ts +0 -5
- package/src/lib/enumeration-translations/quorumDataRecordAction.d.ts.map +0 -1
- package/src/lib/enumeration-translations/quorumDataRecordAction.js.map +0 -1
- package/src/lib/enumerations/quorumErrorType.d.ts.map +0 -1
- package/src/lib/enumerations/quorumErrorType.js +0 -58
- package/src/lib/enumerations/quorumErrorType.js.map +0 -1
- package/src/lib/enumerations/quorumOperationalMode.d.ts +0 -16
- package/src/lib/enumerations/quorumOperationalMode.d.ts.map +0 -1
- package/src/lib/enumerations/quorumOperationalMode.js +0 -20
- package/src/lib/enumerations/quorumOperationalMode.js.map +0 -1
- package/src/lib/errors/quorumError.d.ts +0 -8
- package/src/lib/errors/quorumError.d.ts.map +0 -1
- package/src/lib/errors/quorumError.js +0 -69
- package/src/lib/errors/quorumError.js.map +0 -1
- package/src/lib/interfaces/api/quorumApi.d.ts.map +0 -1
- package/src/lib/interfaces/api/quorumApi.js.map +0 -1
- package/src/lib/interfaces/document/quorumDocument.d.ts.map +0 -1
- package/src/lib/interfaces/document/quorumDocument.js.map +0 -1
- package/src/lib/interfaces/ledger/quorumPolicy.d.ts.map +0 -1
- package/src/lib/interfaces/ledger/quorumPolicy.js.map +0 -1
- package/src/lib/interfaces/quoromDataRecordActionLog.d.ts +0 -11
- package/src/lib/interfaces/quoromDataRecordActionLog.d.ts.map +0 -1
- package/src/lib/interfaces/quoromDataRecordActionLog.js.map +0 -1
- package/src/lib/interfaces/quorumDocumentMetadata.d.ts.map +0 -1
- package/src/lib/interfaces/quorumDocumentMetadata.js +0 -10
- package/src/lib/interfaces/quorumDocumentMetadata.js.map +0 -1
- package/src/lib/interfaces/quorumEpoch.d.ts.map +0 -1
- package/src/lib/interfaces/quorumEpoch.js +0 -11
- package/src/lib/interfaces/quorumEpoch.js.map +0 -1
- package/src/lib/interfaces/quorumMetrics.d.ts.map +0 -1
- package/src/lib/interfaces/quorumMetrics.js +0 -10
- package/src/lib/interfaces/quorumMetrics.js.map +0 -1
- package/src/lib/interfaces/services/quorumDatabase.d.ts.map +0 -1
- package/src/lib/interfaces/services/quorumDatabase.js.map +0 -1
- package/src/lib/interfaces/services/quorumService.d.ts.map +0 -1
- package/src/lib/interfaces/services/quorumService.js.map +0 -1
- package/src/lib/interfaces/services/quorumStateMachine.d.ts.map +0 -1
- package/src/lib/interfaces/services/quorumStateMachine.js.map +0 -1
- package/src/lib/quorum.d.ts.map +0 -1
- package/src/lib/quorum.js.map +0 -1
- package/src/lib/quorumDataRecord.d.ts.map +0 -1
- package/src/lib/quorumDataRecord.js.map +0 -1
- package/src/lib/quorumDataRecordDto.d.ts.map +0 -1
- package/src/lib/quorumDataRecordDto.js.map +0 -1
- package/src/lib/schemas/quorumDocument.d.ts +0 -10
- package/src/lib/schemas/quorumDocument.d.ts.map +0 -1
- package/src/lib/schemas/quorumDocument.js.map +0 -1
- package/src/lib/services/quorumService.d.ts.map +0 -1
- package/src/lib/services/quorumService.js.map +0 -1
- package/src/lib/services/quorumStateMachine.d.ts.map +0 -1
- package/src/lib/services/quorumStateMachine.js.map +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @fileoverview
|
|
2
|
+
* @fileoverview BrightTrustStateMachine implementation.
|
|
3
3
|
*
|
|
4
|
-
* Central coordinator for the
|
|
4
|
+
* Central coordinator for the BrightTrust system. Manages operational mode,
|
|
5
5
|
* epoch lifecycle, proposal/vote orchestration, and delegates to
|
|
6
6
|
* SealingService for cryptographic operations.
|
|
7
7
|
*
|
|
8
8
|
* @see Requirements 1-8, 10-13
|
|
9
9
|
*/
|
|
10
10
|
import { Member, PlatformID } from '@digitaldefiance/ecies-lib';
|
|
11
|
-
import {
|
|
11
|
+
import { BrightTrustOperationalMode } from '../enumerations/brightTrustOperationalMode';
|
|
12
12
|
import { IGossipService } from '../interfaces/availability/gossipService';
|
|
13
|
+
import { BrightTrustEpoch } from '../interfaces/brightTrustEpoch';
|
|
14
|
+
import { BrightTrustMetrics } from '../interfaces/brightTrustMetrics';
|
|
13
15
|
import { IBanConfig } from '../interfaces/network/banConfig';
|
|
14
16
|
import { Proposal, ProposalInput } from '../interfaces/proposal';
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { QuorumMemberMetadata, SealedDocumentResult } from '../interfaces/services/quorumService';
|
|
19
|
-
import { IQuorumStateMachine } from '../interfaces/services/quorumStateMachine';
|
|
17
|
+
import { IBrightTrustDatabase } from '../interfaces/services/brightTrustDatabase';
|
|
18
|
+
import { BrightTrustMemberMetadata, SealedDocumentResult } from '../interfaces/services/brightTrustService';
|
|
19
|
+
import { IBrightTrustStateMachine } from '../interfaces/services/brightTrustStateMachine';
|
|
20
20
|
import { RedistributionConfig } from '../interfaces/services/redistributionConfig';
|
|
21
21
|
import { VoteInput } from '../interfaces/vote';
|
|
22
22
|
import { AliasRegistry } from './aliasRegistry';
|
|
@@ -24,17 +24,17 @@ import { AuditLogService } from './auditLogService';
|
|
|
24
24
|
import { BanListCache } from './banListCache';
|
|
25
25
|
import { SealingService } from './sealing.service';
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* BrightTrustStateMachine is the central coordinator for the BrightTrust system.
|
|
28
28
|
*
|
|
29
29
|
* It manages:
|
|
30
|
-
* - Operational mode (Bootstrap /
|
|
30
|
+
* - Operational mode (Bootstrap / BrightTrust / TransitionInProgress)
|
|
31
31
|
* - Epoch lifecycle
|
|
32
32
|
* - Document sealing/unsealing with mode-aware delegation
|
|
33
33
|
* - Metrics collection
|
|
34
34
|
*
|
|
35
35
|
* @template TID - Platform ID type for frontend/backend DTO compatibility
|
|
36
36
|
*/
|
|
37
|
-
export declare class
|
|
37
|
+
export declare class BrightTrustStateMachine<TID extends PlatformID = Uint8Array> implements IBrightTrustStateMachine<TID> {
|
|
38
38
|
private readonly db;
|
|
39
39
|
private readonly sealingService;
|
|
40
40
|
private readonly gossipService;
|
|
@@ -49,16 +49,16 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
49
49
|
private readonly banListCache;
|
|
50
50
|
private readonly banProposalValidator;
|
|
51
51
|
private metricsData;
|
|
52
|
-
constructor(db:
|
|
52
|
+
constructor(db: IBrightTrustDatabase<TID>, sealingService: SealingService<TID>, gossipService: IGossipService, auditLogService?: AuditLogService<TID> | undefined, aliasRegistry?: AliasRegistry<TID> | undefined, banConfig?: Partial<IBanConfig>);
|
|
53
53
|
/**
|
|
54
|
-
* Initialize the
|
|
54
|
+
* Initialize the BrightTrust system.
|
|
55
55
|
*
|
|
56
56
|
* - Checks for persisted operational state first (restore on restart).
|
|
57
57
|
* - If TransitionInProgress is detected, triggers rollback recovery.
|
|
58
58
|
* - Otherwise, determines mode based on member count vs threshold.
|
|
59
59
|
* - Persists the operational state and creates epoch 1.
|
|
60
60
|
*/
|
|
61
|
-
initialize(members: Member<TID>[], threshold: number): Promise<
|
|
61
|
+
initialize(members: Member<TID>[], threshold: number): Promise<BrightTrustEpoch<TID>>;
|
|
62
62
|
/**
|
|
63
63
|
* Rollback a transition that was interrupted (crash recovery or failure).
|
|
64
64
|
*
|
|
@@ -88,7 +88,7 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
88
88
|
* @param threshold - Threshold for the new epoch
|
|
89
89
|
* @param mode - Operational mode for the new epoch
|
|
90
90
|
* @param previousEpochNumber - Optional override for the previous epoch number
|
|
91
|
-
* @returns The newly created
|
|
91
|
+
* @returns The newly created BrightTrustEpoch
|
|
92
92
|
*/
|
|
93
93
|
private createNextEpoch;
|
|
94
94
|
/**
|
|
@@ -103,12 +103,12 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
103
103
|
*/
|
|
104
104
|
private emitAuditEntry;
|
|
105
105
|
/**
|
|
106
|
-
* Resolve
|
|
106
|
+
* Resolve IBrightTrustMember records into Member objects suitable for SealingService.
|
|
107
107
|
*
|
|
108
108
|
* Creates Member instances with only public keys (no private keys) from
|
|
109
109
|
* the database member records. These are sufficient for encrypting new shares.
|
|
110
110
|
*
|
|
111
|
-
* @param
|
|
111
|
+
* @param brightTrustMembers - Database member records to resolve
|
|
112
112
|
* @returns Array of Member objects with public keys
|
|
113
113
|
*/
|
|
114
114
|
private resolveMembersFromRecords;
|
|
@@ -132,9 +132,9 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
132
132
|
* Get the current operational mode.
|
|
133
133
|
* Restores from persisted state on first call if needed.
|
|
134
134
|
*/
|
|
135
|
-
getMode(): Promise<
|
|
135
|
+
getMode(): Promise<BrightTrustOperationalMode>;
|
|
136
136
|
/**
|
|
137
|
-
* Initiate a transition ceremony from Bootstrap to
|
|
137
|
+
* Initiate a transition ceremony from Bootstrap to BrightTrust mode.
|
|
138
138
|
*
|
|
139
139
|
* Flow:
|
|
140
140
|
* 1. Verify members >= threshold, set mode to TransitionInProgress
|
|
@@ -144,7 +144,7 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
144
144
|
* a. Save journal entry with old shares/members/threshold/epoch
|
|
145
145
|
* b. Redistribute shares to full member set with configured threshold
|
|
146
146
|
* c. Update document in database
|
|
147
|
-
* 5. On success: create new epoch in
|
|
147
|
+
* 5. On success: create new epoch in BrightTrust mode, delete journal entries,
|
|
148
148
|
* emit transition_ceremony_completed, unblock
|
|
149
149
|
* 6. On failure: rollback from journal, reset to Bootstrap, delete journal
|
|
150
150
|
* entries, emit transition_ceremony_failed
|
|
@@ -154,16 +154,16 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
154
154
|
* Create a new epoch for a completed transition ceremony.
|
|
155
155
|
*
|
|
156
156
|
* Called by the transition ceremony logic (Task 10) when all documents
|
|
157
|
-
* have been successfully re-split. Creates a new epoch in
|
|
157
|
+
* have been successfully re-split. Creates a new epoch in BrightTrust mode
|
|
158
158
|
* with the full member set and configured threshold.
|
|
159
159
|
*
|
|
160
160
|
* @param memberIds - The full member set after transition
|
|
161
161
|
* @param threshold - The configured quorum threshold
|
|
162
|
-
* @returns The new
|
|
162
|
+
* @returns The new BrightTrustEpoch in BrightTrust mode
|
|
163
163
|
*/
|
|
164
|
-
createTransitionEpoch(memberIds: TID[], threshold: number): Promise<
|
|
164
|
+
createTransitionEpoch(memberIds: TID[], threshold: number): Promise<BrightTrustEpoch<TID>>;
|
|
165
165
|
/**
|
|
166
|
-
* Add a new member to the
|
|
166
|
+
* Add a new member to the BrightTrust.
|
|
167
167
|
*
|
|
168
168
|
* Saves the member, increments the epoch, triggers batched share
|
|
169
169
|
* redistribution for all documents in the previous epoch, and emits
|
|
@@ -172,11 +172,11 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
172
172
|
* @param member - The member to add
|
|
173
173
|
* @param metadata - Metadata for the member
|
|
174
174
|
* @param redistributionConfig - Optional redistribution configuration
|
|
175
|
-
* @returns The new
|
|
175
|
+
* @returns The new BrightTrustEpoch after member addition
|
|
176
176
|
*/
|
|
177
|
-
addMember(member: Member<TID>, metadata:
|
|
177
|
+
addMember(member: Member<TID>, metadata: BrightTrustMemberMetadata, redistributionConfig?: Partial<RedistributionConfig>): Promise<BrightTrustEpoch<TID>>;
|
|
178
178
|
/**
|
|
179
|
-
* Remove a member from the
|
|
179
|
+
* Remove a member from the BrightTrust.
|
|
180
180
|
*
|
|
181
181
|
* Validates remaining count >= threshold, removes the member,
|
|
182
182
|
* increments the epoch, triggers share redistribution with fresh
|
|
@@ -185,29 +185,29 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
185
185
|
*
|
|
186
186
|
* @param memberId - ID of the member to remove
|
|
187
187
|
* @param redistributionConfig - Optional redistribution configuration
|
|
188
|
-
* @returns The new
|
|
189
|
-
* @throws
|
|
190
|
-
* @throws
|
|
188
|
+
* @returns The new BrightTrustEpoch after member removal
|
|
189
|
+
* @throws BrightTrustError with InsufficientRemainingMembers if removal would drop below threshold
|
|
190
|
+
* @throws BrightTrustError with MemberNotFound if the member is not in the current epoch
|
|
191
191
|
*/
|
|
192
|
-
removeMember(memberId: TID, redistributionConfig?: Partial<RedistributionConfig>): Promise<
|
|
192
|
+
removeMember(memberId: TID, redistributionConfig?: Partial<RedistributionConfig>): Promise<BrightTrustEpoch<TID>>;
|
|
193
193
|
/**
|
|
194
194
|
* Maximum allowed description length for proposals.
|
|
195
195
|
*/
|
|
196
196
|
private static readonly MAX_DESCRIPTION_LENGTH;
|
|
197
197
|
/**
|
|
198
|
-
* Member count threshold above which inner
|
|
198
|
+
* Member count threshold above which inner brightTrust routing is used.
|
|
199
199
|
*/
|
|
200
|
-
private static readonly
|
|
200
|
+
private static readonly INNER_BRIGHT_TRUST_MEMBER_THRESHOLD;
|
|
201
201
|
/**
|
|
202
|
-
* Action types considered routine for inner
|
|
203
|
-
* When member count > 20 and an inner
|
|
202
|
+
* Action types considered routine for inner brightTrust routing.
|
|
203
|
+
* When member count > 20 and an inner brightTrust exists, these use the inner quorum threshold.
|
|
204
204
|
*/
|
|
205
205
|
private static readonly ROUTINE_ACTION_TYPES;
|
|
206
206
|
/**
|
|
207
|
-
* Determine the required threshold for a proposal based on inner
|
|
207
|
+
* Determine the required threshold for a proposal based on inner brightTrust routing.
|
|
208
208
|
*
|
|
209
|
-
* When member count > 20 and the current epoch has
|
|
210
|
-
* routine operations use the inner
|
|
209
|
+
* When member count > 20 and the current epoch has innerBrightTrustMemberIds,
|
|
210
|
+
* routine operations use the inner brightTrust size as threshold,
|
|
211
211
|
* while critical operations use the full membership threshold.
|
|
212
212
|
*
|
|
213
213
|
* @param actionType - The proposal action type
|
|
@@ -215,7 +215,7 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
215
215
|
*/
|
|
216
216
|
private getRequiredThreshold;
|
|
217
217
|
/**
|
|
218
|
-
* Submit a proposal for
|
|
218
|
+
* Submit a proposal for BrightTrust voting.
|
|
219
219
|
*
|
|
220
220
|
* Validates the proposer is an active member, validates description length,
|
|
221
221
|
* validates IDENTITY_DISCLOSURE has an attachment, assigns a unique ID,
|
|
@@ -223,7 +223,7 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
223
223
|
*
|
|
224
224
|
* @param proposal - The proposal input
|
|
225
225
|
* @returns The created Proposal with assigned ID and status
|
|
226
|
-
* @throws
|
|
226
|
+
* @throws BrightTrustError with MissingAttachment if IDENTITY_DISCLOSURE lacks attachmentCblId
|
|
227
227
|
*/
|
|
228
228
|
submitProposal(proposal: ProposalInput): Promise<Proposal<TID>>;
|
|
229
229
|
/**
|
|
@@ -234,9 +234,9 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
234
234
|
* via gossip, emits audit entry, and triggers vote tallying.
|
|
235
235
|
*
|
|
236
236
|
* @param vote - The vote input
|
|
237
|
-
* @throws
|
|
238
|
-
* @throws
|
|
239
|
-
* @throws
|
|
237
|
+
* @throws BrightTrustError with ProposalExpired if proposal is not pending
|
|
238
|
+
* @throws BrightTrustError with DuplicateVote if voter already voted
|
|
239
|
+
* @throws BrightTrustError with VoterNotOnProposal if voter is not an active member
|
|
240
240
|
*/
|
|
241
241
|
submitVote(vote: VoteInput<TID>): Promise<void>;
|
|
242
242
|
/**
|
|
@@ -300,9 +300,9 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
300
300
|
*/
|
|
301
301
|
private executeExtendStatute;
|
|
302
302
|
/**
|
|
303
|
-
* 11.8.10
|
|
303
|
+
* 11.8.10 CHANGE_INNER_BRIGHT_TRUST — update innerBrightTrustMemberIds on current epoch.
|
|
304
304
|
*/
|
|
305
|
-
private
|
|
305
|
+
private executeChangeInnerBrightTrust;
|
|
306
306
|
/**
|
|
307
307
|
* 11.8.11 CUSTOM — log approval without automated execution.
|
|
308
308
|
*/
|
|
@@ -314,7 +314,7 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
314
314
|
* approval signatures from the proposal's votes, persists it, updates
|
|
315
315
|
* the local ban list cache, and emits an audit log entry.
|
|
316
316
|
*
|
|
317
|
-
* If the target is a
|
|
317
|
+
* If the target is a BrightTrust member, also triggers removal logic
|
|
318
318
|
* (share redistribution).
|
|
319
319
|
*/
|
|
320
320
|
private executeBanMember;
|
|
@@ -330,13 +330,13 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
330
330
|
*/
|
|
331
331
|
getProposal(proposalId: TID): Promise<Proposal<TID> | null>;
|
|
332
332
|
/**
|
|
333
|
-
* Seal a document using the appropriate mode (bootstrap or
|
|
333
|
+
* Seal a document using the appropriate mode (bootstrap or brightTrust).
|
|
334
334
|
*
|
|
335
|
-
* In bootstrap mode: delegates to
|
|
336
|
-
* In
|
|
335
|
+
* In bootstrap mode: delegates to brightTrustSealBootstrap with effective threshold = member count.
|
|
336
|
+
* In BrightTrust mode: delegates to brightTrustSeal with configured threshold.
|
|
337
337
|
* Tags document with epoch number and sealedUnderBootstrap flag.
|
|
338
338
|
*
|
|
339
|
-
* @throws
|
|
339
|
+
* @throws BrightTrustError with TransitionInProgress if a transition ceremony is active
|
|
340
340
|
*/
|
|
341
341
|
sealDocument<T>(agent: Member<TID>, document: T, memberIds: TID[], sharesRequired?: number): Promise<SealedDocumentResult<TID>>;
|
|
342
342
|
/**
|
|
@@ -348,16 +348,16 @@ export declare class QuorumStateMachine<TID extends PlatformID = Uint8Array> imp
|
|
|
348
348
|
*/
|
|
349
349
|
unsealDocument<T>(documentId: TID, membersWithPrivateKey: Member<TID>[]): Promise<T>;
|
|
350
350
|
/** Get the current epoch. */
|
|
351
|
-
getCurrentEpoch(): Promise<
|
|
351
|
+
getCurrentEpoch(): Promise<BrightTrustEpoch<TID>>;
|
|
352
352
|
/** Get a specific epoch by number. */
|
|
353
|
-
getEpoch(epochNumber: number): Promise<
|
|
354
|
-
/** Get
|
|
355
|
-
getMetrics(): Promise<
|
|
356
|
-
/** Get the configured threshold for this
|
|
353
|
+
getEpoch(epochNumber: number): Promise<BrightTrustEpoch<TID> | null>;
|
|
354
|
+
/** Get brightTrust system metrics for monitoring. */
|
|
355
|
+
getMetrics(): Promise<BrightTrustMetrics>;
|
|
356
|
+
/** Get the configured threshold for this brightTrust. */
|
|
357
357
|
getConfiguredThreshold(): number;
|
|
358
358
|
/** Get the ban list cache for enforcement point checks. */
|
|
359
359
|
getBanListCache(): BanListCache<TID>;
|
|
360
360
|
/** Get the ban configuration. */
|
|
361
361
|
getBanConfig(): IBanConfig;
|
|
362
362
|
}
|
|
363
|
-
//# sourceMappingURL=
|
|
363
|
+
//# sourceMappingURL=brightTrustStateMachine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brightTrustStateMachine.d.ts","sourceRoot":"","sources":["../../../../../brightchain-lib/src/lib/services/brightTrustStateMachine.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAGL,MAAM,EAEN,UAAU,EAEX,MAAM,4BAA4B,CAAC;AAIpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AASxF,OAAO,EAGL,cAAc,EACf,MAAM,0CAA0C,CAAC;AAElD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,UAAU,EAEX,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF,OAAO,EACL,yBAAyB,EAEzB,oBAAoB,EACrB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAAQ,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM9C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAiBnD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