chore: bump deps (#377)

This commit is contained in:
Anthony Potdevin 2022-01-11 16:21:30 +01:00 committed by GitHub
parent aad9c79391
commit 8469cc8d23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3186 additions and 3800 deletions

6902
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -33,14 +33,14 @@
"prepare": "husky install"
},
"dependencies": {
"@apollo/client": "^3.5.6",
"@apollo/client": "^3.5.7",
"@fullerstack/nax-ipware": "^0.0.9",
"@nestjs/common": "^8.2.3",
"@nestjs/config": "^1.1.5",
"@nestjs/core": "^8.2.3",
"@nestjs/common": "^8.2.4",
"@nestjs/config": "^1.1.6",
"@nestjs/core": "^8.2.4",
"@nestjs/graphql": "^9.1.2",
"@nestjs/passport": "^8.0.1",
"@nestjs/platform-express": "^8.2.3",
"@nestjs/platform-express": "^8.2.4",
"@nestjs/throttler": "^2.0.0",
"@visx/axis": "^2.4.0",
"@visx/chord": "^2.1.2",
@ -50,8 +50,8 @@
"@visx/scale": "^2.2.2",
"@visx/shape": "^2.4.0",
"@visx/tooltip": "^2.2.2",
"apollo-server-express": "^3.5.0",
"balanceofsatoshis": "^11.15.0",
"apollo-server-express": "^3.6.1",
"balanceofsatoshis": "^11.22.4",
"bcryptjs": "^2.4.3",
"bech32": "^2.0.0",
"big.js": "^6.1.1",
@ -63,8 +63,8 @@
"crypto-js": "^4.1.1",
"d3-array": "^3.1.1",
"d3-time-format": "^4.1.0",
"date-fns": "^2.27.0",
"ecpair": "^1.0.1",
"date-fns": "^2.28.0",
"ecpair": "^2.0.1",
"graphql": "^15.7.2",
"jest-fetch-mock": "^3.0.3",
"js-cookie": "^3.0.1",
@ -85,7 +85,7 @@
"react-copy-to-clipboard": "^5.0.4",
"react-dom": "^17.0.2",
"react-feather": "^2.0.9",
"react-grid-layout": "^1.3.0",
"react-grid-layout": "^1.3.1",
"react-qr-reader": "^2.2.1",
"react-select": "^5.2.1",
"react-slider": "^1.3.1",
@ -95,71 +95,71 @@
"react-tooltip": "^4.2.21",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.4.0",
"secp256k1": "^4.0.2",
"rxjs": "^7.5.2",
"secp256k1": "^4.0.3",
"socks-proxy-agent": "^6.1.1",
"styled-components": "^5.3.3",
"styled-react-modal": "^2.1.0",
"styled-theming": "^2.2.0",
"tiny-secp256k1": "^2.1.2",
"uuid": "^8.3.2",
"winston": "^3.3.3"
"winston": "^3.4.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.3.0",
"@graphql-codegen/fragment-matcher": "^3.2.0",
"@graphql-codegen/introspection": "^2.1.0",
"@graphql-codegen/near-operation-file-preset": "^2.2.2",
"@graphql-codegen/typescript": "^2.4.1",
"@graphql-codegen/typescript-operations": "^2.2.1",
"@graphql-codegen/typescript-react-apollo": "^3.2.2",
"@graphql-codegen/typescript-resolvers": "^2.4.2",
"@nestjs/cli": "^8.1.6",
"@graphql-codegen/cli": "^2.3.1",
"@graphql-codegen/fragment-matcher": "^3.2.1",
"@graphql-codegen/introspection": "^2.1.1",
"@graphql-codegen/near-operation-file-preset": "^2.2.3",
"@graphql-codegen/typescript": "^2.4.2",
"@graphql-codegen/typescript-operations": "^2.2.2",
"@graphql-codegen/typescript-react-apollo": "^3.2.3",
"@graphql-codegen/typescript-resolvers": "^2.4.3",
"@nestjs/cli": "^8.1.8",
"@nestjs/schematics": "^8.0.5",
"@nestjs/testing": "^8.2.3",
"@nestjs/testing": "^8.2.4",
"@types/bcryptjs": "^2.4.2",
"@types/big.js": "^6.1.2",
"@types/cookie": "^0.4.1",
"@types/crypto-js": "^4.0.2",
"@types/crypto-js": "^4.1.0",
"@types/d3-array": "^3.0.2",
"@types/d3-time-format": "^4.0.0",
"@types/express": "^4.17.13",
"@types/jest": "^27.0.3",
"@types/jest": "^27.4.0",
"@types/js-cookie": "^3.0.1",
"@types/js-yaml": "^4.0.5",
"@types/jsonwebtoken": "^8.5.6",
"@types/lodash": "^4.14.178",
"@types/node": "^16.11.12",
"@types/node": "^17.0.8",
"@types/node-fetch": "^3.0.3",
"@types/numeral": "^2.0.2",
"@types/qrcode.react": "^1.0.2",
"@types/react": "^17.0.37",
"@types/react": "^17.0.38",
"@types/react-copy-to-clipboard": "^5.0.2",
"@types/react-grid-layout": "^1.3.0",
"@types/react-qr-reader": "^2.1.4",
"@types/react-slider": "^1.3.1",
"@types/react-table": "^7.7.9",
"@types/secp256k1": "^4.0.3",
"@types/styled-components": "^5.1.18",
"@types/styled-react-modal": "^1.2.1",
"@types/styled-components": "^5.1.19",
"@types/styled-react-modal": "^1.2.2",
"@types/styled-theming": "^2.2.5",
"@types/supertest": "^2.0.11",
"@types/uuid": "^8.3.3",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"apollo-server": "^3.5.0",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"apollo-server": "^3.6.1",
"babel-plugin-styled-components": "^2.0.2",
"cross-env": "^7.0.3",
"eslint": "^8.4.1",
"eslint": "^8.6.0",
"eslint-config-next": "^12.0.7",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.0",
"jest": "^27.4.5",
"lint-staged": "^12.1.2",
"jest": "^27.4.7",
"lint-staged": "^12.1.7",
"prettier": "^2.5.1",
"source-map-support": "^0.5.21",
"supertest": "^6.1.6",
"supertest": "^6.2.0",
"ts-jest": "^27.1.2",
"ts-loader": "^9.2.6",
"ts-node": "^10.4.0",

View file

@ -1,5 +1,8 @@
import { address, Network, networks } from 'bitcoinjs-lib';
import { ECPair } from 'ecpair';
import { ECPairFactory, ECPairAPI } from 'ecpair';
import * as ecc from 'tiny-secp256k1';
const ECPair: ECPairAPI = ECPairFactory(ecc);
export const getHexBuffer = (input: string) => {
return Buffer.from(input, 'hex');

View file

@ -24,7 +24,10 @@ import { getPreimageAndHash } from 'src/server/utils/crypto';
import { CurrentUser } from '../../security/security.decorators';
import { UserId } from '../../security/security.types';
import { toWithError } from 'src/server/utils/async';
import { ECPair } from 'ecpair';
import { ECPairAPI, ECPairFactory } from 'ecpair';
import * as ecc from 'tiny-secp256k1';
const ECPair: ECPairAPI = ECPairFactory(ecc);
@Resolver(BoltzSwap)
export class BoltzSwapResolver {