Skip to content
This repository was archived by the owner on Sep 6, 2024. It is now read-only.

Commit 3c5ff0e

Browse files
committed
feat: Split MQTT in to separate package
1 parent a712117 commit 3c5ff0e

File tree

121 files changed

+30462
-17961
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+30462
-17961
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Changelog
22

3-
## v1.5.8
3+
## v1.6.0
44

5+
* Breaking Change - MQTT has moved to its own package @iota/mqtt.js
56
* Improve ESM Modules format
67
* ESM distribution is located in dist/esm directory
78
* Renamed dist/iota.js to dist/cjs/index-node.js
89
* Renamed dist/iota.browser.js to dist/cjs/index-browser.js
10+
* Improve platform detection for RandomHelper
911

1012
## v1.5.7
1113

README.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<a href="#example">Example</a> ◈
1313
<a href="#api-endpoints">Api Endpoints</a> ◈
1414
<a href="#high-level-operations">High Level Operations</a> ◈
15-
<a href="#mqtt-operations">MQTT Operations</a> ◈
15+
<a href="#mqtt">MQTT</a> ◈
1616
<a href="#models">Models</a> ◈
1717
<a href="#proof-of-work">Proof Of Work</a> ◈
1818
<a href="#additional-examples">Additional Examples</a> ◈
@@ -26,7 +26,7 @@
2626
2727
Client library for IOTA chrysalis network, implemeted in TypeScript to strongly type the objects sent and received from the API.
2828

29-
Also includes High Level operations and MQTT support.
29+
Also includes High Level operations and MQTT support via a package.
3030

3131
Runs in both NodeJS and Browser environments.
3232

@@ -105,21 +105,9 @@ There are also high level operations which make use of the API level methods:
105105
* sendAdvanced - Given a set of inputs with keypairs seed, path, list of destinations make multiple transfers, can also include index data.
106106
* sendData - Given index and data create a new data message.
107107

108-
## MQTT Operations
108+
## MQTT
109109

110-
You can create a MQTT client which once connected can stream the following feeds.
111-
112-
* milestonesLatest
113-
* milestonesConfirmed
114-
* messageMetadata - Metadata updates for a specified messageId
115-
* output - Output updates for a specified outputId
116-
* addressOutputs - Address output updates for a specified address
117-
* address25519Outputs - Address output updates for a specified ed25519 address
118-
* messagesRaw - All messages in binary form
119-
* messages - All messaged decoded to objects
120-
* indexRaw - All messages for a specified indexation key in binary form
121-
* index - All messages for a specified indexation key in object form
122-
* messagesMetadata - All metadata updates
110+
MQTT has moved to a separate package, see [README.md](./packages/mqtt/README.md)
123111

124112
## Models
125113

@@ -138,8 +126,6 @@ Please find other examples in the [./examples](./examples) folder.
138126
* Browser - Demonstrates direct inclusion and use of the library in an html page.
139127
* Peers - Demonstrates peer management.
140128
* Pow - Demonstrates using one of the other PoW packages.
141-
* Mqtt - Using mqtt to read streaming messages.
142-
* Browser Mqtt - Using mqtt to read streaming messages in the browser.
143129

144130
## Supporting the project
145131

0 commit comments

Comments
 (0)