New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@metamask-institutional/custody-keyring

Package Overview
Dependencies
Maintainers
7
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask-institutional/custody-keyring - npm Package Compare versions

Comparing version 1.1.1 to 2.0.0

coverage/base.css

31

CHANGELOG.md

@@ -50,2 +50,33 @@ # Change Log

## [2.0.0](https://github.com/consensys-vertical-apps/metamask-institutional/compare/custody-keyring-v1.1.2...custody-keyring-v2.0.0) (2024-05-17)
### ⚠ BREAKING CHANGES
* **configuration api v2:** Configuration API V2 has changed the whole structure for custodians, introducing environments noew
### Features
* **configuration api v2:** updated configClient and custodyKeyring ([#472](https://github.com/consensys-vertical-apps/metamask-institutional/issues/472)) ([504a633](https://github.com/consensys-vertical-apps/metamask-institutional/commit/504a6333a491a841062081211ffa15bae36f4c39))
* **websocketclient transasctionupdate:** initial handshake work ([#670](https://github.com/consensys-vertical-apps/metamask-institutional/issues/670)) ([5cd3bd6](https://github.com/consensys-vertical-apps/metamask-institutional/commit/5cd3bd60e9fd342b4b82c8bb589de8b4a0373c5a))
### Bug Fixes
* **bump version manually:** manually bump version of custody-keyring ([#475](https://github.com/consensys-vertical-apps/metamask-institutional/issues/475)) ([5e79afa](https://github.com/consensys-vertical-apps/metamask-institutional/commit/5e79afa4433cf03aa5c5f00f48fb3d32a579fd62))
* **check null values:** checking null values in signedMEssage and transaction ([#233](https://github.com/consensys-vertical-apps/metamask-institutional/issues/233)) ([3e21fb9](https://github.com/consensys-vertical-apps/metamask-institutional/commit/3e21fb95f764a9ffe6aea1e459737f7cf62408f7))
* **custody-keyring:** get apiUrl from custody type ([#621](https://github.com/consensys-vertical-apps/metamask-institutional/issues/621)) ([0934775](https://github.com/consensys-vertical-apps/metamask-institutional/commit/093477543ebf4866222cd8f0382c968a819fee4b))
* **custodykeyring:** bumps version ([#401](https://github.com/consensys-vertical-apps/metamask-institutional/issues/401)) ([b135a4b](https://github.com/consensys-vertical-apps/metamask-institutional/commit/b135a4bcc793cb39bad69dd2ef30e113fb3a0981))
* **custodykeyring:** the getAccounts method should return a new array of the accounts ([#482](https://github.com/consensys-vertical-apps/metamask-institutional/issues/482)) ([934f370](https://github.com/consensys-vertical-apps/metamask-institutional/commit/934f37001744a6537a1b6f77d134fe67b4e93224))
* **custodykeyring:** we dont want to run the migrations because they are very old ([#448](https://github.com/consensys-vertical-apps/metamask-institutional/issues/448)) ([49cc334](https://github.com/consensys-vertical-apps/metamask-institutional/commit/49cc3340ececf1961e8780ad9b9e8db4636f3b23))
* **fix version:** fixes metamask-institutional/custody-keyring package version ([#630](https://github.com/consensys-vertical-apps/metamask-institutional/issues/630)) ([1c9b225](https://github.com/consensys-vertical-apps/metamask-institutional/commit/1c9b225b15f28cd93b837b98ff2a53a7db535d4b))
* **lint:** lint issues were fixes ([#509](https://github.com/consensys-vertical-apps/metamask-institutional/issues/509)) ([ce5f9af](https://github.com/consensys-vertical-apps/metamask-institutional/commit/ce5f9afaa20d6afad6e81d0d97bc6894055fc00c))
* **lodash:** removes the full lodash package to install only the method needed ([#263](https://github.com/consensys-vertical-apps/metamask-institutional/issues/263)) ([f5c7f4f](https://github.com/consensys-vertical-apps/metamask-institutional/commit/f5c7f4fd23017e8be7e353349dacc72370e33317))
* **manual update:** manual update ([#685](https://github.com/consensys-vertical-apps/metamask-institutional/issues/685)) ([162a0c0](https://github.com/consensys-vertical-apps/metamask-institutional/commit/162a0c03944c2ddc518a109debbfd4086b5ccd51))
* **mmiconfiguration:** fixes the name of mmiconfiguration to start with uppercase letter ([#106](https://github.com/consensys-vertical-apps/metamask-institutional/issues/106)) ([772f9b2](https://github.com/consensys-vertical-apps/metamask-institutional/commit/772f9b28ea4e30279235b8de760e61f9cce88c36))
* **npmignore:** clean up ([#271](https://github.com/consensys-vertical-apps/metamask-institutional/issues/271)) ([a4bbae1](https://github.com/consensys-vertical-apps/metamask-institutional/commit/a4bbae1887ef3cead82b58bd2ec14fbfcd40f662))
* **onboardingurl:** adds the onboardingurl ([#533](https://github.com/consensys-vertical-apps/metamask-institutional/issues/533)) ([f3fa7fc](https://github.com/consensys-vertical-apps/metamask-institutional/commit/f3fa7fcccf112f23184b47989cdf0ea4058cbe98))
* **updates packages:** updates packages to the latest versions ([#278](https://github.com/consensys-vertical-apps/metamask-institutional/issues/278)) ([0dc78c5](https://github.com/consensys-vertical-apps/metamask-institutional/commit/0dc78c5321d8b686320a7d83bd45eae93fefb36a))
* **version bump:** version increase ([#348](https://github.com/consensys-vertical-apps/metamask-institutional/issues/348)) ([d03ae80](https://github.com/consensys-vertical-apps/metamask-institutional/commit/d03ae80c61a6dafc93b76bb3855f0f8edca038b3))
## [1.1.0](https://github.com/consensys-vertical-apps/metamask-institutional/compare/custody-keyring-v1.0.12...custody-keyring-v1.1.0) (2024-04-17)

@@ -52,0 +83,0 @@

2

dist/custodianTypes/qredo/QredoCustodyKeyring.d.ts
import { MMISDK } from "@metamask-institutional/sdk";
import { AddressType, AuthTypes, ICustodianTransactionLink, IRefreshTokenAuthDetails, ITransactionStatusMap } from "@metamask-institutional/types";
import { ICustodianEnvironment } from "src/interfaces/ICustodianEnvironment";
import { CustodyKeyring } from "../../CustodyKeyring";

@@ -32,3 +33,4 @@ import { ICustodyKeyringOptions } from "../../interfaces/ICustodyKeyringOptions";

getStatusMap(): ITransactionStatusMap;
protected getCustodianFromEnvName(envName: string): ICustodianEnvironment;
}
//# sourceMappingURL=QredoCustodyKeyring.d.ts.map

@@ -47,2 +47,5 @@ "use strict";

}
getCustodianFromEnvName(envName) {
return this.getCustodians().find(c => /qredo/iu.test(c.envName));
}
}

@@ -49,0 +52,0 @@ QredoCustodyKeyring.type = "Custody - Qredo";

2

dist/CustodyKeyring.d.ts

@@ -76,4 +76,4 @@ /// <reference types="node" />

protected getCustodianFromEnvName(envName: string): ICustodianEnvironment;
private getCustodians;
protected getCustodians(): ICustodianEnvironment[];
}
//# sourceMappingURL=CustodyKeyring.d.ts.map

@@ -357,2 +357,5 @@ "use strict";

getCustodianFromEnvName(envName) {
if (!envName) {
return;
}
const custodian = this.getCustodians().find(c => c.envName === envName);

@@ -359,0 +362,0 @@ if (!custodian) {

{
"name": "@metamask-institutional/custody-keyring",
"version": "1.1.1",
"version": "2.0.0",
"description": "The Custody Keyring Class is the initial point of contact with a custodian, it gets access to the sdk and all methods of interaction with a custodian, like custodian accounts, sign a tx, account details, tx details.",

@@ -30,3 +30,3 @@ "author": "Albert Olive <albertolivecorbella@gmail.com>",

},
"gitHead": "1ab6f5ff7710e1ea7edda4d5573a0002e7d117e5",
"gitHead": "62ed7639b9145658a4fa1273e35e99d300acdc99",
"dependencies": {

@@ -33,0 +33,0 @@ "@ethereumjs/tx": "^4.1.1",

{
"name": "@metamask-institutional/custody-keyring",
"version": "1.1.1",
"version": "2.0.0",
"description": "The Custody Keyring Class is the initial point of contact with a custodian, it gets access to the sdk and all methods of interaction with a custodian, like custodian accounts, sign a tx, account details, tx details.",

@@ -30,3 +30,3 @@ "author": "Albert Olive <albertolivecorbella@gmail.com>",

},
"gitHead": "1ab6f5ff7710e1ea7edda4d5573a0002e7d117e5",
"gitHead": "62ed7639b9145658a4fa1273e35e99d300acdc99",
"dependencies": {

@@ -33,0 +33,0 @@ "@ethereumjs/tx": "^4.1.1",

@@ -9,2 +9,3 @@ import { MMISDK, mmiSDKFactory, QredoCustodianApi } from "@metamask-institutional/sdk";

} from "@metamask-institutional/types";
import { ICustodianEnvironment } from "src/interfaces/ICustodianEnvironment";

@@ -63,2 +64,6 @@ import { CustodyKeyring } from "../../CustodyKeyring";

}
protected getCustodianFromEnvName(envName: string): ICustodianEnvironment {
return this.getCustodians().find(c => /qredo/iu.test(c.envName));
}
}

@@ -63,3 +63,2 @@ import { FeeMarketEIP1559Transaction, Transaction } from "@ethereumjs/tx";

// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types

@@ -532,2 +531,6 @@ abstract txDeepLink(custodianDetails: any, txId: string): Promise<Partial<ICustodianTransactionLink> | null>;

protected getCustodianFromEnvName(envName: string) {
if (!envName) {
return;
}
const custodian = this.getCustodians().find(c => c.envName === envName);

@@ -542,3 +545,3 @@

private getCustodians(): ICustodianEnvironment[] {
protected getCustodians(): ICustodianEnvironment[] {
const {

@@ -545,0 +548,0 @@ mmiConfiguration: { custodians },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc