@camstack/core 0.1.19 → 0.1.21
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/auth/auth-manager.d.ts +1 -16
- package/dist/auth/auth-manager.d.ts.map +1 -1
- package/dist/builtins/local-auth/local-auth.addon.d.ts.map +1 -1
- package/dist/builtins/local-auth/local-auth.addon.js +1 -23
- package/dist/builtins/local-auth/local-auth.addon.js.map +1 -1
- package/dist/builtins/local-auth/local-auth.addon.mjs +1 -23
- package/dist/builtins/local-auth/local-auth.addon.mjs.map +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -31,7 +31,7 @@ import { promisify } from "node:util";
|
|
|
31
31
|
import { errMsg, parseJsonObject } from "@camstack/types";
|
|
32
32
|
import * as vm from "node:vm";
|
|
33
33
|
import * as os from "node:os";
|
|
34
|
-
//#region ../types/dist/auth-records-
|
|
34
|
+
//#region ../types/dist/auth-records-DaPoK6Cr.mjs
|
|
35
35
|
var MODEL_FORMATS = [
|
|
36
36
|
"onnx",
|
|
37
37
|
"coreml",
|
|
@@ -4603,11 +4603,12 @@ var ScopedTokenSummarySchema = z.object({
|
|
|
4603
4603
|
name: z.string(),
|
|
4604
4604
|
tokenPrefix: z.string(),
|
|
4605
4605
|
scopes: z.array(TokenScopeSchema$1),
|
|
4606
|
-
expiresAt: z.number().
|
|
4607
|
-
lastUsedAt: z.number().
|
|
4606
|
+
expiresAt: z.number().nullish(),
|
|
4607
|
+
lastUsedAt: z.number().nullish(),
|
|
4608
4608
|
createdAt: z.number()
|
|
4609
4609
|
});
|
|
4610
4610
|
var CreateScopedTokenInputSchema = z.object({
|
|
4611
|
+
userId: z.string(),
|
|
4611
4612
|
name: z.string(),
|
|
4612
4613
|
scopes: z.array(TokenScopeSchema$1),
|
|
4613
4614
|
expiresAt: z.number().optional()
|
|
@@ -5133,8 +5134,8 @@ z.object({
|
|
|
5133
5134
|
tokenHash: z.string(),
|
|
5134
5135
|
tokenPrefix: z.string(),
|
|
5135
5136
|
scopes: z.array(TokenScopeSchema),
|
|
5136
|
-
expiresAt: z.number().
|
|
5137
|
-
lastUsedAt: z.number().
|
|
5137
|
+
expiresAt: z.number().nullish(),
|
|
5138
|
+
lastUsedAt: z.number().nullish(),
|
|
5138
5139
|
createdAt: z.number()
|
|
5139
5140
|
});
|
|
5140
5141
|
//#endregion
|