@aura-stack/auth 0.1.0-rc.9 → 0.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/@types/index.cjs +15 -15
- package/dist/@types/index.d.ts +7 -31
- package/dist/@types/index.js +1 -1
- package/dist/@types/router.d.cjs +1 -1
- package/dist/@types/router.d.d.ts +7 -7
- package/dist/@types/utility.cjs +15 -15
- package/dist/@types/utility.d.ts +6 -6
- package/dist/@types/utility.js +1 -1
- package/dist/actions/callback/access-token.cjs +143 -143
- package/dist/actions/callback/access-token.d.ts +15 -20
- package/dist/actions/callback/access-token.js +8 -4
- package/dist/actions/callback/callback.cjs +437 -455
- package/dist/actions/callback/callback.d.ts +10 -12
- package/dist/actions/callback/callback.js +16 -12
- package/dist/actions/callback/userinfo.cjs +131 -134
- package/dist/actions/callback/userinfo.d.ts +9 -9
- package/dist/actions/callback/userinfo.js +10 -6
- package/dist/actions/csrfToken/csrfToken.cjs +162 -171
- package/dist/actions/csrfToken/csrfToken.d.ts +3 -3
- package/dist/actions/csrfToken/csrfToken.js +12 -8
- package/dist/actions/index.cjs +746 -773
- package/dist/actions/index.d.ts +13 -13
- package/dist/actions/index.js +34 -18
- package/dist/actions/session/session.cjs +149 -155
- package/dist/actions/session/session.d.ts +3 -3
- package/dist/actions/session/session.js +11 -7
- package/dist/actions/signIn/authorization.cjs +231 -249
- package/dist/actions/signIn/authorization.d.ts +12 -18
- package/dist/actions/signIn/authorization.js +16 -6
- package/dist/actions/signIn/signIn.cjs +396 -423
- package/dist/actions/signIn/signIn.d.ts +10 -10
- package/dist/actions/signIn/signIn.js +14 -10
- package/dist/actions/signOut/signOut.cjs +417 -440
- package/dist/actions/signOut/signOut.d.ts +3 -3
- package/dist/actions/signOut/signOut.js +15 -11
- package/dist/assert.cjs +35 -36
- package/dist/assert.d.ts +4 -4
- package/dist/assert.js +10 -2
- package/dist/chunk-256KIVJL.js +85 -96
- package/dist/chunk-42XB3YCW.js +19 -17
- package/dist/chunk-6SM22VVJ.js +13 -10
- package/dist/chunk-CAKJT3KS.js +84 -69
- package/dist/chunk-E3OXBRYF.js +19 -17
- package/dist/chunk-EBPE35JT.js +28 -26
- package/dist/chunk-FIPU4MLT.js +18 -16
- package/dist/chunk-FJUDBLCP.js +50 -43
- package/dist/chunk-FKRDCWBF.js +19 -17
- package/dist/chunk-GZU3RBTB.js +51 -40
- package/dist/chunk-HGJ4TXY4.js +132 -100
- package/dist/chunk-HMRKN75I.js +63 -63
- package/dist/chunk-IKHPGFCW.js +11 -9
- package/dist/chunk-JAPMIE6S.js +7 -5
- package/dist/chunk-KRNOMBXQ.js +19 -17
- package/dist/chunk-LLR722CL.js +91 -70
- package/dist/chunk-RLT4RFKV.js +39 -30
- package/dist/chunk-SJPDVKUS.js +107 -88
- package/dist/chunk-SMQO5WD7.js +26 -16
- package/dist/chunk-STHEPPUZ.js +8 -6
- package/dist/chunk-UJJ7R56J.js +47 -37
- package/dist/chunk-UTDLUEEG.js +27 -21
- package/dist/chunk-VFTYH33W.js +54 -37
- package/dist/chunk-XXJKNKGQ.js +33 -23
- package/dist/chunk-ZV4BH47P.js +132 -134
- package/dist/cookie.cjs +169 -175
- package/dist/cookie.d.ts +23 -51
- package/dist/cookie.js +34 -34
- package/dist/error.cjs +75 -75
- package/dist/error.d.ts +30 -30
- package/dist/error.js +15 -8
- package/dist/headers.cjs +28 -28
- package/dist/headers.d.ts +2 -2
- package/dist/headers.js +6 -2
- package/dist/index-DpfbvTZ_.d.ts +249 -298
- package/dist/index.cjs +936 -969
- package/dist/index.d.ts +10 -31
- package/dist/index.js +70 -50
- package/dist/jose.cjs +61 -64
- package/dist/jose.d.ts +8 -8
- package/dist/jose.js +9 -5
- package/dist/oauth/bitbucket.cjs +38 -38
- package/dist/oauth/bitbucket.d.ts +7 -7
- package/dist/oauth/bitbucket.js +6 -2
- package/dist/oauth/discord.cjs +48 -48
- package/dist/oauth/discord.d.ts +7 -7
- package/dist/oauth/discord.js +6 -2
- package/dist/oauth/figma.cjs +39 -39
- package/dist/oauth/figma.d.ts +7 -7
- package/dist/oauth/figma.js +6 -2
- package/dist/oauth/github.cjs +31 -31
- package/dist/oauth/github.d.ts +7 -7
- package/dist/oauth/github.js +6 -2
- package/dist/oauth/gitlab.cjs +39 -39
- package/dist/oauth/gitlab.d.ts +7 -7
- package/dist/oauth/gitlab.js +6 -2
- package/dist/oauth/index.cjs +180 -180
- package/dist/oauth/index.d.ts +7 -26
- package/dist/oauth/index.js +36 -9
- package/dist/oauth/spotify.cjs +39 -39
- package/dist/oauth/spotify.d.ts +7 -7
- package/dist/oauth/spotify.js +6 -2
- package/dist/oauth/x.cjs +39 -39
- package/dist/oauth/x.d.ts +7 -7
- package/dist/oauth/x.js +6 -2
- package/dist/response.cjs +27 -27
- package/dist/response.d.ts +2 -2
- package/dist/response.js +6 -2
- package/dist/schemas.cjs +91 -91
- package/dist/schemas.d.ts +93 -126
- package/dist/schemas.js +18 -18
- package/dist/secure.cjs +95 -98
- package/dist/secure.d.ts +17 -17
- package/dist/secure.js +18 -4
- package/dist/utils.cjs +119 -132
- package/dist/utils.d.ts +11 -26
- package/dist/utils.js +21 -21
- package/package.json +2 -2
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import * as _aura_stack_router from
|
|
2
|
-
import { A as AuthRuntimeConfig } from
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
1
|
+
import * as _aura_stack_router from '@aura-stack/router';
|
|
2
|
+
import { A as AuthRuntimeConfig } from '../../index-DpfbvTZ_.js';
|
|
3
|
+
import 'zod/v4';
|
|
4
|
+
import '@aura-stack/jose/jose';
|
|
5
|
+
import '../../schemas.js';
|
|
6
|
+
import 'zod/v4/core';
|
|
7
|
+
import 'cookie';
|
|
8
|
+
import '../../@types/utility.js';
|
|
9
9
|
|
|
10
|
-
declare const callbackAction: (
|
|
11
|
-
oauth: AuthRuntimeConfig["oauth"]
|
|
12
|
-
) => _aura_stack_router.RouteEndpoint<"GET", "/callback/:oauth", {}>
|
|
10
|
+
declare const callbackAction: (oauth: AuthRuntimeConfig["oauth"]) => _aura_stack_router.RouteEndpoint<"GET", "/callback/:oauth", {}>;
|
|
13
11
|
|
|
14
|
-
export { callbackAction }
|
|
12
|
+
export { callbackAction };
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
|
|
1
|
+
import {
|
|
2
|
+
callbackAction
|
|
3
|
+
} from "../../chunk-HGJ4TXY4.js";
|
|
4
|
+
import "../../chunk-RLT4RFKV.js";
|
|
5
|
+
import "../../chunk-UJJ7R56J.js";
|
|
6
|
+
import "../../chunk-ZV4BH47P.js";
|
|
7
|
+
import "../../chunk-6SM22VVJ.js";
|
|
8
|
+
import "../../chunk-STHEPPUZ.js";
|
|
9
|
+
import "../../chunk-GZU3RBTB.js";
|
|
10
|
+
import "../../chunk-256KIVJL.js";
|
|
11
|
+
import "../../chunk-FJUDBLCP.js";
|
|
12
|
+
import "../../chunk-JAPMIE6S.js";
|
|
13
|
+
import "../../chunk-HMRKN75I.js";
|
|
14
|
+
export {
|
|
15
|
+
callbackAction
|
|
16
|
+
};
|
|
@@ -1,168 +1,165 @@
|
|
|
1
|
-
"use strict"
|
|
2
|
-
var __create = Object.create
|
|
3
|
-
var __defProp = Object.defineProperty
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
9
|
-
|
|
10
|
-
}
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
11
12
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
)
|
|
29
|
-
)
|
|
30
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod)
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
31
29
|
|
|
32
30
|
// src/actions/callback/userinfo.ts
|
|
33
|
-
var userinfo_exports = {}
|
|
31
|
+
var userinfo_exports = {};
|
|
34
32
|
__export(userinfo_exports, {
|
|
35
|
-
|
|
36
|
-
})
|
|
37
|
-
module.exports = __toCommonJS(userinfo_exports)
|
|
33
|
+
getUserInfo: () => getUserInfo
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(userinfo_exports);
|
|
38
36
|
|
|
39
37
|
// src/secure.ts
|
|
40
|
-
var import_node_crypto = __toESM(require("crypto"), 1)
|
|
38
|
+
var import_node_crypto = __toESM(require("crypto"), 1);
|
|
41
39
|
|
|
42
40
|
// src/utils.ts
|
|
43
|
-
var import_router = require("@aura-stack/router")
|
|
41
|
+
var import_router = require("@aura-stack/router");
|
|
44
42
|
|
|
45
43
|
// src/error.ts
|
|
46
44
|
var AuthError = class extends Error {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
45
|
+
constructor(type, message) {
|
|
46
|
+
super(message);
|
|
47
|
+
this.type = type;
|
|
48
|
+
this.name = "AuthError";
|
|
49
|
+
}
|
|
50
|
+
};
|
|
53
51
|
var isAuthError = (error) => {
|
|
54
|
-
|
|
55
|
-
}
|
|
52
|
+
return error instanceof AuthError;
|
|
53
|
+
};
|
|
56
54
|
var throwAuthError = (error, message) => {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
throw new AuthError("invalid_request", error.message ?? message)
|
|
55
|
+
if (error instanceof Error) {
|
|
56
|
+
if (isAuthError(error)) {
|
|
57
|
+
throw error;
|
|
62
58
|
}
|
|
63
|
-
|
|
59
|
+
throw new AuthError("invalid_request", error.message ?? message);
|
|
60
|
+
}
|
|
61
|
+
};
|
|
64
62
|
|
|
65
63
|
// src/secure.ts
|
|
66
64
|
var generateSecure = (length = 32) => {
|
|
67
|
-
|
|
68
|
-
}
|
|
65
|
+
return import_node_crypto.default.randomBytes(length).toString("base64url");
|
|
66
|
+
};
|
|
69
67
|
|
|
70
68
|
// src/schemas.ts
|
|
71
|
-
var import_v4 = require("zod/v4")
|
|
69
|
+
var import_v4 = require("zod/v4");
|
|
72
70
|
var OAuthProviderConfigSchema = (0, import_v4.object)({
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
})
|
|
71
|
+
authorizeURL: (0, import_v4.url)(),
|
|
72
|
+
accessToken: (0, import_v4.url)(),
|
|
73
|
+
scope: (0, import_v4.string)().optional(),
|
|
74
|
+
userInfo: (0, import_v4.url)(),
|
|
75
|
+
responseType: (0, import_v4.enum)(["code", "token", "id_token"]),
|
|
76
|
+
clientId: (0, import_v4.string)(),
|
|
77
|
+
clientSecret: (0, import_v4.string)()
|
|
78
|
+
});
|
|
81
79
|
var OAuthAuthorization = OAuthProviderConfigSchema.extend({
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
})
|
|
80
|
+
redirectURI: (0, import_v4.string)(),
|
|
81
|
+
state: (0, import_v4.string)(),
|
|
82
|
+
codeChallenge: (0, import_v4.string)(),
|
|
83
|
+
codeChallengeMethod: (0, import_v4.enum)(["plain", "S256"])
|
|
84
|
+
});
|
|
87
85
|
var OAuthAuthorizationResponse = (0, import_v4.object)({
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
})
|
|
86
|
+
state: (0, import_v4.string)(),
|
|
87
|
+
code: (0, import_v4.string)()
|
|
88
|
+
});
|
|
91
89
|
var OAuthAuthorizationErrorResponse = (0, import_v4.object)({
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
})
|
|
90
|
+
error: (0, import_v4.enum)([
|
|
91
|
+
"invalid_request",
|
|
92
|
+
"unauthorized_client",
|
|
93
|
+
"access_denied",
|
|
94
|
+
"unsupported_response_type",
|
|
95
|
+
"invalid_scope",
|
|
96
|
+
"server_error",
|
|
97
|
+
"temporarily_unavailable"
|
|
98
|
+
]),
|
|
99
|
+
error_description: (0, import_v4.string)().optional(),
|
|
100
|
+
error_uri: (0, import_v4.string)().optional(),
|
|
101
|
+
state: (0, import_v4.string)()
|
|
102
|
+
});
|
|
105
103
|
var OAuthAccessToken = OAuthProviderConfigSchema.extend({
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
})
|
|
104
|
+
redirectURI: (0, import_v4.string)(),
|
|
105
|
+
code: (0, import_v4.string)(),
|
|
106
|
+
codeVerifier: (0, import_v4.string)().min(43).max(128)
|
|
107
|
+
});
|
|
110
108
|
var OAuthAccessTokenResponse = (0, import_v4.object)({
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
})
|
|
109
|
+
access_token: (0, import_v4.string)(),
|
|
110
|
+
token_type: (0, import_v4.string)(),
|
|
111
|
+
expires_in: (0, import_v4.number)().optional(),
|
|
112
|
+
refresh_token: (0, import_v4.string)().optional(),
|
|
113
|
+
scope: (0, import_v4.string)().optional()
|
|
114
|
+
});
|
|
117
115
|
var OAuthAccessTokenErrorResponse = (0, import_v4.object)({
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
})
|
|
116
|
+
error: (0, import_v4.enum)([
|
|
117
|
+
"invalid_request",
|
|
118
|
+
"invalid_client",
|
|
119
|
+
"invalid_grant",
|
|
120
|
+
"unauthorized_client",
|
|
121
|
+
"unsupported_grant_type",
|
|
122
|
+
"invalid_scope"
|
|
123
|
+
]),
|
|
124
|
+
error_description: (0, import_v4.string)().optional(),
|
|
125
|
+
error_uri: (0, import_v4.string)().optional()
|
|
126
|
+
});
|
|
129
127
|
var OAuthErrorResponse = (0, import_v4.object)({
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
})
|
|
128
|
+
error: (0, import_v4.string)(),
|
|
129
|
+
error_description: (0, import_v4.string)().optional()
|
|
130
|
+
});
|
|
133
131
|
|
|
134
132
|
// src/actions/callback/userinfo.ts
|
|
135
133
|
var getDefaultUserInfo = (profile) => {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
134
|
+
const sub = generateSecure(16);
|
|
135
|
+
return {
|
|
136
|
+
sub: profile?.id ?? profile?.sub ?? sub,
|
|
137
|
+
email: profile?.email,
|
|
138
|
+
name: profile?.name ?? profile?.username ?? profile?.nickname,
|
|
139
|
+
image: profile?.image ?? profile?.picture
|
|
140
|
+
};
|
|
141
|
+
};
|
|
144
142
|
var getUserInfo = async (oauthConfig, accessToken) => {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
return oauthConfig?.profile ? oauthConfig.profile(json) : getDefaultUserInfo(json)
|
|
160
|
-
} catch (error) {
|
|
161
|
-
throw throwAuthError(error, "Failed to retrieve userinfo")
|
|
143
|
+
const userinfoEndpoint = oauthConfig.userInfo;
|
|
144
|
+
try {
|
|
145
|
+
const response = await fetch(userinfoEndpoint, {
|
|
146
|
+
method: "GET",
|
|
147
|
+
headers: {
|
|
148
|
+
Accept: "application/json",
|
|
149
|
+
Authorization: `Bearer ${accessToken}`
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
const json = await response.json();
|
|
153
|
+
const { success, data } = OAuthErrorResponse.safeParse(json);
|
|
154
|
+
if (success) {
|
|
155
|
+
throw new AuthError(data.error, data?.error_description ?? "An error occurred while fetching user information.");
|
|
162
156
|
}
|
|
163
|
-
|
|
157
|
+
return oauthConfig?.profile ? oauthConfig.profile(json) : getDefaultUserInfo(json);
|
|
158
|
+
} catch (error) {
|
|
159
|
+
throw throwAuthError(error, "Failed to retrieve userinfo");
|
|
160
|
+
}
|
|
161
|
+
};
|
|
164
162
|
// Annotate the CommonJS export names for ESM import in node:
|
|
165
|
-
0 &&
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
})
|
|
163
|
+
0 && (module.exports = {
|
|
164
|
+
getUserInfo
|
|
165
|
+
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { f as OAuthProviderCredentials, U as User } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
1
|
+
import { f as OAuthProviderCredentials, U as User } from '../../index-DpfbvTZ_.js';
|
|
2
|
+
import 'zod/v4';
|
|
3
|
+
import '@aura-stack/jose/jose';
|
|
4
|
+
import '../../schemas.js';
|
|
5
|
+
import 'zod/v4/core';
|
|
6
|
+
import 'cookie';
|
|
7
|
+
import '../../@types/utility.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Get user information from the OAuth provider's userinfo endpoint using the provided access token.
|
|
@@ -15,6 +15,6 @@ import "../../@types/utility.js"
|
|
|
15
15
|
* @param accessToken - Access Token to access the userinfo endpoint
|
|
16
16
|
* @returns The user information retrieved from the userinfo endpoint
|
|
17
17
|
*/
|
|
18
|
-
declare const getUserInfo: (oauthConfig: OAuthProviderCredentials, accessToken: string) => Promise<User
|
|
18
|
+
declare const getUserInfo: (oauthConfig: OAuthProviderCredentials, accessToken: string) => Promise<User>;
|
|
19
19
|
|
|
20
|
-
export { getUserInfo }
|
|
20
|
+
export { getUserInfo };
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
getUserInfo
|
|
3
|
+
} from "../../chunk-RLT4RFKV.js";
|
|
4
|
+
import "../../chunk-GZU3RBTB.js";
|
|
5
|
+
import "../../chunk-256KIVJL.js";
|
|
6
|
+
import "../../chunk-FJUDBLCP.js";
|
|
7
|
+
import "../../chunk-HMRKN75I.js";
|
|
8
|
+
export {
|
|
9
|
+
getUserInfo
|
|
10
|
+
};
|