(options = {})
| 75 | } |
| 76 | |
| 77 | function configure(options = {}) { |
| 78 | if (options.axios !== undefined) { |
| 79 | axiosInstance = options.axios |
| 80 | } |
| 81 | |
| 82 | if (options.cache !== undefined) { |
| 83 | cache = options.cache |
| 84 | } |
| 85 | |
| 86 | if (options.defaultOptions !== undefined) { |
| 87 | defaultOptions = { ...DEFAULT_OPTIONS, ...options.defaultOptions } |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | resetConfigure() |
| 92 | configure(configureOptions) |
no outgoing calls
searching dependent graphs…