Skip to content

Commit 3e3bae0

Browse files
authored
Merge pull request #335 from docknetwork/fix-some-dock-references
Fix some more user facing dock.io references
2 parents c880d93 + d0a5b7d commit 3e3bae0

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ INLINE_RUNTIME_CHUNK=false
22
GENERATE_SOURCEMAP=false
33
SKIP_PREFLIGHT_CHECK=true
44
REACT_APP_ENCRYPTION_KEY=<encryption-key>
5-
RELAY_SERVICE_URL=https://relay.dock.io
5+
RELAY_SERVICE_URL=https://relay.truvera.io
66
DOCK_API_KEY=
77
TESTING_API_URL=

docs/biometric-plugin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const biometricsPluginConfigs: BiometricsPluginConfigs = {
6868
did: "<The issuer DID>",
6969
apiKey:
7070
"<CERTS-API-KEY>",
71-
apiUrl: "https://api-testnet.dock.io or https://api.dock.io",
71+
apiUrl: "https://api-testnet.truvera.io or https://api.truvera.io",
7272
},
7373
],
7474
};

docs/getting-started.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const credentialProvider = createCredentialProvider({
7373
wallet, // Pass the wallet instance
7474
});
7575

76-
const credentialOfferUrl = 'openid-credential-offer://?credential_offer=%7B%22credential_issuer%22%3A%22https%3A%2F%2Fapi-testnet.dock.io%2Fopenid%2Fissuers%2F7eff516f-69fb-4b9d-94dc-e88308ec0c4c%22%2C%22credentials%22%3A%5B%22ldp_vc%3AMyCredential%22%5D%2C%22grants%22%3A%7B%22urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Apre-authorized_code%22%3A%7B%22pre-authorized_code%22%3A%22AAL4MPpEpWY6daBxVxJ8Q3chxOhvc9qIV3EAyj7dvps%22%2C%22user_pin_required%22%3Afalse%7D%7D%7D';
76+
const credentialOfferUrl = 'openid-credential-offer://?credential_offer=%7B%22credential_issuer%22%3A%22https%3A%2F%2Fapi-testnet.truvera.io%2Fopenid%2Fissuers%2F7eff516f-69fb-4b9d-94dc-e88308ec0c4c%22%2C%22credentials%22%3A%5B%22ldp_vc%3AMyCredential%22%5D%2C%22grants%22%3A%7B%22urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Apre-authorized_code%22%3A%7B%22pre-authorized_code%22%3A%22AAL4MPpEpWY6daBxVxJ8Q3chxOhvc9qIV3EAyj7dvps%22%2C%22user_pin_required%22%3Afalse%7D%7D%7D';
7777

7878
await credentialProvider.importCredentialFromURI({
7979
uri: credentialOfferUrl,
@@ -101,7 +101,7 @@ const controller = createVerificationController({
101101
});
102102

103103
await controller.start({
104-
template: 'https://creds-testnet.dock.io/proof/1fd8c457-f805-4117-9469-67b3e8c70fff', // Proof request template from the verifier
104+
template: 'https://creds-testnet.truvera.io/proof/1fd8c457-f805-4117-9469-67b3e8c70fff', // Proof request template from the verifier
105105
});
106106

107107
controller.selectedCredentials.set(credential.id, {

integration-tests/biometric-plugin.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const configs = {
4141
networkId: 'testnet',
4242
did: 'did:dock:5HLbQLSmirNuZVRsdWKbsgdajw9QTGzSFJABSVzMT5EBj5sb',
4343
apiKey: process.env.SALES_CERTS_API_KEY,
44-
apiUrl: 'https://api-testnet.dock.io',
44+
apiUrl: 'https://api-testnet.truvera.io',
4545
},
4646
],
4747
};

packages/cli/src/commands/dids.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ didsCommand
4343

4444
/**
4545
* Resolve a DIDComm message
46-
* Ex.: didcomm://https://relay.dock.io/read/659ed4b1655cf81a6a35e140'
46+
* Ex.: didcomm://https://relay.truvera.io/read/659ed4b1655cf81a6a35e140'
4747
*/
4848
didsCommand
4949
.command('resolve-message')

packages/cli/src/commands/messages.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ messagesCommand
6666
});
6767
const credential = await selectCredential();
6868
const message = {
69-
domain: 'api.dock.io',
69+
domain: 'api.truvera.io',
7070
credentials: [credential],
7171
};
7272

packages/core/src/ecosystem-tools.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import assert from 'assert';
22
import axios from 'axios';
33

4-
4+
// TODO: FIXME: this wont work for other staging envs
55
function getApiURL(networkId) {
6-
return networkId === 'mainnet' ? 'https://api.dock.io' : 'https://api-testnet.dock.io';
6+
return networkId === 'mainnet' ? 'https://api.truvera.io' : 'https://api-testnet.truvera.io';
77
}
88

99
export async function getEcosystems({

packages/relay-service/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
import jwtDecode from 'jwt-decode';
1919
import {blockchainService} from '@docknetwork/wallet-sdk-wasm/src/services/blockchain/service';
2020

21-
let serviceURL = process.env.RELAY_SERVICE_URL || 'https://relay.dock.io';
21+
let serviceURL = process.env.RELAY_SERVICE_URL || 'https://relay.truvera.io';
2222

2323
export const didcomm = {
2424
encrypt: didcommCreateEncrypted,

0 commit comments

Comments
 (0)