Skip to content

Commit

Permalink
docs: Rename core to agent
Browse files Browse the repository at this point in the history
  • Loading branch information
simonas-notcat committed Apr 22, 2020
1 parent 68f4cff commit 568a845
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/Docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const data = {
### Typescript

```typescript
const sdrJwt = await core.handleAction({
const sdrJwt = await agent.handleAction({
type: 'sign.sdr.jwt',
data,
})
Expand Down Expand Up @@ -218,7 +218,7 @@ const data = {
### Typescript

```typescript
const message: Message = await core.handleAction({
const message: Message = await agent.handleAction({
type: 'send.message.didcomm-alpha-1',
save: true,
data,
Expand Down Expand Up @@ -252,7 +252,7 @@ const meta = [
## Typescript

```typescript
const sdrMessage: Message = await core.handleMessage({
const sdrMessage: Message = await agent.handleMessage({
raw,
meta,
save: true, // default = true
Expand Down Expand Up @@ -289,7 +289,7 @@ const data = {
## Typescript

```typescript
const nameVc: Credential = await core.handleAction({
const nameVc: Credential = await agent.handleAction({
type: 'sign.w3c.vc.jwt',
save: true,
data,
Expand Down Expand Up @@ -455,7 +455,7 @@ const data = {
## Typescript

```typescript
const vp: Presentation = await core.handleAction({
const vp: Presentation = await agent.handleAction({
type: 'sign.w3c.vp.jwt',
save: true,
data,
Expand Down Expand Up @@ -489,7 +489,7 @@ const data = {
## Typescript

```typescript
const message: Message = await core.handleAction({
const message: Message = await agent.handleAction({
type: 'send.message.didcomm-alpha-1',
save: true,
url,
Expand Down Expand Up @@ -894,7 +894,7 @@ query {
### Typescript

```typescript
const identities = await core.identityManager.getIdentities()
const identities = await agent.identityManager.getIdentities()
```

### GraphQL
Expand Down

0 comments on commit 568a845

Please sign in to comment.