dn-react-router-toolkit 0.3.6 → 0.3.7
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/api/create_handler.js +2 -0
- package/dist/api/create_handler.mjs +2 -0
- package/dist/api/index.js +2 -0
- package/dist/api/index.mjs +2 -0
- package/dist/auth/index.js +2 -0
- package/dist/auth/index.mjs +2 -0
- package/dist/auth/with_auth.js +2 -0
- package/dist/auth/with_auth.mjs +2 -0
- package/package.json +1 -1
|
@@ -77,6 +77,7 @@ function createWithAuthHandler({
|
|
|
77
77
|
headers: mergedHeaders
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
+
headers?.set("Content-Type", "application/json");
|
|
80
81
|
return new Response(
|
|
81
82
|
JSON.stringify({
|
|
82
83
|
AUTH: auth,
|
|
@@ -86,6 +87,7 @@ function createWithAuthHandler({
|
|
|
86
87
|
{ status: 200, headers }
|
|
87
88
|
);
|
|
88
89
|
}
|
|
90
|
+
headers?.set("Content-Type", "application/json");
|
|
89
91
|
return new Response(JSON.stringify(res), { status: 200, headers });
|
|
90
92
|
};
|
|
91
93
|
const accessToken = await authService.getAccessTokenFromRequest(
|
|
@@ -81,6 +81,7 @@ function createWithAuthHandler({
|
|
|
81
81
|
headers: mergedHeaders
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
|
+
headers?.set("Content-Type", "application/json");
|
|
84
85
|
return new Response(
|
|
85
86
|
JSON.stringify({
|
|
86
87
|
AUTH: auth,
|
|
@@ -90,6 +91,7 @@ function createWithAuthHandler({
|
|
|
90
91
|
{ status: 200, headers }
|
|
91
92
|
);
|
|
92
93
|
}
|
|
94
|
+
headers?.set("Content-Type", "application/json");
|
|
93
95
|
return new Response(JSON.stringify(res), { status: 200, headers });
|
|
94
96
|
};
|
|
95
97
|
const accessToken = await authService.getAccessTokenFromRequest(
|
package/dist/api/index.js
CHANGED
|
@@ -77,6 +77,7 @@ function createWithAuthHandler({
|
|
|
77
77
|
headers: mergedHeaders
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
+
headers?.set("Content-Type", "application/json");
|
|
80
81
|
return new Response(
|
|
81
82
|
JSON.stringify({
|
|
82
83
|
AUTH: auth,
|
|
@@ -86,6 +87,7 @@ function createWithAuthHandler({
|
|
|
86
87
|
{ status: 200, headers }
|
|
87
88
|
);
|
|
88
89
|
}
|
|
90
|
+
headers?.set("Content-Type", "application/json");
|
|
89
91
|
return new Response(JSON.stringify(res), { status: 200, headers });
|
|
90
92
|
};
|
|
91
93
|
const accessToken = await authService.getAccessTokenFromRequest(
|
package/dist/api/index.mjs
CHANGED
|
@@ -81,6 +81,7 @@ function createWithAuthHandler({
|
|
|
81
81
|
headers: mergedHeaders
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
|
+
headers?.set("Content-Type", "application/json");
|
|
84
85
|
return new Response(
|
|
85
86
|
JSON.stringify({
|
|
86
87
|
AUTH: auth,
|
|
@@ -90,6 +91,7 @@ function createWithAuthHandler({
|
|
|
90
91
|
{ status: 200, headers }
|
|
91
92
|
);
|
|
92
93
|
}
|
|
94
|
+
headers?.set("Content-Type", "application/json");
|
|
93
95
|
return new Response(JSON.stringify(res), { status: 200, headers });
|
|
94
96
|
};
|
|
95
97
|
const accessToken = await authService.getAccessTokenFromRequest(
|
package/dist/auth/index.js
CHANGED
|
@@ -64,6 +64,7 @@ function createWithAuthHandler({
|
|
|
64
64
|
headers: mergedHeaders
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
+
headers?.set("Content-Type", "application/json");
|
|
67
68
|
return new Response(
|
|
68
69
|
JSON.stringify({
|
|
69
70
|
AUTH: auth,
|
|
@@ -73,6 +74,7 @@ function createWithAuthHandler({
|
|
|
73
74
|
{ status: 200, headers }
|
|
74
75
|
);
|
|
75
76
|
}
|
|
77
|
+
headers?.set("Content-Type", "application/json");
|
|
76
78
|
return new Response(JSON.stringify(res), { status: 200, headers });
|
|
77
79
|
};
|
|
78
80
|
const accessToken = await authService.getAccessTokenFromRequest(
|
package/dist/auth/index.mjs
CHANGED
|
@@ -38,6 +38,7 @@ function createWithAuthHandler({
|
|
|
38
38
|
headers: mergedHeaders
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
+
headers?.set("Content-Type", "application/json");
|
|
41
42
|
return new Response(
|
|
42
43
|
JSON.stringify({
|
|
43
44
|
AUTH: auth,
|
|
@@ -47,6 +48,7 @@ function createWithAuthHandler({
|
|
|
47
48
|
{ status: 200, headers }
|
|
48
49
|
);
|
|
49
50
|
}
|
|
51
|
+
headers?.set("Content-Type", "application/json");
|
|
50
52
|
return new Response(JSON.stringify(res), { status: 200, headers });
|
|
51
53
|
};
|
|
52
54
|
const accessToken = await authService.getAccessTokenFromRequest(
|
package/dist/auth/with_auth.js
CHANGED
|
@@ -59,6 +59,7 @@ function createWithAuthHandler({
|
|
|
59
59
|
headers: mergedHeaders
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
|
+
headers?.set("Content-Type", "application/json");
|
|
62
63
|
return new Response(
|
|
63
64
|
JSON.stringify({
|
|
64
65
|
AUTH: auth,
|
|
@@ -68,6 +69,7 @@ function createWithAuthHandler({
|
|
|
68
69
|
{ status: 200, headers }
|
|
69
70
|
);
|
|
70
71
|
}
|
|
72
|
+
headers?.set("Content-Type", "application/json");
|
|
71
73
|
return new Response(JSON.stringify(res), { status: 200, headers });
|
|
72
74
|
};
|
|
73
75
|
const accessToken = await authService.getAccessTokenFromRequest(
|
package/dist/auth/with_auth.mjs
CHANGED
|
@@ -35,6 +35,7 @@ function createWithAuthHandler({
|
|
|
35
35
|
headers: mergedHeaders
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
+
headers?.set("Content-Type", "application/json");
|
|
38
39
|
return new Response(
|
|
39
40
|
JSON.stringify({
|
|
40
41
|
AUTH: auth,
|
|
@@ -44,6 +45,7 @@ function createWithAuthHandler({
|
|
|
44
45
|
{ status: 200, headers }
|
|
45
46
|
);
|
|
46
47
|
}
|
|
48
|
+
headers?.set("Content-Type", "application/json");
|
|
47
49
|
return new Response(JSON.stringify(res), { status: 200, headers });
|
|
48
50
|
};
|
|
49
51
|
const accessToken = await authService.getAccessTokenFromRequest(
|