Skip to content

Commit

Permalink
fix(version bump): manual version bump and clean up (#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
zone-live authored Jul 2, 2024
1 parent 35297cc commit 5135d9c
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages/institutionalFeatures": "1.3.5",
"packages/simpleCache": "1.1.0",
"packages/types": "1.1.0",
"packages/custodyController": "0.2.30",
"packages/custodyController": "0.2.31",
"packages/custodyKeyring": "2.0.3",
"packages/sdk": "0.1.30",
"packages/transactionUpdate": "0.2.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/custodyController/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask-institutional/custody-controller",
"version": "0.2.30",
"version": "0.2.31",
"description": "Custody controller is a background controller responsible for maintaining a cache of custody data in local storage",
"author": "Albert Olive <[email protected]>",
"homepage": "https://github.com/consensys-vertical-apps/metamask-institutional#readme",
Expand Down
2 changes: 0 additions & 2 deletions packages/custodyKeyring/src/CustodyKeyring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,6 @@ export abstract class CustodyKeyring extends EventEmitter {
return this.accountsDetails.find(account => account.address.toLowerCase() === address.toLowerCase());
}

// TODO: This methods should be rename 'get signed message'

async getSignature(address: string, signatureId: string): Promise<ISignatureDetails> {
if (signatureId === undefined) {
return null;
Expand Down
4 changes: 0 additions & 4 deletions packages/sdk/src/classes/MMISDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,3 @@ export class MMISDK extends EventEmitter {
}

export { ICustodianDetails } from "../interfaces/ICustodianDetails";

// @TODO We don't need it right now, come back later after CustodyKeyring is in its own package
// and check if we still want to export it here for some reason
// export { CustodyKeyring } from "./CustodyKeyring";
2 changes: 0 additions & 2 deletions packages/sdk/src/custodianApi/json-rpc/JsonRpcCustodianApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ export class JsonRpcCustodianApi extends EventEmitter implements ICustodianApi {
async getEthereumAccountsByAddress(address: string): Promise<IEthereumAccount<IEthereumAccountCustodianDetails>[]> {
const accounts = await this.getEthereumAccounts();

// TODO: This is a bit inefficient, but eventually we may add optional filtering to the JSON-RPC API

return accounts.filter(account => account.address.toLowerCase().includes(address.toLowerCase()));
}

Expand Down

0 comments on commit 5135d9c

Please sign in to comment.