/libindy_1.15.0/lib/libindy.dylib
Reason: image not found
```
diff --git a/demo/README.md b/demo/README.md
index 93f14ee99f..1c65ce8988 100644
--- a/demo/README.md
+++ b/demo/README.md
@@ -1,6 +1,6 @@
DEMO
-This is the Aries Framework Javascript demo. Walk through the AFJ flow yourself together with agents Alice and Faber.
+This is the Credo demo. Walk through the Credo flow yourself together with agents Alice and Faber.
Alice, a former student of Faber College, connects with the College, is issued a credential about her degree and then is asked by the College for a proof.
@@ -15,24 +15,24 @@ Alice, a former student of Faber College, connects with the College, is issued a
### Platform Specific Setup
-In order to use Aries Framework JavaScript some platform specific dependencies and setup is required. See our guides below to quickly set up you project with Aries Framework JavaScript for NodeJS, React Native and Electron.
+In order to use Credo some platform specific dependencies and setup is required. See our guides below to quickly set up you project with Credo for NodeJS, React Native and Electron.
-- [NodeJS](https://aries.js.org/guides/getting-started/installation/nodejs)
+- [NodeJS](https://credo.js.org/guides/getting-started/installation/nodejs)
### Run the demo
-These are the steps for running the AFJ demo:
+These are the steps for running the Credo demo:
-Clone the AFJ git repository:
+Clone the Credo git repository:
```sh
-git clone https://github.com/hyperledger/aries-framework-javascript.git
+git clone https://github.com/openwallet-foundation/credo-ts.git
```
Open two different terminals next to each other and in both, go to the demo folder:
```sh
-cd aries-framework-javascript/demo
+cd credo/demo
```
Install the project in one of the terminals:
diff --git a/demo/package.json b/demo/package.json
index c53c36da4d..0b3188e5b8 100644
--- a/demo/package.json
+++ b/demo/package.json
@@ -1,10 +1,10 @@
{
- "name": "afj-demo",
+ "name": "credo-demo",
"version": "1.0.0",
"private": true,
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "demo/"
},
"license": "Apache-2.0",
diff --git a/docker/docker-compose-mediators.yml b/docker/docker-compose-mediators.yml
index ad5f9294c5..372d682563 100644
--- a/docker/docker-compose-mediators.yml
+++ b/docker/docker-compose-mediators.yml
@@ -3,8 +3,8 @@ version: '3'
services:
mediator:
build: ..
- image: aries-framework-javascript
- container_name: afj-mediator
+ image: credo
+ container_name: credo-mediator
command: yarn run-mediator
platform: linux/amd64
networks:
diff --git a/network/add-did-from-seed.sh b/network/add-did-from-seed.sh
index 65b4169289..aea3512d68 100755
--- a/network/add-did-from-seed.sh
+++ b/network/add-did-from-seed.sh
@@ -4,9 +4,9 @@ export SEED=${1?"Seed missing\nUsage: $0 SEED ROLE"}
export ROLE=$2
echo "
-wallet open afj-wallet key=password
+wallet open credo-wallet key=password
-pool connect afj-pool
+pool connect credo-pool
did new seed=${SEED}" >/etc/indy/command.txt
diff --git a/network/add-did.sh b/network/add-did.sh
index a3db49fc3a..1de9adb6ad 100755
--- a/network/add-did.sh
+++ b/network/add-did.sh
@@ -9,8 +9,8 @@ if [ -z "$ROLE" ]; then
fi
echo "
-wallet open afj-wallet key=password
-pool connect afj-pool
+wallet open credo-wallet key=password
+pool connect credo-pool
did use V4SGRU86Z58d6TV7PBUe6f
ledger nym did=${DID} verkey=${VERKEY} role=${ROLE}" >/etc/indy/command.txt
diff --git a/network/indy-cli-setup.sh b/network/indy-cli-setup.sh
index 53b283eeb8..e351828154 100755
--- a/network/indy-cli-setup.sh
+++ b/network/indy-cli-setup.sh
@@ -1,11 +1,11 @@
#!/bin/bash
echo '
-wallet create afj-wallet key=password
-wallet open afj-wallet key=password
+wallet create credo-wallet key=password
+wallet open credo-wallet key=password
-pool create afj-pool gen_txn_file=/etc/indy/genesis.txn
-pool connect afj-pool
+pool create credo-pool gen_txn_file=/etc/indy/genesis.txn
+pool connect credo-pool
did new seed=000000000000000000000000Trustee1
did use V4SGRU86Z58d6TV7PBUe6f
diff --git a/package.json b/package.json
index 615b19bac3..1568d37c90 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
"samples/*"
],
"repository": {
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"type": "git"
},
"scripts": {
diff --git a/packages/action-menu/README.md b/packages/action-menu/README.md
index 84d43264cf..7340b90ebe 100644
--- a/packages/action-menu/README.md
+++ b/packages/action-menu/README.md
@@ -2,14 +2,14 @@
-Aries Framework JavaScript Action Menu Module
+Credo Action Menu Module
-Action Menu module for [Aries Framework JavaScript](https://github.com/hyperledger/aries-framework-javascript.git). Implements [Aries RFC 0509](https://github.com/hyperledger/aries-rfcs/blob/1795d5c2d36f664f88f5e8045042ace8e573808c/features/0509-action-menu/README.md).
-
-### Installation
-
-Make sure you have set up the correct version of Aries Framework JavaScript according to the AFJ repository. To find out which version of AFJ you need to have installed you can run the following command. This will list the required peer dependency for `@credo-ts/core`.
-
-```sh
-npm info "@credo-ts/action-menu" peerDependencies
-```
-
-Then add the action-menu module to your project.
-
-```sh
-yarn add @credo-ts/action-menu
-```
+Action Menu module for [Credo](https://github.com/openwallet-foundation/credo-ts.git). Implements [Aries RFC 0509](https://github.com/hyperledger/aries-rfcs/blob/1795d5c2d36f664f88f5e8045042ace8e573808c/features/0509-action-menu/README.md).
### Quick start
diff --git a/packages/action-menu/package.json b/packages/action-menu/package.json
index f8c702a8f9..132d10a234 100644
--- a/packages/action-menu/package.json
+++ b/packages/action-menu/package.json
@@ -10,10 +10,10 @@
"publishConfig": {
"access": "public"
},
- "homepage": "https://github.com/hyperledger/aries-framework-javascript/tree/main/packages/action-menu",
+ "homepage": "https://github.com/openwallet-foundation/credo-ts/tree/main/packages/action-menu",
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "packages/action-menu"
},
"scripts": {
diff --git a/packages/anoncreds-rs/README.md b/packages/anoncreds-rs/README.md
index 077e16e69b..a3bf3c28ce 100644
--- a/packages/anoncreds-rs/README.md
+++ b/packages/anoncreds-rs/README.md
@@ -2,14 +2,14 @@
-Aries Framework JavaScript AnonCreds RS Module
+Credo AnonCreds RS Module
-AnonCreds RS module for [Aries Framework JavaScript](https://github.com/hyperledger/aries-framework-javascript.git).
+AnonCreds RS module for [Credo](https://github.com/openwallet-foundation/credo-ts.git).
diff --git a/packages/anoncreds-rs/package.json b/packages/anoncreds-rs/package.json
index f84f216528..01ca1239f1 100644
--- a/packages/anoncreds-rs/package.json
+++ b/packages/anoncreds-rs/package.json
@@ -3,6 +3,7 @@
"main": "build/index",
"types": "build/index",
"version": "0.4.2",
+ "private": true,
"files": [
"build"
],
@@ -10,10 +11,10 @@
"publishConfig": {
"access": "public"
},
- "homepage": "https://github.com/hyperledger/aries-framework-javascript/tree/main/packages/anoncreds-rs",
+ "homepage": "https://github.com/openwallet-foundation/credo-ts/tree/main/packages/anoncreds-rs",
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "packages/anoncreds-rs"
},
"scripts": {
diff --git a/packages/anoncreds/README.md b/packages/anoncreds/README.md
index dafa99f541..1182df3965 100644
--- a/packages/anoncreds/README.md
+++ b/packages/anoncreds/README.md
@@ -2,14 +2,14 @@
-Aries Framework JavaScript AnonCreds Interfaces
+Credo AnonCreds Interfaces
-Aries Framework JavaScript Askar Module
+Credo Askar Module
-Askar module for [Aries Framework JavaScript](https://github.com/hyperledger/aries-framework-javascript.git).
+Askar module for [Credo](https://github.com/openwallet-foundation/credo-ts.git).
diff --git a/packages/askar/package.json b/packages/askar/package.json
index 1d8ffc93fc..fdb143cc33 100644
--- a/packages/askar/package.json
+++ b/packages/askar/package.json
@@ -10,10 +10,10 @@
"publishConfig": {
"access": "public"
},
- "homepage": "https://github.com/hyperledger/aries-framework-javascript/tree/main/packages/askar",
+ "homepage": "https://github.com/openwallet-foundation/credo-ts/tree/main/packages/askar",
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "packages/askar"
},
"scripts": {
diff --git a/packages/askar/src/storage/utils.ts b/packages/askar/src/storage/utils.ts
index 4184a2b906..c8d6e1cb2e 100644
--- a/packages/askar/src/storage/utils.ts
+++ b/packages/askar/src/storage/utils.ts
@@ -87,7 +87,7 @@ export function transformFromRecordTagValues(tags: TagsBase): { [key: string]: s
/**
* Transforms the search query into a wallet query compatible with Askar WQL.
*
- * The format used by AFJ is almost the same as the WQL query, with the exception of
+ * The format used by Credo is almost the same as the WQL query, with the exception of
* the encoding of values, however this is handled by the {@link AskarStorageServiceUtil.transformToRecordTagValues}
* method.
*/
diff --git a/packages/askar/src/utils/askarWalletConfig.ts b/packages/askar/src/utils/askarWalletConfig.ts
index e618f2ab65..2ddfbb00a0 100644
--- a/packages/askar/src/utils/askarWalletConfig.ts
+++ b/packages/askar/src/utils/askarWalletConfig.ts
@@ -17,12 +17,12 @@ export const keyDerivationMethodToStoreKeyMethod = (keyDerivationMethod: KeyDeri
/**
* Creates a proper askar wallet URI value based on walletConfig
* @param walletConfig WalletConfig object
- * @param afjDataPath framework data path (used in case walletConfig.storage.path is undefined)
+ * @param credoDataPath framework data path (used in case walletConfig.storage.path is undefined)
* @returns string containing the askar wallet URI
*/
export const uriFromWalletConfig = (
walletConfig: WalletConfig,
- afjDataPath: string
+ credoDataPath: string
): { uri: string; path?: string } => {
let uri = ''
let path
@@ -36,7 +36,7 @@ export const uriFromWalletConfig = (
if (walletConfig.storage.inMemory) {
uri = 'sqlite://:memory:'
} else {
- path = (walletConfig.storage.path as string) ?? `${afjDataPath}/wallet/${walletConfig.id}/sqlite.db`
+ path = (walletConfig.storage.path as string) ?? `${credoDataPath}/wallet/${walletConfig.id}/sqlite.db`
uri = `sqlite://${path}`
}
} else if (walletConfig.storage.type === 'postgres') {
diff --git a/packages/bbs-signatures/README.md b/packages/bbs-signatures/README.md
index 2d177388ed..90679355d8 100644
--- a/packages/bbs-signatures/README.md
+++ b/packages/bbs-signatures/README.md
@@ -2,14 +2,14 @@
-Aries Framework JavaScript - BBS Module
+Credo - BBS Module
-Aries Framework JavaScript BBS Module provides an optional addon to Aries Framework JavaScript to use BBS signatures in W3C VC exchange.
+Credo BBS Module provides an optional addon to Credo to use BBS signatures in W3C VC exchange.
## Installation
@@ -38,7 +38,7 @@ yarn add @credo-ts/bbs-signatures
### React Native
-When using AFJ inside the React Native environment, temporarily, a dependency for creating keys, signing and verifying, with bbs keys must be swapped. Inside your `package.json` the following must be added. This is only needed for React Native environments
+When using Credo inside the React Native environment, temporarily, a dependency for creating keys, signing and verifying, with bbs keys must be swapped. Inside your `package.json` the following must be added. This is only needed for React Native environments
#### yarn
diff --git a/packages/bbs-signatures/package.json b/packages/bbs-signatures/package.json
index 3f1b3ddb6a..514fd88c3d 100644
--- a/packages/bbs-signatures/package.json
+++ b/packages/bbs-signatures/package.json
@@ -10,10 +10,10 @@
"publishConfig": {
"access": "public"
},
- "homepage": "https://github.com/hyperledger/aries-framework-javascript/tree/main/packages/bbs-signatures",
+ "homepage": "https://github.com/openwallet-foundation/credo-ts/tree/main/packages/bbs-signatures",
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "packages/bbs-signatures"
},
"scripts": {
diff --git a/packages/cheqd/README.md b/packages/cheqd/README.md
index 891765875f..f85fddd5b2 100644
--- a/packages/cheqd/README.md
+++ b/packages/cheqd/README.md
@@ -2,14 +2,14 @@
-Aries Framework JavaScript - Cheqd
+Credo - Cheqd
-Aries Framework JavaScript - Core
+Credo - Core
-Aries Framework JavaScript Core provides the core functionality of Aries Framework JavaScript. See the [Getting Started Guide](https://github.com/hyperledger/aries-framework-javascript#getting-started) for installation instructions.
+Credo Core provides the core functionality of Credo. See the [Getting Started Guide](https://github.com/openwallet-foundation/credo-ts#getting-started) for installation instructions.
diff --git a/packages/core/package.json b/packages/core/package.json
index 0157e83a01..8fad6160a3 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -10,10 +10,10 @@
"publishConfig": {
"access": "public"
},
- "homepage": "https://github.com/hyperledger/aries-framework-javascript/tree/main/packages/core",
+ "homepage": "https://github.com/openwallet-foundation/credo-ts/tree/main/packages/core",
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "packages/core"
},
"scripts": {
diff --git a/packages/core/src/agent/BaseAgent.ts b/packages/core/src/agent/BaseAgent.ts
index f265f6418a..3194e4c7d5 100644
--- a/packages/core/src/agent/BaseAgent.ts
+++ b/packages/core/src/agent/BaseAgent.ts
@@ -169,7 +169,7 @@ export abstract class BaseAgent) {
@@ -141,7 +140,10 @@ export class V2MessagePickupProtocol extends BaseMessagePickupProtocol {
messageCount: 0,
})
- return new OutboundMessageContext(outboundMessageContext, { agentContext: messageContext.agentContext, connection })
+ return new OutboundMessageContext(outboundMessageContext, {
+ agentContext: messageContext.agentContext,
+ connection,
+ })
}
public async processMessagesReceived(messageContext: InboundMessageContext) {
@@ -165,7 +167,10 @@ export class V2MessagePickupProtocol extends BaseMessagePickupProtocol {
messageCount: await messageRepository.getAvailableMessageCount(connection.id),
})
- return new OutboundMessageContext(statusMessage, { agentContext: messageContext.agentContext, connection })
+ return new OutboundMessageContext(statusMessage, {
+ agentContext: messageContext.agentContext,
+ connection,
+ })
}
public async processStatus(messageContext: InboundMessageContext) {
@@ -187,7 +192,7 @@ export class V2MessagePickupProtocol extends BaseMessagePickupProtocol {
}
)
- // FIXME: check where this flow fits, as it seems very particular for the AFJ-ACA-Py combination
+ // FIXME: check where this flow fits, as it seems very particular for the Credo-ACA-Py combination
const websocketSchemes = ['ws', 'wss']
await messageSender.sendMessage(
diff --git a/packages/core/src/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.ts b/packages/core/src/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.ts
index 6e3a85438a..80e772cdaf 100644
--- a/packages/core/src/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.ts
+++ b/packages/core/src/modules/proofs/formats/dif-presentation-exchange/DifPresentationExchangeProofFormatService.ts
@@ -228,7 +228,7 @@ export class PresentationExchangeProofFormatService implements ProofFormatServic
let jsonPresentation: W3cJsonPresentation
// TODO: we should probably move this transformation logic into the VC module, so it
- // can be reused in AFJ when we need to go from encoded -> parsed
+ // can be reused in Credo when we need to go from encoded -> parsed
if (typeof presentation === 'string') {
parsedPresentation = W3cJwtVerifiablePresentation.fromSerializedJwt(presentation)
jsonPresentation = parsedPresentation.presentation.toJSON()
diff --git a/packages/core/src/modules/vc/jwt-vc/__tests__/W3cJwtCredentialService.test.ts b/packages/core/src/modules/vc/jwt-vc/__tests__/W3cJwtCredentialService.test.ts
index a2ca26dd4d..42fb659cb0 100644
--- a/packages/core/src/modules/vc/jwt-vc/__tests__/W3cJwtCredentialService.test.ts
+++ b/packages/core/src/modules/vc/jwt-vc/__tests__/W3cJwtCredentialService.test.ts
@@ -13,12 +13,12 @@ import { W3cJwtCredentialService } from '../W3cJwtCredentialService'
import { W3cJwtVerifiableCredential } from '../W3cJwtVerifiableCredential'
import {
- AfjEs256DidJwkJwtVc,
- AfjEs256DidJwkJwtVcIssuerSeed,
- AfjEs256DidJwkJwtVcSubjectSeed,
- AfjEs256DidKeyJwtVp,
+ CredoEs256DidJwkJwtVc,
+ CredoEs256DidJwkJwtVcIssuerSeed,
+ CredoEs256DidJwkJwtVcSubjectSeed,
+ CredoEs256DidKeyJwtVp,
Ed256DidJwkJwtVcUnsigned,
-} from './fixtures/afj-jwt-vc'
+} from './fixtures/credo-jwt-vc'
import { didIonJwtVcPresentationProfileJwtVc } from './fixtures/jwt-vc-presentation-profile'
import { didKeyTransmuteJwtVc, didKeyTransmuteJwtVp } from './fixtures/transmute-verifiable-data'
@@ -50,13 +50,13 @@ describe('W3cJwtCredentialService', () => {
const issuerKey = await agentContext.wallet.createKey({
keyType: KeyType.P256,
- seed: AfjEs256DidJwkJwtVcIssuerSeed,
+ seed: CredoEs256DidJwkJwtVcIssuerSeed,
})
issuerDidJwk = DidJwk.fromJwk(getJwkFromKey(issuerKey))
const holderKey = await agentContext.wallet.createKey({
keyType: KeyType.Ed25519,
- seed: AfjEs256DidJwkJwtVcSubjectSeed,
+ seed: CredoEs256DidJwkJwtVcSubjectSeed,
})
holderDidKey = new DidKey(holderKey)
})
@@ -72,7 +72,7 @@ describe('W3cJwtCredentialService', () => {
credential,
})
- expect(vcJwt.serializedJwt).toEqual(AfjEs256DidJwkJwtVc)
+ expect(vcJwt.serializedJwt).toEqual(CredoEs256DidJwkJwtVc)
})
test('throws when invalid credential is passed', async () => {
@@ -138,9 +138,9 @@ describe('W3cJwtCredentialService', () => {
})
})
- test('verifies an ES256 JWT vc signed by AFJ', async () => {
+ test('verifies an ES256 JWT vc signed by Credo', async () => {
const result = await w3cJwtCredentialService.verifyCredential(agentContext, {
- credential: AfjEs256DidJwkJwtVc,
+ credential: CredoEs256DidJwkJwtVc,
})
expect(result).toEqual({
@@ -197,7 +197,7 @@ describe('W3cJwtCredentialService', () => {
})
test('returns invalid result when credential is not according to data model', async () => {
- const jwtVc = W3cJwtVerifiableCredential.fromSerializedJwt(AfjEs256DidJwkJwtVc)
+ const jwtVc = W3cJwtVerifiableCredential.fromSerializedJwt(CredoEs256DidJwkJwtVc)
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
@@ -222,7 +222,7 @@ describe('W3cJwtCredentialService', () => {
})
test('returns invalid result when credential is expired', async () => {
- const jwtVc = W3cJwtVerifiableCredential.fromSerializedJwt(AfjEs256DidJwkJwtVc)
+ const jwtVc = W3cJwtVerifiableCredential.fromSerializedJwt(CredoEs256DidJwkJwtVc)
jwtVc.jwt.payload.exp = new Date('2020-01-01').getTime() / 1000
@@ -245,7 +245,7 @@ describe('W3cJwtCredentialService', () => {
})
test('returns invalid result when signature is not valid', async () => {
- const jwtVc = W3cJwtVerifiableCredential.fromSerializedJwt(AfjEs256DidJwkJwtVc + 'a')
+ const jwtVc = W3cJwtVerifiableCredential.fromSerializedJwt(CredoEs256DidJwkJwtVc + 'a')
const result = await w3cJwtCredentialService.verifyCredential(agentContext, {
credential: jwtVc,
@@ -278,7 +278,7 @@ describe('W3cJwtCredentialService', () => {
describe('signPresentation', () => {
test('signs an ES256 JWT vp', async () => {
// Create a new instance of the credential from the serialized JWT
- const parsedJwtVc = W3cJwtVerifiableCredential.fromSerializedJwt(AfjEs256DidJwkJwtVc)
+ const parsedJwtVc = W3cJwtVerifiableCredential.fromSerializedJwt(CredoEs256DidJwkJwtVc)
const presentation = new W3cPresentation({
context: [CREDENTIALS_CONTEXT_V1_URL],
@@ -297,14 +297,14 @@ describe('W3cJwtCredentialService', () => {
verificationMethod: `${holderDidKey.did}#${holderDidKey.key.fingerprint}`,
})
- expect(signedJwtVp.serializedJwt).toEqual(AfjEs256DidKeyJwtVp)
+ expect(signedJwtVp.serializedJwt).toEqual(CredoEs256DidKeyJwtVp)
})
})
describe('verifyPresentation', () => {
- test('verifies an ES256 JWT vp signed by AFJ', async () => {
+ test('verifies an ES256 JWT vp signed by Credo', async () => {
const result = await w3cJwtCredentialService.verifyPresentation(agentContext, {
- presentation: AfjEs256DidKeyJwtVp,
+ presentation: CredoEs256DidKeyJwtVp,
challenge: 'daf942ad-816f-45ee-a9fc-facd08e5abca',
domain: 'example.com',
})
diff --git a/packages/core/src/modules/vc/jwt-vc/__tests__/fixtures/afj-jwt-vc.ts b/packages/core/src/modules/vc/jwt-vc/__tests__/fixtures/credo-jwt-vc.ts
similarity index 97%
rename from packages/core/src/modules/vc/jwt-vc/__tests__/fixtures/afj-jwt-vc.ts
rename to packages/core/src/modules/vc/jwt-vc/__tests__/fixtures/credo-jwt-vc.ts
index 6d97bb21d4..e931321eac 100644
--- a/packages/core/src/modules/vc/jwt-vc/__tests__/fixtures/afj-jwt-vc.ts
+++ b/packages/core/src/modules/vc/jwt-vc/__tests__/fixtures/credo-jwt-vc.ts
@@ -37,13 +37,13 @@ export const Ed256DidJwkJwtVcUnsigned = {
},
}
-export const AfjEs256DidJwkJwtVc =
+export const CredoEs256DidJwkJwtVc =
'eyJ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2x1dGlvbiBzdXBwb3J0cyB0aGUgdXNlIG9mIE9CdjMgYW5kIHczYyBWZXJpZmlhYmxlIENyZWRlbnRpYWxzIGFuZCBpcyBpbnRlcm9wZXJhYmxlIHdpdGggYXQgbGVhc3QgdHdvIG90aGVyIHNvbHV0aW9ucy4gIFRoaXMgd2FzIGRlbW9uc3RyYXRlZCBzdWNjZXNzZnVsbHkgZHVyaW5nIEpGRiB4IHZjLWVkdSBQbHVnRmVzdCAyLiJ9fX0sImlzcyI6ImRpZDpqd2s6ZXlKcmRIa2lPaUpGUXlJc0ltTnlkaUk2SWxBdE1qVTJJaXdpZUNJNklucFJUMjkzU1VNeFoxZEtkR1JrWkVJMVIwRjBOR3hoZFRaTWREaEphSGszTnpGcFFXWmhiUzB4Y0dNaUxDSjVJam9pWTJwRVh6ZHZNMmRrVVRGMloybFJlVE5mYzAxSGN6ZFhjbmREVFZVNVJsRlphVzFCTTBoNGJrMXNkeUo5Iiwic3ViIjoiZGlkOmtleTp6Nk1rcWdrTHJSeUxnNmJxazI3ZGp3YmJhUVdnYVNZZ0ZWQ0txOVlLeFpiTmtwVnYiLCJuYmYiOjE2NzQ2NjU4ODZ9.anABxv424eMpp0xgbTx6aZvZxblkSThq-XbgixhWegFCVz2Q-EtRUiGJuOUjmql5TttTZ_YgtN9PgozOfuTZtg'
-export const AfjEs256DidJwkJwtVcIssuerSeed = TypedArrayEncoder.fromString(
+export const CredoEs256DidJwkJwtVcIssuerSeed = TypedArrayEncoder.fromString(
'00000000000000000000000000000My100000000000000000000000000000My1'
)
-export const AfjEs256DidJwkJwtVcSubjectSeed = TypedArrayEncoder.fromString('00000000000000000000000000000My1')
+export const CredoEs256DidJwkJwtVcSubjectSeed = TypedArrayEncoder.fromString('00000000000000000000000000000My1')
-export const AfjEs256DidKeyJwtVp =
+export const CredoEs256DidKeyJwtVp =
'eyJ0eXAiOiJKV1QiLCJhbGciOiJFZERTQSIsImtpZCI6ImRpZDprZXk6ejZNa3Fna0xyUnlMZ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hMy04OGI0LWEwNDVlZmJiMWI1ZiJ9.ar3YGkn333XW8_624RfW2DlA2XuLNJAUk9OrSAvS6RtoqVVzH_TWklvCq1BT-Mot3j56cERx748qWyKhDAm1Dw'
diff --git a/packages/core/src/modules/vc/jwt-vc/__tests__/presentationTransformer.test.ts b/packages/core/src/modules/vc/jwt-vc/__tests__/presentationTransformer.test.ts
index 71e861dddb..88c1bedf82 100644
--- a/packages/core/src/modules/vc/jwt-vc/__tests__/presentationTransformer.test.ts
+++ b/packages/core/src/modules/vc/jwt-vc/__tests__/presentationTransformer.test.ts
@@ -4,7 +4,7 @@ import { W3cPresentation } from '../../models'
import { W3cJwtVerifiableCredential } from '../W3cJwtVerifiableCredential'
import { getJwtPayloadFromPresentation, getPresentationFromJwtPayload } from '../presentationTransformer'
-import { AfjEs256DidJwkJwtVc } from './fixtures/afj-jwt-vc'
+import { CredoEs256DidJwkJwtVc } from './fixtures/credo-jwt-vc'
describe('presentationTransformer', () => {
describe('getJwtPayloadFromPresentation', () => {
@@ -12,7 +12,7 @@ describe('presentationTransformer', () => {
const presentation = new W3cPresentation({
id: 'urn:123',
holder: 'did:example:123',
- verifiableCredential: [W3cJwtVerifiableCredential.fromSerializedJwt(AfjEs256DidJwkJwtVc)],
+ verifiableCredential: [W3cJwtVerifiableCredential.fromSerializedJwt(CredoEs256DidJwkJwtVc)],
})
const jwtPayload = getJwtPayloadFromPresentation(presentation)
@@ -21,7 +21,7 @@ describe('presentationTransformer', () => {
vp: {
'@context': ['https://www.w3.org/2018/credentials/v1'],
type: ['VerifiablePresentation'],
- verifiableCredential: [AfjEs256DidJwkJwtVc],
+ verifiableCredential: [CredoEs256DidJwkJwtVc],
},
iss: 'did:example:123',
jti: 'urn:123',
@@ -38,7 +38,7 @@ describe('presentationTransformer', () => {
const vp: Record = {
'@context': ['https://www.w3.org/2018/credentials/v1'],
type: ['VerifiablePresentation'],
- verifiableCredential: [AfjEs256DidJwkJwtVc],
+ verifiableCredential: [CredoEs256DidJwkJwtVc],
id: 'urn:123',
holder: 'did:example:123',
}
@@ -61,7 +61,7 @@ describe('presentationTransformer', () => {
type: ['VerifiablePresentation'],
id: 'urn:123',
holder: 'did:example:123',
- verifiableCredential: [AfjEs256DidJwkJwtVc],
+ verifiableCredential: [CredoEs256DidJwkJwtVc],
})
})
@@ -110,7 +110,7 @@ describe('presentationTransformer', () => {
const vp: Record = {
'@context': ['https://www.w3.org/2018/credentials/v1'],
type: ['VerifiablePresentation2'],
- verifiableCredential: [AfjEs256DidJwkJwtVc],
+ verifiableCredential: [CredoEs256DidJwkJwtVc],
}
const jwtPayload = new JwtPayload({
diff --git a/packages/indy-sdk-to-askar-migration/README.md b/packages/indy-sdk-to-askar-migration/README.md
index 3fc1eb0394..d24780904f 100644
--- a/packages/indy-sdk-to-askar-migration/README.md
+++ b/packages/indy-sdk-to-askar-migration/README.md
@@ -2,14 +2,14 @@
-Aries Framework JavaScript Indy SDK To Askar Migration Module
+Credo Indy SDK To Askar Migration Module
-Indy SDK to Askar migration module for [Aries Framework JavaScript](https://github.com/hyperledger/aries-framework-javascript.git).
+Indy SDK to Askar migration module for [Credo](https://github.com/openwallet-foundation/credo-ts.git).
diff --git a/packages/indy-sdk-to-askar-migration/package.json b/packages/indy-sdk-to-askar-migration/package.json
index 6c9f2c5ab0..c39397df01 100644
--- a/packages/indy-sdk-to-askar-migration/package.json
+++ b/packages/indy-sdk-to-askar-migration/package.json
@@ -10,10 +10,10 @@
"publishConfig": {
"access": "public"
},
- "homepage": "https://github.com/hyperledger/aries-framework-javascript/tree/main/packages/indy-sdk-to-askar-migration",
+ "homepage": "https://github.com/openwallet-foundation/credo-ts/tree/main/packages/indy-sdk-to-askar-migration",
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "packages/indy-sdk-to-askar-migration"
},
"scripts": {
diff --git a/packages/indy-sdk-to-askar-migration/src/IndySdkToAskarMigrationUpdater.ts b/packages/indy-sdk-to-askar-migration/src/IndySdkToAskarMigrationUpdater.ts
index a920b80412..9e1332533c 100644
--- a/packages/indy-sdk-to-askar-migration/src/IndySdkToAskarMigrationUpdater.ts
+++ b/packages/indy-sdk-to-askar-migration/src/IndySdkToAskarMigrationUpdater.ts
@@ -230,7 +230,7 @@ export class IndySdkToAskarMigrationUpdater {
await this.updateMasterSecret()
await this.updateCredentials()
- // Move the migrated and updated file to the expected location for afj
+ // Move the migrated and updated file to the expected location for credo
await this.moveToNewLocation()
} catch (err) {
this.agent.config.logger.error(`Migration failed. Restoring state. ${err.message}`)
diff --git a/packages/indy-sdk/README.md b/packages/indy-sdk/README.md
index 48a95b3ac2..b69ed7478a 100644
--- a/packages/indy-sdk/README.md
+++ b/packages/indy-sdk/README.md
@@ -2,14 +2,14 @@
-Aries Framework JavaScript IndySDK Module
+Credo IndySDK Module
-IndySDK module for [Aries Framework JavaScript](https://github.com/hyperledger/aries-framework-javascript.git).
+IndySDK module for [Credo](https://github.com/openwallet-foundation/credo-ts.git).
diff --git a/packages/indy-sdk/package.json b/packages/indy-sdk/package.json
index cd11072836..f9dfd67cf4 100644
--- a/packages/indy-sdk/package.json
+++ b/packages/indy-sdk/package.json
@@ -2,6 +2,7 @@
"name": "@credo-ts/indy-sdk",
"main": "build/index",
"types": "build/index",
+ "private": true,
"version": "0.4.2",
"files": [
"build"
@@ -10,10 +11,10 @@
"publishConfig": {
"access": "public"
},
- "homepage": "https://github.com/hyperledger/aries-framework-javascript/tree/main/packages/indy-sdk",
+ "homepage": "https://github.com/openwallet-foundation/credo-ts/tree/main/packages/indy-sdk",
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "packages/indy-sdk"
},
"scripts": {
diff --git a/packages/indy-sdk/src/error/indyError.ts b/packages/indy-sdk/src/error/indyError.ts
index c1ec73ec37..b253cf4e05 100644
--- a/packages/indy-sdk/src/error/indyError.ts
+++ b/packages/indy-sdk/src/error/indyError.ts
@@ -81,7 +81,7 @@ export function isIndyError(error: any, errorName?: IndyErrorValues): error is I
// NodeJS Wrapper is missing some type names. When a type is missing it will
// only have the error code as string in the message field
- // Until that is fixed we take that into account to make AFJ work with rn-indy-sdk
+ // Until that is fixed we take that into account to make Credo work with rn-indy-sdk
// See: https://github.com/AbsaOSS/rn-indy-sdk/pull/24
// See: https://github.com/hyperledger/indy-sdk/pull/2283
if (!error.indyName) {
diff --git a/packages/indy-sdk/src/ledger/serializeRequestForSignature.ts b/packages/indy-sdk/src/ledger/serializeRequestForSignature.ts
index 7dc8192e2a..7338e21892 100644
--- a/packages/indy-sdk/src/ledger/serializeRequestForSignature.ts
+++ b/packages/indy-sdk/src/ledger/serializeRequestForSignature.ts
@@ -12,7 +12,7 @@ export function serializeRequestForSignature(v: any): string {
/**
* Serialize an indy ledger request object for signing input. Based on the rust code. Indy SDK requires ledger requests to be signed using
- * a did, however in AFJ's the wallet only creates keys, and we create custom did records. This allows us to remove the legacy createDid and
+ * a did, however in Credo's the wallet only creates keys, and we create custom did records. This allows us to remove the legacy createDid and
* publicDidSeed properties from the wallet, as we create the request payload ourselves.
*
* @see https://github.com/hyperledger/indy-shared-rs/blob/6af1e939586d1f16341dc03b62970cf28b32d118/indy-utils/src/txn_signature.rs#L10
diff --git a/packages/indy-sdk/src/storage/IndySdkStorageService.ts b/packages/indy-sdk/src/storage/IndySdkStorageService.ts
index 65a98d2335..c2dc7e19cd 100644
--- a/packages/indy-sdk/src/storage/IndySdkStorageService.ts
+++ b/packages/indy-sdk/src/storage/IndySdkStorageService.ts
@@ -95,7 +95,7 @@ export class IndySdkStorageService implements StorageServi
/**
* Transforms the search query into a wallet query compatible with indy WQL.
*
- * The format used by AFJ is almost the same as the indy query, with the exception of
+ * The format used by Credo is almost the same as the indy query, with the exception of
* the encoding of values, however this is handled by the {@link IndyStorageService.transformToRecordTagValues}
* method.
*/
diff --git a/packages/indy-sdk/tests/indy-sdk-anoncreds-registry.e2e.test.ts b/packages/indy-sdk/tests/indy-sdk-anoncreds-registry.e2e.test.ts
index 9cd8d6a681..256168ff94 100644
--- a/packages/indy-sdk/tests/indy-sdk-anoncreds-registry.e2e.test.ts
+++ b/packages/indy-sdk/tests/indy-sdk-anoncreds-registry.e2e.test.ts
@@ -187,7 +187,7 @@ describe('IndySdkAnonCredsRegistry', () => {
resolutionMetadata: {},
})
- // We don't support creating a revocation registry using AFJ yet, so we directly use indy-sdk to register the revocation registry
+ // We don't support creating a revocation registry using Credo yet, so we directly use indy-sdk to register the revocation registry
const legacyRevocationRegistryId = `TL1EaPFCZ8Si5aUrqScBDt:4:TL1EaPFCZ8Si5aUrqScBDt:3:CL:${schemaResult.schemaMetadata.indyLedgerSeqNo}:TAG:CL_ACCUM:tag`
const didIndyRevocationRegistryId = `did:indy:pool:localtest:TL1EaPFCZ8Si5aUrqScBDt/anoncreds/v0/REV_REG_DEF/${schemaResult.schemaMetadata.indyLedgerSeqNo}/TAG/tag`
const revocationRegistryRequest = await indySdk.buildRevocRegDefRequest('TL1EaPFCZ8Si5aUrqScBDt', {
diff --git a/packages/indy-vdr/README.md b/packages/indy-vdr/README.md
index 934d8a693f..bbdd59b8a3 100644
--- a/packages/indy-vdr/README.md
+++ b/packages/indy-vdr/README.md
@@ -2,14 +2,14 @@
-Aries Framework JavaScript - Indy Verifiable Data Registry (Indy-Vdr)
+Credo - Indy Verifiable Data Registry (Indy-Vdr)
-Aries Framework JavaScript - Node
+Credo - Node
-Aries Framework JavaScript Node provides platform specific dependencies to run Aries Framework JavaScript in [Node.JS](https://nodejs.org). See the [Getting Started Guide](https://github.com/hyperledger/aries-framework-javascript#getting-started) for installation instructions.
+Credo Node provides platform specific dependencies to run Credo in [Node.JS](https://nodejs.org). See the [Getting Started Guide](https://github.com/openwallet-foundation/credo-ts#getting-started) for installation instructions.
diff --git a/packages/node/package.json b/packages/node/package.json
index a6e6913c52..fa2262be53 100644
--- a/packages/node/package.json
+++ b/packages/node/package.json
@@ -10,10 +10,10 @@
"publishConfig": {
"access": "public"
},
- "homepage": "https://github.com/hyperledger/aries-framework-javascript/tree/main/packages/node",
+ "homepage": "https://github.com/openwallet-foundation/credo-ts/tree/main/packages/node",
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "packages/node"
},
"scripts": {
diff --git a/packages/openid4vc-client/README.md b/packages/openid4vc-client/README.md
index a1b3908a4e..aa3cbeb664 100644
--- a/packages/openid4vc-client/README.md
+++ b/packages/openid4vc-client/README.md
@@ -2,14 +2,14 @@
-Aries Framework JavaScript Open ID Connect For Verifiable Credentials Client Module
+Credo Open ID Connect For Verifiable Credentials Client Module
-Open ID Connect For Verifiable Credentials Client Module for [Aries Framework JavaScript](https://github.com/hyperledger/aries-framework-javascript).
+Open ID Connect For Verifiable Credentials Client Module for [Credo](https://github.com/openwallet-foundation/credo-ts).
### Installation
-Make sure you have set up the correct version of Aries Framework JavaScript according to the AFJ repository.
+Make sure you have set up the correct version of Credo according to the Credo repository.
```sh
yarn add @credo-ts/openid4vc-client
diff --git a/packages/openid4vc-client/package.json b/packages/openid4vc-client/package.json
index f2ceb6428b..f5f3053dc0 100644
--- a/packages/openid4vc-client/package.json
+++ b/packages/openid4vc-client/package.json
@@ -10,10 +10,10 @@
"publishConfig": {
"access": "public"
},
- "homepage": "https://github.com/hyperledger/aries-framework-javascript/tree/main/packages/openid4vc-client",
+ "homepage": "https://github.com/openwallet-foundation/credo-ts/tree/main/packages/openid4vc-client",
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "packages/openid4vc-client"
},
"scripts": {
diff --git a/packages/question-answer/README.md b/packages/question-answer/README.md
index 9ecbe23be0..a9342a09f6 100644
--- a/packages/question-answer/README.md
+++ b/packages/question-answer/README.md
@@ -2,14 +2,14 @@
-Aries Framework JavaScript Question Answer Module
+Credo Question Answer Module
-Question Answer module for [Aries Framework JavaScript](https://github.com/hyperledger/aries-framework-javascript.git). Implements [Aries RFC 0113](https://github.com/hyperledger/aries-rfcs/blob/1795d5c2d36f664f88f5e8045042ace8e573808c/features/0113-question-answer/README.md).
-
-### Installation
-
-Make sure you have set up the correct version of Aries Framework JavaScript according to the AFJ repository. To find out which version of AFJ you need to have installed you can run the following command. This will list the required peer dependency for `@credo-ts/core`.
-
-```sh
-npm info "@credo-ts/question-answer" peerDependencies
-```
-
-Then add the question-answer module to your project.
-
-```sh
-yarn add @credo-ts/question-answer
-```
+Question Answer module for [Credo](https://github.com/openwallet-foundation/credo-ts.git). Implements [Aries RFC 0113](https://github.com/hyperledger/aries-rfcs/blob/1795d5c2d36f664f88f5e8045042ace8e573808c/features/0113-question-answer/README.md).
### Quick start
diff --git a/packages/question-answer/package.json b/packages/question-answer/package.json
index bb6f24ab18..948e7cbf49 100644
--- a/packages/question-answer/package.json
+++ b/packages/question-answer/package.json
@@ -10,10 +10,10 @@
"publishConfig": {
"access": "public"
},
- "homepage": "https://github.com/hyperledger/aries-framework-javascript/tree/main/packages/question-answer",
+ "homepage": "https://github.com/openwallet-foundation/credo-ts/tree/main/packages/question-answer",
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "packages/question-answer"
},
"scripts": {
diff --git a/packages/react-native/README.md b/packages/react-native/README.md
index 82ccee8bee..4775c089ce 100644
--- a/packages/react-native/README.md
+++ b/packages/react-native/README.md
@@ -2,14 +2,14 @@
-Aries Framework JavaScript - React Native
+Credo - React Native
-Aries Framework JavaScript React Native provides platform specific dependencies to run Aries Framework JavaScript in [React Native](https://reactnative.dev). See the [Getting Started Guide](https://github.com/hyperledger/aries-framework-javascript#getting-started) for installation instructions.
+Credo React Native provides platform specific dependencies to run Credo in [React Native](https://reactnative.dev). See the [Getting Started Guide](https://github.com/openwallet-foundation/credo-ts#getting-started) for installation instructions.
diff --git a/packages/react-native/package.json b/packages/react-native/package.json
index 8909050c34..a6f05f22a6 100644
--- a/packages/react-native/package.json
+++ b/packages/react-native/package.json
@@ -10,10 +10,10 @@
"publishConfig": {
"access": "public"
},
- "homepage": "https://github.com/hyperledger/aries-framework-javascript/tree/main/packages/react-native",
+ "homepage": "https://github.com/openwallet-foundation/credo-ts/tree/main/packages/react-native",
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "packages/react-native"
},
"scripts": {
diff --git a/packages/react-native/tsconfig.build.json b/packages/react-native/tsconfig.build.json
index d905064882..e2585a210b 100644
--- a/packages/react-native/tsconfig.build.json
+++ b/packages/react-native/tsconfig.build.json
@@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "./build",
- // FIXME https://github.com/hyperledger/aries-framework-javascript/pull/327
+ // FIXME https://github.com/openwallet-foundation/credo-ts/pull/327
"skipLibCheck": true,
"types": ["react-native"]
},
diff --git a/packages/react-native/tsconfig.json b/packages/react-native/tsconfig.json
index 8894f8f26d..cbea2d06db 100644
--- a/packages/react-native/tsconfig.json
+++ b/packages/react-native/tsconfig.json
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
- // FIXME https://github.com/hyperledger/aries-framework-javascript/pull/327
+ // FIXME https://github.com/openwallet-foundation/credo-ts/pull/327
"skipLibCheck": true,
"types": ["react-native", "jest"]
}
diff --git a/packages/sd-jwt-vc/README.md b/packages/sd-jwt-vc/README.md
index 3e8e1a69b1..9fe0e336e1 100644
--- a/packages/sd-jwt-vc/README.md
+++ b/packages/sd-jwt-vc/README.md
@@ -2,14 +2,14 @@
-Aries Framework JavaScript Selective Disclosure JWT VC Module
+Credo Selective Disclosure JWT VC Module
('kid')
const issuerDid = sdJwtVc.getClaimInPayload('iss')
- // TODO: is there a more AFJ way of doing this?
+ // TODO: is there a more Credo way of doing this?
const issuerDidUrl = `${issuerDid}#${issuerKid}`
const { verificationMethod: issuerVerificationMethod } = await this.resolveDidUrl(agentContext, issuerDidUrl)
diff --git a/packages/tenants/README.md b/packages/tenants/README.md
index a8735445f5..675d94dd11 100644
--- a/packages/tenants/README.md
+++ b/packages/tenants/README.md
@@ -2,14 +2,14 @@
-Aries Framework JavaScript - Tenant Module
+Credo - Tenant Module
-Aries Framework JavaScript Tenant Module provides an optional addon to Aries Framework JavaScript to use an agent with multiple tenants.
+Credo Tenant Module provides an optional addon to Credo to use an agent with multiple tenants.
diff --git a/packages/tenants/package.json b/packages/tenants/package.json
index b7d639aef0..5806c65850 100644
--- a/packages/tenants/package.json
+++ b/packages/tenants/package.json
@@ -10,10 +10,10 @@
"publishConfig": {
"access": "public"
},
- "homepage": "https://github.com/hyperledger/aries-framework-javascript/tree/main/packages/tenants",
+ "homepage": "https://github.com/openwallet-foundation/credo-ts/tree/main/packages/tenants",
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "packages/tenants"
},
"scripts": {
diff --git a/samples/extension-module/README.md b/samples/extension-module/README.md
index 309d5cb0ef..0353ce5109 100644
--- a/samples/extension-module/README.md
+++ b/samples/extension-module/README.md
@@ -1,14 +1,14 @@
Extension module example
-This example shows how an extension module can be written and injected to an Aries Framework Javascript `Agent` instance. Its structure is similar to the one of regular modules, although is not strictly needed to follow it to achieve this goal.
+This example shows how an extension module can be written and injected to an Credo `Agent` instance. Its structure is similar to the one of regular modules, although is not strictly needed to follow it to achieve this goal.
-An extension module could be used for different purposes, such as storing data in an Identity Wallet, supporting custom protocols over Didcomm or implementing new [Aries RFCs](https://github.com/hyperledger/aries-rfcs/tree/main/features) without the need of embed them right into AFJ's Core package. Injected modules can access to other core modules and services and trigger events, so in practice they work much in the same way as if they were included statically.
+An extension module could be used for different purposes, such as storing data in an Identity Wallet, supporting custom protocols over Didcomm or implementing new [Aries RFCs](https://github.com/hyperledger/aries-rfcs/tree/main/features) without the need of embed them right into Credo's Core package. Injected modules can access to other core modules and services and trigger events, so in practice they work much in the same way as if they were included statically.
> **Note** the custom module API is in heavy development and can have regular breaking changes. This is an experimental feature, so use it at your own risk. Over time we will provide a stable API for extension modules.
## Dummy module
-This example consists of a module that implements a very simple request-response protocol called Dummy. In order to do so and be able to be injected into an AFJ instance, some steps were followed:
+This example consists of a module that implements a very simple request-response protocol called Dummy. In order to do so and be able to be injected into an Credo instance, some steps were followed:
- Define Dummy protocol message classes (inherited from `AgentMessage`)
- Create handlers for those messages (inherited from `MessageHandler`)
@@ -56,20 +56,20 @@ const record = await agent.modules.dummy.request(connection)
## Run demo
-This repository includes a demonstration of a requester and a responder controller using this module to exchange Dummy protocol messages. For environment set up, make sure you followed instructions for [NodeJS](https:/aries.js.org/guides/getting-started/prerequisites/nodejs).
+This repository includes a demonstration of a requester and a responder controller using this module to exchange Dummy protocol messages. For environment set up, make sure you followed instructions for [NodeJS](https://credo.js.org/guides/getting-started/prerequisites/nodejs).
These are the steps for running it:
-Clone the AFJ git repository:
+Clone the Credo git repository:
```sh
-git clone https://github.com/hyperledger/aries-framework-javascript.git
+git clone https://github.com/openwallet-foundation/credo-ts.git
```
Open two different terminals and go to the extension-module directory:
```sh
-cd aries-framework-javascript/samples/extension-module
+cd credo/samples/extension-module
```
Install the project in one of the terminals:
diff --git a/samples/extension-module/package.json b/samples/extension-module/package.json
index 22e1e400d6..f685881ee5 100644
--- a/samples/extension-module/package.json
+++ b/samples/extension-module/package.json
@@ -1,10 +1,10 @@
{
- "name": "afj-extension-module-sample",
+ "name": "credo-extension-module-sample",
"version": "1.0.0",
"private": true,
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "samples/extension-module/"
},
"license": "Apache-2.0",
diff --git a/samples/mediator.ts b/samples/mediator.ts
index a2afe7f156..9e5c967099 100644
--- a/samples/mediator.ts
+++ b/samples/mediator.ts
@@ -46,10 +46,10 @@ const logger = new TestLogger(LogLevel.info)
const agentConfig: InitConfig = {
endpoints,
- label: process.env.AGENT_LABEL || 'Aries Framework JavaScript Mediator',
+ label: process.env.AGENT_LABEL || 'Credo Mediator',
walletConfig: {
- id: process.env.WALLET_NAME || 'AriesFrameworkJavaScript',
- key: process.env.WALLET_KEY || 'AriesFrameworkJavaScript',
+ id: process.env.WALLET_NAME || 'Credo',
+ key: process.env.WALLET_KEY || 'Credo',
},
logger,
diff --git a/samples/tails/package.json b/samples/tails/package.json
index 2815c86f7f..13713198c9 100644
--- a/samples/tails/package.json
+++ b/samples/tails/package.json
@@ -4,7 +4,7 @@
"private": true,
"repository": {
"type": "git",
- "url": "https://github.com/hyperledger/aries-framework-javascript",
+ "url": "https://github.com/openwallet-foundation/credo-ts",
"directory": "samples/tails/"
},
"license": "Apache-2.0",