Skip to content

Commit

Permalink
fix: access-client/src/agent default PRINCIPAL is did:web:web3.storage (
Browse files Browse the repository at this point in the history
#296)

Motivation:
* so clients connect successfully to production access.web3.storage
after #295
  • Loading branch information
gobengo authored Dec 13, 2022
1 parent 6be9608 commit 27f2f60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/access-api/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ pnpm exec wrangler d1 migrations create __D1_BETA__ "<description>"
```

This will create a new file inside the `migrations` folder where you can write SQL.

4 changes: 1 addition & 3 deletions packages/access-client/src/agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ import { AgentData } from './agent-data.js'
export { AgentData }

const HOST = 'https://access.web3.storage'
const PRINCIPAL = DID.parse(
'did:key:z6MkqdncRZ1wj8zxCTDUQ8CRT8NQWd63T7mZRvZUX8B7XDFi'
)
const PRINCIPAL = DID.parse('did:web:web3.storage')

/**
* Creates a Ucanto connection for the w3access API
Expand Down

0 comments on commit 27f2f60

Please sign in to comment.