@fctc/interface-logic 3.0.8 → 3.1.0
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/hooks.js +1 -1
- package/dist/hooks.mjs +1 -1
- package/dist/provider.js +1 -1
- package/dist/provider.mjs +1 -1
- package/dist/services.js +1 -1
- package/dist/services.mjs +1 -1
- package/package.json +1 -1
package/dist/hooks.js
CHANGED
|
@@ -4270,7 +4270,7 @@ function useUserService() {
|
|
|
4270
4270
|
const getProfile = (0, import_react13.useCallback)(
|
|
4271
4271
|
async (path, service) => {
|
|
4272
4272
|
return env?.requests?.get(
|
|
4273
|
-
path
|
|
4273
|
+
path || "/userinfo" /* PROFILE_PATH */,
|
|
4274
4274
|
{
|
|
4275
4275
|
headers: {
|
|
4276
4276
|
"Content-Type": "application/x-www-form-urlencoded"
|
package/dist/hooks.mjs
CHANGED
|
@@ -4147,7 +4147,7 @@ function useUserService() {
|
|
|
4147
4147
|
const getProfile = useCallback9(
|
|
4148
4148
|
async (path, service) => {
|
|
4149
4149
|
return env?.requests?.get(
|
|
4150
|
-
path
|
|
4150
|
+
path || "/userinfo" /* PROFILE_PATH */,
|
|
4151
4151
|
{
|
|
4152
4152
|
headers: {
|
|
4153
4153
|
"Content-Type": "application/x-www-form-urlencoded"
|
package/dist/provider.js
CHANGED
|
@@ -4267,7 +4267,7 @@ function useUserService() {
|
|
|
4267
4267
|
const getProfile = (0, import_react9.useCallback)(
|
|
4268
4268
|
async (path, service) => {
|
|
4269
4269
|
return env?.requests?.get(
|
|
4270
|
-
path
|
|
4270
|
+
path || "/userinfo" /* PROFILE_PATH */,
|
|
4271
4271
|
{
|
|
4272
4272
|
headers: {
|
|
4273
4273
|
"Content-Type": "application/x-www-form-urlencoded"
|
package/dist/provider.mjs
CHANGED
|
@@ -4224,7 +4224,7 @@ function useUserService() {
|
|
|
4224
4224
|
const getProfile = useCallback8(
|
|
4225
4225
|
async (path, service) => {
|
|
4226
4226
|
return env?.requests?.get(
|
|
4227
|
-
path
|
|
4227
|
+
path || "/userinfo" /* PROFILE_PATH */,
|
|
4228
4228
|
{
|
|
4229
4229
|
headers: {
|
|
4230
4230
|
"Content-Type": "application/x-www-form-urlencoded"
|
package/dist/services.js
CHANGED
|
@@ -4426,7 +4426,7 @@ function useUserService() {
|
|
|
4426
4426
|
const getProfile = (0, import_react13.useCallback)(
|
|
4427
4427
|
async (path, service) => {
|
|
4428
4428
|
return env?.requests?.get(
|
|
4429
|
-
path
|
|
4429
|
+
path || "/userinfo" /* PROFILE_PATH */,
|
|
4430
4430
|
{
|
|
4431
4431
|
headers: {
|
|
4432
4432
|
"Content-Type": "application/x-www-form-urlencoded"
|
package/dist/services.mjs
CHANGED
|
@@ -4382,7 +4382,7 @@ function useUserService() {
|
|
|
4382
4382
|
const getProfile = useCallback9(
|
|
4383
4383
|
async (path, service) => {
|
|
4384
4384
|
return env?.requests?.get(
|
|
4385
|
-
path
|
|
4385
|
+
path || "/userinfo" /* PROFILE_PATH */,
|
|
4386
4386
|
{
|
|
4387
4387
|
headers: {
|
|
4388
4388
|
"Content-Type": "application/x-www-form-urlencoded"
|