@ibgib/space-gib 0.0.17 → 0.0.18
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/client/bootstrap.mjs +1 -1
- package/dist/client/chunk-3KXGJIIO.mjs +18 -0
- package/dist/client/chunk-UWWP4CK6.mjs +2665 -0
- package/dist/client/index.mjs +7 -11
- package/dist/client/script.mjs +1 -1
- package/dist/server/server.mjs +151 -24
- package/ibgib_e2e_error.log +85 -0
- package/package.json +5 -5
- package/src/client/AUTO-GENERATED-version.mts +1 -1
- package/dist/client/chunk-O4TTY4VM.mjs +0 -2507
- package/dist/client/chunk-YHOY7AVR.mjs +0 -18
package/dist/client/script.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e}from"./chunk-
|
|
1
|
+
import{p as e}from"./chunk-UWWP4CK6.mjs";import"./chunk-3KXGJIIO.mjs";console.log("space-gib early script executing...");e();
|
package/dist/server/server.mjs
CHANGED
|
@@ -12,6 +12,7 @@ var ERROR_MSG_LOCATION_ONLY_REGEXP = /^(\[.+\]).+$/;
|
|
|
12
12
|
var HEXADECIMAL_HASH_STRING_REGEXP_32 = /^[0-9a-fA-F]{32}$/;
|
|
13
13
|
var HEXADECIMAL_HASH_STRING_REGEXP_64 = /^[0-9a-fA-F]{64}$/;
|
|
14
14
|
var DEFAULT_DATA_PATH_DELIMITER = "/";
|
|
15
|
+
var ONLY_HAS_NON_ALPHANUMERICS = "_nonalphanumerics_";
|
|
15
16
|
|
|
16
17
|
// ../../libs/helper-gib/dist/helpers/utils-helper.mjs
|
|
17
18
|
var logalot = HELPER_LOG_A_LOT || false;
|
|
@@ -307,6 +308,99 @@ async function getIdPool({ n }) {
|
|
|
307
308
|
}
|
|
308
309
|
}
|
|
309
310
|
}
|
|
311
|
+
function getSaferSubstring({ text, length, keepLiterals = ["-"], replaceMap }) {
|
|
312
|
+
const lc2 = `[${getSaferSubstring.name}]`;
|
|
313
|
+
try {
|
|
314
|
+
if (logalot) {
|
|
315
|
+
console.log(`${lc2} starting... (I: 27437e312e5aa621adfebb84e059c822)`);
|
|
316
|
+
}
|
|
317
|
+
if (!text) {
|
|
318
|
+
throw new Error(`text required (E: 87e0493613c8b30dfade83e1d2862a22)`);
|
|
319
|
+
}
|
|
320
|
+
let saferText = text;
|
|
321
|
+
let tokenToKeepMap = {};
|
|
322
|
+
keepLiterals = keepLiterals ?? [];
|
|
323
|
+
for (let i = 0; i < keepLiterals.length; i++) {
|
|
324
|
+
const keep = keepLiterals[i];
|
|
325
|
+
let tmpToken;
|
|
326
|
+
do {
|
|
327
|
+
tmpToken = pickRandom_Letters({ count: 10 });
|
|
328
|
+
} while (tmpToken.includes(keep) || keep.includes(tmpToken) || text.includes(tmpToken));
|
|
329
|
+
if (saferText.includes(keep)) {
|
|
330
|
+
tokenToKeepMap[tmpToken] = keep;
|
|
331
|
+
while (saferText.includes(keep)) {
|
|
332
|
+
saferText = saferText.replace(keep, tmpToken);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
if (replaceMap && Object.keys(replaceMap).length > 0) {
|
|
337
|
+
for (let i = 0; i < Object.keys(replaceMap).length; i++) {
|
|
338
|
+
const toReplace = Object.keys(replaceMap)[i];
|
|
339
|
+
const replaceWith = replaceMap[toReplace];
|
|
340
|
+
while (saferText.includes(toReplace)) {
|
|
341
|
+
saferText = saferText.replace(toReplace, replaceWith);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
saferText = saferText.replace(/\W/g, "");
|
|
346
|
+
const tokens = Object.keys(tokenToKeepMap);
|
|
347
|
+
for (let i = 0; i < tokens.length; i++) {
|
|
348
|
+
const token = tokens[i];
|
|
349
|
+
while (saferText.includes(token)) {
|
|
350
|
+
saferText = saferText.replace(token, tokenToKeepMap[token]);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
if (length && length > 0) {
|
|
354
|
+
if (saferText.length > length) {
|
|
355
|
+
if (logalot) {
|
|
356
|
+
console.log(`${lc2} curtailing length (I: d7a28e05daa5979c7686b4c1cf519b23)`);
|
|
357
|
+
}
|
|
358
|
+
saferText = saferText.substring(0, length);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
if (saferText.length === 0) {
|
|
362
|
+
saferText = ONLY_HAS_NON_ALPHANUMERICS;
|
|
363
|
+
}
|
|
364
|
+
return saferText;
|
|
365
|
+
} catch (error) {
|
|
366
|
+
console.error(`${lc2} ${error.message}`);
|
|
367
|
+
throw error;
|
|
368
|
+
} finally {
|
|
369
|
+
if (logalot) {
|
|
370
|
+
console.log(`${lc2} complete.`);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
function pickRandom({ x }) {
|
|
375
|
+
if ((x ?? []).length === 0) {
|
|
376
|
+
return void 0;
|
|
377
|
+
}
|
|
378
|
+
let randomIndex = Math.floor(Math.random() * x.length);
|
|
379
|
+
return x[randomIndex];
|
|
380
|
+
}
|
|
381
|
+
function pickRandom_Letters({ count }) {
|
|
382
|
+
const lc2 = `${pickRandom_Letters.name}]`;
|
|
383
|
+
try {
|
|
384
|
+
if (!Number.isInteger(count)) {
|
|
385
|
+
throw new Error(`count required to be a number. (E: c0a21d884ebd9afc4b2e8025207e0522)`);
|
|
386
|
+
}
|
|
387
|
+
let result = "";
|
|
388
|
+
for (let i = 0; i < count; i++) {
|
|
389
|
+
result += pickRandom({ x: "a b c d e f g h i j k l m n o p q r s t u v w x y z".split(" ") });
|
|
390
|
+
}
|
|
391
|
+
if (result.length !== count) {
|
|
392
|
+
throw new Error(`${lc2} (UNEXPECTED) result.length !== count ? (E: 9bec4ec8f78610d8055e565415392a22)`);
|
|
393
|
+
}
|
|
394
|
+
return result;
|
|
395
|
+
} catch (error) {
|
|
396
|
+
console.error(`${lc2} ${error.message}`);
|
|
397
|
+
throw error;
|
|
398
|
+
} finally {
|
|
399
|
+
if (logalot) {
|
|
400
|
+
console.log(`${lc2} complete.`);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
310
404
|
function mergeMapsOrArrays_Naive({ dominant, recessive }) {
|
|
311
405
|
const lc2 = `[${mergeMapsOrArrays_Naive.name}]`;
|
|
312
406
|
try {
|
|
@@ -1358,7 +1452,7 @@ function patch(obj, patchInfo) {
|
|
|
1358
1452
|
|
|
1359
1453
|
// ../../libs/ts-gib/dist/V1/transforms/rel8.mjs
|
|
1360
1454
|
async function rel8(opts) {
|
|
1361
|
-
const { noTimestamp, dna, linkedRel8ns, rel8nsToAddByAddr, rel8nsToRemoveByAddr, type = "rel8" } = opts;
|
|
1455
|
+
const { noTimestamp, dna, linkedRel8ns, rel8nsToAddByAddr, rel8nsToRemoveByAddr, rel8nsToReplaceByAddr, type = "rel8" } = opts;
|
|
1362
1456
|
let src = opts.src;
|
|
1363
1457
|
const lc2 = "[rel8_v1]";
|
|
1364
1458
|
if (type !== "rel8") {
|
|
@@ -1390,8 +1484,9 @@ async function rel8(opts) {
|
|
|
1390
1484
|
}
|
|
1391
1485
|
const isAdding = rel8nsToAddByAddr && Object.keys(rel8nsToAddByAddr).length > 0;
|
|
1392
1486
|
const isRemoving = rel8nsToRemoveByAddr && Object.keys(rel8nsToRemoveByAddr).length > 0;
|
|
1393
|
-
|
|
1394
|
-
|
|
1487
|
+
const isReplacing = rel8nsToReplaceByAddr && Object.keys(rel8nsToReplaceByAddr).length > 0;
|
|
1488
|
+
if (!(isAdding || isRemoving || isReplacing)) {
|
|
1489
|
+
throw new Error(`${lc2} gotta provide relations to add, remove, or replace.`);
|
|
1395
1490
|
}
|
|
1396
1491
|
const srcAddr = getIbGibAddr({ ib: src.ib, gib: src.gib });
|
|
1397
1492
|
if (opts.srcAddr && srcAddr !== opts.srcAddr) {
|
|
@@ -1411,6 +1506,11 @@ async function rel8(opts) {
|
|
|
1411
1506
|
throw new Error(`${lc2} Invalid remove rel8n attempt. Must be valid ibGibs. Did you include a delimiter (^)?`);
|
|
1412
1507
|
}
|
|
1413
1508
|
});
|
|
1509
|
+
Object.keys(rel8nsToReplaceByAddr || {}).map((x) => (rel8nsToReplaceByAddr || {})[x]).forEach((replacements) => {
|
|
1510
|
+
if (!(replacements && replacements.every((r) => r && fnValidIbGibAddr(r.oldAddr) && fnValidIbGibAddr(r.newAddr)))) {
|
|
1511
|
+
throw new Error(`${lc2} Invalid replace rel8n attempt. Must be valid ibGibs with oldAddr and newAddr. Did you include a delimiter (^)?`);
|
|
1512
|
+
}
|
|
1513
|
+
});
|
|
1414
1514
|
let dto = { ib: src.ib, gib: src.gib };
|
|
1415
1515
|
if (src.data && Object.keys(src.data).length > 0) {
|
|
1416
1516
|
dto.data = src.data;
|
|
@@ -1443,6 +1543,28 @@ async function rel8(opts) {
|
|
|
1443
1543
|
data.timestampMs = date.getMilliseconds();
|
|
1444
1544
|
}
|
|
1445
1545
|
const rel8ns = clone(src.rel8ns || {});
|
|
1546
|
+
Object.keys(rel8nsToReplaceByAddr || {}).forEach((rel8nName) => {
|
|
1547
|
+
if (FORBIDDEN_ADD_RENAME_REMOVE_REL8N_NAMES.includes(rel8nName)) {
|
|
1548
|
+
throw new Error(`${lc2} Cannot manually replace relationship: ${rel8nName}.`);
|
|
1549
|
+
}
|
|
1550
|
+
const existingRel8d = rel8ns[rel8nName] || [];
|
|
1551
|
+
const replacements = rel8nsToReplaceByAddr[rel8nName] || [];
|
|
1552
|
+
const updatedRel8d = [...existingRel8d];
|
|
1553
|
+
for (const replacement of replacements) {
|
|
1554
|
+
const { oldAddr, newAddr } = replacement;
|
|
1555
|
+
let found = false;
|
|
1556
|
+
for (let i = 0; i < updatedRel8d.length; i++) {
|
|
1557
|
+
if (updatedRel8d[i] === oldAddr) {
|
|
1558
|
+
updatedRel8d[i] = newAddr;
|
|
1559
|
+
found = true;
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
if (!found) {
|
|
1563
|
+
throw new Error(`${lc2} Cannot replace oldAddr '${oldAddr}' in rel8n '${rel8nName}' - oldAddr not found in existing relationships.`);
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
rel8ns[rel8nName] = updatedRel8d;
|
|
1567
|
+
});
|
|
1446
1568
|
Object.keys(rel8nsToAddByAddr || {}).forEach((rel8nName) => {
|
|
1447
1569
|
if (FORBIDDEN_ADD_RENAME_REMOVE_REL8N_NAMES.includes(rel8nName)) {
|
|
1448
1570
|
throw new Error(`${lc2} Cannot manually add relationship: ${rel8nName}.`);
|
|
@@ -20323,7 +20445,7 @@ var KeystoneService_V1 = class _KeystoneService_V1 {
|
|
|
20323
20445
|
}
|
|
20324
20446
|
}
|
|
20325
20447
|
/**
|
|
20326
|
-
* Evolve the keystone by rotating the primary user manage pool (`manage`) to a new master secret (
|
|
20448
|
+
* Evolve the keystone by rotating the primary user manage pool (`manage`) to a new master secret (password).
|
|
20327
20449
|
* This creates a new frame signed by the specified `signingPoolId` using `signingSecret`.
|
|
20328
20450
|
*
|
|
20329
20451
|
* Supports recovery (signing via `custodian-manage` using the custodian secret) and normal rotation
|
|
@@ -20474,7 +20596,7 @@ var KeystoneService_V1 = class _KeystoneService_V1 {
|
|
|
20474
20596
|
}
|
|
20475
20597
|
}
|
|
20476
20598
|
/**
|
|
20477
|
-
* Verifies if a candidate signing secret (
|
|
20599
|
+
* Verifies if a candidate signing secret (password) is correct for a specific challenge pool.
|
|
20478
20600
|
* Does not mutate any state.
|
|
20479
20601
|
*/
|
|
20480
20602
|
async verifySigningSecret({ keystoneIbGib, signingSecret, poolId }) {
|
|
@@ -23422,7 +23544,8 @@ var SsoLoginHandler = class _SsoLoginHandler extends ServeGibHandlerBase {
|
|
|
23422
23544
|
return this.error(400, `No email address returned from SSO provider ${providerId} (E: 3c3d4e5f67890123c4d5e6f789012345)`);
|
|
23423
23545
|
}
|
|
23424
23546
|
const email = userInfo.email.trim().toLowerCase();
|
|
23425
|
-
const
|
|
23547
|
+
const rawSSOName = userInfo.name || "";
|
|
23548
|
+
const username = getSaferSubstring({ text: rawSSOName || email.split("@")[0], length: 62, keepLiterals: ["_", "-"] });
|
|
23426
23549
|
const ssoConfig = loadSsoServerConfig();
|
|
23427
23550
|
const serverSecret = ssoConfig.ssoServerKdfSecret;
|
|
23428
23551
|
const primarySecret = await hash({ s: `${serverSecret}_custodian_${email}` });
|
|
@@ -23435,9 +23558,12 @@ var SsoLoginHandler = class _SsoLoginHandler extends ServeGibHandlerBase {
|
|
|
23435
23558
|
primaryTjpAddr = existingLookup.primaryTjpAddr;
|
|
23436
23559
|
const domainMetaspace = await bootstrapDomainMetaspace(primaryTjpAddr, reqCtx.dataDir);
|
|
23437
23560
|
const space = await domainMetaspace.getLocalUserSpace({ lock: false });
|
|
23438
|
-
const
|
|
23439
|
-
|
|
23440
|
-
|
|
23561
|
+
const keystoneService = new KeystoneService_V1();
|
|
23562
|
+
primaryKeystone = await keystoneService.getLatestKeystone({
|
|
23563
|
+
addr: primaryTjpAddr,
|
|
23564
|
+
metaspace: domainMetaspace,
|
|
23565
|
+
space
|
|
23566
|
+
});
|
|
23441
23567
|
} else {
|
|
23442
23568
|
isNewIdentity = true;
|
|
23443
23569
|
const tempId = await getUUID();
|
|
@@ -23450,7 +23576,8 @@ var SsoLoginHandler = class _SsoLoginHandler extends ServeGibHandlerBase {
|
|
|
23450
23576
|
const primaryBuilder = KeystoneProfileBuilder.buildKeystone(primaryProfileName.trim()).withUsername(username).withEmails([email]).withDetails({
|
|
23451
23577
|
client: "space-gib-server",
|
|
23452
23578
|
role: "custodian-primary",
|
|
23453
|
-
custodianProvider: providerId
|
|
23579
|
+
custodianProvider: providerId,
|
|
23580
|
+
[`rawSSOName-${providerId}`]: rawSSOName
|
|
23454
23581
|
});
|
|
23455
23582
|
const configs = await primaryBuilder.compileConfigs();
|
|
23456
23583
|
const keystoneService = new KeystoneService_V1();
|
|
@@ -23560,9 +23687,12 @@ var KeystoneCustodianGenesisHandler = class _KeystoneCustodianGenesisHandler ext
|
|
|
23560
23687
|
const metaspace = await bootstrapDomainMetaspace(primaryTjpAddr, reqCtx.dataDir);
|
|
23561
23688
|
const space = await metaspace.getLocalUserSpace({ lock: false });
|
|
23562
23689
|
if (space) {
|
|
23563
|
-
const
|
|
23564
|
-
|
|
23565
|
-
|
|
23690
|
+
const keystoneService = new KeystoneService_V1();
|
|
23691
|
+
primaryKeystone = await keystoneService.getLatestKeystone({
|
|
23692
|
+
addr: primaryTjpAddr,
|
|
23693
|
+
metaspace,
|
|
23694
|
+
space
|
|
23695
|
+
});
|
|
23566
23696
|
}
|
|
23567
23697
|
} else {
|
|
23568
23698
|
isNewIdentity = true;
|
|
@@ -23729,9 +23859,11 @@ var KeystoneCustodianRegisterDelegateHandler = class _KeystoneCustodianRegisterD
|
|
|
23729
23859
|
if (!space) {
|
|
23730
23860
|
return this.error(500, `Could not load domain space for primary identity ${custodianReqs.primaryTjpAddr}`);
|
|
23731
23861
|
}
|
|
23732
|
-
const
|
|
23733
|
-
|
|
23734
|
-
|
|
23862
|
+
const parentKeystone = await keystoneService.getLatestKeystone({
|
|
23863
|
+
addr: custodianReqs.primaryTjpAddr,
|
|
23864
|
+
metaspace,
|
|
23865
|
+
space
|
|
23866
|
+
});
|
|
23735
23867
|
if (!parentKeystone) {
|
|
23736
23868
|
return this.error(404, `Primary identity keystone not found for address ${custodianReqs.primaryTjpAddr}`);
|
|
23737
23869
|
}
|
|
@@ -24693,7 +24825,7 @@ function isGraftInfo(ibGib) {
|
|
|
24693
24825
|
}
|
|
24694
24826
|
|
|
24695
24827
|
// ../../libs/core-gib/dist/sync/sync-helpers.mjs
|
|
24696
|
-
var logalot62 = GLOBAL_LOG_A_LOT3;
|
|
24828
|
+
var logalot62 = GLOBAL_LOG_A_LOT3 || true;
|
|
24697
24829
|
async function getSyncIb({ data }) {
|
|
24698
24830
|
const lc2 = `[${getSyncIb.name}]`;
|
|
24699
24831
|
try {
|
|
@@ -24812,11 +24944,6 @@ ${pretty(sagaIbGib)} (I: 2a35685bfe038f63182c7db39b44c826)`);
|
|
|
24812
24944
|
});
|
|
24813
24945
|
resGraphs.push(graph);
|
|
24814
24946
|
}
|
|
24815
|
-
if (logalot62) {
|
|
24816
|
-
console.log(`${lc2} resGraphs:...
|
|
24817
|
-
${pretty(resGraphs).split("\n").join("\n ")}
|
|
24818
|
-
...(I: d8e11827d88a3454d887ff05fb4ff526)`);
|
|
24819
|
-
}
|
|
24820
24947
|
return resGraphs;
|
|
24821
24948
|
} catch (error) {
|
|
24822
24949
|
console.error(`${lc2} ${extractErrorMsg(error)}`);
|
|
@@ -25075,7 +25202,7 @@ async function deriveSessionSecret({ senderSecret, sagaId }) {
|
|
|
25075
25202
|
}
|
|
25076
25203
|
|
|
25077
25204
|
// ../../libs/core-gib/dist/sync/sync-saga-context/sync-saga-context-helpers.mjs
|
|
25078
|
-
var logalot63 = GLOBAL_LOG_A_LOT3;
|
|
25205
|
+
var logalot63 = GLOBAL_LOG_A_LOT3 || true;
|
|
25079
25206
|
async function getSyncSagaContextIb({ data }) {
|
|
25080
25207
|
const lc2 = `[${getSyncSagaContextIb.name}]`;
|
|
25081
25208
|
try {
|
|
@@ -27073,7 +27200,7 @@ var GraftStrategyService = class _GraftStrategyService {
|
|
|
27073
27200
|
};
|
|
27074
27201
|
|
|
27075
27202
|
// ../../libs/core-gib/dist/sync/sync-saga-coordinator.mjs
|
|
27076
|
-
var logalot71 = GLOBAL_LOG_A_LOT3;
|
|
27203
|
+
var logalot71 = GLOBAL_LOG_A_LOT3 || true;
|
|
27077
27204
|
var logalotControlDomain = false;
|
|
27078
27205
|
var lcControlDomain = "[ControlDomain]";
|
|
27079
27206
|
var SyncSagaCoordinator = class _SyncSagaCoordinator {
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
script.mjs:7 space-gib early script executing...
|
|
2
|
+
chunk-KMQKMIF4.mjs:28488 [getSpaceGibShellSvc] initializing SpaceGibShellService singleton on globalThis... (I: genuuid)
|
|
3
|
+
chunk-KMQKMIF4.mjs:113 [initialize] does nothing atow (I: 65bb46c88c82b637ad928b8bf1a07225)
|
|
4
|
+
index.mjs:8501 [spinOffStartup]: 0.27490234375 ms DOMContentLoaded fired
|
|
5
|
+
chunk-SF3NCBXC.mjs:8164 [initializeStorage][space_gib_db][no store name] initRequestCount: 1 (I: 294d5f0b12ffe5512bacebe891824d25)
|
|
6
|
+
chunk-SF3NCBXC.mjs:8164 [initializeStorage][space_gib_db][space_gib_store] initRequestCount: 2 (I: 294d5f0b12ffe5512bacebe891824d25)
|
|
7
|
+
chunk-SF3NCBXC.mjs:8164 [initializeStorage][space_gib_db][zero] initRequestCount: 3 (I: 294d5f0b12ffe5512bacebe891824d25)
|
|
8
|
+
index.mjs:8503 [spinOffStartup]: 23.349853515625 ms initIbGibStorage complete
|
|
9
|
+
bootstrap.mjs:9699 [space-gib bootstrap] version: 0.0.17
|
|
10
|
+
bootstrap.mjs:9712 ⚠️ WARNING: DEVELOPMENT KEYSTONE PROFILE ACTIVE (.dev)!GENERATED KEYSTONES USE LOW-SECURITY DEV PARAMETERS FOR RAPID TESTING.FOR LOCAL TESTING ONLY — DO NOT USE FOR REAL SECRETS OR PRODUCTION DATA!
|
|
11
|
+
(anonymous) @ bootstrap.mjs:9712
|
|
12
|
+
bootstrap.mjs:7635 [bootstrapIbGibApp] starting...
|
|
13
|
+
bootstrap.mjs:368 [buildArgInfos] starting... (I: f389aaa490796dfd823bc7b9d4e58b23)
|
|
14
|
+
bootstrap.mjs:378 identifier: interactive (I: 519ce129a1e34753a9070d3a205c9a8b)
|
|
15
|
+
bootstrap.mjs:464 [buildArgInfos] complete.
|
|
16
|
+
bootstrap.mjs:7688 [execFromArgs] starting...
|
|
17
|
+
bootstrap.mjs:7730 [initMetaspace] starting...
|
|
18
|
+
chunk-SF3NCBXC.mjs:6603 [toDto] ibGib.gib is falsy. (W: fb3889cbf0684ae4ac51e48f28570377)
|
|
19
|
+
toDto @ chunk-SF3NCBXC.mjs:6603
|
|
20
|
+
fnCreateNewLocalSpace @ bootstrap.mjs:7320
|
|
21
|
+
await in fnCreateNewLocalSpace
|
|
22
|
+
metaspaceFactory.fnDefaultLocalSpaceFactory @ bootstrap.mjs:7383
|
|
23
|
+
createNewLocalSpace @ bootstrap.mjs:2700
|
|
24
|
+
createLocalSpaceAndUpdateBootstrap @ bootstrap.mjs:2728
|
|
25
|
+
initializeLocalSpaces @ bootstrap.mjs:2652
|
|
26
|
+
await in initializeLocalSpaces
|
|
27
|
+
initialize @ bootstrap.mjs:2511
|
|
28
|
+
await in initialize
|
|
29
|
+
initialize @ bootstrap.mjs:7447
|
|
30
|
+
await in initialize
|
|
31
|
+
initMetaspace @ bootstrap.mjs:7744
|
|
32
|
+
await in initMetaspace
|
|
33
|
+
execFromArgs @ bootstrap.mjs:7690
|
|
34
|
+
(anonymous) @ bootstrap.mjs:7661
|
|
35
|
+
bootstrapIbGibApp @ bootstrap.mjs:7646
|
|
36
|
+
bootstrapSpaceGibApp @ bootstrap.mjs:9719
|
|
37
|
+
dynamicallyLoadBootstrapScript @ chunk-SF3NCBXC.mjs:8819
|
|
38
|
+
await in dynamicallyLoadBootstrapScript
|
|
39
|
+
(anonymous) @ index.mjs:8504
|
|
40
|
+
chunk-SF3NCBXC.mjs:8164 [initializeStorage][space_gib_db][be8f11f44276146720b40db0dbe5889e052240a7583cbe6869f341bf7a03cbf9] initRequestCount: 4 (I: 294d5f0b12ffe5512bacebe891824d25)
|
|
41
|
+
bootstrap.mjs:7757 [initMetaspace] complete.
|
|
42
|
+
bootstrap.mjs:7774 [execInteractive] starting...
|
|
43
|
+
bootstrap.mjs:7807 [defaultGetOrCreateApp] starting...
|
|
44
|
+
bootstrap.mjs:7885 [createAndSaveNewApp] starting...
|
|
45
|
+
bootstrap.mjs:7925 [createAndSaveNewApp] complete.
|
|
46
|
+
bootstrap.mjs:7875 [defaultGetOrCreateApp] complete.
|
|
47
|
+
bootstrap.mjs:8552 [SpaceGibApp_V1] space-gib initialized and ready.
|
|
48
|
+
bootstrap.mjs:7797 [execInteractive] complete.
|
|
49
|
+
bootstrap.mjs:7720
|
|
50
|
+
[execFromArgs] complete.
|
|
51
|
+
chunk-KMQKMIF4.mjs:28449 [SpaceGibShellService][onEngineReady] SpaceGib Shell Service is ready.
|
|
52
|
+
bootstrap.mjs:7678
|
|
53
|
+
[bootstrapIbGibApp] complete.
|
|
54
|
+
index.mjs:8505 [spinOffStartup]: 2520.262939453125 ms dynamicallyLoadBootstrapScript complete
|
|
55
|
+
index.mjs:8507 [spinOffStartup]: 2528.35302734375 ms initDevTools complete
|
|
56
|
+
index.mjs:8508 [spinOffStartup]: 2528.510009765625 ms
|
|
57
|
+
chunk-KMQKMIF4.mjs:25048 Cross-Origin-Opener-Policy policy would block the window.closed call.
|
|
58
|
+
(anonymous) @ chunk-KMQKMIF4.mjs:25048
|
|
59
|
+
setInterval
|
|
60
|
+
(anonymous) @ chunk-KMQKMIF4.mjs:25047
|
|
61
|
+
executeSsoOAuthPopup @ chunk-KMQKMIF4.mjs:25029
|
|
62
|
+
await in executeSsoOAuthPopup
|
|
63
|
+
handleSsoClick @ chunk-KMQKMIF4.mjs:27582
|
|
64
|
+
(anonymous) @ chunk-KMQKMIF4.mjs:27529
|
|
65
|
+
chunk-KMQKMIF4.mjs:25048 Cross-Origin-Opener-Policy policy would block the window.closed call.
|
|
66
|
+
(anonymous) @ chunk-KMQKMIF4.mjs:25048
|
|
67
|
+
setInterval
|
|
68
|
+
(anonymous) @ chunk-KMQKMIF4.mjs:25047
|
|
69
|
+
executeSsoOAuthPopup @ chunk-KMQKMIF4.mjs:25029
|
|
70
|
+
await in executeSsoOAuthPopup
|
|
71
|
+
handleSsoClick @ chunk-KMQKMIF4.mjs:27582
|
|
72
|
+
(anonymous) @ chunk-KMQKMIF4.mjs:27529
|
|
73
|
+
chunk-SF3NCBXC.mjs:4451 [registerNewIbGib][keystone^38F5687458C6954889175D68C161C32F53DF4182ECE480A443ED813D8121D79E.E30EF636913A3B5C4D7B31BA98BAAFDFE5A701DA3F58FF9D829AA4498A6ECC06] incoming ibGib (keystone^38F5687458C6954889175D68C161C32F53DF4182ECE480A443ED813D8121D79E.E30EF636913A3B5C4D7B31BA98BAAFDFE5A701DA3F58FF9D829AA4498A6ECC06) is NOT NEWER than existing latest (keystone^57BF75B9D63EAD2BB2C910F4D17DE4BFA84748977F514F4A392B2AA01DC516AF.E30EF636913A3B5C4D7B31BA98BAAFDFE5A701DA3F58FF9D829AA4498A6ECC06). multiple branches for the same timeline? ignoring incoming ibGibAddr. n_ibGib: 1. n_existingLatest: 2. space.ib: witness space WebFilesystemSpace_V1 space_gib__gyguxjmbnqat be8f11f44276146720b40db0dbe5889e052240a7583cbe6869f341bf7a03cbf9 undefined undefined (W: 057baadca494473dabb26fb4fb879774)
|
|
74
|
+
registerNewIbGib @ chunk-SF3NCBXC.mjs:4451
|
|
75
|
+
await in registerNewIbGib
|
|
76
|
+
registerNewIbGib @ bootstrap.mjs:3095
|
|
77
|
+
finalizeDeviceOnboarding @ chunk-KMQKMIF4.mjs:27973
|
|
78
|
+
await in finalizeDeviceOnboarding
|
|
79
|
+
completeCustodialDelegateOnboarding @ chunk-KMQKMIF4.mjs:27823
|
|
80
|
+
await in completeCustodialDelegateOnboarding
|
|
81
|
+
handleSsoClick @ chunk-KMQKMIF4.mjs:27607
|
|
82
|
+
await in handleSsoClick
|
|
83
|
+
(anonymous) @ chunk-KMQKMIF4.mjs:27529
|
|
84
|
+
chunk-KMQKMIF4.mjs:27128 yes this is being updated! I am just wondering if I am seeing old code in the browser, i.e., if refresh is happening or just getting cache (I: 6599db11c1086062b8f5e86db89cba26)
|
|
85
|
+
chunk-KMQKMIF4.mjs:23017 [IdentityManagerComponentInstance][activateIbGib] same tab already active. returning early. childInfo.addr: keystone^57BF75B9D63EAD2BB2C910F4D17DE4BFA84748977F514F4A392B2AA01DC516AF.E30EF636913A3B5C4D7B31BA98BAAFDFE5A701DA3F58FF9D829AA4498A6ECC06 (user just clicked on the same tab) (I: e67c0d02f3143c49c7a20c82d0730225)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibgib/space-gib",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "ibgib storage and provider service — SaaS at ibgib.space",
|
|
6
6
|
"scripts": {
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"build:test": "tsc -p tsconfig.test.json"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ibgib/core-gib": "^0.1.
|
|
15
|
+
"@ibgib/core-gib": "^0.1.74",
|
|
16
16
|
"@ibgib/helper-gib": "^0.0.37",
|
|
17
|
-
"@ibgib/ts-gib": "^0.5.
|
|
18
|
-
"@ibgib/web-gib": "^0.0.
|
|
19
|
-
"@ibgib/node-gib": "^0.0.
|
|
17
|
+
"@ibgib/ts-gib": "^0.5.34",
|
|
18
|
+
"@ibgib/web-gib": "^0.0.60",
|
|
19
|
+
"@ibgib/node-gib": "^0.0.19"
|
|
20
20
|
},
|
|
21
21
|
"engines": {
|
|
22
22
|
"node": ">=20.0.0"
|