@chainlink/external-adapter-framework 0.21.3 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainlink/external-adapter-framework",
3
- "version": "0.21.3",
3
+ "version": "0.22.0",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -27,8 +27,8 @@ type HttpTransportGenerics = TransportGenerics & {
27
27
  /**
28
28
  * Structure containing the association between EA params and a provider request.
29
29
  */
30
- type ProviderRequestConfig<T extends HttpTransportGenerics> = {
31
- /** The input paramters for requests that will get responses from the request in this struct */
30
+ export type ProviderRequestConfig<T extends HttpTransportGenerics> = {
31
+ /** The input parameters for requests that will get responses from the request in this struct */
32
32
  params: T['Request']['Params'][];
33
33
  /** The request that will be sent to the data provider to fetch values for the params in this struct */
34
34
  request: AxiosRequestConfig<T['Provider']['RequestBody']>;
@@ -60,7 +60,7 @@ export interface WebSocketTransportConfig<T extends WebsocketTransportGenerics>
60
60
  * Helper struct type that will be used to pass types to the generic parameters of a Transport.
61
61
  * Extends the common TransportGenerics, adding Provider specific types for this WS endpoint.
62
62
  */
63
- type WebsocketTransportGenerics = TransportGenerics & {
63
+ export type WebsocketTransportGenerics = TransportGenerics & {
64
64
  /**
65
65
  * Type details for any provider specific interfaces.
66
66
  */