Skip to content

Commit

Permalink
chore: update moc to 0.13.5 (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreif authored Dec 6, 2024
2 parents bce8702 + 6c608a3 commit 00022cc
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
# Remember to update me in package-set.yml as well
env:
vessel_version: "v0.7.0"
moc_version: "0.13.4"
moc_version: "0.13.5"

jobs:
tests:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package-set.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
vessel_version: "v0.7.0"
moc_version: "0.13.4"
moc_version: "0.13.5"

jobs:
verify:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

* Added `Text.fromArray` and `Text.fromVarArray` functions (#674).

* Added `replyDeadline` to `ExperimentalInternetComputer` (#677).

## 0.13.4

* Breaking change (minor): `Float.format(#hex)` is no longer supported.
Expand Down
4 changes: 2 additions & 2 deletions mops.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "base"
version = "0.13.4"
version = "0.13.5"
description = "The Motoko base library"
repository = "https://github.com/dfinity/motoko-base"
keywords = [ "base" ]
Expand All @@ -10,5 +10,5 @@ license = "Apache-2.0"
matchers = "https://github.com/kritzcreek/motoko-matchers#v1.3.0@3dac8a071b69e4e651b25a7d9683fe831eb7cffd"

[toolchain]
moc = "0.13.4"
moc = "0.13.5"
wasmtime = "17.0.0"
6 changes: 6 additions & 0 deletions src/ExperimentalInternetComputer.mo
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,10 @@ module {
/// ```
public let performanceCounter : (counter : Nat32) -> (value: Nat64) = Prim.performanceCounter;

/// Returns the time (in nanoseconds from the epoch start) by when the update message should
/// reply to the best effort message so that it can be received by the requesting canister.
/// Queries and non-best-effort update messages return zero.
///
public func replyDeadline() : Nat = Prim.nat64ToNat(Prim.replyDeadline());

}

0 comments on commit 00022cc

Please sign in to comment.