@metamask-institutional/custody-keyring
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -15,2 +15,4 @@ import { MMISDK } from "@metamask-institutional/sdk"; | ||
icon: string; | ||
website: string; | ||
envName: string; | ||
keyringClass: typeof BitgoCustodyKeyring; | ||
@@ -17,0 +19,0 @@ production: boolean; |
@@ -19,2 +19,4 @@ "use strict"; | ||
icon: "https://dashboard.metamask-institutional.io/custodian-icons/bitgo-icon.svg", | ||
website: 'https://www.bitgo.com', | ||
envName: 'bitgo', | ||
keyringClass: BitgoCustodyKeyring, | ||
@@ -21,0 +23,0 @@ production: true, |
@@ -14,2 +14,4 @@ import { MMISDK } from "@metamask-institutional/sdk"; | ||
icon: string; | ||
website: string; | ||
envName: string; | ||
keyringClass: typeof CactusCustodyKeyring; | ||
@@ -16,0 +18,0 @@ production: boolean; |
@@ -18,2 +18,4 @@ "use strict"; | ||
icon: "https://dashboard.metamask-institutional.io/custodian-icons/cactus-icon.svg", | ||
website: 'https://www.mycactus.com', | ||
envName: 'cactus', | ||
keyringClass: CactusCustodyKeyring, | ||
@@ -20,0 +22,0 @@ production: true, |
@@ -37,2 +37,4 @@ import { AuthDetails, AuthTypes, ITokenAuthDetails, ITransactionStatusMap } from "@metamask-institutional/types"; | ||
icon: string; | ||
website: string; | ||
envName: string; | ||
keyringClass: typeof CurvCustodyKeyring; | ||
@@ -39,0 +41,0 @@ production: boolean; |
@@ -51,2 +51,4 @@ "use strict"; | ||
icon: "images/curv-logo.svg", | ||
website: '', | ||
envName: '', | ||
keyringClass: CurvCustodyKeyring, | ||
@@ -53,0 +55,0 @@ production: false, |
@@ -11,23 +11,2 @@ "use strict"; | ||
exports.CUSTODIAN_TYPES = { | ||
JUPITER: { | ||
name: "Jupiter", | ||
displayName: "Jupiter Custody", | ||
apiUrl: "https://jupiter-custody.codefi.network", | ||
imgSrc: "https://saturn-custody-ui.metamask-institutional.io/saturn.svg", | ||
icon: "https://saturn-custody-ui.metamask-institutional.io/saturn.svg", | ||
keyringClass: JupiterCustodyKeyring_1.JupiterCustodyKeyring, | ||
production: true, | ||
hidden: false, | ||
origins: [/^https:\/\/jupiter-custody-ui.codefi.network\//], | ||
environmentMapping: [ | ||
{ | ||
pattern: /^http:\/\/test-pattern/, | ||
mmiApiUrl: "http://test-url", | ||
}, | ||
{ | ||
pattern: /^http:\/\/localhost.*$/, | ||
mmiApiUrl: "http://localhost:3000/v1", | ||
}, | ||
], | ||
}, | ||
QREDO: { | ||
@@ -39,2 +18,4 @@ name: "Qredo", | ||
icon: "https://dashboard.metamask-institutional.io/custodian-icons/qredo-icon.svg", | ||
website: 'https://www.qredo.com', | ||
envName: 'qredo', | ||
keyringClass: QredoCustodyKeyring_1.QredoCustodyKeyring, | ||
@@ -61,2 +42,4 @@ production: true, | ||
icon: "https://dashboard.metamask-institutional.io/custodian-icons/cactus-icon.svg", | ||
website: 'https://www.mycactus.com', | ||
envName: 'cactus', | ||
keyringClass: CactusCustodyKeyring_1.CactusCustodyKeyring, | ||
@@ -83,2 +66,4 @@ production: true, | ||
icon: "https://dashboard.metamask-institutional.io/custodian-icons/bitgo-icon.svg", | ||
website: 'https://www.bitgo.com', | ||
envName: 'bitgo', | ||
keyringClass: BitgoCustodyKeyring_1.BitgoCustodyKeyring, | ||
@@ -103,2 +88,25 @@ production: true, | ||
}, | ||
JUPITER: { | ||
name: "Jupiter", | ||
displayName: "Jupiter Custody", | ||
apiUrl: "https://jupiter-custody.codefi.network", | ||
imgSrc: "https://saturn-custody-ui.metamask-institutional.io/saturn.svg", | ||
icon: "https://saturn-custody-ui.metamask-institutional.io/saturn.svg", | ||
website: '', | ||
envName: '', | ||
keyringClass: JupiterCustodyKeyring_1.JupiterCustodyKeyring, | ||
production: true, | ||
hidden: false, | ||
origins: [/^https:\/\/jupiter-custody-ui.codefi.network\//], | ||
environmentMapping: [ | ||
{ | ||
pattern: /^http:\/\/test-pattern/, | ||
mmiApiUrl: "http://test-url", | ||
}, | ||
{ | ||
pattern: /^http:\/\/localhost.*$/, | ||
mmiApiUrl: "http://localhost:3000/v1", | ||
}, | ||
], | ||
}, | ||
JSONRPC: { | ||
@@ -110,2 +118,4 @@ name: "JSONRPC", | ||
icon: "https://saturn-custody-ui.metamask-institutional.io/saturn.svg", | ||
website: 'https://saturn-custody-ui.metamask-institutional.io/', | ||
envName: 'saturn-prod', | ||
keyringClass: JsonRpcCustodyKeyring_1.JsonRpcCustodyKeyring, | ||
@@ -123,2 +133,4 @@ production: false, | ||
icon: "images/curv-logo.svg", | ||
website: '', | ||
envName: '', | ||
keyringClass: CurvCustodyKeyring_1.CurvCustodyKeyring, | ||
@@ -125,0 +137,0 @@ production: false, |
@@ -16,2 +16,4 @@ import { MMISDK } from "@metamask-institutional/sdk"; | ||
icon: string; | ||
website: string; | ||
envName: string; | ||
keyringClass: typeof JsonRpcCustodyKeyring; | ||
@@ -18,0 +20,0 @@ production: boolean; |
@@ -19,2 +19,4 @@ "use strict"; | ||
icon: "https://saturn-custody-ui.metamask-institutional.io/saturn.svg", | ||
website: 'https://saturn-custody-ui.metamask-institutional.io/', | ||
envName: 'saturn-prod', | ||
keyringClass: JsonRpcCustodyKeyring, | ||
@@ -21,0 +23,0 @@ production: false, |
@@ -16,2 +16,4 @@ import { MMISDK } from "@metamask-institutional/sdk"; | ||
icon: string; | ||
website: string; | ||
envName: string; | ||
keyringClass: typeof JupiterCustodyKeyring; | ||
@@ -18,0 +20,0 @@ production: boolean; |
@@ -19,2 +19,4 @@ "use strict"; | ||
icon: "images/jupiter.svg", | ||
website: '', | ||
envName: '', | ||
keyringClass: JupiterCustodyKeyring, | ||
@@ -21,0 +23,0 @@ production: true, |
@@ -14,2 +14,4 @@ import { MMISDK } from "@metamask-institutional/sdk"; | ||
icon: string; | ||
website: string; | ||
envName: string; | ||
keyringClass: typeof QredoCustodyKeyring; | ||
@@ -16,0 +18,0 @@ production: boolean; |
@@ -18,2 +18,4 @@ "use strict"; | ||
icon: "https://dashboard.metamask-institutional.io/custodian-icons/qredo-icon.svg", | ||
website: 'https://www.qredo.com', | ||
envName: 'qredo', | ||
keyringClass: QredoCustodyKeyring, | ||
@@ -20,0 +22,0 @@ production: true, |
@@ -50,4 +50,4 @@ "use strict"; | ||
name: custodian.name.toLowerCase(), | ||
website: null, | ||
envName: null, | ||
website: custodian.website, | ||
envName: custodian.envName, | ||
apiUrl: custodian.apiUrl, | ||
@@ -54,0 +54,0 @@ iconUrl: custodian.imgSrc, |
{ | ||
"name": "@metamask-institutional/custody-keyring", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"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": "a2a4f84ec6a96ef2b68eb47db00bcafd9252551a", | ||
"gitHead": "5e79afa4433cf03aa5c5f00f48fb3d32a579fd62", | ||
"dependencies": { | ||
@@ -33,0 +33,0 @@ "@ethereumjs/tx": "^4.1.1", |
{ | ||
"name": "@metamask-institutional/custody-keyring", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"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": "a2a4f84ec6a96ef2b68eb47db00bcafd9252551a", | ||
"gitHead": "5e79afa4433cf03aa5c5f00f48fb3d32a579fd62", | ||
"dependencies": { | ||
@@ -33,0 +33,0 @@ "@ethereumjs/tx": "^4.1.1", |
@@ -25,2 +25,4 @@ import { BitgoCustodianApi, MMISDK, mmiSDKFactory } from "@metamask-institutional/sdk"; | ||
icon: "https://dashboard.metamask-institutional.io/custodian-icons/bitgo-icon.svg", | ||
website: 'https://www.bitgo.com', | ||
envName: 'bitgo', | ||
keyringClass: BitgoCustodyKeyring, | ||
@@ -27,0 +29,0 @@ production: true, |
@@ -24,2 +24,4 @@ import { CactusCustodianApi, MMISDK, mmiSDKFactory } from "@metamask-institutional/sdk"; | ||
icon: "https://dashboard.metamask-institutional.io/custodian-icons/cactus-icon.svg", | ||
website: 'https://www.mycactus.com', | ||
envName: 'cactus', | ||
keyringClass: CactusCustodyKeyring, | ||
@@ -26,0 +28,0 @@ production: true, |
@@ -49,2 +49,4 @@ import { CurvCustodianApi, mmiSDKFactory } from "@metamask-institutional/sdk"; | ||
icon: "images/curv-logo.svg", | ||
website: '', | ||
envName: '', | ||
keyringClass: CurvCustodyKeyring, | ||
@@ -51,0 +53,0 @@ production: false, |
@@ -11,23 +11,2 @@ import { ICustodianType } from "@metamask-institutional/types"; | ||
export const CUSTODIAN_TYPES: { [key: string]: ICustodianType } = { | ||
JUPITER: { | ||
name: "Jupiter", | ||
displayName: "Jupiter Custody", | ||
apiUrl: "https://jupiter-custody.codefi.network", | ||
imgSrc: "https://saturn-custody-ui.metamask-institutional.io/saturn.svg", | ||
icon: "https://saturn-custody-ui.metamask-institutional.io/saturn.svg", | ||
keyringClass: JupiterCustodyKeyring, | ||
production: true, | ||
hidden: false, | ||
origins: [/^https:\/\/jupiter-custody-ui.codefi.network\//], | ||
environmentMapping: [ | ||
{ | ||
pattern: /^http:\/\/test-pattern/, | ||
mmiApiUrl: "http://test-url", | ||
}, | ||
{ | ||
pattern: /^http:\/\/localhost.*$/, | ||
mmiApiUrl: "http://localhost:3000/v1", | ||
}, | ||
], | ||
}, | ||
QREDO: { | ||
@@ -39,2 +18,4 @@ name: "Qredo", | ||
icon: "https://dashboard.metamask-institutional.io/custodian-icons/qredo-icon.svg", | ||
website: 'https://www.qredo.com', | ||
envName: 'qredo', | ||
keyringClass: QredoCustodyKeyring, | ||
@@ -61,2 +42,4 @@ production: true, | ||
icon: "https://dashboard.metamask-institutional.io/custodian-icons/cactus-icon.svg", | ||
website: 'https://www.mycactus.com', | ||
envName: 'cactus', | ||
keyringClass: CactusCustodyKeyring, | ||
@@ -83,2 +66,4 @@ production: true, | ||
icon: "https://dashboard.metamask-institutional.io/custodian-icons/bitgo-icon.svg", | ||
website: 'https://www.bitgo.com', | ||
envName: 'bitgo', | ||
keyringClass: BitgoCustodyKeyring, | ||
@@ -103,5 +88,27 @@ production: true, | ||
}, | ||
JUPITER: { | ||
name: "Jupiter", | ||
displayName: "Jupiter Custody", | ||
apiUrl: "https://jupiter-custody.codefi.network", | ||
imgSrc: "https://saturn-custody-ui.metamask-institutional.io/saturn.svg", | ||
icon: "https://saturn-custody-ui.metamask-institutional.io/saturn.svg", | ||
website: '', | ||
envName: '', | ||
keyringClass: JupiterCustodyKeyring, | ||
production: true, | ||
hidden: false, | ||
origins: [/^https:\/\/jupiter-custody-ui.codefi.network\//], | ||
environmentMapping: [ | ||
{ | ||
pattern: /^http:\/\/test-pattern/, | ||
mmiApiUrl: "http://test-url", | ||
}, | ||
{ | ||
pattern: /^http:\/\/localhost.*$/, | ||
mmiApiUrl: "http://localhost:3000/v1", | ||
}, | ||
], | ||
}, | ||
// All new custodians are an instance of this type | ||
JSONRPC: { | ||
@@ -113,2 +120,4 @@ name: "JSONRPC", | ||
icon: "https://saturn-custody-ui.metamask-institutional.io/saturn.svg", | ||
website: 'https://saturn-custody-ui.metamask-institutional.io/', | ||
envName: 'saturn-prod', | ||
keyringClass: JsonRpcCustodyKeyring, | ||
@@ -122,3 +131,2 @@ production: false, | ||
// Legacy Custodian | ||
CURV: { | ||
@@ -130,2 +138,4 @@ name: "Curv", | ||
icon: "images/curv-logo.svg", | ||
website: '', | ||
envName: '', | ||
keyringClass: CurvCustodyKeyring, | ||
@@ -132,0 +142,0 @@ production: false, |
@@ -28,2 +28,4 @@ import { JsonRpcCustodianApi, MMISDK, mmiSDKFactory } from "@metamask-institutional/sdk"; | ||
icon: "https://saturn-custody-ui.metamask-institutional.io/saturn.svg", | ||
website: 'https://saturn-custody-ui.metamask-institutional.io/', | ||
envName: 'saturn-prod', | ||
keyringClass: JsonRpcCustodyKeyring, | ||
@@ -30,0 +32,0 @@ production: false, |
@@ -28,2 +28,4 @@ import { JupiterCustodianApi, MMISDK, mmiSDKFactory } from "@metamask-institutional/sdk"; | ||
icon: "images/jupiter.svg", | ||
website: '', | ||
envName: '', | ||
keyringClass: JupiterCustodyKeyring, | ||
@@ -30,0 +32,0 @@ production: true, |
@@ -24,2 +24,4 @@ import { MMISDK, mmiSDKFactory, QredoCustodianApi } from "@metamask-institutional/sdk"; | ||
icon: "https://dashboard.metamask-institutional.io/custodian-icons/qredo-icon.svg", | ||
website: 'https://www.qredo.com', | ||
envName: 'qredo', | ||
keyringClass: QredoCustodyKeyring, | ||
@@ -26,0 +28,0 @@ production: true, |
@@ -74,4 +74,4 @@ /** | ||
name: custodian.name.toLowerCase(), | ||
website: null, | ||
envName: null, | ||
website: custodian.website, | ||
envName: custodian.envName, | ||
apiUrl: custodian.apiUrl, | ||
@@ -78,0 +78,0 @@ iconUrl: custodian.imgSrc, |
146791
3423