diff --git a/package.json b/package.json index 230ee51..b1ec1d8 100755 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "./src/**/*" ], "scripts": { - "build": "rm -rf ./build && concurrently \"tsc -p tsconfig.json && resolve-tspaths -p tsconfig.json && sh ./fix-pkg.sh node/esm module && yarn tsc-esm-fix --tsconfig tsconfig.json \" \"tsc -p cjs.tsconfig.json && resolve-tspaths -p cjs.tsconfig.json && sh ./fix-pkg.sh node/cjs commonjs \" \"tsc -p web.tsconfig.json && resolve-tspaths -p web.tsconfig.json && sh ./fix-pkg.sh web/esm module && yarn tsc-esm-fix --tsconfig web.tsconfig.json \" \"tsc -p web-cjs.tsconfig.json && resolve-tspaths -p web-cjs.tsconfig.json && sh ./fix-pkg.sh web/cjs commonjs\" && webpack", + "build": "rm -rf ./build && concurrently \"tsc -p tsconfig.json && resolve-tspaths -p tsconfig.json && sh ./fix-pkg.sh node/esm module && yarn tsc-esm-fix --tsconfig tsconfig.json \" \"tsc -p cjs.tsconfig.json && resolve-tspaths -p cjs.tsconfig.json && sh ./fix-pkg.sh node/cjs commonjs \" \"tsc -p web.tsconfig.json && resolve-tspaths -p web.tsconfig.json && sh ./fix-pkg.sh web/esm module && yarn tsc-esm-fix --tsconfig web.tsconfig.json \" \"tsc -p web-cjs.tsconfig.json && resolve-tspaths -p web-cjs.tsconfig.json && sh ./fix-pkg.sh web/cjs commonjs\"", "lint": "eslint ./src -c ./.eslintrc.json --ext .ts,.tsx", "lint:fix": "eslint ./src -c ./.eslintrc.json --ext .ts,.tsx --fix", "test": "jest --coverage", @@ -153,4 +153,4 @@ "multistream": "^4.1.0", "tmp-promise": "^3.0.2" } -} +} \ No newline at end of file diff --git a/src/signing/chains/injectedSolanaSigner.ts b/src/signing/chains/injectedSolanaSigner.ts index 274058d..77060bf 100644 --- a/src/signing/chains/injectedSolanaSigner.ts +++ b/src/signing/chains/injectedSolanaSigner.ts @@ -1,7 +1,8 @@ import type { Signer } from "../index"; import base64url from "base64url"; import { SIG_CONFIG } from "../../constants"; -// @ts-expect-error types +// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error +// @ts-ignore import type { MessageSignerWalletAdapter } from "@solana/wallet-adapter-base"; import { verify } from "@noble/ed25519";