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.
Files changed (24) hide show
  1. package/dist/cjs/holosphere.cjs +1 -1
  2. package/dist/esm/holosphere.js +74 -73
  3. package/dist/{index-D76zMgwU.js → index-BEkCLOwI.js} +2 -2
  4. package/dist/{index-D76zMgwU.js.map → index-BEkCLOwI.js.map} +1 -1
  5. package/dist/{index-Bug_CGNq.js → index-BEvX6DxG.js} +2 -2
  6. package/dist/{index-Bug_CGNq.js.map → index-BEvX6DxG.js.map} +1 -1
  7. package/dist/{index-DuOuk96g.cjs → index-BGTOiJ2Y.cjs} +2 -2
  8. package/dist/{index-DuOuk96g.cjs.map → index-BGTOiJ2Y.cjs.map} +1 -1
  9. package/dist/{index-B4xe-N5-.cjs → index-BH1woZXL.cjs} +2 -2
  10. package/dist/{index-B4xe-N5-.cjs.map → index-BH1woZXL.cjs.map} +1 -1
  11. package/dist/{index-bYHRpACA.js → index-Cvxov2jv.js} +85 -83
  12. package/dist/{index-bYHRpACA.js.map → index-Cvxov2jv.js.map} +1 -1
  13. package/dist/{index-CaCPzdlv.cjs → index-vTKI_BAX.cjs} +4 -4
  14. package/dist/{index-CaCPzdlv.cjs.map → index-vTKI_BAX.cjs.map} +1 -1
  15. package/dist/{indexeddb-storage-CFWfkdX9.cjs → indexeddb-storage-BmnCNnSg.cjs} +2 -2
  16. package/dist/{indexeddb-storage-CFWfkdX9.cjs.map → indexeddb-storage-BmnCNnSg.cjs.map} +1 -1
  17. package/dist/{indexeddb-storage-BrIwr42m.js → indexeddb-storage-MIFisaPy.js} +2 -2
  18. package/dist/{indexeddb-storage-BrIwr42m.js.map → indexeddb-storage-MIFisaPy.js.map} +1 -1
  19. package/dist/{memory-storage-bkatDnuR.cjs → memory-storage-BJjK3F4r.cjs} +2 -2
  20. package/dist/{memory-storage-bkatDnuR.cjs.map → memory-storage-BJjK3F4r.cjs.map} +1 -1
  21. package/dist/{memory-storage-BDQRj-2j.js → memory-storage-DhHXdKQ-.js} +2 -2
  22. package/dist/{memory-storage-BDQRj-2j.js.map → memory-storage-DhHXdKQ-.js.map} +1 -1
  23. package/package.json +1 -1
  24. 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-BrIwr42m.js");
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-BDQRj-2j.js");
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-Bug_CGNq.js");
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$1 = "2.0.0-alpha22";
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$1,
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-D76zMgwU.js");
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-D76zMgwU.js");
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-D76zMgwU.js");
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
- JSONOps as a$,
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
- HoloSphere as aW,
57099
- AuthorizationError as aX,
57100
- ValidationError$1 as aY,
57101
- LLMService as aZ,
57102
- SchemaExtractor as a_,
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
- getTxUrl as b$,
57131
- Embeddings as b0,
57132
- Council as b1,
57133
- TTS as b2,
57134
- VOICES as b3,
57135
- MODELS as b4,
57136
- NLQuery as b5,
57137
- Classifier as b6,
57138
- SpatialAnalysis as b7,
57139
- SmartAggregation as b8,
57140
- FederationAdvisor as b9,
57141
- createHologram as bA,
57142
- createLensHologram as bB,
57143
- isLensHologram as bC,
57144
- sendShare as bD,
57145
- sendAck as bE,
57146
- LensKeyStore as bF,
57147
- buildLensPath as bG,
57148
- parseLensPath as bH,
57149
- lensKeys as bI,
57150
- createFederationCard as bJ,
57151
- getVisibleLenses as bK,
57152
- getLensConfigForHandshake as bL,
57153
- toggleLens as bM,
57154
- toggleCardExpansion as bN,
57155
- dismissCard$1 as bO,
57156
- saveCard as bP,
57157
- getCard as bQ,
57158
- getDisplayableCards as bR,
57159
- dismissRequest as bS,
57160
- markResponseProcessed as bT,
57161
- isResponseProcessed as bU,
57162
- createAIServices as bV,
57163
- NETWORKS as bW,
57164
- getNetwork as bX,
57165
- getNetworksByType as bY,
57166
- listNetworks as bZ,
57167
- isNetworkSupported as b_,
57168
- RelationshipDiscovery as ba,
57169
- TaskBreakdown as bb,
57170
- H3AI as bc,
57171
- h3Operations as bd,
57172
- nostrWrapper as be,
57173
- validator as bf,
57174
- hologram as bg,
57175
- handshake as bh,
57176
- secp256k1 as bi,
57177
- nostrUtils as bj,
57178
- socialProtocols as bk,
57179
- manager as bl,
57180
- upcast$1 as bm,
57181
- requestCard$1 as bn,
57182
- cardStorage$1 as bo,
57183
- holonRegistry as bp,
57184
- registry as bq,
57185
- ChainManager as br,
57186
- ContractDeployer as bs,
57187
- HolonContracts as bt,
57188
- ContractOperations as bu,
57189
- ABIs as bv,
57190
- EventListener as bw,
57191
- ContractQueries as bx,
57192
- SANKEY_EVENTS as by,
57193
- networks as bz,
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
- getAddressUrl as c0,
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-bYHRpACA.js.map
57222
+ //# sourceMappingURL=index-Cvxov2jv.js.map