@camstack/core 0.1.20 → 0.1.22

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/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-Bq2XO-Mg.mjs
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().optional(),
4607
- lastUsedAt: z.number().optional(),
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()