-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from peeramid-labs/security-fixes
Code review fixes
- Loading branch information
Showing
38 changed files
with
1,031 additions
and
3,092 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@peeramid-labs/multipass': minor | ||
--- | ||
|
||
added renewal fees and ability to change them |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
'@peeramid-labs/multipass': major | ||
--- | ||
|
||
- Added `validUntil` property to domain records | ||
- Added ability to renew records and corresponding nonce checks enforced. | ||
- Reduced some interface visibility to follow least permission principle | ||
- Removed diamond proxy in favor of more simplistic transparent proxy pattern | ||
- Moved to solidiy compiler version to 0.8.28 | ||
- Removed unusued internal functions and events from interfaces | ||
- Removed boolean literals from conditional expressions | ||
- Removed withdraw funds interface. All funds now are sent to owner by default. | ||
- Added security contact email address to docstrings | ||
|
||
|
||
## Breaking changes | ||
Register() interface which now has less arguments and uses internal struct parameters, remove unused arguments | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import promise from 'eslint-plugin-promise'; | ||
import globals from 'globals'; | ||
import tsParser from '@typescript-eslint/parser'; | ||
import path from 'node:path'; | ||
import { fileURLToPath } from 'node:url'; | ||
import js from '@eslint/js'; | ||
import { FlatCompat } from '@eslint/eslintrc'; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all, | ||
}); | ||
|
||
export default [ | ||
{ | ||
ignores: ['docs/templates/', '**/node_modules/', 'types/', 'coverage/'], | ||
}, | ||
...compat.extends('eslint:recommended', 'plugin:promise/recommended', 'prettier'), | ||
{ | ||
plugins: { | ||
promise, | ||
}, | ||
|
||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
...globals.node, | ||
...globals.mocha, | ||
artifacts: 'readonly', | ||
contract: 'readonly', | ||
assert: 'readonly', | ||
web3: 'readonly', | ||
}, | ||
|
||
parser: tsParser, | ||
}, | ||
|
||
rules: { | ||
'no-unused-vars': 'off', | ||
}, | ||
files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx'], | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.