smbls 2.10.9 → 2.10.12
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 +4 -1
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3020,7 +3020,7 @@ var require_dist3 = __commonJS({
|
|
|
3020
3020
|
};
|
|
3021
3021
|
var fetchRemote2 = async (key, options = defaultOptions2) => {
|
|
3022
3022
|
let data = {};
|
|
3023
|
-
await window.fetch(`https://${options.endpoint}/${options.route || ""}`, {
|
|
3023
|
+
await window.fetch(`https://${options.endpoint || SERVER_URL}/${options.route || ""}`, {
|
|
3024
3024
|
method: "GET",
|
|
3025
3025
|
headers: { "Content-Type": "application/json", "X-AppKey": key }
|
|
3026
3026
|
}).then((response) => {
|
|
@@ -8473,6 +8473,9 @@ var create2 = async (App, options = defaultOptions) => {
|
|
|
8473
8473
|
const components = { ...src_exports, ...options.components };
|
|
8474
8474
|
const designSystem = init2(options.system);
|
|
8475
8475
|
src_default.define(options.define || define);
|
|
8476
|
+
console.group(key);
|
|
8477
|
+
console.dir(options);
|
|
8478
|
+
console.groupEnd(key);
|
|
8476
8479
|
return src_default.create({
|
|
8477
8480
|
extend: [App, {
|
|
8478
8481
|
routes: options.pages,
|