@rundit-sdk/embed 0.3.7 → 0.3.8-rc.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -865,6 +865,7 @@ async function parseResponse(response) {
|
|
|
865
865
|
}
|
|
866
866
|
|
|
867
867
|
function createRequester(options) {
|
|
868
|
+
|
|
868
869
|
const fetchImplementation = resolveFetch(options.fetch)
|
|
869
870
|
const baseUrl = normalizeBaseUrl(options.baseUrl || defaultBaseUrl)
|
|
870
871
|
const shouldBypassNgrokBrowserWarning = shouldSendNgrokBypassHeader(baseUrl)
|
|
@@ -882,6 +883,7 @@ function createRequester(options) {
|
|
|
882
883
|
|
|
883
884
|
const response = await fetchImplementation(url, {
|
|
884
885
|
method,
|
|
886
|
+
|
|
885
887
|
headers: requestHeaders,
|
|
886
888
|
body: hasBody ? JSON.stringify(body) : undefined,
|
|
887
889
|
signal,
|
|
@@ -900,6 +902,8 @@ function createRequester(options) {
|
|
|
900
902
|
}
|
|
901
903
|
}
|
|
902
904
|
|
|
905
|
+
|
|
906
|
+
|
|
903
907
|
function createProfilesNamespace(request) {
|
|
904
908
|
return {
|
|
905
909
|
getConfig: (query = {}, init = {}) => request({ method: "GET", path: "/profiles/config", pathParams: undefined, query: query, body: undefined, signal: init.signal }),
|