merchi_sdk_ts 1.0.72-test-a → 1.0.72-test-b
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/request.js +1 -0
- package/package.json +1 -1
- package/src/request.ts +1 -0
package/dist/request.js
CHANGED
|
@@ -48,6 +48,7 @@ export var version = 'v6';
|
|
|
48
48
|
export function backendFetch(baseUrl, resource, options) {
|
|
49
49
|
var e_1, _a;
|
|
50
50
|
var url = new URL(resource, baseUrl);
|
|
51
|
+
console.log(url, 'what is the url here?');
|
|
51
52
|
if (options && options.query) {
|
|
52
53
|
try {
|
|
53
54
|
for (var _b = __values(options.query), _c = _b.next(); !_c.done; _c = _b.next()) {
|
package/package.json
CHANGED
package/src/request.ts
CHANGED
|
@@ -27,6 +27,7 @@ export const version = 'v6';
|
|
|
27
27
|
|
|
28
28
|
export function backendFetch(baseUrl: string, resource: string, options?: RequestOptions) {
|
|
29
29
|
const url = new URL(resource, baseUrl);
|
|
30
|
+
console.log(url, 'what is the url here?');
|
|
30
31
|
if (options && options.query) {
|
|
31
32
|
for (const entry of options.query) {
|
|
32
33
|
url.searchParams.append(entry[0], entry[1]);
|