Skip to content

Commit 782a4b5

Browse files
authored
Merge pull request #56 from MetaMask/chore/disable-signauth
chore: disable signauthentry until keyring-api change lands
2 parents 05a1b72 + 5fd265c commit 782a4b5

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

packages/snap/snap.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snap-stellar-wallet.git"
88
},
99
"source": {
10-
"shasum": "O0S+ynXAUjJVdndgqLIczhCH52WmBBUf9PZPfed1N4A=",
10+
"shasum": "q0M3wQqwqX/kJKPA5g1pbTxoe+5lXKAXj7ALvDM+rWU=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",

packages/snap/src/services/account/AccountService.test.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ describe('AccountService', () => {
7171
type: KEYRING_ACCOUNT_TYPE,
7272
address: expect.any(String),
7373
scopes: [KnownCaip2ChainId.Mainnet],
74-
methods: ['signMessage', 'signTransaction', 'signAuthEntry'],
74+
methods: ['signMessage', 'signTransaction'],
75+
// methods: ['signMessage', 'signTransaction', 'signAuthEntry'], // TODO: Add this once keyring-api supports it
7576
options: {
7677
entropy: {
7778
type: 'mnemonic',
@@ -106,7 +107,7 @@ describe('AccountService', () => {
106107
methods: [
107108
MultichainMethod.SignMessage,
108109
MultichainMethod.SignTransaction,
109-
MultichainMethod.SignAuthEntry,
110+
// MultichainMethod.SignAuthEntry, // TODO: Add this once keyring-api supports it
110111
],
111112
options: {
112113
entropy: {
@@ -149,7 +150,7 @@ describe('AccountService', () => {
149150
methods: [
150151
MultichainMethod.SignMessage,
151152
MultichainMethod.SignTransaction,
152-
MultichainMethod.SignAuthEntry,
153+
// MultichainMethod.SignAuthEntry, // TODO: Add this once keyring-api supports it
153154
],
154155
options: {
155156
entropy: {
@@ -382,6 +383,11 @@ describe('AccountService', () => {
382383
expect(account).toStrictEqual({
383384
...mockAccount,
384385
id: expect.any(String),
386+
// TODO: Remove when keyring-api supports all methods
387+
methods: [
388+
MultichainMethod.SignMessage,
389+
MultichainMethod.SignTransaction,
390+
],
385391
});
386392
});
387393
});

packages/snap/src/services/account/AccountService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ export class AccountService {
379379
methods: [
380380
MultichainMethod.SignMessage,
381381
MultichainMethod.SignTransaction,
382-
MultichainMethod.SignAuthEntry,
382+
// MultichainMethod.SignAuthEntry, // TODO: Add this once keyring-api supports it
383383
],
384384
};
385385
}

0 commit comments

Comments
 (0)