@@ -44,7 +44,8 @@ import { type GrantAccessParams } from '@iexec/dataprotector';
4444
4545** Type:** ` AddressOrENS `
4646
47- The ethereum address of the protected data supplied by the user.
47+ The ethereum address of the protected data supplied by the user (returned when
48+ you created it). ** You must own this data** to grant access.
4849
4950``` ts twoslash
5051import { IExecDataProtectorCore , getWeb3Provider } from ' @iexec/dataprotector' ;
@@ -68,9 +69,9 @@ The address of the application you wish to authorize to process the
6869single application or an application whitelist. To specify a whitelist, you
6970provide the ETH address of an
7071[ iExec Whitelist Smart Contract] ( https://github.com/iExecBlockchainComputing/whitelist-smart-contract/tree/main ) .
71- This smart contract aggregates multiple application versions. This allows you to
72- introduce new versions of your application without needing to grant access for
73- the ` protectedData ` each time you do so.
72+ This smart contract should aggregates multiple application versions. This allows
73+ you to introduce new versions of your application without needing to grant
74+ access for the ` protectedData ` each time you do so.
7475
7576``` ts twoslash
7677import { IExecDataProtectorCore , getWeb3Provider } from ' @iexec/dataprotector' ;
@@ -180,12 +181,14 @@ used.
180181It is not technically possible to set an unlimited number of accesses, but you
181182can set ` numberOfAccess ` to ` 10000 ` for example.
182183
183- ::: info Important Notes: If you attempt to process the protected data more
184- times than specified in ` numberOfAccess ` , you will encounter a ** "no dataset
185- orders"** error.
184+ ::: info
185+
186+ If you attempt to process the protected data more times than specified in
187+ ` numberOfAccess ` , you will encounter a ** "no dataset orders"** error.
186188
187189To prevent this error, ensure the ` numberOfAccess ` is properly set when calling
188- the ` grantAccess ` method.
190+ the ` grantAccess ` method.
191+
189192:::
190193
191194``` ts twoslash
0 commit comments