Skip to content

Commit a4d47d8

Browse files
committed
update
1 parent 993fc12 commit a4d47d8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+7079
-675
lines changed

.eslintrc.json

-44
This file was deleted.

README.md

+20-22
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ It also has a desktop version (desktop-app) for Linux, macOS, Windows and a mobi
2121
- ### Web: https://app.bglwallet.io (domain is linked to GitHub Pages, we do not use our server to delivery frontend). Alternative: https://raw.githack.com/epexa/bitgesell-wallet-dist/master/
2222
- ### WebExtensions (Chrome Extension): https://chrome.google.com/webstore/detail/bitgesell-wallet/pncbphpmaelhiladbdaapmpcchknnpdb
2323
- ### Linux (Snap): https://snapcraft.io/bitgesell-wallet
24-
- ### Linux (AppImage): https://github.com/epexa/bitgesell-wallet-desktop-app/releases/download/v0.9.7/Bitgesell-Wallet-0.9.7.AppImage
25-
- ### Linux (deb): https://github.com/epexa/bitgesell-wallet-desktop-app/releases/download/v0.9.7/bitgesell-wallet_0.9.7_amd64.deb
26-
- ### Windows: https://github.com/epexa/bitgesell-wallet-desktop-app/releases/download/v0.9.7/Bitgesell-Wallet-Setup-0.9.7.exe
27-
- ### Windows (portable): https://github.com/epexa/bitgesell-wallet-desktop-app/releases/download/v0.9.7/Bitgesell-Wallet-portable.exe
24+
- ### Linux (AppImage): https://github.com/epexa/bitgesell-wallet-desktop-app/releases/download/v0.9.8/Bitgesell-Wallet-0.9.8.AppImage
25+
- ### Linux (deb): https://github.com/epexa/bitgesell-wallet-desktop-app/releases/download/v0.9.8/bitgesell-wallet_0.9.8_amd64.deb
26+
- ### Linux (pacman): https://github.com/epexa/bitgesell-wallet-desktop-app/releases/download/v0.9.8/bitgesell-wallet-0.9.8.pacman
27+
- ### Windows: https://github.com/epexa/bitgesell-wallet-desktop-app/releases/download/v0.9.8/Bitgesell-Wallet-Setup-0.9.8.exe
28+
- ### Windows (portable): https://github.com/epexa/bitgesell-wallet-desktop-app/releases/download/v0.9.8/Bitgesell-Wallet-portable.exe
2829
- ### Android: https://play.google.com/store/apps/details?id=io.bglwallet
29-
- ### Android (APK): https://github.com/epexa/bitgesell-wallet-desktop-app/releases/download/v0.9.7/Bitgesell-Wallet-0.9.7.apk
30+
- ### Android (APK): https://github.com/epexa/bitgesell-wallet-desktop-app/releases/download/v0.9.8/Bitgesell-Wallet-0.9.8.apk
3031

3132
------------
3233

@@ -64,7 +65,7 @@ It also has a desktop version (desktop-app) for Linux, macOS, Windows and a mobi
6465
## Help environment
6566

6667
- ### 1) PRE
67-
`npm install`
68+
`npm ci`
6869

