holosphere 2.0.0-alpha22 → 2.0.0-alpha23
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/cjs/holosphere.cjs +1 -1
- package/dist/esm/holosphere.js +74 -73
- package/dist/{index-D76zMgwU.js → index-BEkCLOwI.js} +2 -2
- package/dist/{index-D76zMgwU.js.map → index-BEkCLOwI.js.map} +1 -1
- package/dist/{index-Bug_CGNq.js → index-BEvX6DxG.js} +2 -2
- package/dist/{index-Bug_CGNq.js.map → index-BEvX6DxG.js.map} +1 -1
- package/dist/{index-DuOuk96g.cjs → index-BGTOiJ2Y.cjs} +2 -2
- package/dist/{index-DuOuk96g.cjs.map → index-BGTOiJ2Y.cjs.map} +1 -1
- package/dist/{index-B4xe-N5-.cjs → index-BH1woZXL.cjs} +2 -2
- package/dist/{index-B4xe-N5-.cjs.map → index-BH1woZXL.cjs.map} +1 -1
- package/dist/{index-bYHRpACA.js → index-Cvxov2jv.js} +85 -83
- package/dist/{index-bYHRpACA.js.map → index-Cvxov2jv.js.map} +1 -1
- package/dist/{index-CaCPzdlv.cjs → index-vTKI_BAX.cjs} +4 -4
- package/dist/{index-CaCPzdlv.cjs.map → index-vTKI_BAX.cjs.map} +1 -1
- package/dist/{indexeddb-storage-CFWfkdX9.cjs → indexeddb-storage-BmnCNnSg.cjs} +2 -2
- package/dist/{indexeddb-storage-CFWfkdX9.cjs.map → indexeddb-storage-BmnCNnSg.cjs.map} +1 -1
- package/dist/{indexeddb-storage-BrIwr42m.js → indexeddb-storage-MIFisaPy.js} +2 -2
- package/dist/{indexeddb-storage-BrIwr42m.js.map → indexeddb-storage-MIFisaPy.js.map} +1 -1
- package/dist/{memory-storage-bkatDnuR.cjs → memory-storage-BJjK3F4r.cjs} +2 -2
- package/dist/{memory-storage-bkatDnuR.cjs.map → memory-storage-BJjK3F4r.cjs.map} +1 -1
- package/dist/{memory-storage-BDQRj-2j.js → memory-storage-DhHXdKQ-.js} +2 -2
- package/dist/{memory-storage-BDQRj-2j.js.map → memory-storage-DhHXdKQ-.js.map} +1 -1
- package/package.json +1 -1
- package/src/index.js +3 -0
|
@@ -18011,12 +18011,12 @@ async function createPersistentStorage(namespace, options = {}) {
|
|
|
18011
18011
|
const isBrowser = typeof window !== "undefined" && typeof window.indexedDB !== "undefined";
|
|
18012
18012
|
typeof process !== "undefined" && process.versions && void 0;
|
|
18013
18013
|
if (isBrowser) {
|
|
18014
|
-
const { IndexedDBStorage } = await import("./indexeddb-storage-
|
|
18014
|
+
const { IndexedDBStorage } = await import("./indexeddb-storage-MIFisaPy.js");
|
|
18015
18015
|
const storage = new IndexedDBStorage();
|
|
18016
18016
|
await storage.init(namespace);
|
|
18017
18017
|
return storage;
|
|
18018
18018
|
} else {
|
|
18019
|
-
const { MemoryStorage } = await import("./memory-storage-
|
|
18019
|
+
const { MemoryStorage } = await import("./memory-storage-DhHXdKQ-.js");
|
|
18020
18020
|
const storage = new MemoryStorage();
|
|
18021
18021
|
await storage.init(namespace);
|
|
18022
18022
|
return storage;
|
|
@@ -18029,7 +18029,7 @@ async function loadNDKCacheAdapter() {
|
|
|
18029
18029
|
ndkCacheAdapterLoaded = true;
|
|
18030
18030
|
if (typeof window !== "undefined" && typeof indexedDB !== "undefined") {
|
|
18031
18031
|
try {
|
|
18032
|
-
const module2 = await import("./index-
|
|
18032
|
+
const module2 = await import("./index-BEvX6DxG.js");
|
|
18033
18033
|
NDKCacheAdapterDexie = module2.default || module2.NDKCacheAdapterDexie;
|
|
18034
18034
|
} catch (e) {
|
|
18035
18035
|
console.debug("[nostr] NDK cache adapter not available, using LRU cache");
|
|
@@ -19410,7 +19410,7 @@ function createClient(config) {
|
|
|
19410
19410
|
return new NostrClient(config);
|
|
19411
19411
|
}
|
|
19412
19412
|
const name = "holosphere";
|
|
19413
|
-
const version$
|
|
19413
|
+
const version$2 = "2.0.0-alpha23";
|
|
19414
19414
|
const description = "Holonic geospatial communication infrastructure combining H3 hexagonal indexing with distributed P2P storage";
|
|
19415
19415
|
const type = "module";
|
|
19416
19416
|
const main = "./dist/cjs/holosphere.cjs";
|
|
@@ -19490,7 +19490,7 @@ const engines = {
|
|
|
19490
19490
|
};
|
|
19491
19491
|
const pkg = {
|
|
19492
19492
|
name,
|
|
19493
|
-
version: version$
|
|
19493
|
+
version: version$2,
|
|
19494
19494
|
description,
|
|
19495
19495
|
type,
|
|
19496
19496
|
main,
|
|
@@ -34206,7 +34206,7 @@ class ChainManager {
|
|
|
34206
34206
|
*/
|
|
34207
34207
|
async _loadEthers() {
|
|
34208
34208
|
if (!this.ethers) {
|
|
34209
|
-
const ethersModule = await import("./index-
|
|
34209
|
+
const ethersModule = await import("./index-BEkCLOwI.js");
|
|
34210
34210
|
this.ethers = ethersModule;
|
|
34211
34211
|
}
|
|
34212
34212
|
return this.ethers;
|
|
@@ -42997,7 +42997,7 @@ class ContractDeployer {
|
|
|
42997
42997
|
*/
|
|
42998
42998
|
async _loadEthers() {
|
|
42999
42999
|
if (!this.ethers) {
|
|
43000
|
-
this.ethers = await import("./index-
|
|
43000
|
+
this.ethers = await import("./index-BEkCLOwI.js");
|
|
43001
43001
|
}
|
|
43002
43002
|
return this.ethers;
|
|
43003
43003
|
}
|
|
@@ -43383,7 +43383,7 @@ class ContractOperations {
|
|
|
43383
43383
|
*/
|
|
43384
43384
|
async _loadEthers() {
|
|
43385
43385
|
if (!this.ethers) {
|
|
43386
|
-
this.ethers = await import("./index-
|
|
43386
|
+
this.ethers = await import("./index-BEkCLOwI.js");
|
|
43387
43387
|
}
|
|
43388
43388
|
return this.ethers;
|
|
43389
43389
|
}
|
|
@@ -44718,7 +44718,7 @@ class EventListener {
|
|
|
44718
44718
|
}));
|
|
44719
44719
|
}
|
|
44720
44720
|
}
|
|
44721
|
-
const version = "6.16.0";
|
|
44721
|
+
const version$1 = "6.16.0";
|
|
44722
44722
|
function checkType(value, type2, name2) {
|
|
44723
44723
|
const types2 = type2.split("|").map((t) => t.trim());
|
|
44724
44724
|
for (let i = 0; i < types2.length; i++) {
|
|
@@ -44826,7 +44826,7 @@ function makeError(message, code, info) {
|
|
|
44826
44826
|
}
|
|
44827
44827
|
}
|
|
44828
44828
|
details.push(`code=${code}`);
|
|
44829
|
-
details.push(`version=${version}`);
|
|
44829
|
+
details.push(`version=${version$1}`);
|
|
44830
44830
|
if (details.length) {
|
|
44831
44831
|
message += " (" + details.join(", ") + ")";
|
|
44832
44832
|
}
|
|
@@ -54925,6 +54925,7 @@ function createAIServices(apiKey, holosphere = null, options = {}, openaiClient
|
|
|
54925
54925
|
* @author HoloSphere Team
|
|
54926
54926
|
* @license MIT
|
|
54927
54927
|
*/
|
|
54928
|
+
const version = "2.0.0-alpha23";
|
|
54928
54929
|
class HoloSphereBase extends HoloSphere$1 {
|
|
54929
54930
|
/**
|
|
54930
54931
|
* Creates a new HoloSphereBase instance.
|
|
@@ -57062,7 +57063,7 @@ export {
|
|
|
57062
57063
|
ZeroAddress as Z,
|
|
57063
57064
|
Block as _,
|
|
57064
57065
|
assertArgument as a,
|
|
57065
|
-
|
|
57066
|
+
SchemaExtractor as a$,
|
|
57066
57067
|
TransactionReceipt as a0,
|
|
57067
57068
|
TransactionResponse as a1,
|
|
57068
57069
|
resolveAddress as a2,
|
|
@@ -57095,12 +57096,12 @@ export {
|
|
|
57095
57096
|
getDefaultExportFromCjs as aT,
|
|
57096
57097
|
commonjsGlobal as aU,
|
|
57097
57098
|
PersistentStorage as aV,
|
|
57098
|
-
|
|
57099
|
-
|
|
57100
|
-
|
|
57101
|
-
|
|
57102
|
-
|
|
57103
|
-
version as aa,
|
|
57099
|
+
version as aW,
|
|
57100
|
+
HoloSphere as aX,
|
|
57101
|
+
AuthorizationError as aY,
|
|
57102
|
+
ValidationError$1 as aZ,
|
|
57103
|
+
LLMService as a_,
|
|
57104
|
+
version$1 as aa,
|
|
57104
57105
|
ConstructorFragment as ab,
|
|
57105
57106
|
ContractEventPayload as ac,
|
|
57106
57107
|
ContractTransactionReceipt as ad,
|
|
@@ -57127,72 +57128,73 @@ export {
|
|
|
57127
57128
|
assertArgumentCount as ay,
|
|
57128
57129
|
checkResultErrors as az,
|
|
57129
57130
|
assert as b,
|
|
57130
|
-
|
|
57131
|
-
|
|
57132
|
-
|
|
57133
|
-
|
|
57134
|
-
|
|
57135
|
-
|
|
57136
|
-
|
|
57137
|
-
|
|
57138
|
-
|
|
57139
|
-
|
|
57140
|
-
|
|
57141
|
-
|
|
57142
|
-
|
|
57143
|
-
|
|
57144
|
-
|
|
57145
|
-
|
|
57146
|
-
|
|
57147
|
-
|
|
57148
|
-
|
|
57149
|
-
|
|
57150
|
-
|
|
57151
|
-
|
|
57152
|
-
|
|
57153
|
-
|
|
57154
|
-
|
|
57155
|
-
|
|
57156
|
-
|
|
57157
|
-
|
|
57158
|
-
|
|
57159
|
-
|
|
57160
|
-
|
|
57161
|
-
|
|
57162
|
-
|
|
57163
|
-
|
|
57164
|
-
|
|
57165
|
-
|
|
57166
|
-
|
|
57167
|
-
|
|
57168
|
-
|
|
57169
|
-
|
|
57170
|
-
|
|
57171
|
-
|
|
57172
|
-
|
|
57173
|
-
|
|
57174
|
-
|
|
57175
|
-
|
|
57176
|
-
|
|
57177
|
-
|
|
57178
|
-
|
|
57179
|
-
|
|
57180
|
-
|
|
57181
|
-
|
|
57182
|
-
|
|
57183
|
-
|
|
57184
|
-
|
|
57185
|
-
|
|
57186
|
-
|
|
57187
|
-
|
|
57188
|
-
|
|
57189
|
-
|
|
57190
|
-
|
|
57191
|
-
|
|
57192
|
-
|
|
57193
|
-
|
|
57131
|
+
isNetworkSupported as b$,
|
|
57132
|
+
JSONOps as b0,
|
|
57133
|
+
Embeddings as b1,
|
|
57134
|
+
Council as b2,
|
|
57135
|
+
TTS as b3,
|
|
57136
|
+
VOICES as b4,
|
|
57137
|
+
MODELS as b5,
|
|
57138
|
+
NLQuery as b6,
|
|
57139
|
+
Classifier as b7,
|
|
57140
|
+
SpatialAnalysis as b8,
|
|
57141
|
+
SmartAggregation as b9,
|
|
57142
|
+
networks as bA,
|
|
57143
|
+
createHologram as bB,
|
|
57144
|
+
createLensHologram as bC,
|
|
57145
|
+
isLensHologram as bD,
|
|
57146
|
+
sendShare as bE,
|
|
57147
|
+
sendAck as bF,
|
|
57148
|
+
LensKeyStore as bG,
|
|
57149
|
+
buildLensPath as bH,
|
|
57150
|
+
parseLensPath as bI,
|
|
57151
|
+
lensKeys as bJ,
|
|
57152
|
+
createFederationCard as bK,
|
|
57153
|
+
getVisibleLenses as bL,
|
|
57154
|
+
getLensConfigForHandshake as bM,
|
|
57155
|
+
toggleLens as bN,
|
|
57156
|
+
toggleCardExpansion as bO,
|
|
57157
|
+
dismissCard$1 as bP,
|
|
57158
|
+
saveCard as bQ,
|
|
57159
|
+
getCard as bR,
|
|
57160
|
+
getDisplayableCards as bS,
|
|
57161
|
+
dismissRequest as bT,
|
|
57162
|
+
markResponseProcessed as bU,
|
|
57163
|
+
isResponseProcessed as bV,
|
|
57164
|
+
createAIServices as bW,
|
|
57165
|
+
NETWORKS as bX,
|
|
57166
|
+
getNetwork as bY,
|
|
57167
|
+
getNetworksByType as bZ,
|
|
57168
|
+
listNetworks as b_,
|
|
57169
|
+
FederationAdvisor as ba,
|
|
57170
|
+
RelationshipDiscovery as bb,
|
|
57171
|
+
TaskBreakdown as bc,
|
|
57172
|
+
H3AI as bd,
|
|
57173
|
+
h3Operations as be,
|
|
57174
|
+
nostrWrapper as bf,
|
|
57175
|
+
validator as bg,
|
|
57176
|
+
hologram as bh,
|
|
57177
|
+
handshake as bi,
|
|
57178
|
+
secp256k1 as bj,
|
|
57179
|
+
nostrUtils as bk,
|
|
57180
|
+
socialProtocols as bl,
|
|
57181
|
+
manager as bm,
|
|
57182
|
+
upcast$1 as bn,
|
|
57183
|
+
requestCard$1 as bo,
|
|
57184
|
+
cardStorage$1 as bp,
|
|
57185
|
+
holonRegistry as bq,
|
|
57186
|
+
registry as br,
|
|
57187
|
+
ChainManager as bs,
|
|
57188
|
+
ContractDeployer as bt,
|
|
57189
|
+
HolonContracts as bu,
|
|
57190
|
+
ContractOperations as bv,
|
|
57191
|
+
ABIs as bw,
|
|
57192
|
+
EventListener as bx,
|
|
57193
|
+
ContractQueries as by,
|
|
57194
|
+
SANKEY_EVENTS as bz,
|
|
57194
57195
|
toUtf8Bytes as c,
|
|
57195
|
-
|
|
57196
|
+
getTxUrl as c0,
|
|
57197
|
+
getAddressUrl as c1,
|
|
57196
57198
|
toUtf8String as d,
|
|
57197
57199
|
defineProperties as e,
|
|
57198
57200
|
hash as f,
|
|
@@ -57217,4 +57219,4 @@ export {
|
|
|
57217
57219
|
dataLength as y,
|
|
57218
57220
|
getNumber as z
|
|
57219
57221
|
};
|
|
57220
|
-
//# sourceMappingURL=index-
|
|
57222
|
+
//# sourceMappingURL=index-Cvxov2jv.js.map
|