Skip to content

Commit

Permalink
v0.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Le Cam committed Jan 16, 2020
1 parent 39dedf6 commit a3a199f
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 27 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v0.13.1 (2020-01-16)

- Fix type signature of the `write()` method of `TimelineWriter`.
- Bump dependency version of `@erebos/hex` in `@erebos/keccak256`.

## v0.13.0 (2020-01-16)

### Breaking changes
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Finally, the [CLI](cli.md) can be a useful tool to simply interact with Swarm.

## Browser setup

⚠️ Erebos is only tested against a recent version of Chromium. Only evergreen browsers are supported.
> ⚠️ Erebos is only tested against a recent version of Chromium. Only evergreen browsers are supported.
If you are bundling JavaScript assets, the simplest way to get started is to install and import the `@erebos/swarm-browser` package:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "erebos-project",
"version": "0.13.0",
"version": "0.13.1",
"description": "Swarm client and tools",
"repository": "git@github.com:MainframeHQ/erebos.git",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions packages/bzz-feed/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@erebos/bzz-feed",
"version": "0.13.0",
"version": "0.13.1",
"description": "Bzz Feed API",
"repository": "git@github.com:MainframeHQ/erebos.git",
"main": "cjs/index.js",
Expand All @@ -26,7 +26,7 @@
"dependencies": {
"@babel/runtime": "^7.8.3",
"@erebos/hex": "^0.13.0",
"@erebos/keccak256": "^0.13.0",
"@erebos/keccak256": "^0.13.1",
"rxjs": "^6.5.4"
}
}
8 changes: 4 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@erebos/cli",
"version": "0.13.0",
"version": "0.13.1",
"description": "Command-line interface for Swarm",
"repository": "git@github.com:MainframeHQ/erebos.git",
"main": "lib/index.js",
Expand Down Expand Up @@ -51,15 +51,15 @@
},
"dependencies": {
"@babel/runtime": "^7.8.3",
"@erebos/bzz-feed": "^0.13.0",
"@erebos/bzz-feed": "^0.13.1",
"@erebos/bzz-fs": "^0.13.0",
"@erebos/bzz-node": "^0.13.0",
"@erebos/hex": "^0.13.0",
"@erebos/keccak256": "^0.13.0",
"@erebos/keccak256": "^0.13.1",
"@erebos/pss": "^0.13.0",
"@erebos/secp256k1": "^0.10.0",
"@erebos/swarm-node": "^0.13.0",
"@erebos/timeline": "^0.13.0",
"@erebos/timeline": "^0.13.1",
"@oclif/command": "^1.5.19",
"@oclif/config": "^1.13.3",
"@oclif/plugin-help": "^2.2.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/doc-sync/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@erebos/doc-sync",
"version": "0.13.0",
"version": "0.13.1",
"description": "Feed-based JSON state",
"repository": "git@github.com:MainframeHQ/erebos.git",
"main": "cjs/index.js",
Expand All @@ -26,8 +26,8 @@
"dependencies": {
"@babel/runtime": "^7.8.3",
"@erebos/bzz": "^0.13.0",
"@erebos/bzz-feed": "^0.13.0",
"@erebos/feed-list": "^0.13.0",
"@erebos/bzz-feed": "^0.13.1",
"@erebos/feed-list": "^0.13.1",
"automerge": "^0.12.1",
"rxjs": "^6.5.4"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/feed-list/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@erebos/feed-list",
"version": "0.13.0",
"version": "0.13.1",
"description": "Feed-based list data structure",
"repository": "git@github.com:MainframeHQ/erebos.git",
"main": "cjs/index.js",
Expand All @@ -26,7 +26,7 @@
"dependencies": {
"@babel/runtime": "^7.8.3",
"@erebos/bzz": "^0.13.0",
"@erebos/bzz-feed": "^0.13.0",
"@erebos/bzz-feed": "^0.13.1",
"@erebos/hex": "^0.13.0"
}
}
4 changes: 2 additions & 2 deletions packages/keccak256/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@erebos/keccak256",
"version": "0.13.0",
"version": "0.13.1",
"description": "keccak256 utilities",
"repository": "git@github.com:MainframeHQ/erebos.git",
"main": "cjs/index.js",
Expand All @@ -25,7 +25,7 @@
},
"dependencies": {
"@babel/runtime": "^7.8.3",
"@erebos/hex": "^0.12.0",
"@erebos/hex": "^0.13.0",
"js-sha3": "^0.8.0"
}
}
4 changes: 2 additions & 2 deletions packages/timeline/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@erebos/timeline",
"version": "0.13.0",
"version": "0.13.1",
"description": "Linked-list data structure for Swarm feeds",
"repository": "git@github.com:MainframeHQ/erebos.git",
"main": "cjs/index.js",
Expand All @@ -26,7 +26,7 @@
"dependencies": {
"@babel/runtime": "^7.8.3",
"@erebos/bzz": "^0.13.0",
"@erebos/bzz-feed": "^0.13.0",
"@erebos/bzz-feed": "^0.13.1",
"rxjs": "^6.5.4"
}
}
4 changes: 3 additions & 1 deletion packages/timeline/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ export class TimelineWriter<
this.signParams = config.signParams
}

