Skip to content

Commit

Permalink
fix: fix bug auto build
Browse files Browse the repository at this point in the history
  • Loading branch information
khiemsoft committed Oct 4, 2024
1 parent b949401 commit 3a98af3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/coin98-wallet/src/lib/coin98-wallet.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ const mockCoin98WalletOnWindow = () => {
86, 38, 222, 143, 115, 251, 107, 14, 115, 59, 92, 98, 66, 174, 173,
124, 209, 189, 191, 180, 89, 25, 125, 254, 97, 240, 178, 98, 65, 70,
238, 108, 105, 122, 165, 249, 193, 70, 118, 194, 126, 218, 117, 100,
250, 124, 202, 161, 173, 12, 232, 146, 105, 194, 138, 35, 207, 53,
84, 218, 45, 220, 10, 4,
250, 124, 202, 161, 173, 12, 232, 146, 105, 194, 138, 35, 207, 53, 84,
218, 45, 220, 10, 4,
]),
publicKey,
}),
Expand Down
10 changes: 5 additions & 5 deletions packages/coin98-wallet/src/lib/coin98-wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ const Coin98Wallet: WalletBehaviourFactory<InjectedWallet> = async ({
},

async signMessage({
message,
nonce,
recipient,
state
}: SignMessageParams): Promise<SignedMessage>{
message,
nonce,
recipient,
state,
}: SignMessageParams): Promise<SignedMessage> {
if (!_state.wallet) {
throw new Error("Wallet is not installed");
}
Expand Down
5 changes: 4 additions & 1 deletion packages/coin98-wallet/src/lib/injected-coin98-wallet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import type { SignedMessage, SignMessageParams } from "@near-wallet-selector/core";
import type {
SignedMessage,
SignMessageParams,
} from "@near-wallet-selector/core";
import type { Signer } from "near-api-js/lib/signer";

interface IConnectParams {
Expand Down

0 comments on commit 3a98af3

Please sign in to comment.