Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNe0x1 committed Dec 30, 2023
1 parent 862a53e commit 6bcc267
Show file tree
Hide file tree
Showing 15 changed files with 36 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/esm/index.bundle.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/esm/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -24597,11 +24597,15 @@ var SignLoginDialog = (function (props) {
}

wallet.sign(messageToSign).then(function (signature) {
console.log('wallet sign messageToSign', messageToSign);
console.log('wallet sign signature', signature);
console.log('wallet sign wallet', wallet);
recoverSignature({
message: messageToSign,
signature: signature,
wallet: wallet
}).then(function (account) {
console.log('account', account);
props.resolve({
account: account,
wallet: wallet
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.evm.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24560,11 +24560,15 @@ var SignLoginDialog = (function (props) {
}

wallet.sign(messageToSign).then(function (signature) {
console.log('wallet sign messageToSign', messageToSign);
console.log('wallet sign signature', signature);
console.log('wallet sign wallet', wallet);
recoverSignature({
message: messageToSign,
signature: signature,
wallet: wallet
}).then(function (account) {
console.log('account', account);
props.resolve({
account: account,
wallet: wallet
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/esm/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -24598,11 +24598,15 @@ var SignLoginDialog = (function (props) {
}

wallet.sign(messageToSign).then(function (signature) {
console.log('wallet sign messageToSign', messageToSign);
console.log('wallet sign signature', signature);
console.log('wallet sign wallet', wallet);
recoverSignature({
message: messageToSign,
signature: signature,
wallet: wallet
}).then(function (account) {
console.log('account', account);
props.resolve({
account: account,
wallet: wallet
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.solana.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/index.bundle.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/umd/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -24595,11 +24595,15 @@
}

wallet.sign(messageToSign).then(function (signature) {
console.log('wallet sign messageToSign', messageToSign);
console.log('wallet sign signature', signature);
console.log('wallet sign wallet', wallet);
recoverSignature({
message: messageToSign,
signature: signature,
wallet: wallet
}).then(function (account) {
console.log('account', account);
props.resolve({
account: account,
wallet: wallet
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.evm.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/umd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24556,11 +24556,15 @@
}

wallet.sign(messageToSign).then(function (signature) {
console.log('wallet sign messageToSign', messageToSign);
console.log('wallet sign signature', signature);
console.log('wallet sign wallet', wallet);
recoverSignature({
message: messageToSign,
signature: signature,
wallet: wallet
}).then(function (account) {
console.log('account', account);
props.resolve({
account: account,
wallet: wallet
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/umd/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -24596,11 +24596,15 @@
}

wallet.sign(messageToSign).then(function (signature) {
console.log('wallet sign messageToSign', messageToSign);
console.log('wallet sign signature', signature);
console.log('wallet sign wallet', wallet);
recoverSignature({
message: messageToSign,
signature: signature,
wallet: wallet
}).then(function (account) {
console.log('account', account);
props.resolve({
account: account,
wallet: wallet
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.solana.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/dialogs/SignLoginDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ export default (props)=> {
messageToSign = message
}
wallet.sign(messageToSign).then((signature)=>{
console.log('wallet sign messageToSign', messageToSign)
console.log('wallet sign signature', signature)
console.log('wallet sign wallet', wallet)
recoverSignature({ message: messageToSign, signature, wallet }).then((account)=>{
console.log('account', account)
props.resolve({ account, wallet })
setLoggingIn(false)
}).catch((error)=>{
Expand Down

0 comments on commit 6bcc267

Please sign in to comment.