protected async write(chapter: PartialChapter<T>): Promise<string> {
protected async write(
chapter: PartialChapter<T>,
): Promise<string | S | Buffer> {
return Promise.resolve(JSON.stringify(chapter))
}

Expand Down
3 changes: 2 additions & 1 deletion packages/timeline/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference types="node" />
import { Response, FetchOptions, PollOptions, UploadOptions } from '@erebos/bzz';
import { BzzFeed, FeedParams } from '@erebos/bzz-feed';
import { Observable } from 'rxjs';
Expand Down Expand Up @@ -55,7 +56,7 @@ export declare class TimelineReader<T = any, S = any, B extends BzzFeed<S, Respo
export declare class TimelineWriter<T = any, S = any, B extends BzzFeed<S, Response<S>> = BzzFeed<S, Response<S>>> extends TimelineReader<T, S, B> {
protected signParams: any;
constructor(config: TimelineWriterConfig<T, S, B>);
protected write(chapter: PartialChapter<T>): Promise<string>;
protected write(chapter: PartialChapter<T>): Promise<string | S | Buffer>;
postChapter(chapter: PartialChapter<T>, options?: UploadOptions): Promise<string>;
setLatestChapterID(chapterID: string, options?: FetchOptions): Promise<void>;
setLatestChapter(chapter: PartialChapter<T>, options?: UploadOptions): Promise<string>;
Expand Down
9 changes: 1 addition & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-typescript" "^7.8.3"

"@babel/runtime@^7.7.6", "@babel/runtime@^7.8.3":
"@babel/runtime@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.8.3.tgz#0811944f73a6c926bb2ad35e918dcc1bfab279f1"
integrity sha512-fVHx1rzEmwB130VTkLnxR+HmxcTjGzH12LYQcFFoBwakMd3aOMD4OsRN7tGG/UOYE2ektgFrS8uACAoRk1CY0w==
Expand Down Expand Up @@ -941,13 +941,6 @@
global-agent "^2.0.2"
global-tunnel-ng "^2.7.1"

"@erebos/hex@^0.12.0":
version "0.12.0"
resolved "https://registry.yarnpkg.com/@erebos/hex/-/hex-0.12.0.tgz#aa1df94705015a9b72aa3940a59f619f72e824d3"
integrity sha512-3pqwNnjHkH3n30vnEvPp6V5rX8/ocevNzKdjZbZ2pA+JGRljXKxjnjC35DGPipgNzeEfvXaisvGNmc2Dkt3Htg==
dependencies:
"@babel/runtime" "^7.7.6"

"@evocateur/libnpmaccess@^3.1.2":
version "3.1.2"
resolved "https://registry.yarnpkg.com/@evocateur/libnpmaccess/-/libnpmaccess-3.1.2.tgz#ecf7f6ce6b004e9f942b098d92200be4a4b1c845"
Expand Down

0 comments on commit a3a199f

Please sign in to comment.