You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[@apimatic/schema](packages/schema)|[](https://www.npmjs.com/package/@apimatic/schema)| Validate and transform data using schema definitions. |
|[@apimatic/schema](packages/schema)|[](https://www.npmjs.com/package/@apimatic/schema)| Validate and transform data using schema definitions. |
17
17
|[@apimatic/authentication-adapters](packages/authentication-adapters)|[](https://www.npmjs.com/package/@apimatic/authentication-adapters)| Provides pluggable adapters for different authentication schemes. |
18
-
|[@apimatic/axios-client-adapter](packages/axios-client-adapter)|[](https://www.npmjs.com/package/@apimatic/axios-client-adapter)| Axios HTTP Client adapter which can be plugged into @apimatic/core package. |
19
-
|[@apimatic/convert-to-stream](packages/convert-to-stream)|[](https://www.npmjs.com/package/@apimatic/convert-to-stream)| Converts data into streams/blobs. |
20
-
|[@apimatic/core](packages/core)|[](https://www.npmjs.com/package/@apimatic/core)| Provides core http logic of request building, response handling and validation and using api error classes |
21
-
|[@apimatic/core-interfaces](packages/core-interfaces)|[](https://www.npmjs.com/package/@apimatic/core-interfaces)| Abstraction layer for @apimatic/core. |
22
-
|[@apimatic/file-wrapper](packages/file-wrapper)|[](https://www.npmjs.com/package/@apimatic/file-wrapper)| Wrapper around the file types and their utilities. |
23
-
|[@apimatic/http-headers](packages/http-headers)|[](https://www.npmjs.com/package/@apimatic/http-headers)| HTTP Headers utilities for apimatic-js-runtime libraries. |
24
-
|[@apimatic/http-query](packages/http-query)|[](https://www.npmjs.com/package/@apimatic/http-query)| HTTP Query utilities for apimatic-js-runtime libraries |
|[@apimatic/xml-adapter](packages/xml-adapter)|[](https://www.npmjs.com/package/@apimatic/xml-adapter)| Provides XML serialization and deserialization utilities for apimatic-js-runtime libraries. |
27
-
|[@apimatic/test-utilities](packages/test-utilities)|[](https://www.npmjs.com/package/@apimatic/test-utilities)| Provides assertion utilities for testing api calls. It can be plugged in as dev dependency to any library. |
28
-
|[@apimatic/pagination](packages/pagination)|[](https://www.npmjs.com/package/@apimatic/pagination)| Provides utilities to handle paginated API responses, including support for asynchronous iteration over pages or items. |
18
+
|[@apimatic/axios-client-adapter](packages/axios-client-adapter)|[](https://www.npmjs.com/package/@apimatic/axios-client-adapter)| Axios HTTP Client adapter which can be plugged into @apimatic/core package. |
19
+
|[@apimatic/convert-to-stream](packages/convert-to-stream)|[](https://www.npmjs.com/package/@apimatic/convert-to-stream)| Converts data into streams/blobs. |
20
+
|[@apimatic/core](packages/core)|[](https://www.npmjs.com/package/@apimatic/core)| Provides core http logic of request building, response handling and validation and using api error classes |
21
+
|[@apimatic/core-interfaces](packages/core-interfaces)|[](https://www.npmjs.com/package/@apimatic/core-interfaces)| Abstraction layer for @apimatic/core. |
22
+
|[@apimatic/file-wrapper](packages/file-wrapper)|[](https://www.npmjs.com/package/@apimatic/file-wrapper)| Wrapper around the file types and their utilities. |
23
+
|[@apimatic/http-headers](packages/http-headers)|[](https://www.npmjs.com/package/@apimatic/http-headers)| HTTP Headers utilities for apimatic-js-runtime libraries. |
24
+
|[@apimatic/http-query](packages/http-query)|[](https://www.npmjs.com/package/@apimatic/http-query)| HTTP Query utilities for apimatic-js-runtime libraries |
|[@apimatic/xml-adapter](packages/xml-adapter)|[](https://www.npmjs.com/package/@apimatic/xml-adapter)| Provides XML serialization and deserialization utilities for apimatic-js-runtime libraries. |
27
+
|[@apimatic/test-utilities](packages/test-utilities)|[](https://www.npmjs.com/package/@apimatic/test-utilities)| Provides assertion utilities for testing api calls. It can be plugged in as dev dependency to any library. |
28
+
|[@apimatic/pagination](packages/pagination)|[](https://www.npmjs.com/package/@apimatic/pagination)| Provides utilities to handle paginated API responses, including support for asynchronous iteration over pages or items. |
29
+
|[@apimatic/proxy](packages/proxy)|[](https://www.npmjs.com/package/@apimatic/proxy)| Provides proxy configuration utilities for HTTP clients. |
Provides utility functions to generate HTTP and HTTPS proxy agents based on configuration. It supports conditional behavior for both Node.js and browser environments.
6
+
7
+
The exported helper functions and interfaces include:
8
+
9
+
1.**createProxyAgents**: Creates and returns HTTP and HTTPS proxy agents using provided proxy settings. In browser environments, this function returns undefined with a warning, as proxy agents are not supported in browsers.
10
+
2.**ProxySettings**: Defines the proxy configuration, including a required address and optional port and authentication credentials.
11
+
12
+
This library is used by JavaScript SDKs generated by the [APIMatic Code Generator](http://www.apimatic.io).
13
+
14
+
## Builds
15
+
16
+
The following environments are supported:
17
+
18
+
1. Node.js v14+ and v16+
19
+
1. Bundlers like Rollup or Webpack
20
+
1. Web browsers
21
+
22
+
To support multiple environments, we export various builds:
| Modern Browsers (supports ESM and uses modern JS) |*Use script: `https://unpkg.com/@apimatic/proxy@VERSION/umd/schema.esm.js`|
30
+
31
+
_* Don't forget to replace VERSION with the version number._
32
+
33
+
**Note**: We discourage importing files or modules directly from the package. These are likely to change in the future and should not be considered stable.
0 commit comments