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

Commit b94da49

Browse files
author
Arnau Orriols
authored
Merge pull request #166 from iotaledger/v1.2.0
Release 1.2.0
2 parents 9eb9611 + e12303f commit b94da49

File tree

20 files changed

+53
-84
lines changed

20 files changed

+53
-84
lines changed

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
[package]
44
name = "iota-streams"
5-
version = "1.0.0"
5+
version = "0.1.2"
66
authors = ["Vlad Semenov <[email protected]>", "Dyrell Chapman <[email protected]>", "Brord van Wierst <[email protected]>", "Arnau Orriols <[email protected]"]
77
edition = "2018"
88
license = "Apache-2.0/MIT"
99
readme = "README.md"
1010
keywords = ["iota", "streams"]
11-
description = "A rust implementation of the IOTA Streams"
11+
description = "A Rust implementation of the IOTA Streams"
1212
autoexamples = false
1313

1414
[lib]
@@ -45,12 +45,12 @@ sync-spin = ["iota-streams-app/sync-spin", "iota-streams-core/sync-spin"]
4545
sync-parking-lot = ["iota-streams-app/sync-parking-lot", "std", "iota-streams-core/sync-parking-lot"]
4646

4747
[dependencies]
48-
iota-streams-core = { version = "0.3.0", path = "iota-streams-core", default-features = false }
49-
iota-streams-core-keccak = { version = "0.3.0", path = "iota-streams-core-keccak", default-features = false }
50-
iota-streams-core-edsig = { version = "0.2.0", path = "iota-streams-core-edsig", default-features = false }
51-
iota-streams-ddml = { version = "0.2.2", path = "iota-streams-ddml", default-features = false }
52-
iota-streams-app = { version = "1.0.0", path = "iota-streams-app", default-features = false }
53-
iota-streams-app-channels = { version = "1.0.0", path = "iota-streams-app-channels", default-features = false }
48+
iota-streams-core = { version = "0.1.2", path = "iota-streams-core", default-features = false }
49+
iota-streams-core-keccak = { version = "0.1.2", path = "iota-streams-core-keccak", default-features = false }
50+
iota-streams-core-edsig = { version = "0.1.2", path = "iota-streams-core-edsig", default-features = false }
51+
iota-streams-ddml = { version = "0.1.2", path = "iota-streams-ddml", default-features = false }
52+
iota-streams-app = { version = "0.1.2", path = "iota-streams-app", default-features = false }
53+
iota-streams-app-channels = { version = "0.1.2", path = "iota-streams-app-channels", default-features = false }
5454

5555
#[profile.release-nostd]
5656
#inherits = "release"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ iota-streams = { git = "https://github.com/iotaledger/streams", branch = "devel
9393
9494
```bash
9595
[dependencies]
96-
iota-streams = { version = "1.0.0", path = "../streams" }
96+
iota-streams = { version = "0.1.2", path = "../streams" }
9797
```
9898
9999
## Getting started

bindings/c/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "streams-c-binding"
3-
version = "1.0.1"
4-
authors = ["Vlad Semenov <[email protected]>", "Dyrell Chapman <[email protected]>", "Brord van Wierst <[email protected]>"]
3+
version = "0.1.2"
4+
authors = ["Vlad Semenov <[email protected]>", "Dyrell Chapman <[email protected]>", "Brord van Wierst <[email protected]>", "Arnau Orriols <[email protected]>"]
55
edition = "2018"
66

77
[features]

bindings/wasm/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
2-
name = "streams_wasm"
3-
version = "0.0.1"
4-
authors = ["huhn511 <[email protected]>", "Vlad Semenov <[email protected]>", "Dyrell Chapman <[email protected]>", "Brord van Wierst <[email protected]>"]
2+
name = "streams"
3+
version = "0.1.2"
4+
authors = ["huhn511 <[email protected]>", "Vlad Semenov <[email protected]>", "Dyrell Chapman <[email protected]>", "Brord van Wierst <[email protected]>", "Arnau Orriols <[email protected]>"]
55
edition = "2018"
66
repository = "https://github.com/iotaledger/streams"
7-
homepage = "https://www.iota.org"
7+
homepage = "https://wiki.iota.org/streams/libraries/wasm/overview"
88
license = "MIT"
99

1010
[lib]
@@ -24,4 +24,4 @@ client-wasm = { git = "https://github.com/iotaledger/iota.rs", rev = "ee19ec4",
2424
getrandom = {version = "0.2.2", features = ["js"]}
2525

2626
[dev-dependencies]
27-
wasm-bindgen-test = "0.3.28"
27+
wasm-bindgen-test = "0.3.28"

bindings/wasm/build/node.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const path = require('path')
22
const fs = require('fs')
33

44
// Add node fetch stuff (https://github.com/seanmonstar/reqwest/issues/910)
5-
const entryFilePathNode = path.join(__dirname, '../node/streams_wasm.js')
5+
const entryFilePathNode = path.join(__dirname, '../node/streams.js')
66
const entryFileNode = fs.readFileSync(entryFilePathNode).toString()
77
let changedFileNode = entryFileNode.replace(
88
"let imports = {};",
@@ -12,4 +12,4 @@ let changedFileNode = entryFileNode.replace(
1212
fs.writeFileSync(
1313
entryFilePathNode,
1414
changedFileNode
15-
)
15+
)

bindings/wasm/build/web.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const path = require('path')
22
const fs = require('fs')
33

4-
const entryFilePath = path.join(__dirname, '../web/streams_wasm.js')
4+
const entryFilePath = path.join(__dirname, '../web/streams.js')
55
const entryFile = fs.readFileSync(entryFilePath).toString()
66
let changedFile = entryFile
77
// Rename original init function, because we want to use the name for our own function
@@ -24,7 +24,7 @@ fs.writeFileSync(
2424
changedFile
2525
)
2626

27-
const entryFilePathTs = path.join(__dirname, '../web/streams_wasm.d.ts')
27+
const entryFilePathTs = path.join(__dirname, '../web/streams.d.ts')
2828
const entryFileTs = fs.readFileSync(entryFilePathTs).toString()
2929
// Replace the init function in the ts file
3030
let changedFileTs = entryFileTs.replace(

bindings/wasm/examples/node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const streams = require("../node/streams_wasm");
1+
const streams = require("../node/streams");
22

33
streams.set_panic_hook();
44

bindings/wasm/examples/node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as streams from '../node/streams_wasm';
1+
import * as streams from '../node/streams';
22

33
streams.set_panic_hook();
44

bindings/wasm/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@iota/streams-wasm",
3-
"version": "1.1.0",
2+
"name": "@iota/streams",
3+
"version": "0.1.2",
44
"description": "WASM binding for the IOTA streams library",
55
"repository": {
66
"type": "git",
@@ -54,4 +54,4 @@
5454
"dependencies": {
5555
"node-fetch": "^2.6.0"
5656
}
57-
}
57+
}

documentation/docs/libraries/rust/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ iota-streams = { git = "https://github.com/iotaledger/streams", branch = "maste
3030
3131
```bash
3232
[dependencies]
33-
iota-streams = { version = "1.0.0", path = "../streams" }
33+
iota-streams = { version = "0.1.2", path = "../streams" }
3434
```
3535
3636
## Basic Usage

0 commit comments

Comments
 (0)