-
Is wrapping Traverson a good practice? Its due to the fact that I would like to call refresh token route if current Bearer token is expired. And after refreshed, Id like to set new token to the header…
-
In my app config I've the following default interceptor
``` js
RestangularProvider.setBaseUrl("/api/model");
RestangularProvider.addResponseInterceptor(function (data, operation, what, url, resp…
-
### Describe the problem that you experienced
When performing a search query on angular.dev, the results often do not show the pages with the highest relevancy for that term.
Example: Search for `…
-
We could simplify our API to consider `type: 'local'` by default when creating an interceptor, making `type` an optional parameter.
Pros:
- Simpler to get started;
- Less mental overhead of compa…
-
```typescript
import createAuthRefreshInterceptor from 'axios-auth-refresh';
const authToken = Buffer.from(`${aws.production!.outbrain.user}:${aws.production!.outbrain.password}`).toString('base64…
-
## Bug Description
Most built-in handlers check if the handler passed is valid (or assume it is) instead of letting the dispatch function handle everything by default. This means, for example, that…
-
### Describe the bug
Hi there. I'm using [`nock@beta`](https://github.com/nock/nock/tree/beta) and it is no longer able to intercept requests from this library when using the default Node.js `httpC…
-
```
The elevator pitch - give classes a hook to introspect a type at injector
creation time. Then
whenever an instance of that type is instantiated, the classes get a callback.
This can be used to …
-
```
The elevator pitch - give classes a hook to introspect a type at injector
creation time. Then
whenever an instance of that type is instantiated, the classes get a callback.
This can be used to …
-
Allow Brave Spans to be triggered via interceptors.