Skip to content

Commit

Permalink
Merge pull request #12 from dhealthproject/dev-release-1.1.0
Browse files Browse the repository at this point in the history
dHealth Wallet v1.1.0: Layout changes, fixes Multisig Harvesting, adds Plugins
  • Loading branch information
evias authored Oct 8, 2021
2 parents d18ecdd + 75ac10b commit 1bd6b30
Show file tree
Hide file tree
Showing 139 changed files with 30,740 additions and 23,543 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"syntax-dynamic-import"
]
}
}
},
"presets": ["@vue/cli-plugin-babel/preset"]
}
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ module.exports = {
// @TODO: remove v-html
'vue/no-v-html': 'off',
'no-useless-escape': 'off',
'no-async-promise-executor': 'off'
},
}
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github: UsingBlockchain
patreon: usingblockchainltd
custom: ["https://www.paypal.me/usingblockchainltd"]
custom: ["https://www.paypal.me/usingblockchainltd", "https://www.buymeacoffee.com/UBCDigital"]
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ __mocks__/**/*.js
template.config.js
.env
keys-whitelist.json
plugins/**/node_modules
plugins/**/**/node_modules
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,27 @@ All notable changes to this project will be documented in this file.

The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [1.1.4][1.1.4] - 08-Oct-2021

#### Added
- i18n: Adds correct namespace suggestion (gh#5)
- feat/plugins: Adds IPC communication channel for onPluginsReady
- feat/plugins: Adds PluginInjecter and dynamic PageWrapper
- feat/ui: Updates GenericTableDisplay and PageLayout
- deps: Adds dependencies @dhealth/wallet-api-bridge & @dhealth/wallet-components
- system: Adds pre-installed plugins: @yourdlt/plugin-dummy, @yourdlt/plugin-librarian, @yourdlt/plugin-ninjazzz
- feat/faq: Adds FAQ module with wallet instructions

#### Changed

- system: Upgrades dependencies, fixes wording and more
- bugfix: Fixes minHarvesterBalance (#4)
- bugfix: Fixes article publishers (#7)
- bugfix: Fixes network store with name from config
- bugfix: Fixes profile import process (#11, #6)
- bugfix: Fixes language and build process (#8)
- bugfix: Fixes Remote/VRF/Node key links removal (#10)

## [1.0.0][1.0.0] - 03-May-2021

#### Changed
Expand All @@ -14,4 +35,6 @@ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/e

- Some missing re-branding items for dHealth logos.

[1.1.4]: https://github.com/dhealthproject/dhealth-wallet/compare/v1.0.0...v1.1.4
[1.0.0]: https://github.com/dhealthproject/dhealth-wallet/releases/tag/v1.0.0

18 changes: 1 addition & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,6 @@ npm run dev

4. Visit http://localhost:8080/#/ in your browser.

## Donations / Pot de vin

Donations can also be made with cryptocurrencies and will be used for running the project!

NEM (XEM): NB72EM6TTSX72O47T3GQFL345AB5WYKIDODKPPYW
Symbol (XYM): NDQALDK4XWLOUYKPE7RDEWUI25YNRQ7VCGXMPCI
Ethereum (ETH): 0x7a846fd5Daa4b904caF7C59f866bb906153305D2
Bitcoin (BTC): 3EVqgUqYFRYbf9RjhyjBgKXcEwAQxhaf6o

## Sponsor us

| Platform | Sponsor Link |
| --- | --- |
| Paypal | [https://paypal.me/usingblockchainltd](https://paypal.me/usingblockchainltd) |
| Patreon | [https://patreon.com/usingblockchainltd](https://patreon.com/usingblockchainltd) |
| Github | [https://github.com/sponsors/UsingBlockchain](https://github.com/sponsors/UsingBlockchain) |

## Disclaimer

*The author of this package cannot be held responsible for any loss of money or any malintentioned usage forms of this package. Please use this package with caution.*
Expand All @@ -99,3 +82,4 @@ Licensed under the [Apache License 2.0](LICENSE)
[npm-url]: https://www.npmjs.com/package/dhealth-wallet
[npm-badge]: https://img.shields.io/npm/v/dhealth-wallet
[dl-badge]: https://img.shields.io/npm/dt/dhealth-wallet

21 changes: 0 additions & 21 deletions Vue.config-back.js

This file was deleted.

2 changes: 2 additions & 0 deletions __mocks__/Accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const WalletsModel1: AccountModel = {
encryptedPrivateKey: simpleWallet1.encryptedPrivateKey,
path: '',
isMultisig: false,
isListedAccount: true,
};

export const WalletsModel2: AccountModel = {
Expand All @@ -59,6 +60,7 @@ export const WalletsModel2: AccountModel = {
encryptedPrivateKey: simpleWallet1.encryptedPrivateKey,
path: "m/44'/1'/1'/0'/0'",
isMultisig: false,
isListedAccount: true,
};

const TEST_ACCOUNTS = {
Expand Down
7 changes: 4 additions & 3 deletions __tests__/components/ButtonCopyToClipboard.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ describe('ButtonCopyToClipboard', () => {
wrapper.find('Button').trigger('click');
expect(UIHelpers.copyToClipboard).toBeCalledWith('123');
});
test('Click on Button should call method "copyToClipboard" when prop "value" does not exists', () => {
test('Click on Button should not call method "copyToClipboard" when prop "value" does not exists', () => {
const rewrapper = shallowMount(ButtonCopyToClipboard, Object.assign({}, options, { propsData: {} }));
UIHelpers.copyToClipboard = jest.fn();
wrapper.setProps({ value: null });
wrapper.find('Button').trigger('click');
rewrapper.setProps({ value: null });
rewrapper.find('Button').trigger('click');
expect(UIHelpers.copyToClipboard).not.toBeCalled();
});
});
28 changes: 0 additions & 28 deletions __tests__/components/NavigationLinks/NavigationLinks.spec.ts

This file was deleted.

2 changes: 2 additions & 0 deletions __tests__/services/MosaicService.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const account1: AccountModel = {
profileName: 'test',
publicKey: '82D539A540E89EC5848BBE6CF95F2001CDE8A6DEB904D0ADA86D613A4FD0CACB',
type: 1,
isListedAccount: true,
};
const account2: AccountModel = {
address: 'TD2UU6EY4G4WSV5NJMVLVVNRKZOKEZIBYXBFZ4U2',
Expand All @@ -29,6 +30,7 @@ const account2: AccountModel = {
profileName: 'test',
publicKey: '82D539A540E89EC5848BBE6CF95F2001CDE8A6DEB904D0ADA86D613A4FD0CACB',
type: 1,
isListedAccount: true,
};

const mosaicService = new MosaicService();
Expand Down
3 changes: 2 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
presets: [["@vue/app", {useBuiltIns: "entry"}]]
presets: [["@vue/app", {useBuiltIns: "entry"}]],
compact: true,
};
Loading

0 comments on commit 1bd6b30

Please sign in to comment.