Skip to content

Commit

Permalink
Adjust node count (#73)
Browse files Browse the repository at this point in the history
* hit dwn host health-check before selecting it

* increase timeout for `Record.send` test

* update `README`

* bump versions

* [web5] update README


Co-authored-by: Daniel Buchner <[email protected]>
Co-authored-by: Frank Hinek <[email protected]>
  • Loading branch information
3 people authored May 19, 2023
1 parent e6ec1d0 commit 12435a1
Show file tree
Hide file tree
Showing 11 changed files with 275 additions and 290 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Making developing with Web5 components at least 5 times easier to work with.

⚠️ WEB5 JS SDK IS CURRENTLY IN TECH PREVIEW ⚠️
> ⚠️ WEB5 JS SDK IS CURRENTLY IN TECH PREVIEW ⚠️
The SDK is currently still under active development, but having entered the Tech Preview phase there is now a drive to avoid unnecessary changes unless backwards compatibility is provided. Additional functionality will be added in the lead up to 1.0 final, and modifications will be made to address issues and community feedback.

Expand Down Expand Up @@ -31,11 +31,11 @@ npm install @tbd54566975/web5
_CDNs_

```yaml
https://unpkg.com/@tbd54566975/[email protected].2/dist/browser.js
https://unpkg.com/@tbd54566975/[email protected].3/dist/browser.js
```

```yaml
https://cdn.jsdelivr.net/npm/@tbd54566975/[email protected].2/dist/browser.mjs
https://cdn.jsdelivr.net/npm/@tbd54566975/[email protected].3/dist/browser.mjs
```

### Importing the SDK
Expand Down Expand Up @@ -83,7 +83,7 @@ Each `Record` instance has the following instance methods:
- **`text`** - _`function`_: produces a textual representation of the data.
- **`json`** - _`function`_: if the value is JSON data, this method will return a parsed JSON object.
- **`stream`** - _`function`_: returns the raw stream of bytes for the data.
- **`send`** - _`function`_: generates a `delete` entry tombstone for the record. This is a convenience method that allows you to easily delete records with less verbosity.
- **`send`** - _`function`_: sends the record the instance represents to the DWeb Node endpoints of a provided DID.
- **`update`** - _`function`_: takes in a new request object matching the expected method signature of a `write` and overwrites the record. This is a convenience method that allows you to easily overwrite records with less verbosity.
- **`delete`** - _`function`_: generates a `delete` entry tombstone for the record. This is a convenience method that allows you to easily delete records with less verbosity.

Expand Down
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tbd54566975/crypto",
"version": "0.1.2",
"version": "0.1.3",
"description": "TBD crypto library",
"type": "module",
"main": "./dist/cjs/main.cjs",
Expand Down
4 changes: 2 additions & 2 deletions packages/dids/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tbd54566975/dids",
"version": "0.1.2",
"version": "0.1.3",
"description": "TBD DIDs library",
"type": "module",
"main": "./dist/cjs/main.cjs",
Expand Down Expand Up @@ -79,7 +79,7 @@
},
"dependencies": {
"@decentralized-identity/ion-tools": "1.0.7",
"@tbd54566975/crypto": "0.1.2",
"@tbd54566975/crypto": "0.1.3",
"@tbd54566975/dwn-sdk-js": "0.0.32",
"cross-fetch": "3.1.5"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/web5-agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tbd54566975/web5-agent",
"version": "0.1.2",
"version": "0.1.3",
"description": "Web5 Agent",
"type": "module",
"main": "./dist/cjs/main.cjs",
Expand Down
4 changes: 2 additions & 2 deletions packages/web5-proxy-agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tbd54566975/web5-proxy-agent",
"version": "0.1.2",
"version": "0.1.3",
"description": "Web5 Proxy Agent",
"type": "module",
"main": "./dist/cjs/main.cjs",
Expand Down Expand Up @@ -75,7 +75,7 @@
"node": ">=18.0.0"
},
"dependencies": {
"@tbd54566975/web5-agent": "0.1.2"
"@tbd54566975/web5-agent": "0.1.3"
},
"devDependencies": {
"@types/chai": "4.3.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/web5-user-agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tbd54566975/web5-user-agent",
"version": "0.1.2",
"version": "0.1.3",
"description": "Web5 User Agent",
"type": "module",
"main": "./dist/cjs/main.cjs",
Expand Down Expand Up @@ -76,7 +76,7 @@
},
"dependencies": {
"@decentralized-identity/ion-tools": "1.0.7",
"@tbd54566975/dids": "0.1.2",
"@tbd54566975/dids": "0.1.3",
"@tbd54566975/dwn-sdk-js": "0.0.32",
"abstract-level": "1.0.3",
"cross-fetch": "3.1.5",
Expand Down
Loading

0 comments on commit 12435a1

Please sign in to comment.