File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ abstract class IExecDataProtectorModule {
5454 {
5555 ipfsGatewayURL : ipfsGateway ,
5656 ...options ?. iexecOptions ,
57- smsURL : DEFAULT_DEBUG_SMS_URL , // we may want to make it overridable in the future?
57+ smsURL : options ?. iexecOptions ?. smsDebugURL || DEFAULT_DEBUG_SMS_URL ,
5858 }
5959 ) ;
6060 } catch ( e ) {
Original file line number Diff line number Diff line change @@ -69,9 +69,14 @@ export type DataProtectorConfigOptions = {
6969 * Options specific to iExec integration.
7070 * If not provided, default iexec options will be used.
7171 */
72- iexecOptions ?: IExecConfigOptions ;
72+ iexecOptions ?: IExecConfigOptionsExtended ;
7373} ;
7474
75+ interface IExecConfigOptionsExtended extends IExecConfigOptions {
76+ // adds smsDebugURL to possible options, used ton configure an IExec debug instance seamlessly (no JS doc test purpose only)
77+ smsDebugURL ?: string ;
78+ }
79+
7580// ---------------------ProtectedData Schema Types------------------------------------
7681export type MimeType =
7782 | 'application/octet-stream'
You can’t perform that action at this time.
0 commit comments