@arkstack/common 0.16.1 → 0.16.3

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.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { _ as ConfigLoader, a as env, c as nodeEnv, d as resolveRuntimeDir, f as resolveRuntimeModule, g as CONFIG_KEY, h as envLoader, i as discoverCommands, l as outputDir, m as EnvLoader, n as appUrl, o as importFile, p as toOutputPath, r as config, s as interopDefault, t as appKey, u as rebuildOutput, v as configLoader } from "./system-BRlEuM_u.js";
2
- import { _ as Hash, c as abortIf, d as initializeGlobalContext, f as isClass, g as Exception, h as AppException, l as assertFound, m as RequestException, p as perPage, s as abort, u as getModel, v as Encryption } from "./utils-BbOOTGzA.js";
2
+ import { _ as Hash, c as abortIf, d as initializeGlobalContext, f as isClass, g as Exception, h as AppException, l as assertFound, m as RequestException, p as perPage, s as abort, u as getModel, v as Encryption } from "./utils-2PCLsYCK.js";
3
3
  import { Hook as Hook$1 } from "@arkstack/foundry";
4
4
  import { Arkstack } from "@arkstack/contract";
5
5
  import { str } from "@h3ravel/support";
@@ -1,2 +1,2 @@
1
- import { _ as Hash, a as use, c as abortIf, d as initializeGlobalContext, f as isClass, i as trait, l as assertFound, n as crc32, o as uses, p as perPage, r as getTraitMethods, s as abort, t as callTraitMethods, u as getModel, v as Encryption } from "../utils-BbOOTGzA.js";
1
+ import { _ as Hash, a as use, c as abortIf, d as initializeGlobalContext, f as isClass, i as trait, l as assertFound, n as crc32, o as uses, p as perPage, r as getTraitMethods, s as abort, t as callTraitMethods, u as getModel, v as Encryption } from "../utils-2PCLsYCK.js";
2
2
  export { Encryption, Hash, abort, abortIf, assertFound, callTraitMethods, crc32, getModel, getTraitMethods, initializeGlobalContext, isClass, perPage, trait, use, uses };
@@ -193,7 +193,7 @@ async function getModel(modelName) {
193
193
  }
194
194
  const initializeGlobalContext = async ({ Request, Response, Session } = {}) => {
195
195
  try {
196
- const { Request: Req, Response: Res, Session: Ses } = await import("@arkstack/http");
196
+ const { Request: Req, Response: Res, Session: Ses } = await import("./dist--I3ELzrl.js");
197
197
  Session ??= new Ses();
198
198
  Request ??= new Req();
199
199
  Response ??= new Res();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkstack/common",
3
- "version": "0.16.1",
3
+ "version": "0.16.3",
4
4
  "type": "module",
5
5
  "description": "Core utilities, primitives, and shared infrastructure for the Arkstack ecosystem.",
6
6
  "homepage": "https://arkstack.toneflix.net",
@@ -46,8 +46,8 @@
46
46
  "peerDependencies": {
47
47
  "@h3ravel/support": "^2.2.1",
48
48
  "arkormx": "^2.10.1",
49
- "@arkstack/foundry": "^0.16.1",
50
- "@arkstack/contract": "^0.16.1"
49
+ "@arkstack/contract": "^0.16.3",
50
+ "@arkstack/foundry": "^0.16.3"
51
51
  },
52
52
  "optionalDependencies": {
53
53
  "@faker-js/faker": "^10.4.0"
@@ -57,6 +57,11 @@
57
57
  "optional": true
58
58
  }
59
59
  },
60
+ "inlinedDependencies": {
61
+ "clear-router": "2.9.0",
62
+ "dayjs": "1.11.20",
63
+ "kanun": "1.2.0"
64
+ },
60
65
  "scripts": {
61
66
  "build": "tsdown --config-loader unrun",
62
67
  "test": "vitest",