smbls 2.10.6 → 2.10.8
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 +2 -1
- package/dist/index.js.map +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -8449,6 +8449,7 @@ var define = {
|
|
|
8449
8449
|
// ../create/index.js
|
|
8450
8450
|
var { SYMBOLS_KEY } = process.env;
|
|
8451
8451
|
var defaultOptions = {
|
|
8452
|
+
endpoint: "localhost:13335",
|
|
8452
8453
|
state: {},
|
|
8453
8454
|
pages: {},
|
|
8454
8455
|
system: {
|
|
@@ -8465,7 +8466,7 @@ var create2 = async (App, options = defaultOptions) => {
|
|
|
8465
8466
|
App = {};
|
|
8466
8467
|
if (key) {
|
|
8467
8468
|
if (options.remote) {
|
|
8468
|
-
const data = await (0, import_fetch.fetchRemote)(key, {
|
|
8469
|
+
const data = await (0, import_fetch.fetchRemote)(key, { endpoint: options.endpoint });
|
|
8469
8470
|
overwriteDeep(data, options);
|
|
8470
8471
|
}
|
|
8471
8472
|
}
|