Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
177 changes: 20 additions & 157 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
"vitepress-plugin-group-icons": "^1.3.8"
},
"dependencies": {
"@iexec/dataprotector": "^2.0.0-beta.16",
"@iexec/dataprotector": "^2.0.0-beta.18",
"@iexec/dataprotector-deserializer": "^0.1.1",
"@iexec/iexec-oracle-factory-wrapper": "^2.6.0",
"@iexec/web3mail": "^1.2.0",
"@iexec/web3telegram": "^0.0.3-alpha",
"@iexec/web3mail": "^1.4.0",
"@iexec/web3telegram": "^0.1.0-alpha.3",
"@reown/appkit": "^1.6.5",
"@reown/appkit-adapter-wagmi": "^1.6.5",
"@tanstack/vue-query": "^5.64.2",
Expand Down
40 changes: 35 additions & 5 deletions tools/types.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# Types

Types in Web3mail.

## Contact

### address

`Address`

The address of the `protectedData` holding the contact's email address.
The address of the `protectedData` holding the contact's details.

### name

`string`

The name of the `protectedData` holding the contact's details (name may be empty
`""`).

### owner

Expand All @@ -21,5 +26,30 @@ The address for the contact who granted permission to send them communications.
`number`

The precise date and time when the user granted authorization to send them
direct communications (such as email or telegram messages). This timestamp
represents the moment the access was granted.
direct communications. This timestamp represents the moment the access was
granted.

### remainingAccess

`number`

The number of remaining accesses the user has for this contact. This value
indicates how many times the user can access the contact's details before the
access limit is reached.

### accessPrice

`number`

The price in nRLC that the user must pay to access the contact's details. This
value is determined by the contact's owner and can vary based on the owner's
preferences.

### isUserStrict

`boolean`

Indicates whether the user has a personal access to the contact's details. If
`true`, the user has a specific, personal access to the contact's details. If
`false`, the contact is shared publicly, which may allow for more general or
anonymous access.