File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ const { AdobeState } = require('./AdobeState')
4242 * to use ootb credentials to access the state management service. OpenWhisk
4343 * namespace and auth can also be passed through environment variables:
4444 * `__OW_NAMESPACE` and `__OW_API_KEY`
45+ * @param {string } [config.region] optional region to use, accepted values: `amer` (default), `emea`
4546 * @returns {Promise<AdobeState> } An AdobeState instance
4647 */
4748async function init ( config = { } ) {
Original file line number Diff line number Diff line change @@ -158,9 +158,11 @@ export type OpenWhiskCredentials = {
158158 * to use ootb credentials to access the state management service. OpenWhisk
159159 * namespace and auth can also be passed through environment variables:
160160 * `__OW_NAMESPACE` and `__OW_API_KEY`
161+ * @param [config.region] - optional region to use, accepted values: `amer` (default), `emea`
161162 * @returns An AdobeState instance
162163 */
163164export function init ( config ?: {
164165 ow ?: OpenWhiskCredentials ;
166+ region ?: string ;
165167} ) : Promise < AdobeState > ;
166168
You can’t perform that action at this time.
0 commit comments