Skip to content

Commit

Permalink
feat(aqua-ipfs): Use aqua keyword instead of module (#153)
Browse files Browse the repository at this point in the history
Use aqua keyword
  • Loading branch information
InversionSpaces authored Jan 4, 2024
1 parent 6b152ca commit d973633
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions aqua/ipfs-api.aqua
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
aqua IpfsApi declares *

export get_and_cache
export put, dag_put, dag_get, get_from, dag_get_from, cat_from
export set_timeout, get_external_api_multiaddr
export get_external_swarm_multiaddr, get_local_api_multiaddr

import "@fluencelabs/aqua-lib/builtin.aqua"

import "ipfs.aqua"

alias Multiaddr: string
Expand Down
2 changes: 1 addition & 1 deletion aqua/ipfs.aqua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Ipfs declares *
aqua Ipfs declares *

data IpfsCatResult:
success: bool
Expand Down

0 comments on commit d973633

Please sign in to comment.