1.4.5 • Published 1 month ago

@commercelayer/organization-config v1.4.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

organization-config

Organization config utils for extracting config by market.

How to use

pnpm add @commercelayer/organization-config

you can use the function getConfig to manipulate the configuration settings of your organization.

getConfig({
  jsonConfig: organizationConfig,
  market: 'market:id:hashid',
  params: { lang: 'en', orderId: 'your-order-id' }
})

The function is going to manipulate the organization configuration, extract the mfe key and merge default configuration with overrides for the market used.

1.4.5

1 month ago

1.4.4

1 month ago

1.4.3

1 month ago

1.4.2

2 months ago

1.4.1

2 months ago

1.4.0

2 months ago