Skip to content

Commit

Permalink
Bumped version of nact
Browse files Browse the repository at this point in the history
  • Loading branch information
ncthbrt committed Apr 16, 2018
1 parent 06319ed commit 634150b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion examples/stateful_greeter.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var system = Nact.start(/* None */0, /* None */0, /* None */0, /* () */0);
var statefulGreeter = Nact.spawn(/* Some */["stateful-greeter"], /* None */0, /* None */0, system, (function (state, param, ctx) {
var name = param[/* name */0];
var hasPreviouslyGreetedMe = List.exists((function (v) {
return +(v === name);
return v === name;
}), state);
if (hasPreviouslyGreetedMe) {
console.log("Hello again " + name);
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reason-nact",
"version": "3.1.0",
"version": "3.2.0",
"description": "let reason-nact = (node.js, reason, actors) ⇒ your µ services have never been so typed",
"repository": "https://github.com/ncthbrt/reason-nact",
"author": "Nick Cuthbert (https://github.com/ncthbrt)",
Expand Down Expand Up @@ -36,14 +36,14 @@
],
"devDependencies": {
"@glennsl/bs-jest": "^0.4.2",
"@glennsl/bs-json": "^1.2.0",
"bs-platform": "^2.2.3",
"@glennsl/bs-json": "^1.3.1",
"bs-platform": "^3.0.0",
"coveralls": "^3.0.0",
"husky": "^0.14.3",
"jest": "^21.2.1",
"nyc": "^11.3.0"
},
"dependencies": {
"nact": "^6.0.4"
"nact": "^6.1.0"
}
}
2 changes: 1 addition & 1 deletion src/Nact.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function mapPersistentCtx(untypedCtx, encoder) {
return Curry._1(partial_arg, Curry._1(encoder, param));
}),
/* children */Belt_SetString.fromArray(Nact_jsMap.keys(untypedCtx.children)),
/* recovering */defaultTo(/* false */0, Js_primitive.null_undefined_to_opt(untypedCtx.recovering)),
/* recovering */defaultTo(false, Js_primitive.null_undefined_to_opt(untypedCtx.recovering)),
/* logger */untypedCtx.log
];
}
Expand Down
1 change: 1 addition & 0 deletions src/Nact.re
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module ActorPath = {
let systemName = (ActorPath(path)) => path##system;
let toString = (ActorPath(path)) =>
"system:" ++ path##system ++ "//" ++ String.concat("/", path##parts);
let parts = (ActorPath(path)) => path##parts;
};

type systemMsg;
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
dependencies:
jest "^22.0.4"

"@glennsl/bs-json@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@glennsl/bs-json/-/bs-json-1.2.0.tgz#8a2175458cf425614d20bb5542a2eb92b09bd4fc"
"@glennsl/bs-json@^1.3.1":
version "1.3.1"
resolved "https://registry.yarnpkg.com/@glennsl/bs-json/-/bs-json-1.3.1.tgz#64fc470cbe5e9779f49226a2d877169d3c67296a"

"@types/node@*":
version "9.3.0"
Expand Down Expand Up @@ -421,9 +421,9 @@ browser-resolve@^1.11.2:
dependencies:
resolve "1.1.7"

bs-platform@^2.2.3:
version "2.2.3"
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-2.2.3.tgz#d905ae10a5f3621e6a739041dfa0b58483a2174f"
bs-platform@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-3.0.0.tgz#38f200730db52fdea37819376b6ac3dfb20244c0"

bser@^2.0.0:
version "2.0.0"
Expand Down Expand Up @@ -2155,9 +2155,9 @@ [email protected]:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"

nact@^6.0.4:
version "6.0.4"
resolved "https://registry.yarnpkg.com/nact/-/nact-6.0.4.tgz#58e9e33463ef623746c367768226febd9bde73d4"
nact@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/nact/-/nact-6.1.0.tgz#8fef6d09aaf4bef8348ebcf0a4d1455882bac599"
dependencies:
denque "^1.2.3"

Expand Down

0 comments on commit 634150b

Please sign in to comment.