Skip to content

Commit

Permalink
Merge pull request #659 from BoltzExchange/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
michael1011 authored Aug 15, 2024
2 parents 9f5122a + 74b6777 commit ab66019
Show file tree
Hide file tree
Showing 7 changed files with 607 additions and 334 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- run: npm ci

- run: npm run prettier-check
- run: npm run prettier:check

- run: npm run test

Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: >-
We encourage our technical users to check the code and run the web app locally
from source following the instructions below.
We encourage our technical users to check the code and run the web app locally
from source following the instructions below.
cover: .gitbook/assets/boltz-web_app_header.png
coverY: 0
---
Expand Down
6 changes: 3 additions & 3 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Table of contents

* [🖥️ Run from Source](README.md)
* [📲 Install as App](pwa.md)
* [🔙 Back to Docs Home](https://app.gitbook.com/o/SPM8mTvJyc7OIzGL3HD7/s/XUXMXrD8YTzvuqvAeom7/)
- [🖥️ Run from Source](README.md)
- [📲 Install as App](pwa.md)
- [🔙 Back to Docs Home](https://app.gitbook.com/o/SPM8mTvJyc7OIzGL3HD7/s/XUXMXrD8YTzvuqvAeom7/)
6 changes: 3 additions & 3 deletions docs/pwa.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
description: >-
For improved censorship resistance and privacy, Boltz is not available in app
stores, but can be installed as Progressive Web App (PWA) on all Android and
iOS devices, as well as desktop computers.
For improved censorship resistance and privacy, Boltz is not available in app
stores, but can be installed as Progressive Web App (PWA) on all Android and
iOS devices, as well as desktop computers.
---

# 📲 Install as App
Expand Down
890 changes: 579 additions & 311 deletions package-lock.json

Large diffs are not rendered by default.

29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@
"mainnet": "cp src/configs/mainnet.json public/config.json",
"beta": "cp src/configs/beta.json public/config.json",
"testnet": "cp src/configs/testnet.json public/config.json",
"prettier": "prettier --write src tests e2e",
"prettier-check": "prettier --check src tests e2e",
"prettier": "npx prettier src tests e2e docs *.js *.ts",
"prettier:write": "npm run prettier -- --write",
"prettier:check": "npm run prettier -- --check",
"tsc": "tsc",
"changelog": "git-cliff -o CHANGELOG.md"
},
"devDependencies": {
"@babel/core": "^7.24.9",
"@babel/core": "^7.25.2",
"@babel/plugin-transform-modules-commonjs": "^7.24.8",
"@babel/preset-env": "^7.24.8",
"@babel/preset-env": "^7.25.3",
"@babel/preset-typescript": "^7.24.7",
"@playwright/test": "^1.45.3",
"@playwright/test": "^1.46.0",
"@solidjs/testing-library": "^0.8.9",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/user-event": "^14.5.2",
Expand All @@ -34,7 +35,7 @@
"babel-jest": "^29.7.0",
"babel-plugin-transform-vite-meta-env": "^1.0.3",
"babel-preset-jest": "^29.6.3",
"babel-preset-solid": "^1.8.18",
"babel-preset-solid": "^1.8.19",
"eventsource": "^2.0.2",
"git-cliff": "^2.4.0",
"jest": "^29.7.0",
Expand All @@ -44,8 +45,8 @@
"sass": "^1.77.8",
"solid-jest": "^0.2.0",
"typescript": "^5.5.4",
"vite": "^5.3.4",
"vite-plugin-mkcert": "^1.17.5",
"vite": "^5.4.1",
"vite-plugin-mkcert": "^1.17.6",
"vite-plugin-node-polyfills": "^0.22.0",
"vite-plugin-solid": "^2.10.2"
},
Expand All @@ -55,8 +56,8 @@
"@fontsource/noto-sans": "^5.0.22",
"@scure/base": "^1.1.7",
"@solid-primitives/i18n": "^2.1.1",
"@solid-primitives/storage": "^3.8.0",
"@solidjs/router": "^0.14.1",
"@solid-primitives/storage": "^4.0.0",
"@solidjs/router": "^0.14.3",
"@vulpemventures/secp256k1-zkp": "^3.2.1",
"bignumber.js": "^9.1.2 ",
"bitcoinjs-lib": "^6.1.6",
Expand All @@ -65,14 +66,14 @@
"buffer": "^6.0.3",
"create-hmac": "^1.1.7",
"ecpair": "^2.1.0",
"ethers": "^6.13.1",
"iframe-resizer": "^4.4.5",
"ethers": "^6.13.2",
"iframe-resizer": "^5.2.4",
"liquidjs-lib": "^6.0.2-liquid.35",
"localforage": "^1.10.0",
"loglevel": "^1.9.1",
"qr-scanner": "^1.4.2",
"qrcode": "^1.5.3",
"qrcode": "^1.5.4",
"solid-icons": "^1.1.0",
"solid-js": "^1.8.18"
"solid-js": "^1.8.21"
}
}
4 changes: 4 additions & 0 deletions tests/setup.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import { TextEncoder } from "util";

import { setConfig } from "../src/config";
import regtest from "../src/configs/regtest.json";

regtest.loglevel = "error";
setConfig(regtest);

global.TextEncoder = TextEncoder;

globalThis.Notification = {
requestPermission: jest.fn().mockResolvedValue(true),
permission: "granted",
Expand Down

0 comments on commit ab66019

Please sign in to comment.