API Submodule Changes
API namespace changes
Naming changes
The modules under the API namespace have had their names singularized , meaning "hapiApi.contracts", for example, became "hapiApi.contract".
Structural changes
The following are no longer available:
// the name of the module "campaigns" got also changed to singular "campaign"
hapiApi.campaigns.basePath
hapiApi.campaigns.headers
hapiApi.campaigns.setBasePath
hapiApi.campaigns.setHeadershapiApi.taxonomy
is no longer available.
The following are now available:
hapiApi.baseURL
hapiApi.setBaseURL()
hapiApi.contract.baseURL
hapiApi.contract.setBaseURL
hapiApi.contract.configs
Addition of the ability to disable default JWT headers:
HAPI Elements uses JWT authentication to communicate with HAPI Backend services. But in case you want to use HAPI Elements with your backend integration, documented here. Your backend already uses a basic authentication method; then you can disable the default JWT headers by reading the Disabling JWT Authorization header section.