File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,10 @@ Options can be declared globally using the **init** method or locally as the fou
115115\
116116The local parameter will have higher priority than the global one.
117117
118- | Name | Type | Description |
119- | --------- | ------ | ------------------------------------------------- |
120- | publicKey | String | The public key is required to invoke the command. |
118+ | Name | Type | Default | Description |
119+ | ------------- | ------- | ------- | -------------------------------------------------------- |
120+ | publicKey | String | | The public key is required to invoke the method. |
121+ | blockHeadless | Boolean | False | Method will return error 451 if the browser is headless. |
121122
122123** Declare global settings**
123124
@@ -126,6 +127,7 @@ import emailjs from '@emailjs/browser';
126127
127128emailjs .init ({
128129 publicKey: ' YOUR_PUBLIC_KEY' ,
130+ blockHeadless: true ,
129131});
130132```
131133
You can’t perform that action at this time.
0 commit comments