Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Changes before Tatum release are not documented in this file.

## [Unreleased]

### General

#### Fixed

- Fix outdated GitHub URLs referencing old `network-monorepo` repository instead of `network` (https://github.com/streamr-dev/network/pull/3348)

### @streamr/sdk

#### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a href="https://streamr.network">
<img alt="Streamr" src="https://raw.githubusercontent.com/streamr-dev/network-monorepo/main/packages/sdk/readme-header.png" width="1320" />
<img alt="Streamr" src="https://raw.githubusercontent.com/streamr-dev/network/main/packages/sdk/readme-header.png" width="1320" />
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/guides/use-any-language-or-device.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ For URL authentication, for example `mqtt://"":ApiKey@1.2.3.4:1883`. Some MQTT l

:::note
If you're connecting to the MQTT interface over the open internet, please remember to make sure the port is open.
Technical information about the plugin interface can be found in the [Streamr node plugin docs](https://github.com/streamr-dev/network-monorepo/blob/main/packages/broker/plugins.md).
Technical information about the plugin interface can be found in the [Streamr node plugin docs](https://github.com/streamr-dev/network/blob/main/packages/node/plugins.md).
:::

#### Start pushing data
Expand All @@ -168,7 +168,7 @@ await mqttClient.publish(StreamId, JSON.stringify({ foo: bar }))

If everything has been configured correctly so far then the data should now be flowing to the Streamr node, which will receive and sign the data, then publish it to the to the Streamr Network stream.

At this point, you could use the Streamr [CLI tool](https://github.com/streamr-dev/network-monorepo/tree/main/packages/cli-tools) to subscribe to stream and observe the message flow:
At this point, you could use the Streamr [CLI tool](https://github.com/streamr-dev/network/tree/main/packages/cli-tools) to subscribe to stream and observe the message flow:

```shell
$ npm install -g @streamr/cli-tools
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/usage/cli-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ The `--config` argument tries to read a configuration file from the current work

If no `--config` argument is specified, default settings are read from `~/.streamr/config/default.json`, if that file exists.

The configuration file is a JSON. It has one root-level property `client`, which contains any configuration properties for the [streamr-sdk-javascript](https://github.com/streamr-dev/network-monorepo/blob/main/packages/client/) client. Example:
The configuration file is a JSON. It has one root-level property `client`, which contains any configuration properties for the [streamr-sdk-javascript](https://github.com/streamr-dev/network/blob/main/packages/sdk/) client. Example:

```
{
Expand Down
4 changes: 2 additions & 2 deletions packages/cli-tools/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a href="https://streamr.network">
<img alt="Streamr" src="https://raw.githubusercontent.com/streamr-dev/network-monorepo/main/packages/client/readme-header.png" width="1320" />
<img alt="Streamr" src="https://raw.githubusercontent.com/streamr-dev/network/main/packages/sdk/readme-header.png" width="1320" />
</a>
</p>

Expand Down Expand Up @@ -175,7 +175,7 @@ The `--config` argument tries to read a configuration file from the current work

If no `--config` argument is specified, default settings are read from `~/.streamr/config/default.json`, if that file exists.

The configuration file is a JSON. It has one root-level property `client`, which contains any configuration properties for the [@streamr/sdk](https://github.com/streamr-dev/network-monorepo/blob/main/packages/client/). Example:
The configuration file is a JSON. It has one root-level property `client`, which contains any configuration properties for the [@streamr/sdk](https://github.com/streamr-dev/network/blob/main/packages/sdk/). Example:
```
{
"client": {
Expand Down
2 changes: 1 addition & 1 deletion packages/node/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a href="https://streamr.network">
<img alt="Streamr" src="https://raw.githubusercontent.com/streamr-dev/network-monorepo/main/packages/client/readme-header.png" width="1320" />
<img alt="Streamr" src="https://raw.githubusercontent.com/streamr-dev/network/main/packages/sdk/readme-header.png" width="1320" />
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions packages/node/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ If you want to publish or subscribe to a specific partition of a stream, you can

- `/streams/:streamId/subscribe?partitions=0,2,5`: subscribes to given partition numbers
- `/streams/:streamId/publish?partition=2`: publishes to given partition number
- `/streams/:streamId/publish?partitionKey=foo`: use the given key to calculate the partition number, [see JS-client for details](https://github.com/streamr-dev/network-monorepo/blob/main/packages/client/README.md#publishing-to-partitioned-streams))
- `/streams/:streamId/publish?partitionKey=foo`: use the given key to calculate the partition number, [see JS-client for details](https://github.com/streamr-dev/network/blob/main/packages/sdk/README.md#publishing-to-partitioned-streams))
- `/streams/:streamId/publish?partitionKeyField=customerId`: use the given field in a JSON to choose the `paritionKey` (e.g. `{ "customerId": "foo", ... }` -> `paritionKey` is `foo`)

By default, partition `0` is selected.
Expand Down Expand Up @@ -292,7 +292,7 @@ http://localhost:7171/streams/foo.eth%2fbar
The endpoint supports the following optional query parameters:

- `timestamp` can be used to set the message timestamp explicitly. The timestamp should be passed in ISO-8601 string (e.g. `2001-02-03T04:05:06Z`), or as milliseconds since epoch, e.g. `1234567890000`
- `partition` (explicit partition number) or `partitionKey` (a string which used to calculate the partition number, [see JS-client for details](https://github.com/streamr-dev/network-monorepo/blob/main/packages/client/README.md#publishing-to-partitioned-streams)). The default (in case neither is provided) is to select a random partition for each message.
- `partition` (explicit partition number) or `partitionKey` (a string which used to calculate the partition number, [see JS-client for details](https://github.com/streamr-dev/network/blob/main/packages/sdk/README.md#publishing-to-partitioned-streams)). The default (in case neither is provided) is to select a random partition for each message.

#### Port

Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/broker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const createBroker = async (configWithoutDefaults: Config): Promise<Broke
if (!streamrClient.getConfig().network.controlLayer.webrtcAllowPrivateAddresses) {
logger.warn('WebRTC private address probing is disabled. ' +
'This makes it impossible to create network layer connections directly via local routers ' +
'More info: https://github.com/streamr-dev/network-monorepo/wiki/WebRTC-private-addresses')
'More info: https://github.com/streamr-dev/network/wiki/WebRTC-private-addresses')
}
},
stop: async () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a href="https://streamr.network">
<img alt="Streamr" src="https://raw.githubusercontent.com/streamr-dev/network-monorepo/main/packages/client/readme-header.png" width="600" />
<img alt="Streamr" src="https://raw.githubusercontent.com/streamr-dev/network/main/packages/sdk/readme-header.png" width="600" />
</a>
</p>

Expand All @@ -9,7 +9,7 @@
</h1>

![latest npm package version](https://img.shields.io/npm/v/@streamr/sdk?label=latest)
![GitHub stars](https://img.shields.io/github/stars/streamr-dev/network-monorepo?style=social)
![GitHub stars](https://img.shields.io/github/stars/streamr-dev/network?style=social)
[![Discord Chat](https://img.shields.io/discord/801574432350928907.svg?label=Discord&logo=Discord&colorB=7289da)](https://discord.gg/FVtAph9cvz)

The Streamr SDK allows you to interact with the [Streamr Network](https://streamr.network) from JavaScript-based environments, such as browsers and [Node.js](https://nodejs.org). This library contains convenience functions for creating and managing streams on the Streamr Network.
Expand Down
2 changes: 1 addition & 1 deletion packages/trackerless-network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Minimal and extendable implementation of the Streamr Network node.",
"repository": {
"type": "git",
"url": "git+https://github.com/streamr-dev/network-monorepo.git",
"url": "git+https://github.com/streamr-dev/network.git",
"directory": "packages/trackerless-network"
},
"main": "dist/src/exports.js",
Expand Down