@arkstack/common 0.16.3 → 0.16.4
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-
|
|
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";
|
|
3
3
|
import { Hook as Hook$1 } from "@arkstack/foundry";
|
|
4
4
|
import { Arkstack } from "@arkstack/contract";
|
|
5
5
|
import { str } from "@h3ravel/support";
|
package/dist/utils/index.js
CHANGED
|
@@ -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-
|
|
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";
|
|
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("
|
|
196
|
+
const { Request: Req, Response: Res, Session: Ses } = await import("@arkstack/http");
|
|
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.
|
|
3
|
+
"version": "0.16.4",
|
|
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/
|
|
50
|
-
"@arkstack/
|
|
49
|
+
"@arkstack/foundry": "^0.16.4",
|
|
50
|
+
"@arkstack/contract": "^0.16.4"
|
|
51
51
|
},
|
|
52
52
|
"optionalDependencies": {
|
|
53
53
|
"@faker-js/faker": "^10.4.0"
|
|
@@ -57,11 +57,6 @@
|
|
|
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
|
-
},
|
|
65
60
|
"scripts": {
|
|
66
61
|
"build": "tsdown --config-loader unrun",
|
|
67
62
|
"test": "vitest",
|