Closed meryllblanchet closed 2 years ago
Some thoughts:
@adobe/aio-lib-core-errors
see https://github.com/adobe/aio-lib-core-errors#static-errors
a. example https://github.com/adobe/aio-lib-campaign-standard/blob/master/src/SDKErrors.js
b. example https://github.com/adobe/aio-lib-campaign-standard/blob/516eea655b3fb297c7adc903d74aedb2e999707e/src/index.js#L796@adobe/aio-lib-core-logging
library like so https://github.com/adobe/aio-lib-campaign-standard/blob/516eea655b3fb297c7adc903d74aedb2e999707e/src/index.js#L19adobe/aio-lib-core-networking
library instead of cross-fetch
for retries with exponential backoff
a. example https://github.com/adobe/aio-lib-events/blob/a87498773a19bea0aa8a94d77d501b9a6376fc8b/src/index.js#L393@adobe/aio-lib-core-config
library to read the credentials
b. credentials are set via an .aio
, .env
file or config command aio config set my-key.my-sub-key my-value
Thanks @shazron ! @easingthemes are you good with these recommendations? Do you need some help?
All clear, thanks @shazron
As available at: https://github.com/adobe/aio-sdk-core
@shazron can guide @easingthemes if needed.