Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v4.4.0 #572

Merged
merged 59 commits into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
5e11e80
chore(ESLint): disable `vue/multi-word-component-names` rule
bludnic Nov 27, 2023
82edf0c
chore(ESLint): allow ignore unused args rule with underscore
bludnic Nov 27, 2023
6410dec
chore(ESLint): enable es2020 globals (fixes "BigInt is not defined" e…
bludnic Nov 27, 2023
34bebf2
chore(ESLint): disable "vue/multi-word-component-names" rule
bludnic Nov 27, 2023
785288c
chore(ESLint): fix `v-text` and `v-html` errors
bludnic Nov 27, 2023
f36e59c
chore(ESLint): fix `no-unused-vars` errors
bludnic Nov 27, 2023
609eed0
chore(ESLint): fix `no-useless-catch` error
bludnic Nov 27, 2023
818123f
chore(ESLint): ignore "no-this-alias" error
bludnic Nov 27, 2023
344843e
chore(ESLint): fix 'TS' is not defined
bludnic Nov 27, 2023
7a3e495
chore(ESLint): ignore "no-dupe-else-if" rule
bludnic Nov 27, 2023
f3bc890
chore(ESLint): fix empty block statement
bludnic Nov 27, 2023
db3d8d1
chore(ESLint): update ES version (fixes parsing errors inside a "class")
bludnic Nov 27, 2023
8e73a9f
chore(ESLint): add docblock TS type to the ESLint config
bludnic Nov 27, 2023
3a63833
chore(ESLint, package.json): remove lint:fix command
bludnic Nov 27, 2023
c1fad31
refactor: run `prettify` on the entire codebase
bludnic Nov 27, 2023
854d200
chore(husky, lint-staged): run `eslint` and then `prettier` on pre-co…
bludnic Nov 27, 2023
b006d0d
fix(tsconfig): typecheck all Vite configs
bludnic Nov 27, 2023
b0617c1
chore(TS): add `typecheck` script
bludnic Nov 27, 2023
208cb91
chore(SCSS): enable absolute imports in SCSS
bludnic Nov 27, 2023
4285b14
chore: configure `commitlint`
bludnic Nov 27, 2023
8361583
refactor(lisk): rewrite `lisk-utils` to TypeScript
bludnic Nov 27, 2023
15be6ba
refactor(lisk): move `getAccount()` to `lisk-utils`
bludnic Nov 27, 2023
91fff37
fix(`jest`): fix config name in testing environment
bludnic Nov 27, 2023
c29a220
fix(`jest`): update old structured `test.json` config
bludnic Nov 27, 2023
35cb37c
test(): add unit tests for `lisk-utils`
bludnic Nov 27, 2023
c6c7345
chore: configure eslint import plugin
bludnic Nov 28, 2023
7469103
Merge pull request #566 from Adamant-im/fix/eslint-config
bludnic Nov 28, 2023
022fd7c
Merge branch 'dev' into feat/upgrade-lisk
bludnic Nov 28, 2023
e11a6ce
fix(`lisk-utils`): Lisk API changed
bludnic Nov 28, 2023
a1613ac
Draft
bludnic Nov 29, 2023
40d004e
Draft2
bludnic Nov 29, 2023
58434f7
Refactor
bludnic Nov 29, 2023
91a0395
feat: migrate Lisk Node API to v4
bludnic Dec 9, 2023
990ea0a
chore(package.json): add missing types
bludnic Dec 9, 2023
ad46845
feat(SendFundsForm): add `dryRun` checkbox for debugging
bludnic Dec 9, 2023
3a898c2
feat: migrate lisk service from v2 to v3
bludnic Dec 12, 2023
c6fd58b
chore: update package-lock.json
bludnic Dec 12, 2023
5ab5383
chore(`sodium-browserify-tweetnacl`): add missing types
bludnic Dec 12, 2023
d9e2bed
fix(lsk): fix tx id
bludnic Dec 12, 2023
2780f1d
fix(LskClient): `getBalance()` must return a number
bludnic Dec 13, 2023
ab1bee9
feat(lisk-utils): add `estimateFee()` for LSK
bludnic Dec 13, 2023
4544330
feat(tests, lisk-api): remove unused imports
bludnic Dec 13, 2023
f006da4
refactor(`lisk-account`): remove redundant types
bludnic Dec 14, 2023
a4593ac
refactor: remove `lisk-api` (use `lisk-account` instead)
bludnic Dec 14, 2023
be180da
Merge pull request #58 from Adamant-im/dev
bludnic Dec 19, 2023
fc335a8
feat(SendsFunds): include `amount` and `data` in LSK fee calculation
bludnic Dec 19, 2023
7f2f898
feat(LSK): apply additional fee of 0.05 LSK if account doesn't exist
bludnic Dec 19, 2023
1f9ce35
test(lisk-utils): fix BigInt
bludnic Dec 19, 2023
ce85102
fix(SendFundsForm, LSK): change then/catch order
bludnic Dec 19, 2023
4d2a396
fix(nodes): can't login when no online nodes available
bludnic Dec 21, 2023
f7804e2
refactor(LSK): refactor todos
bludnic Dec 22, 2023
84dd30a
refactor(LSK): use min fee from adamant-wallets & rename LSK_COMMAND_FEE
bludnic Dec 22, 2023
a113209
fix(Transactions): fix infinite scroll
bludnic Dec 22, 2023
0d935bb
Merge pull request #567 from Adamant-im/feat/upgrade-lisk
bludnic Dec 22, 2023
c2b2c2b
Merge pull request #571 from Adamant-im/fix/login-error-when-no-onlin…
bludnic Dec 22, 2023
18b6bd9
fix(LSK): include `nonce` in transaction fee calculation
bludnic Dec 25, 2023
0f0488d
fix(`lsk-getters`): fix type
bludnic Dec 25, 2023
028fa4a
fix(LSK): estimate fee accordingly to the docs
bludnic Dec 26, 2023
18e1c5d
chore: release v4.4.0
bludnic Dec 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 22 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

/** @type import('eslint').Linter.Config **/
module.exports = {
root: true,
env: {
browser: true,
node: true
node: true,
es2022: true
},
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'@vue/eslint-config-prettier/skip-formatting'
'@vue/eslint-config-prettier/skip-formatting',
'plugin:import/recommended',
'plugin:import/typescript'
],
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 13,
parser: {
// Script parser for `<script>`
js: 'espree',
Expand All @@ -29,8 +34,22 @@ module.exports = {
'<template>': 'espree'
}
},
ignorePatterns: ['src/components/icons/cryptos/*.vue'],
plugins: ['vue', '@typescript-eslint'],
rules: {
'@typescript-eslint/no-explicit-any': 'off'
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '_' }],
'vue/multi-word-component-names': 'off',

'import/no-unresolved': 'error',
'import/named': 'off',
'import/no-named-as-default': 'off',
'import/no-named-as-default-member': 'off'
},
settings: {
'import/resolver': {
typescript: true,
node: true
}
}
}
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1}
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional']
}
Loading