6970
- ### 2) DEVELOP
7071
1. `npm start`
@@ -90,19 +91,19 @@ It also has a desktop version (desktop-app) for Linux, macOS, Windows and a mobi
9091
## This project uses JavaScript libraries
9192
| Name | GitHub | jsDelivr | Version |
9293
|------|--------|----------|---------|
93-
| jsbgl | [GitHub](https://github.com/bitaps-com/jsbgl) | [jsDelivr](https://www.jsdelivr.com/package/npm/jsbgl?path=dist) | 1.0.17
94+
| jsbgl | [GitHub](https://github.com/bitaps-com/jsbgl) | [jsDelivr](https://www.jsdelivr.com/package/npm/jsbgl?tab=files&path=dist) | 1.0.17
9495
| aes4js | [GitHub](https://github.com/rndme/aes4js) | [jsDelivr](https://www.jsdelivr.com/package/npm/aes4js?tab=files) | 1.0.0
9596
| satoshi-bitcoin | [GitHub](https://github.com/dawsbot/satoshi-bitcoin) | [jsDelivr](https://www.jsdelivr.com/package/npm/satoshi-bitcoin?tab=files) | 1.0.5
96-
| Bootstrap | [GitHub](https://github.com/twbs/bootstrap) | [jsDelivr](https://www.jsdelivr.com/package/npm/bootstrap?tab=files&path=dist) | 5.3.1
97-
| Bootswatch | [GitHub](https://github.com/thomaspark/bootswatch) | [jsDelivr](https://www.jsdelivr.com/package/npm/bootswatch?path=dist%2Fflatly) | 5.3.1 |
98-
| SweetAlert2 | [GitHub](https://github.com/sweetalert2/sweetalert2) | [jsDelivr](https://www.jsdelivr.com/package/npm/sweetalert2?path=dist) | 11.7.22
99-
| Day.js | [GitHub](https://github.com/iamkun/dayjs) | [jsDelivr](https://www.jsdelivr.com/package/npm/dayjs?tab=files) | 1.11.9
100-
| DataTables | [GitHub](https://github.com/DataTables/DataTablesSrc) | [jsDelivr](https://www.jsdelivr.com/package/npm/datatables.net?path=js&tab=files) | 1.13.6
101-
| DataTables Bootstrap 5 | [GitHub](https://github.com/DataTables/Dist-DataTables-Bootstrap5) | [jsDelivr](https://www.jsdelivr.com/package/npm/datatables.net-bs5?tab=files) | 1.13.6
102-
| DataTables Responsive | [GitHub](https://github.com/DataTables/Responsive) | [jsDelivr](https://www.jsdelivr.com/package/npm/datatables.net-responsive?path=js&tab=files) | 2.5.0
103-
| DataTables Responsive Bootstrap 5 | [GitHub](https://github.com/DataTables/Dist-DataTables-Responsive-Bootstrap4) | [jsDelivr](https://www.jsdelivr.com/package/npm/datatables.net-responsive-bs5?tab=files) | 2.5.0
104-
| jQuery slim (only for DataTables) | [GitHub](https://github.com/jquery/jquery) | [jsDelivr](https://www.jsdelivr.com/package/npm/jquery?path=dist&tab=files) | 3.7.0
105-
| Font Awesome | [GitHub](https://github.com/FortAwesome/Font-Awesome) | [jsDelivr](https://www.jsdelivr.com/package/npm/@fortawesome/fontawesome-free?tab=files&path=css) | 6.4.2
97+
| Bootstrap | [GitHub](https://github.com/twbs/bootstrap) | [jsDelivr](https://www.jsdelivr.com/package/npm/bootstrap?tab=files&path=dist) | 5.3.3
98+
| Bootswatch | [GitHub](https://github.com/thomaspark/bootswatch) | [jsDelivr](https://www.jsdelivr.com/package/npm/bootswatch?tab=files&path=dist%2Fflatly) | 5.3.3 |
99+
| SweetAlert2 | [GitHub](https://github.com/sweetalert2/sweetalert2) | [jsDelivr](https://www.jsdelivr.com/package/npm/sweetalert2?tab=files&path=dist) | 11.17.2
100+
| Day.js | [GitHub](https://github.com/iamkun/dayjs) | [jsDelivr](https://www.jsdelivr.com/package/npm/dayjs?tab=files) | 1.11.13
101+
| DataTables | [GitHub](https://github.com/DataTables/DataTablesSrc) | [jsDelivr](https://www.jsdelivr.com/package/npm/datatables.net?path=js&tab=files) | 2.2.2
102+
| DataTables Bootstrap 5 | [GitHub](https://github.com/DataTables/Dist-DataTables-Bootstrap5) | [jsDelivr](https://www.jsdelivr.com/package/npm/datatables.net-bs5?tab=files) | 2.2.2
103+
| DataTables Responsive | [GitHub](https://github.com/DataTables/Responsive) | [jsDelivr](https://www.jsdelivr.com/package/npm/datatables.net-responsive?path=js&tab=files) | 3.0.4
104+
| DataTables Responsive Bootstrap 5 | [GitHub](https://github.com/DataTables/Dist-DataTables-Responsive-Bootstrap4) | [jsDelivr](https://www.jsdelivr.com/package/npm/datatables.net-responsive-bs5?tab=files) | 3.0.4
105+
| jQuery slim (only for DataTables) | [GitHub](https://github.com/jquery/jquery) | [jsDelivr](https://www.jsdelivr.com/package/npm/jquery?path=dist&tab=files) | 3.7.1
106+
| Font Awesome | [GitHub](https://github.com/FortAwesome/Font-Awesome) | [jsDelivr](https://www.jsdelivr.com/package/npm/@fortawesome/fontawesome-free?tab=files&path=css) | 6.7.2
106107

107108
------------
108109

@@ -121,13 +122,10 @@ Patches are welcome! If you would like to contribute, but don't know what to wor
121122
## Donations
122123

123124
If you'd like to buy me a beer, I won't complain. I will thank you! =)
124-
- BGL: [bgl1qlmzckh904vze03n0lwzptt5dkmvf2vj3ev4qm9](bgl:bgl1qlmzckh904vze03n0lwzptt5dkmvf2vj3ev4qm9)
125-
- BTC: [3HAx7GndxNCeri72xPbuaAyAJT8w2v5XGt](btc:3HAx7GndxNCeri72xPbuaAyAJT8w2v5XGt)
126-
- ETH: [0xa88DcEB0139A56f5b054d22212C0445aD984f685](ethereum:0xa88DcEB0139A56f5b054d22212C0445aD984f685)
127-
- [Other cryptocurrencies (395+ coins)...](https://coinswitch.co/?ref=LLBEOO8IZD)
125+
BGL: [bgl1qlmzckh904vze03n0lwzptt5dkmvf2vj3ev4qm9](bgl:bgl1qlmzckh904vze03n0lwzptt5dkmvf2vj3ev4qm9)
128126

129127
------------
130128

131129
## Contacts
132130

133-
Telegram: [@epexa](https://t.me/epexa)
131+
Telegram: [@BGLWallet](https://t.me/BGLWallet)

build.sh

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
npm test &&
3+
npm run eslint &&
44

55
# DIST_FOLDER=$(node --eval="process.stdout.write(require('./package.json').config.DIST_FOLDER)")
66
# DIST_FOLDER=$npm_package_config_DIST_FOLDER
@@ -13,6 +13,8 @@ cp -r public/* $DIST_FOLDER/ &&
1313
babel \
1414
src/utils.js \
1515
src/api.js \
16+
lib/telegram-web-app.js \
17+
src/1-twa.js \
1618
src/app.js \
1719
src/login/login.js \
1820
src/welcome/welcome.js \
@@ -29,7 +31,7 @@ src/send/send.js \
2931

3032
uglifyjs \
3133
lib/1-jquery.slim.min.js \
32-
lib/2-jquery.dataTables.min.js \
34+
lib/2-dataTables.min.js \
3335
lib/3-dataTables.bootstrap5.min.js \
3436
lib/4-dataTables.responsive.min.js \
3537
lib/5-responsive.bootstrap5.min.js \
@@ -68,4 +70,4 @@ lib/responsive.bootstrap5.min.css \
6870
lib/fontawesome.min.css \
6971
lib/fontawesome.solid.min.css \
7072
src/custom.css \
71-
-o $DIST_FOLDER/custom.min.css --skip-rebase
73+
-o $DIST_FOLDER/custom.min.css

eslint.config.js

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
const google = require('eslint-config-google');
2+
3+
if (google.rules['valid-jsdoc']) {
4+
delete google.rules['valid-jsdoc'];
5+
delete google.rules['require-jsdoc'];
6+
}
7+
8+
module.exports = [
9+
google,
10+
{
11+
languageOptions: {
12+
parserOptions: {
13+
ecmaVersion: 13,
14+
},
15+
},
16+
rules: {
17+
'no-unused-vars': 'off',
18+
'no-tabs': 'off',
19+
'one-var': 'off',
20+
'brace-style': [ 'error', 'stroustrup', { allowSingleLine: true } ],
21+
'max-len': 'off',
22+
'no-multiple-empty-lines': [ 'error', { max: 1, maxBOF: 1 } ],
23+
'padded-blocks': 'off',
24+
'curly': 'off',
25+
'object-curly-spacing': [ 'error', 'always' ],
26+
'block-spacing': [ 'error', 'always' ],
27+
'array-bracket-spacing': [ 'error', 'always' ],
28+
'prefer-template': 'error',
29+
'new-cap': 'off',
30+
'guard-for-in': 'off',
31+
'indent': [
32+
'error',
33+
'tab',
34+
{
35+
CallExpression: { arguments: 1 },
36+
FunctionDeclaration: { body: 1, parameters: 2 },
37+
FunctionExpression: { body: 1, parameters: 2 },
38+
MemberExpression: 2,
39+
ObjectExpression: 1,
40+
SwitchCase: 1,
41+
ignoredNodes: [ 'ConditionalExpression', 'VariableDeclarator' ],
42+
},
43+
],
44+
},
45+
},
46+
];

lib/1-jquery.slim.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/2-dataTables.min.js

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/2-jquery.dataTables.min.js

-4
This file was deleted.

lib/3-dataTables.bootstrap5.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)