diff --git a/firefly.diff b/firefly.diff index 4260039b63..64b1bf5903 100644 --- a/firefly.diff +++ b/firefly.diff @@ -161,7 +161,7 @@ delete mode 100644 packages/desktop/lib/auxiliary/popup/helpers/index.ts rename packages/desktop/lib/{electron.ts => electron/index.ts} (54%) rename packages/desktop/{electron/lib/menuState.js => lib/electron/menus/menu-state.constant.ts} (86%) - rename packages/desktop/{electron/main.js => lib/electron/processes/main.process.ts} (59%) + rename packages/desktop/{electron/main.js => lib/electron/processes/main.process.ts} (58%) rename packages/desktop/{electron/lib/analytics.js => lib/electron/utils/analytics.utils.ts} (82%) rename packages/desktop/{electron/lib/errorHandling.js => lib/electron/utils/error.utils.ts} (69%) delete mode 100644 packages/desktop/lib/routers/actions/openSettings.ts @@ -197,8 +197,8 @@ rename packages/desktop/{components/drawers/network-config/drawers => views/dashboard/drawers/network-config/views}/components/index.ts (100%) rename packages/desktop/{components/drawers/network-config/drawers => views/dashboard/drawers/network-config/views}/index.ts (78%) rename packages/desktop/{components/menu-buttons/ProposalDetailsButton.svelte => views/dashboard/governance/components/ProposalDetailsMenu.svelte} (55%) - rename packages/desktop/{components/Proposals.svelte => views/dashboard/governance/components/ProposalList.svelte} (70%) - rename packages/desktop/{ => views/dashboard/governance}/components/ProposalQuestion.svelte (62%) + rename packages/desktop/{components/Proposals.svelte => views/dashboard/governance/components/ProposalList.svelte} (53%) + rename packages/desktop/{ => views/dashboard/governance}/components/ProposalQuestion.svelte (64%) rename packages/desktop/views/dashboard/{index.js => index.ts} (77%) rename packages/desktop/views/dashboard/send-flow/{index.js => index.ts} (100%) delete mode 100644 packages/desktop/views/dashboard/send-flow/views/SendFlowTemplate.svelte @@ -879,13 +879,16 @@ delete mode 100644 packages/shared/lib/contexts/governance/constants/proposal-phase-ordering.constant.ts delete mode 100644 packages/shared/lib/contexts/governance/enums/proposal-status.enum.ts delete mode 100644 packages/shared/lib/contexts/governance/interfaces/organization.interface.ts + delete mode 100644 packages/shared/lib/contexts/governance/interfaces/proposal-answer-percentages.interface.ts delete mode 100644 packages/shared/lib/contexts/governance/types/phase-ordering.type.ts delete mode 100644 packages/shared/lib/contexts/governance/utils/getNextProposalPhase.ts + delete mode 100644 packages/shared/lib/contexts/governance/utils/getPercentagesFromAnswerStatuses.ts delete mode 100644 packages/shared/lib/contexts/governance/utils/getProposalStatusForMilestone.ts delete mode 100644 packages/shared/lib/contexts/governance/utils/getVotingParticipationEventIds.ts delete mode 100644 packages/shared/lib/contexts/governance/utils/isParticipationOutput.ts delete mode 100644 packages/shared/lib/contexts/governance/utils/isProposalActive.ts delete mode 100644 packages/shared/lib/contexts/governance/utils/isProposalVotable.ts + delete mode 100644 packages/shared/lib/contexts/governance/utils/tests/getPercentagesFromAnswerStatuses.test.ts delete mode 100644 packages/shared/lib/contexts/onboarding/actions/completeOnboardingProcess.ts delete mode 100644 packages/shared/lib/contexts/onboarding/actions/initialiseOnboardingFlow.ts delete mode 100644 packages/shared/lib/contexts/onboarding/actions/initialiseOnboardingProfile.ts @@ -1110,6 +1113,7 @@ delete mode 100644 packages/shared/lib/core/utils/interfaces/format-iota-unit-options.interface.ts delete mode 100644 packages/shared/lib/core/utils/interfaces/index.ts delete mode 100644 packages/shared/lib/core/utils/interfaces/key-value-box-list.interface.ts + delete mode 100644 packages/shared/lib/core/utils/number.ts delete mode 100644 packages/shared/lib/core/utils/tests/function.test.ts delete mode 100644 packages/shared/lib/core/utils/tests/ui.test.ts delete mode 100644 packages/shared/lib/core/utils/tests/unit.test.ts @@ -1494,8 +1498,7 @@ rename packages/shared/{ => src}/lib/contexts/governance/enums/proposal-order-option.enum.ts (100%) rename packages/shared/{ => src}/lib/contexts/governance/enums/proposal-type.enum.ts (100%) rename packages/{mobile/lib/auxiliary/drawer => shared/src/lib/contexts/governance}/index.ts (100%) - rename packages/shared/{ => src}/lib/contexts/governance/interfaces/index.ts (78%) - rename packages/shared/{ => src}/lib/contexts/governance/interfaces/proposal-answer-percentages.interface.ts (100%) + rename packages/shared/{ => src}/lib/contexts/governance/interfaces/index.ts (63%) rename packages/shared/{ => src}/lib/contexts/governance/interfaces/proposal-filter.interface.ts (100%) rename packages/shared/{lib/contexts/governance/interfaces/proposals-details.interface.ts => src/lib/contexts/governance/interfaces/proposal-list-details.interface.ts} (73%) rename packages/shared/{ => src}/lib/contexts/governance/interfaces/proposal-state.interface.ts (73%) @@ -1515,8 +1518,7 @@ rename packages/shared/{ => src}/lib/contexts/governance/utils/getNumberOfVotedProposals.ts (100%) rename packages/shared/{ => src}/lib/contexts/governance/utils/getNumberOfVotingProposals.ts (100%) rename packages/shared/{ => src}/lib/contexts/governance/utils/getParticipationsForProposal.ts (84%) - rename packages/shared/{ => src}/lib/contexts/governance/utils/getPercentagesFromAnswerStatuses.ts (93%) - rename packages/shared/{ => src}/lib/contexts/governance/utils/index.ts (95%) + rename packages/shared/{ => src}/lib/contexts/governance/utils/index.ts (94%) rename packages/shared/{ => src}/lib/contexts/governance/utils/isAccountVoting.ts (100%) rename packages/shared/{ => src}/lib/contexts/governance/utils/isProposalAlreadyAddedForSelectedAccount.ts (100%) rename packages/shared/{ => src}/lib/contexts/governance/utils/isValidProposalId.ts (100%) @@ -1524,7 +1526,6 @@ rename packages/shared/{ => src}/lib/contexts/governance/utils/isVotingForProposal.ts (79%) rename packages/shared/{ => src}/lib/contexts/governance/utils/isVotingForSelectedProposal.ts (100%) rename packages/shared/{ => src}/lib/contexts/governance/utils/sortProposals.ts (100%) - rename packages/shared/{ => src}/lib/contexts/governance/utils/tests/getPercentagesFromAnswerStatuses.test.ts (95%) rename packages/shared/{ => src}/lib/contexts/onboarding/actions/backupInitialStronghold.ts (86%) rename packages/shared/{ => src}/lib/contexts/onboarding/actions/claimShimmerRewards.ts (73%) rename packages/shared/{ => src}/lib/contexts/onboarding/actions/cleanupOnboarding.ts (100%) @@ -1706,7 +1707,7 @@ rename packages/shared/{ => src}/lib/core/app/interfaces/managers/notification-manager.interface.ts (100%) rename packages/shared/{ => src}/lib/core/app/interfaces/managers/pincode-manager.interface.ts (77%) rename packages/shared/{ => src}/lib/core/app/interfaces/nft-download-state.interface.ts (74%) - rename packages/shared/{ => src}/lib/core/app/interfaces/platform-event-map.interface.ts (51%) + rename packages/shared/{ => src}/lib/core/app/interfaces/platform-event-map.interface.ts (50%) rename packages/shared/{ => src}/lib/core/app/interfaces/platform.interface.ts (81%) rename packages/shared/{ => src}/lib/core/app/stores/app-settings.store.ts (55%) rename packages/shared/{ => src}/lib/core/app/stores/app-version-details.store.ts (100%) @@ -1719,7 +1720,7 @@ rename packages/shared/{ => src}/lib/core/app/utils/isLatestStrongholdVersion.ts (100%) rename packages/shared/{ => src}/lib/core/app/utils/needsToAcceptLatestPrivacyPolicy.ts (100%) rename packages/shared/{ => src}/lib/core/app/utils/needsToAcceptLatestTermsOfService.ts (100%) - rename packages/shared/{ => src}/lib/core/app/utils/openUrlInBrowser.ts (72%) + rename packages/shared/{ => src}/lib/core/app/utils/openUrlInBrowser.ts (67%) rename specs/images/.gitkeep => packages/shared/src/lib/core/contact/helpers/index.ts (100%) rename packages/shared/{lib/core/app => src/lib/core/contact}/index.ts (72%) rename packages/shared/{ => src}/lib/core/error/actions/index.ts (100%) @@ -1882,7 +1883,7 @@ rename packages/shared/{ => src}/lib/core/network/interfaces/index.ts (78%) rename packages/shared/{ => src}/lib/core/network/interfaces/node-info-response.interface.ts (62%) rename packages/shared/{ => src}/lib/core/network/interfaces/persisted-network.interface.ts (100%) - rename packages/shared/{ => src}/lib/core/network/interfaces/protocol.interface.ts (64%) + rename packages/shared/{ => src}/lib/core/network/interfaces/protocol.interface.ts (62%) rename packages/shared/{ => src}/lib/core/network/interfaces/stardust-network-metadata.interface.ts (56%) rename packages/shared/{ => src}/lib/core/network/stores/index.ts (100%) rename packages/shared/{ => src}/lib/core/network/stores/network-status.store.ts (100%) @@ -1987,7 +1988,7 @@ rename packages/shared/{ => src}/lib/core/profile/actions/active-profile/checkAndUpdateActiveProfileNetwork.ts (62%) rename packages/shared/{ => src}/lib/core/profile/actions/active-profile/getBaseToken.ts (81%) rename packages/shared/{ => src}/lib/core/profile/actions/active-profile/getNetworkHrp.ts (100%) - rename packages/shared/{ => src}/lib/core/profile/actions/active-profile/index.ts (93%) + rename packages/shared/{ => src}/lib/core/profile/actions/active-profile/index.ts (86%) rename packages/shared/{ => src}/lib/core/profile/actions/active-profile/loadAccounts.ts (68%) rename packages/shared/{ => src}/lib/core/profile/actions/active-profile/loadPersistedProfileIntoActiveProfile.ts (74%) rename packages/shared/{ => src}/lib/core/profile/actions/active-profile/lockStronghold.ts (88%) @@ -2038,7 +2039,7 @@ rename packages/shared/{ => src}/lib/core/profile/utils/getStorageDirectoryOfProfile.ts (100%) rename packages/shared/{ => src}/lib/core/profile/utils/getStorageDirectoryOfProfiles.ts (84%) rename packages/shared/{ => src}/lib/core/profile/utils/index.ts (81%) - rename packages/shared/{ => src}/lib/core/profile/utils/isLedgerProfile.ts (100%) + rename packages/shared/{ => src}/lib/core/profile/utils/isLedgerProfile.ts (70%) rename packages/shared/{ => src}/lib/core/profile/utils/removeProfileFolder.ts (91%) rename packages/shared/{ => src}/lib/core/profile/utils/validateProfileName.ts (100%) rename packages/shared/{ => src}/lib/core/router/actions/index.ts (100%) @@ -2171,7 +2172,6 @@ rename packages/shared/{ => src}/lib/core/utils/interfaces/filter/number-filter-input.interface.ts (79%) rename packages/shared/{ => src}/lib/core/utils/iter.ts (100%) rename packages/shared/{ => src}/lib/core/utils/math.ts (100%) - rename packages/shared/{ => src}/lib/core/utils/number.ts (72%) rename packages/shared/{ => src}/lib/core/utils/object.ts (100%) rename packages/shared/{ => src}/lib/core/utils/os.ts (88%) rename packages/shared/{ => src}/lib/core/utils/random.ts (100%) @@ -2283,7 +2283,8 @@ rename packages/shared/{lib/tests/__mocks__ => test/mocks}/match-media.mock.ts (100%) rename packages/shared/{lib/tests/__mocks__ => test/mocks}/platform.mock.ts (81%) rename packages/shared/{lib/tests/__mocks__ => test/mocks}/profile-manager.mock.ts (88%) - rename patches/{electron-updater+5.3.0.patch => electron-updater+6.1.4.patch} (69%) + rename patches/{electron-updater+5.3.0.patch => electron-updater+6.1.8.patch} (69%) + delete mode 100644 patches/node-hid+2.1.2.patch delete mode 100644 patches/usb+1.9.2.patch delete mode 100644 specs/.tools/makebook.sh delete mode 100644 specs/1-SCOPE/wallet_SCOPE_0000.md