@h3ravel/support 0.16.0 → 0.16.1
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/facades.cjs +2 -2
- package/dist/facades.js +1 -1
- package/package.json +2 -2
package/dist/facades.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_RuntimeException = require('./RuntimeException-CmsL83ow.cjs');
|
|
2
2
|
const require_index = require('./index.cjs');
|
|
3
|
-
let
|
|
3
|
+
let __h3ravel_shared = require("@h3ravel/shared");
|
|
4
4
|
|
|
5
5
|
//#region src/Facades/Facades.ts
|
|
6
6
|
var Facades = class {
|
|
@@ -86,7 +86,7 @@ var Facades = class {
|
|
|
86
86
|
static __callStatic(method, args) {
|
|
87
87
|
const instance = this.getFacadeRoot();
|
|
88
88
|
if (!instance) throw new Error("Facade root not resolved.");
|
|
89
|
-
if (typeof instance[method] === "function" && !(0,
|
|
89
|
+
if (typeof instance[method] === "function" && !(0, __h3ravel_shared.isInternal)(instance, method)) return Reflect.apply(instance[method], instance, args);
|
|
90
90
|
if (typeof instance.__call === "function") return instance.__call(method, args);
|
|
91
91
|
throw new Error(`Method [${method}] does not exist on [${instance.constructor.name}] facade root.`);
|
|
92
92
|
}
|
package/dist/facades.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h3ravel/support",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"description": "Shared helpers, facades and utilities for H3ravel.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@h3ravel/collect.js": "^5.3.3",
|
|
44
44
|
"@types/luxon": "^3.7.1",
|
|
45
45
|
"typescript": "^5.4.0",
|
|
46
|
-
"@h3ravel/shared": "^0.28.
|
|
46
|
+
"@h3ravel/shared": "^0.28.1"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"dayjs": "^1.11.18",
|