Skip to content

Commit

Permalink
Merge Feature Release v1.0.0
Browse files Browse the repository at this point in the history
Feature Release v1.0.0
  • Loading branch information
George-cl authored May 28, 2021
2 parents cc121c2 + dcf7ec3 commit e1d0b3c
Show file tree
Hide file tree
Showing 39 changed files with 13,190 additions and 6,012 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@typescript-eslint/no-unused-vars": ["error"],
"jsx-a11y/no-autofocus": "off",
"prettier/prettier": [
"error", {
"warn", {
"semi": true
}
]
Expand Down
16,566 changes: 11,375 additions & 5,191 deletions package-lock.json

Large diffs are not rendered by default.

17 changes: 13 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,54 @@
{
"name": "casperlabs-signer",
"version": "0.4.1",
"version": "1.0.0",
"private": true,
"dependencies": {
"@extend-chrome/storage": "^1.4.3",
"@babel/core": "^7.14.3",
"@fortawesome/fontawesome-free": "^5.13.0",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.56",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/chrome": "0.0.141",
"@types/download": "^6.2.4",
"@types/jest": "^25.1.3",
"@types/react": "^16.9.23",
"@types/react-confirm": "^0.1.4",
"@types/react-dom": "^16.9.5",
"axios": "^0.21.1",
"browser-passworder": "^2.0.3",
"casper-client-sdk": "^1.0.33",
"casper-client-sdk": "^1.3.3",
"copy-to-clipboard": "^3.3.1",
"download": "^8.0.0",
"eslint-config-react-app": "^6.0.0",
"file-saver": "^2.0.2",
"fontsource-roboto": "^2.2.3",
"formik": "^2.1.4",
"formstate": "^1.3.0",
"jquery": "^3.4.1",
"key-encoder": "^2.0.3",
"lint-staged": "^10.1.3",
"material-ui-popup-state": "^1.6.1",
"minimist": "^1.2.5",
"mobx": "^5.11.0",
"mobx-react": "^6.1.1",
"obj-multiplex": "^1.0.0",
"react": "latest",
"react": "^16.8.0",
"react-beautiful-dnd": "^13.0.0",
"react-confirm": "^0.1.20",
"react-dom": "^16.8.6",
"react-router-dom": "^5.1.0",
"react-scripts": "^4.0.3",
"safe-compare": "^1.1.4",
"store": "^2.0.12",
"tweetnacl": "^1.0.3",
"tweetnacl-ts": "latest",
"tweetnacl-util": "^0.15.1",
"validator": "^12.2.0",
"webpack": "4.44.2",
"webpack-extension-reloader": "^1.1.4",
"yup": "^0.28.1"
},
Expand All @@ -56,6 +64,7 @@
"test": "react-scripts test --env=./custom-test-env.js",
"test_ci": "react-scripts test --watchAll=false --env=./custom-test-env.js",
"lint": "eslint .",
"lint_fix": "eslint . --fix",
"eject": "react-scripts eject"
},
"eslintConfig": {
Expand Down Expand Up @@ -109,7 +118,7 @@
"fancy-log": "latest",
"fs-extra": "^8.1.0",
"husky": "^3.1.0",
"node-sass": "^4.14.1",
"node-sass": "^6.0.0",
"prettier": "^2.0.4",
"ts-loader": "^6.2.1",
"typescript": "^3.8.3",
Expand Down
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="%PUBLIC_URL%/logo16.png" />
<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width"/>
<meta name="theme-color" content="#000000" />
<meta
Expand All @@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>CasperLabs Clarity Sign Helper</title>
<title>CasperLabs Signer</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version": 2,
"version": "0.4.1",
"version": "1.0.0",
"name": "CasperLabs Signer",
"author": "https://casperlabs.io",
"description": "CasperLabs Signer tool for signing transactions on the blockchain.",
Expand Down Expand Up @@ -31,7 +31,7 @@
"all_frames": true
}
],
"permissions": ["notifications", "storage"],
"permissions": ["notifications", "storage", "tabs"],
"web_accessible_resources": [
"scripts/content/inpage.js",
"scripts/content/signerTestMethods.js",
Expand Down
10 changes: 6 additions & 4 deletions src/@types/models.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
interface SignKeyPairWithAlias {
// Human readable name.
name: string;
signKeyPair: nacl.SignKeyPair;
import { Keys } from 'casper-client-sdk';

interface KeyPairWithAlias {
// Human readable alias.
alias: string;
KeyPair: Keys.Ed25519 | Keys.Secp256K1;
}

type ByteArray = Uint8Array;
Loading

0 comments on commit e1d0b3c

Please sign in to comment.