@safetech/inheriti-client-sdk 1.0.0 → 1.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/index.ts +7 -5
- package/package.json +20 -22
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -2
- package/dist/src/modules/_shared/domain/contexts/data-provider-context.d.ts +0 -2
- package/dist/src/modules/_shared/domain/contexts/service-provider-context.d.ts +0 -2
- package/dist/src/modules/_shared/domain/contexts/utils-provider-context.d.ts +0 -5
- package/dist/src/modules/_shared/domain/errors/getErrorMessage.d.ts +0 -1
- package/dist/src/modules/_shared/domain/hooks/resources/use-create.d.ts +0 -18
- package/dist/src/modules/_shared/domain/hooks/resources/use-delete.d.ts +0 -19
- package/dist/src/modules/_shared/domain/hooks/resources/use-get-list.d.ts +0 -25
- package/dist/src/modules/_shared/domain/hooks/resources/use-get-one.d.ts +0 -17
- package/dist/src/modules/_shared/domain/hooks/use-data-provider.d.ts +0 -2
- package/dist/src/modules/_shared/domain/hooks/use-repository.d.ts +0 -1
- package/dist/src/modules/_shared/domain/hooks/use-service-provider.d.ts +0 -2
- package/dist/src/modules/_shared/domain/hooks/use-service.d.ts +0 -1
- package/dist/src/modules/_shared/domain/hooks/utils-hooks.d.ts +0 -4
- package/dist/src/modules/_shared/domain/models/app-utils.d.ts +0 -10
- package/dist/src/modules/_shared/domain/models/currency-price.d.ts +0 -39
- package/dist/src/modules/_shared/domain/models/currency.d.ts +0 -24
- package/dist/src/modules/_shared/domain/models/euro-currency.d.ts +0 -3
- package/dist/src/modules/_shared/domain/models/mutation-options.d.ts +0 -8
- package/dist/src/modules/_shared/domain/models/mutation.d.ts +0 -5
- package/dist/src/modules/_shared/domain/models/pagination-options.d.ts +0 -4
- package/dist/src/modules/_shared/domain/models/query-options.d.ts +0 -6
- package/dist/src/modules/_shared/domain/models/query.d.ts +0 -5
- package/dist/src/modules/_shared/domain/models/resource-count.d.ts +0 -3
- package/dist/src/modules/_shared/domain/models/sort-options.d.ts +0 -4
- package/dist/src/modules/_shared/domain/models/use-mutation-value.d.ts +0 -13
- package/dist/src/modules/_shared/domain/models/use-query-value.d.ts +0 -11
- package/dist/src/modules/_shared/domain/services/mutation-creator.d.ts +0 -6
- package/dist/src/modules/_shared/domain/services/query-creator.d.ts +0 -6
- package/dist/src/modules/_shared/domain/utils/misc/array-utils.d.ts +0 -48
- package/dist/src/modules/_shared/domain/utils/misc/datetime-utils.d.ts +0 -40
- package/dist/src/modules/_shared/domain/utils/misc/encrypt-utils.d.ts +0 -17
- package/dist/src/modules/_shared/domain/utils/misc/number-utils.d.ts +0 -4
- package/dist/src/modules/_shared/domain/utils/misc/object-utils.d.ts +0 -76
- package/dist/src/modules/_shared/domain/utils/misc/text-utils.d.ts +0 -7
- package/dist/src/modules/_shared/domain/utils/misc/uuid-utils.d.ts +0 -6
- package/dist/src/modules/_shared/infrastructure/api/api-repository.d.ts +0 -36
- package/dist/src/modules/_shared/infrastructure/api/app-payload-encrypter.d.ts +0 -9
- package/dist/src/modules/_shared/infrastructure/http/HttpError.d.ts +0 -7
- package/dist/src/modules/_shared/infrastructure/http/fetch.d.ts +0 -48
- package/dist/src/modules/_shared/infrastructure/local-storage/browser-local-storage.d.ts +0 -9
- package/dist/src/modules/_shared/infrastructure/providers/app-data-provider.d.ts +0 -20
- package/dist/src/modules/_shared/infrastructure/providers/app-provider.d.ts +0 -15
- package/dist/src/modules/_shared/infrastructure/providers/app-service-provider.d.ts +0 -28
- package/dist/src/modules/_shared/infrastructure/providers/app-utils-provider.d.ts +0 -175
- package/dist/src/modules/_shared/infrastructure/providers/inheriti-client-provider.d.ts +0 -46
- package/dist/src/modules/_shared/infrastructure/secure-storage/app-secure-storage.d.ts +0 -8
- package/dist/src/modules/_shared/infrastructure/services/hexEncoder.d.ts +0 -4
- package/dist/src/modules/_shared/infrastructure/services/react-q-query-creator.d.ts +0 -7
- package/dist/src/modules/_shared/infrastructure/services/react-query-mutation-creator.d.ts +0 -7
- package/dist/src/modules/_shared/infrastructure/services/safeshareLegacy.d.ts +0 -29
- package/dist/src/modules/_shared/infrastructure/session-storage/browser-session-storage.d.ts +0 -12
- package/dist/src/modules/_shared/infrastructure/utils/context-selector.d.ts +0 -2
- package/dist/src/modules/_shared/infrastructure/utils/get-api-url.d.ts +0 -1
- package/dist/src/modules/_shared/infrastructure/utils/set-query-params.d.ts +0 -5
- package/dist/src/modules/auth/application/use-auth-dispatch.d.ts +0 -1
- package/dist/src/modules/auth/application/use-auth-provider.d.ts +0 -4
- package/dist/src/modules/auth/application/use-auth-state.d.ts +0 -1
- package/dist/src/modules/auth/application/use-client.d.ts +0 -27
- package/dist/src/modules/auth/application/use-ensure-connected-client.d.ts +0 -3
- package/dist/src/modules/auth/application/use-get-identity.d.ts +0 -36
- package/dist/src/modules/auth/application/use-is-logged-in.d.ts +0 -8
- package/dist/src/modules/auth/application/use-login-client.d.ts +0 -6
- package/dist/src/modules/auth/application/use-logout-client.d.ts +0 -5
- package/dist/src/modules/auth/domain/contexts/auth-provider-context.d.ts +0 -2
- package/dist/src/modules/auth/domain/models/auth-credentials.d.ts +0 -3
- package/dist/src/modules/auth/domain/models/user-identity.d.ts +0 -28
- package/dist/src/modules/auth/domain/services/auth-provider.d.ts +0 -16
- package/dist/src/modules/auth/index.d.ts +0 -6
- package/dist/src/modules/auth/infrastructure/providers/app-auth-provider.d.ts +0 -30
- package/dist/src/modules/auth/infrastructure/providers/app-identity-service.d.ts +0 -9
- package/dist/src/modules/auth/infrastructure/providers/auth-constants.d.ts +0 -6
- package/dist/src/modules/beneficiary/domain/models/beneficiary-device.d.ts +0 -28
- package/dist/src/modules/beneficiary/domain/models/beneficiary-relation.d.ts +0 -13
- package/dist/src/modules/beneficiary/domain/models/beneficiary-type.d.ts +0 -16
- package/dist/src/modules/beneficiary/domain/models/beneficiary.d.ts +0 -54
- package/dist/src/modules/beneficiary/index.d.ts +0 -1
- package/dist/src/modules/beneficiary/infrastructure/mappers/beneficiary-mapper.d.ts +0 -6
- package/dist/src/modules/protection-plan/application/configuration-process/blockchain/use-create-smart-contract.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/creation/use-create-backup-shares.d.ts +0 -6
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/creation/use-create-cold-shares.d.ts +0 -6
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/creation/use-create-mobile-shares.d.ts +0 -6
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/creation/use-create-validator-shares.d.ts +0 -6
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/distribution/use-distribute-backup-shares.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/distribution/use-distribute-cold-share.d.ts +0 -8
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/distribution/use-distribute-mobile-shares.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/configuration-process/plan-shares/distribution/use-distribute-validator-shares.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/configuration-process/use-configure-plan.d.ts +0 -12
- package/dist/src/modules/protection-plan/application/configuration-process/use-delete-plan-configuration-process.d.ts +0 -8
- package/dist/src/modules/protection-plan/application/configuration-process/use-get-plan-configuration-process.d.ts +0 -12
- package/dist/src/modules/protection-plan/application/configuration-process/use-save-plan-creation-process.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/creation/use-create-protection-plan.d.ts +0 -24
- package/dist/src/modules/protection-plan/application/creation/use-get-available-plan-triggers.d.ts +0 -3
- package/dist/src/modules/protection-plan/application/creation/use-get-protection-plan-security-level.d.ts +0 -47
- package/dist/src/modules/protection-plan/application/creation/use-persist-protection-plan.d.ts +0 -10
- package/dist/src/modules/protection-plan/application/listing/use-find-protection-plan-summary-by-criteria.d.ts +0 -13
- package/dist/src/modules/protection-plan/application/listing/use-find-protection-plans-by-criteria.d.ts +0 -15
- package/dist/src/modules/protection-plan/application/listing/use-get-protection-plan-summary.d.ts +0 -13
- package/dist/src/modules/protection-plan/application/listing/use-is-merge-authority-mode.d.ts +0 -3
- package/dist/src/modules/protection-plan/application/listing/use-protection-plan-listener.d.ts +0 -25
- package/dist/src/modules/protection-plan/application/merging-process/merge-authority/use-authorize-merge-authority.d.ts +0 -13
- package/dist/src/modules/protection-plan/application/merging-process/merge-authority/use-get-merge-authority-protection-plan.d.ts +0 -12
- package/dist/src/modules/protection-plan/application/merging-process/merge-authority/use-merge-authority-merge-process-events.d.ts +0 -6
- package/dist/src/modules/protection-plan/application/merging-process/merge-triggers/use-retry-active-merge-trigger.d.ts +0 -10
- package/dist/src/modules/protection-plan/application/merging-process/merge-triggers/use-validate-merge-trigger.d.ts +0 -12
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-backup-shares.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-cold-share.d.ts +0 -8
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-mobile-shares.d.ts +0 -5
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-released-mobile-shares.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/collection/use-collect-validator-shares.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/use-check-can-collect-shares.d.ts +0 -2
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/use-save-release-mobile-share-request.d.ts +0 -11
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/use-send-plan-share-merge-status-event.d.ts +0 -15
- package/dist/src/modules/protection-plan/application/merging-process/plan-shares/use-send-plan-shares-merged.d.ts +0 -10
- package/dist/src/modules/protection-plan/application/merging-process/use-close-protection-plan.d.ts +0 -10
- package/dist/src/modules/protection-plan/application/merging-process/use-create-merging-process.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/merging-process/use-delete-merging-process-by-criteria.d.ts +0 -11
- package/dist/src/modules/protection-plan/application/merging-process/use-delete-merging-process.d.ts +0 -10
- package/dist/src/modules/protection-plan/application/merging-process/use-get-merging-process-by-plan.d.ts +0 -23
- package/dist/src/modules/protection-plan/application/merging-process/use-merge-plan-beneficiary-selection.d.ts +0 -27
- package/dist/src/modules/protection-plan/application/merging-process/use-persist-merge-process.d.ts +0 -12
- package/dist/src/modules/protection-plan/application/merging-process/use-reveal-plan-data.d.ts +0 -13
- package/dist/src/modules/protection-plan/application/merging-process/use-save-merging-process.d.ts +0 -9
- package/dist/src/modules/protection-plan/application/merging-process/use-scan-plans-from-merge-authority-device.d.ts +0 -10
- package/dist/src/modules/protection-plan/application/merging-process/use-shareholder-merge-process-events.d.ts +0 -2
- package/dist/src/modules/protection-plan/domain/dto/plan-dto.d.ts +0 -68
- package/dist/src/modules/protection-plan/domain/dto/protection-plan-input.d.ts +0 -173
- package/dist/src/modules/protection-plan/domain/models/app-process.d.ts +0 -29
- package/dist/src/modules/protection-plan/domain/models/backup/backup-plan.d.ts +0 -18
- package/dist/src/modules/protection-plan/domain/models/backup/backup-shareholder.d.ts +0 -9
- package/dist/src/modules/protection-plan/domain/models/client/protection-plan-summary.d.ts +0 -218
- package/dist/src/modules/protection-plan/domain/models/data-asset.d.ts +0 -113
- package/dist/src/modules/protection-plan/domain/models/device-share-info.d.ts +0 -10
- package/dist/src/modules/protection-plan/domain/models/inheritance/heir.d.ts +0 -9
- package/dist/src/modules/protection-plan/domain/models/inheritance/inheritance-plan.d.ts +0 -16
- package/dist/src/modules/protection-plan/domain/models/merging-process/active-merge-process.d.ts +0 -15
- package/dist/src/modules/protection-plan/domain/models/merging-process/merging-process.d.ts +0 -135
- package/dist/src/modules/protection-plan/domain/models/plan-creation-proccess/plan-creation-process.d.ts +0 -69
- package/dist/src/modules/protection-plan/domain/models/plan-share.d.ts +0 -69
- package/dist/src/modules/protection-plan/domain/models/proccess-step.d.ts +0 -21
- package/dist/src/modules/protection-plan/domain/models/protection-plan-details.d.ts +0 -70
- package/dist/src/modules/protection-plan/domain/models/protection-plan-passphrase.d.ts +0 -18
- package/dist/src/modules/protection-plan/domain/models/protection-plan.d.ts +0 -238
- package/dist/src/modules/protection-plan/domain/models/shareholder.d.ts +0 -32
- package/dist/src/modules/protection-plan/domain/models/storage-option.d.ts +0 -29
- package/dist/src/modules/protection-plan/domain/models/trigger-settings-info.d.ts +0 -6
- package/dist/src/modules/protection-plan/domain/models/trigger.d.ts +0 -46
- package/dist/src/modules/protection-plan/domain/repositories/merge-authority-protection-plan-repository.d.ts +0 -13
- package/dist/src/modules/protection-plan/domain/repositories/merging-process-repository.d.ts +0 -62
- package/dist/src/modules/protection-plan/domain/repositories/plan-creation-repository.d.ts +0 -7
- package/dist/src/modules/protection-plan/domain/repositories/plan-security-repository.d.ts +0 -7
- package/dist/src/modules/protection-plan/domain/repositories/plan-triggers-repository.d.ts +0 -4
- package/dist/src/modules/protection-plan/domain/repositories/protection-plan-repository.d.ts +0 -24
- package/dist/src/modules/protection-plan/domain/services/blockchain-service.d.ts +0 -32
- package/dist/src/modules/protection-plan/domain/services/input-validation/PlanTypeInputValidator.d.ts +0 -4
- package/dist/src/modules/protection-plan/domain/services/input-validation/plan-beneficiaries-input-validator.d.ts +0 -240
- package/dist/src/modules/protection-plan/domain/services/input-validation/plan-data-assets-input-validator.d.ts +0 -1108
- package/dist/src/modules/protection-plan/domain/services/input-validation/plan-details-input-validator.d.ts +0 -23
- package/dist/src/modules/protection-plan/domain/services/input-validation/plan-shares-configuration-input-validator.d.ts +0 -13
- package/dist/src/modules/protection-plan/domain/services/input-validation/plan-storage-configuration-input-validator.d.ts +0 -25
- package/dist/src/modules/protection-plan/domain/services/input-validation/plan-triggers-input-validator.d.ts +0 -105
- package/dist/src/modules/protection-plan/domain/services/input-validation/utils/index.d.ts +0 -3
- package/dist/src/modules/protection-plan/domain/services/merge-authorization-handler.d.ts +0 -14
- package/dist/src/modules/protection-plan/domain/services/merge-process-event-listener.d.ts +0 -14
- package/dist/src/modules/protection-plan/domain/services/plan-data-assets-manager.d.ts +0 -69
- package/dist/src/modules/protection-plan/domain/services/plan-data-revealer.d.ts +0 -5
- package/dist/src/modules/protection-plan/domain/services/plan-event-listener.d.ts +0 -10
- package/dist/src/modules/protection-plan/domain/services/plan-merge-threshold-range-calculator.d.ts +0 -8
- package/dist/src/modules/protection-plan/domain/services/plan-recovery-shares-range-calculator.d.ts +0 -8
- package/dist/src/modules/protection-plan/domain/services/plan-shares-generator.d.ts +0 -18
- package/dist/src/modules/protection-plan/domain/services/vault-service.d.ts +0 -10
- package/dist/src/modules/protection-plan/domain/utils/plan-details-mapper.d.ts +0 -12
- package/dist/src/modules/protection-plan/domain/utils/plan-shares-details-mapper.d.ts +0 -10
- package/dist/src/modules/protection-plan/domain/utils/plan-triggers-details-mapper.d.ts +0 -5
- package/dist/src/modules/protection-plan/domain/utils/protection-plan-internal-mapper.d.ts +0 -5
- package/dist/src/modules/protection-plan/index.d.ts +0 -28
- package/dist/src/modules/protection-plan/infrastructure/mappers/backup-shareholder-mapper.d.ts +0 -7
- package/dist/src/modules/protection-plan/infrastructure/mappers/draft-protection-plan-mapper.d.ts +0 -8
- package/dist/src/modules/protection-plan/infrastructure/mappers/heir-mapper.d.ts +0 -7
- package/dist/src/modules/protection-plan/infrastructure/mappers/merging-process-mapper.d.ts +0 -5
- package/dist/src/modules/protection-plan/infrastructure/mappers/plan-creation-mapper.d.ts +0 -5
- package/dist/src/modules/protection-plan/infrastructure/mappers/protection-plan-filters-mapper.d.ts +0 -4
- package/dist/src/modules/protection-plan/infrastructure/mappers/protection-plan-mapper.d.ts +0 -10
- package/dist/src/modules/protection-plan/infrastructure/repositories/app-merging-process-repository.d.ts +0 -65
- package/dist/src/modules/protection-plan/infrastructure/repositories/app-plan-creation-repository.d.ts +0 -12
- package/dist/src/modules/protection-plan/infrastructure/repositories/app-plan-security-repository.d.ts +0 -11
- package/dist/src/modules/protection-plan/infrastructure/repositories/app-plan-triggers-repository.d.ts +0 -10
- package/dist/src/modules/protection-plan/infrastructure/repositories/protection-plan/app-merge-authority-protection-plan-repository.d.ts +0 -17
- package/dist/src/modules/protection-plan/infrastructure/repositories/protection-plan/app-protection-plan-repository.d.ts +0 -13
- package/dist/src/modules/protection-plan/infrastructure/services/app-blockchain-service.d.ts +0 -42
- package/dist/src/modules/protection-plan/infrastructure/services/app-plan-data-revealer.d.ts +0 -14
- package/dist/src/modules/protection-plan/infrastructure/services/app-plan-shares-generator.d.ts +0 -5
- package/dist/src/modules/protection-plan/infrastructure/services/constants/device-constants.d.ts +0 -1
- package/dist/src/modules/protection-plan/infrastructure/services/inheriti-vault-service.d.ts +0 -15
- package/dist/src/modules/protection-plan/infrastructure/services/socket-io-merge-authorization-handler.d.ts +0 -17
- package/dist/src/modules/protection-plan/infrastructure/services/socket-io-merge-process-event-listener.d.ts +0 -14
- package/dist/src/modules/protection-plan/infrastructure/services/socket-io-plan-event-listener.d.ts +0 -14
- package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-distribute-cold-shares-process.d.ts +0 -15
- package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-get-active-plan-configuration-process.d.ts +0 -11
- package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-plan-configuration-process-steps.d.ts +0 -16
- package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-plan-configuration-process.d.ts +0 -25
- package/dist/src/modules/protection-plan/ui/plan-creation-process/hooks/use-start-protection-plan-configuration-process.d.ts +0 -10
- package/dist/src/modules/protection-plan/ui/plan-creation-process/view-models/plan-configuration-process-view.d.ts +0 -55
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/merge-athority/use-merge-authority-sk-mobile-plan-detection.d.ts +0 -13
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/merge-athority/use-merge-authority-sk-pro-plan-detection.d.ts +0 -12
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-abort-merge-process.d.ts +0 -6
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-active-merge-process-listener.d.ts +0 -9
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-collect-plan-cold-share-process.d.ts +0 -13
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-count-down.d.ts +0 -7
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-initialize-merging-process.d.ts +0 -21
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-merge-process-controller.d.ts +0 -13
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-merge-process-release-shares-controller.d.ts +0 -9
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-plan-merge-process.d.ts +0 -55
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-process-plan-merge-steps.d.ts +0 -11
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-reveal-data-controller.d.ts +0 -26
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-start-merge-process.d.ts +0 -20
- package/dist/src/modules/protection-plan/ui/plan-merge-process/hooks/use-trigger-countdown.d.ts +0 -18
- package/dist/src/modules/protection-plan/ui/plan-merge-process/utils/merge-process-utils.d.ts +0 -3
- package/dist/src/modules/protection-plan/ui/plan-merge-process/view-models/plan-merge-process-view.d.ts +0 -173
- package/dist/src/modules/protection-plan/ui/protection-plan/utils/plan-beneficiary-builder.d.ts +0 -12
- package/dist/src/modules/protection-plan/ui/protection-plan/utils/plan-data-asset-builder.d.ts +0 -35
- package/dist/src/modules/protection-plan/ui/protection-plan/utils/protection-plan-code.d.ts +0 -7
- package/dist/src/modules/protection-plan/ui/protection-plan/utils/protection-plan-id.d.ts +0 -7
- package/dist/src/modules/protection-plan/ui/protection-plan/utils/trigger-builder.d.ts +0 -24
- package/dist/src/modules/safekey/application/use-connect-safekey-pro-device.d.ts +0 -10
- package/dist/src/modules/safekey/application/use-disconnect-safekey-device.d.ts +0 -8
- package/dist/src/modules/safekey/application/use-safekey-device.d.ts +0 -16
- package/dist/src/modules/safekey/application/use-validate-safekey-device-pin.d.ts +0 -12
- package/dist/src/modules/safekey/domain/services/cold-storage-service.d.ts +0 -55
- package/dist/src/modules/safekey/index.d.ts +0 -4
- package/dist/src/modules/safekey/infrastructure/services/safekey-cold-storage-service.d.ts +0 -45
- package/dist/src/modules/safekey/infrastructure/services/safekey-service.d.ts +0 -9
- package/dist/test/index.js +0 -14
- package/dist/tests/modules/_shared/domain/models/FinancialMother.d.ts +0 -11
- package/dist/tests/modules/_shared/domain/models/date-mother.d.ts +0 -6
- package/dist/tests/modules/_shared/domain/models/email-mother.d.ts +0 -3
- package/dist/tests/modules/_shared/domain/models/id-mother.d.ts +0 -3
- package/dist/tests/modules/_shared/domain/models/internet-mother.d.ts +0 -11
- package/dist/tests/modules/_shared/domain/models/mother-creator.d.ts +0 -3
- package/dist/tests/modules/_shared/domain/models/name-mother.d.ts +0 -5
- package/dist/tests/modules/_shared/domain/models/number-mother.d.ts +0 -7
- package/dist/tests/modules/_shared/domain/models/random-element-picker-mother.d.ts +0 -3
- package/dist/tests/modules/_shared/domain/models/uuid-mother.d.ts +0 -3
- package/dist/tests/modules/_shared/domain/models/word-mother.d.ts +0 -5
- package/dist/tests/modules/index.d.ts +0 -6
- package/dist/tests/modules/protection-plan/domain/plan-beneficiary-input-generator.d.ts +0 -18
- package/dist/tests/modules/protection-plan/domain/plan-data-asset-input-generator.d.ts +0 -13
- package/dist/tests/modules/protection-plan/domain/plan-details-input-generator.d.ts +0 -7
- package/dist/tests/modules/protection-plan/domain/plan-shares-configuration-input-generator.d.ts +0 -20
- package/dist/tests/modules/protection-plan/domain/plan-storage-configuration-input-generator.d.ts +0 -4
- package/dist/tests/modules/protection-plan/domain/plan-trigger-input-generator.d.ts +0 -27
- package/dist/tests/modules/protection-plan/domain/protection-plan-input-generator.d.ts +0 -4
- package/dist/tests/modules/protection-plan/index.d.ts +0 -8
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
import { DataAsset } from '../../../../protection-plan/domain/models/data-asset';
|
|
2
|
-
import { MergeTriggerStatus, TriggerStatus } from '../../../../protection-plan/domain/models/trigger';
|
|
3
|
-
type MainTriggerStatus = TriggerStatus & MergeTriggerStatus;
|
|
4
|
-
type ShareType = 'VALIDATOR' | 'COLD' | 'MOBILE' | 'BACKUP';
|
|
5
|
-
interface PlanMergeProcessViewProps {
|
|
6
|
-
shares: {
|
|
7
|
-
id: string;
|
|
8
|
-
status: 'WAITING' | 'COLLECTING' | 'COLLECTED' | 'RELEASED';
|
|
9
|
-
type: 'VALIDATOR' | 'COLD' | 'MOBILE' | 'BACKUP';
|
|
10
|
-
shareholder: {
|
|
11
|
-
isMergeAuthority: boolean;
|
|
12
|
-
details: {
|
|
13
|
-
firstName: string | undefined;
|
|
14
|
-
lastName: string | undefined;
|
|
15
|
-
types: any[];
|
|
16
|
-
id: string;
|
|
17
|
-
email: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
type: ShareType;
|
|
20
|
-
} | undefined;
|
|
21
|
-
}[];
|
|
22
|
-
revealedData: {
|
|
23
|
-
secret: DataAsset[];
|
|
24
|
-
timeoutMinutesForClose: number | undefined;
|
|
25
|
-
remainingTime: number;
|
|
26
|
-
} | undefined;
|
|
27
|
-
triggers: {
|
|
28
|
-
countdown: {
|
|
29
|
-
days: number;
|
|
30
|
-
hours: number;
|
|
31
|
-
minutes: number;
|
|
32
|
-
seconds: number;
|
|
33
|
-
} | undefined;
|
|
34
|
-
startedAt: Date | undefined;
|
|
35
|
-
id: 'LOGIN' | 'CLICK_LINK' | 'SAFEKEY_2FA' | 'SMS' | 'PHONE_CALL';
|
|
36
|
-
requiresCodeVerification: boolean;
|
|
37
|
-
status: MainTriggerStatus;
|
|
38
|
-
expiresAt: Date | undefined;
|
|
39
|
-
target: string;
|
|
40
|
-
}[];
|
|
41
|
-
steps: {
|
|
42
|
-
id: string;
|
|
43
|
-
status: 'IN_PROCESS' | 'COMPLETE' | 'INCOMPLETE' | 'ERROR';
|
|
44
|
-
errorMessage?: string;
|
|
45
|
-
}[];
|
|
46
|
-
status: 'NOT_STARTED' | 'ACTIVATE_TRIGGERS' | 'COLLECT_COLD_SHARES' | 'COLLECT_VALIDATOR_SHARE' | 'COLLECT_MOBILE_PLAN_SHARES' | 'COLLECT_MA_PLAN_SHARES' | 'REVEALING_DATA' | 'REVEALED' | 'FINISHED';
|
|
47
|
-
}
|
|
48
|
-
export declare class PlanMergeProcessView {
|
|
49
|
-
private props;
|
|
50
|
-
constructor(props: PlanMergeProcessViewProps);
|
|
51
|
-
get steps(): {
|
|
52
|
-
id: string;
|
|
53
|
-
status: "IN_PROCESS" | "COMPLETE" | "INCOMPLETE" | "ERROR";
|
|
54
|
-
errorMessage?: string;
|
|
55
|
-
}[];
|
|
56
|
-
get isFinished(): boolean;
|
|
57
|
-
get activeStepId(): string | undefined;
|
|
58
|
-
get status(): "COLLECT_MA_PLAN_SHARES" | "ACTIVATE_TRIGGERS" | "COLLECT_VALIDATOR_SHARE" | "NOT_STARTED" | "COLLECT_COLD_SHARES" | "COLLECT_MOBILE_PLAN_SHARES" | "REVEALING_DATA" | "REVEALED" | "FINISHED";
|
|
59
|
-
get mergeAuthorityShareStorageType(): "COLD" | "MOBILE";
|
|
60
|
-
get completeProgress(): number;
|
|
61
|
-
get completedSteps(): {
|
|
62
|
-
id: string;
|
|
63
|
-
status: "IN_PROCESS" | "COMPLETE" | "INCOMPLETE" | "ERROR";
|
|
64
|
-
errorMessage?: string;
|
|
65
|
-
}[];
|
|
66
|
-
get isDenied(): boolean;
|
|
67
|
-
get isExpired(): boolean;
|
|
68
|
-
get triggers(): {
|
|
69
|
-
countdown: {
|
|
70
|
-
days: number;
|
|
71
|
-
hours: number;
|
|
72
|
-
minutes: number;
|
|
73
|
-
seconds: number;
|
|
74
|
-
} | undefined;
|
|
75
|
-
startedAt: Date | undefined;
|
|
76
|
-
id: "LOGIN" | "CLICK_LINK" | "SAFEKEY_2FA" | "SMS" | "PHONE_CALL";
|
|
77
|
-
requiresCodeVerification: boolean;
|
|
78
|
-
status: MainTriggerStatus;
|
|
79
|
-
expiresAt: Date | undefined;
|
|
80
|
-
target: string;
|
|
81
|
-
}[];
|
|
82
|
-
get pendingTrigger(): {
|
|
83
|
-
countdown: {
|
|
84
|
-
days: number;
|
|
85
|
-
hours: number;
|
|
86
|
-
minutes: number;
|
|
87
|
-
seconds: number;
|
|
88
|
-
} | undefined;
|
|
89
|
-
startedAt: Date | undefined;
|
|
90
|
-
id: "LOGIN" | "CLICK_LINK" | "SAFEKEY_2FA" | "SMS" | "PHONE_CALL";
|
|
91
|
-
requiresCodeVerification: boolean;
|
|
92
|
-
status: MainTriggerStatus;
|
|
93
|
-
expiresAt: Date | undefined;
|
|
94
|
-
target: string;
|
|
95
|
-
} | undefined;
|
|
96
|
-
get isStarted(): boolean;
|
|
97
|
-
get hasPendingTrigger(): boolean;
|
|
98
|
-
get revealedSecretData(): DataAsset[] | undefined;
|
|
99
|
-
get remainingTimeForClose(): number | undefined;
|
|
100
|
-
get timeoutMinutesForClose(): number | undefined;
|
|
101
|
-
get pendingShare(): {
|
|
102
|
-
id: string;
|
|
103
|
-
status: "WAITING" | "COLLECTING" | "COLLECTED" | "RELEASED";
|
|
104
|
-
type: "VALIDATOR" | "COLD" | "MOBILE" | "BACKUP";
|
|
105
|
-
shareholder: {
|
|
106
|
-
isMergeAuthority: boolean;
|
|
107
|
-
details: {
|
|
108
|
-
firstName: string | undefined;
|
|
109
|
-
lastName: string | undefined;
|
|
110
|
-
types: any[];
|
|
111
|
-
id: string;
|
|
112
|
-
email: string | undefined;
|
|
113
|
-
};
|
|
114
|
-
type: ShareType;
|
|
115
|
-
} | undefined;
|
|
116
|
-
} | undefined;
|
|
117
|
-
get pendingBeneficiary(): {
|
|
118
|
-
firstName: string | undefined;
|
|
119
|
-
lastName: string | undefined;
|
|
120
|
-
types: any[];
|
|
121
|
-
id: string;
|
|
122
|
-
email: string | undefined;
|
|
123
|
-
} | undefined;
|
|
124
|
-
get mobileShares(): {
|
|
125
|
-
id: string;
|
|
126
|
-
status: "WAITING" | "COLLECTING" | "COLLECTED" | "RELEASED";
|
|
127
|
-
type: "VALIDATOR" | "COLD" | "MOBILE" | "BACKUP";
|
|
128
|
-
shareholder: {
|
|
129
|
-
isMergeAuthority: boolean;
|
|
130
|
-
details: {
|
|
131
|
-
firstName: string | undefined;
|
|
132
|
-
lastName: string | undefined;
|
|
133
|
-
types: any[];
|
|
134
|
-
id: string;
|
|
135
|
-
email: string | undefined;
|
|
136
|
-
};
|
|
137
|
-
type: ShareType;
|
|
138
|
-
} | undefined;
|
|
139
|
-
}[];
|
|
140
|
-
get coldShares(): {
|
|
141
|
-
id: string;
|
|
142
|
-
status: "WAITING" | "COLLECTING" | "COLLECTED" | "RELEASED";
|
|
143
|
-
type: "VALIDATOR" | "COLD" | "MOBILE" | "BACKUP";
|
|
144
|
-
shareholder: {
|
|
145
|
-
isMergeAuthority: boolean;
|
|
146
|
-
details: {
|
|
147
|
-
firstName: string | undefined;
|
|
148
|
-
lastName: string | undefined;
|
|
149
|
-
types: any[];
|
|
150
|
-
id: string;
|
|
151
|
-
email: string | undefined;
|
|
152
|
-
};
|
|
153
|
-
type: ShareType;
|
|
154
|
-
} | undefined;
|
|
155
|
-
}[];
|
|
156
|
-
get beneficiariesShares(): {
|
|
157
|
-
id: string;
|
|
158
|
-
status: "WAITING" | "COLLECTING" | "COLLECTED" | "RELEASED";
|
|
159
|
-
type: "VALIDATOR" | "COLD" | "MOBILE" | "BACKUP";
|
|
160
|
-
shareholder: {
|
|
161
|
-
isMergeAuthority: boolean;
|
|
162
|
-
details: {
|
|
163
|
-
firstName: string | undefined;
|
|
164
|
-
lastName: string | undefined;
|
|
165
|
-
types: any[];
|
|
166
|
-
id: string;
|
|
167
|
-
email: string | undefined;
|
|
168
|
-
};
|
|
169
|
-
type: ShareType;
|
|
170
|
-
} | undefined;
|
|
171
|
-
}[];
|
|
172
|
-
}
|
|
173
|
-
export {};
|
package/dist/src/modules/protection-plan/ui/protection-plan/utils/plan-beneficiary-builder.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PlanBeneficiaryInput } from "../../../../protection-plan";
|
|
2
|
-
import { SafeKeyMobileBeneficiary, SafeKeyProBeneficiary } from "../../../../protection-plan/domain/dto/protection-plan-input";
|
|
3
|
-
export default class PlanBeneficiaryBuilder {
|
|
4
|
-
static skMobileBeneficiary(props: {
|
|
5
|
-
details: SafeKeyMobileBeneficiary;
|
|
6
|
-
isMergeAuthority: boolean;
|
|
7
|
-
}): PlanBeneficiaryInput;
|
|
8
|
-
static skProBeneficiary(props: {
|
|
9
|
-
details: SafeKeyProBeneficiary;
|
|
10
|
-
isMergeAuthority: boolean;
|
|
11
|
-
}): PlanBeneficiaryInput;
|
|
12
|
-
}
|
package/dist/src/modules/protection-plan/ui/protection-plan/utils/plan-data-asset-builder.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ApiKeyAsset, DataAsset, OnlineAccountAsset, PaymentCreditCardAsset, PaymentDebitCardAsset, PINCodeAsset, PlainTextAsset, PrivateKeyAsset, RecoveryCodeAsset, SeedPhraseAsset } from '../../../../protection-plan/domain/models/data-asset';
|
|
2
|
-
export interface DataAssetShareProps {
|
|
3
|
-
id?: string;
|
|
4
|
-
name: string;
|
|
5
|
-
notes?: string;
|
|
6
|
-
}
|
|
7
|
-
export default class PlanDataAssetBuilder {
|
|
8
|
-
static plainText(props: {
|
|
9
|
-
secret: PlainTextAsset;
|
|
10
|
-
} & Omit<DataAssetShareProps, 'notes'>): DataAsset;
|
|
11
|
-
static onlineAccount(props: {
|
|
12
|
-
secret: OnlineAccountAsset;
|
|
13
|
-
} & DataAssetShareProps): DataAsset;
|
|
14
|
-
static recoveryCode(props: {
|
|
15
|
-
secret: RecoveryCodeAsset;
|
|
16
|
-
} & DataAssetShareProps): DataAsset;
|
|
17
|
-
static pinCode(props: {
|
|
18
|
-
secret: PINCodeAsset;
|
|
19
|
-
} & DataAssetShareProps): DataAsset;
|
|
20
|
-
static apiKey(props: {
|
|
21
|
-
secret: ApiKeyAsset;
|
|
22
|
-
} & DataAssetShareProps): DataAsset;
|
|
23
|
-
static privateKey(props: {
|
|
24
|
-
secret: PrivateKeyAsset;
|
|
25
|
-
} & DataAssetShareProps): DataAsset;
|
|
26
|
-
static seedPhrase(props: {
|
|
27
|
-
secret: SeedPhraseAsset;
|
|
28
|
-
} & DataAssetShareProps): DataAsset;
|
|
29
|
-
static paymentDebitCard(props: {
|
|
30
|
-
secret: PaymentDebitCardAsset;
|
|
31
|
-
} & DataAssetShareProps): DataAsset;
|
|
32
|
-
static paymentCreditCard(props: {
|
|
33
|
-
secret: PaymentCreditCardAsset;
|
|
34
|
-
} & DataAssetShareProps): DataAsset;
|
|
35
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { PlanTriggerInput } from '../../../../protection-plan/domain/dto/protection-plan-input';
|
|
2
|
-
interface SharedProps extends Omit<PlanTriggerInput, 'id'> {
|
|
3
|
-
}
|
|
4
|
-
export default class TriggerBuilder {
|
|
5
|
-
static clickLink(props: Omit<SharedProps, "settings"> & {
|
|
6
|
-
email: string;
|
|
7
|
-
}): PlanTriggerInput;
|
|
8
|
-
static login(props: Omit<SharedProps, "settings"> & {
|
|
9
|
-
email: string;
|
|
10
|
-
}): PlanTriggerInput;
|
|
11
|
-
static sms(props: Omit<SharedProps, "settings"> & {
|
|
12
|
-
phone: string;
|
|
13
|
-
}): PlanTriggerInput;
|
|
14
|
-
static phoneCall(props: Omit<SharedProps, "settings"> & {
|
|
15
|
-
phone: string;
|
|
16
|
-
}): PlanTriggerInput;
|
|
17
|
-
}
|
|
18
|
-
export declare class TriggerCountDownBuilder {
|
|
19
|
-
static days(n: number): PlanTriggerInput["countdown"];
|
|
20
|
-
static hours(n: number): PlanTriggerInput["countdown"];
|
|
21
|
-
static minutes(n: number): PlanTriggerInput["countdown"];
|
|
22
|
-
static create(input: Partial<PlanTriggerInput["countdown"]>): PlanTriggerInput["countdown"];
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
type CONNECT_DEVICE_STATE = 'CONNECT_DEVICE' | 'TOUCH_DEVICE_BUTTON' | 'ERROR' | 'SUCCESS';
|
|
2
|
-
interface SkDeviceInfo {
|
|
3
|
-
freeSlots?: number;
|
|
4
|
-
totalSlots: number;
|
|
5
|
-
usagePercentage: number;
|
|
6
|
-
}
|
|
7
|
-
export default function useSafekeyDevice(): {
|
|
8
|
-
connect: (pin: string) => Promise<void>;
|
|
9
|
-
disconnect: () => Promise<void>;
|
|
10
|
-
disconnecting: boolean;
|
|
11
|
-
state: CONNECT_DEVICE_STATE;
|
|
12
|
-
error: string | undefined;
|
|
13
|
-
pinValidationTimeout: number | undefined;
|
|
14
|
-
device: SkDeviceInfo | undefined;
|
|
15
|
-
};
|
|
16
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IOResponse } from '../../safekey/domain/services/cold-storage-service';
|
|
2
|
-
export default function useValidateSafekeyDevicePin(): {
|
|
3
|
-
touch: (data: {
|
|
4
|
-
pin: string;
|
|
5
|
-
}) => Promise<any>;
|
|
6
|
-
reset: () => any;
|
|
7
|
-
loading: boolean;
|
|
8
|
-
loaded: boolean;
|
|
9
|
-
data: any;
|
|
10
|
-
ioResponse: IOResponse | undefined;
|
|
11
|
-
error: any;
|
|
12
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { DeviceShareInfo } from '../../../protection-plan/domain/models/device-share-info';
|
|
2
|
-
export interface PlanColdShareData {
|
|
3
|
-
devicePin?: string;
|
|
4
|
-
planId: string;
|
|
5
|
-
shareId: string;
|
|
6
|
-
shareData: DeviceShareInfo;
|
|
7
|
-
}
|
|
8
|
-
export type ColdScanFilters = {
|
|
9
|
-
planId?: string;
|
|
10
|
-
shareId?: string;
|
|
11
|
-
isMergeAuthority?: boolean;
|
|
12
|
-
};
|
|
13
|
-
export type DeviceInfo = {
|
|
14
|
-
appId: string;
|
|
15
|
-
appPassword: string;
|
|
16
|
-
name?: string;
|
|
17
|
-
serialId?: string;
|
|
18
|
-
version?: string;
|
|
19
|
-
pin?: string;
|
|
20
|
-
freeSlots?: number;
|
|
21
|
-
totalSlots: number;
|
|
22
|
-
};
|
|
23
|
-
export type IOResponse = {
|
|
24
|
-
operationType: string;
|
|
25
|
-
io?: {
|
|
26
|
-
progress: number;
|
|
27
|
-
total: number;
|
|
28
|
-
};
|
|
29
|
-
loginAttempts?: {
|
|
30
|
-
total: number;
|
|
31
|
-
countdown: number;
|
|
32
|
-
progress: number;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
export type OperationProgressCallback = (params: IOResponse) => any;
|
|
36
|
-
export interface ColdStorageService {
|
|
37
|
-
getDeviceInfo(context?: {
|
|
38
|
-
id: string;
|
|
39
|
-
}): Promise<Omit<DeviceInfo, 'appPassword'> | undefined>;
|
|
40
|
-
insert(id: string): Promise<void>;
|
|
41
|
-
connect(context: {
|
|
42
|
-
id?: string;
|
|
43
|
-
pin: string;
|
|
44
|
-
}): Promise<void>;
|
|
45
|
-
touch(context: {
|
|
46
|
-
id?: string;
|
|
47
|
-
pin: string;
|
|
48
|
-
}, onIOCallback?: OperationProgressCallback): Promise<void>;
|
|
49
|
-
disconnect(): Promise<void>;
|
|
50
|
-
getDeviceId(): Promise<string | undefined>;
|
|
51
|
-
getDevicePassword(): Promise<string | undefined>;
|
|
52
|
-
distributeShare(data: PlanColdShareData, onIOCallback?: OperationProgressCallback): Promise<void>;
|
|
53
|
-
collectShare(validatorPin: string, filters: ColdScanFilters, onIOCallback?: OperationProgressCallback): Promise<any>;
|
|
54
|
-
collectAllSharesPlansIds(validatorPin: string, onIOCallback?: OperationProgressCallback): Promise<string[]>;
|
|
55
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ColdScanFilters, ColdStorageService, DeviceInfo, OperationProgressCallback, PlanColdShareData } from '../../../safekey/domain/services/cold-storage-service';
|
|
2
|
-
import { DeviceShareInfo } from '../../../protection-plan/domain/models/device-share-info';
|
|
3
|
-
import BrowserSessionStorage from '../../../_shared/infrastructure/session-storage/browser-session-storage';
|
|
4
|
-
import APIRepository from '../../../_shared/infrastructure/api/api-repository';
|
|
5
|
-
export default class SafekeyColdStorageService extends APIRepository implements ColdStorageService {
|
|
6
|
-
private sessionStorage;
|
|
7
|
-
private operationHandler;
|
|
8
|
-
private migrateRepo;
|
|
9
|
-
private lStorage;
|
|
10
|
-
constructor(props: any);
|
|
11
|
-
isAuthenticated(): Promise<boolean>;
|
|
12
|
-
isMaAuthenticated(): Promise<boolean>;
|
|
13
|
-
getStorage(): Promise<BrowserSessionStorage>;
|
|
14
|
-
connect(context: {
|
|
15
|
-
pin: string;
|
|
16
|
-
}): Promise<void>;
|
|
17
|
-
touch(context: {
|
|
18
|
-
id?: string;
|
|
19
|
-
pin: string;
|
|
20
|
-
}, onIOCallback?: OperationProgressCallback): Promise<undefined>;
|
|
21
|
-
getDeviceInfo(context?: {
|
|
22
|
-
id: string;
|
|
23
|
-
}): Promise<Omit<DeviceInfo, 'appPassword'> | undefined>;
|
|
24
|
-
getDeviceId(): Promise<string | undefined>;
|
|
25
|
-
getDevicePassword(): Promise<string | undefined>;
|
|
26
|
-
disconnect(): Promise<void>;
|
|
27
|
-
collectShare(validatorPin: string, filters: ColdScanFilters, onIOCallback?: OperationProgressCallback): Promise<DeviceShareInfo | undefined>;
|
|
28
|
-
collectAllSharesPlansIds(validatorPin: string, onIOCallback?: OperationProgressCallback): Promise<string[]>;
|
|
29
|
-
distributeShare(params: PlanColdShareData, onIOCallback?: OperationProgressCallback): Promise<void>;
|
|
30
|
-
insert(id: string): Promise<void>;
|
|
31
|
-
private getSecureStorageKey;
|
|
32
|
-
private getAuthToken;
|
|
33
|
-
private saveDeviceInfo;
|
|
34
|
-
private readDeviceAppCredentials;
|
|
35
|
-
private readDeviceInfoInDevice;
|
|
36
|
-
private writeDeviceInfoInDevice;
|
|
37
|
-
private fetchPlanIdsFromSafeKey;
|
|
38
|
-
private connectedDeviceInfo;
|
|
39
|
-
private ensureConnectedDevice;
|
|
40
|
-
private isConnected;
|
|
41
|
-
private handleError;
|
|
42
|
-
private fetchDataFromSafeKey;
|
|
43
|
-
private findLegacyPlanId;
|
|
44
|
-
private migrateLegacyPlanShare;
|
|
45
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as safekey from 'safekey';
|
|
2
|
-
export declare const safekeyService: {
|
|
3
|
-
write: typeof safekey.write;
|
|
4
|
-
read: typeof safekey.read;
|
|
5
|
-
freeSlots: typeof safekey.freeSlots;
|
|
6
|
-
remove: typeof safekey.remove;
|
|
7
|
-
logOut: typeof safekey.logOut;
|
|
8
|
-
listKeys: typeof safekey.listKeys;
|
|
9
|
-
};
|