@bsv/overlay-express 0.8.1 → 0.8.2-rc1

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.
@@ -1,12 +1,7 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- /* eslint-disable */
7
- const generalGuide_md_js_1 = __importDefault(require("./generalGuide.md.js"));
8
3
  exports.default = (config = {}) => {
9
- const { host = '', faviconUrl = 'https://bsvblockchain.org/favicon.ico', backgroundColor = '#191919', primaryTextColor = '#f0f0f0', primaryColor = '#3b6efb', secondaryColor = '#001242', fontFamily = 'Helvetica, Arial, sans-serif', headingFontFamily = 'Helvetica, Arial, sans-serif', additionalStyles = '', sectionBackgroundColor = '#323940', linkColor = '#579DFF', hoverColor = '#3A4147', borderColor = '#B6C2CF', secondaryBackgroundColor = '#f8f8f8', secondaryTextColor = '#0e0e0e', defaultContent = generalGuide_md_js_1.default } = config;
4
+ const { faviconUrl = 'https://bsvblockchain.org/favicon.ico', backgroundColor = '#282E33', primaryColor = '#B6C2CF', secondaryColor = '#579DFF', fontFamily = 'Arial, sans-serif', headingFontFamily = 'Arial Black, Gadget, sans-serif', additionalStyles = '', sectionBackgroundColor = '#323940', linkColor = '#579DFF', hoverColor = '#3A4147', borderColor = '#B6C2CF', } = config;
10
5
  return `<!DOCTYPE html>
11
6
  <html>
12
7
  <head>
@@ -25,9 +20,6 @@ exports.default = (config = {}) => {
25
20
  --link-color: ${linkColor};
26
21
  --hover-color: ${hoverColor};
27
22
  --border-color: ${borderColor};
28
- --secondary-background-color: ${secondaryBackgroundColor};
29
- --secondary-text-color: ${secondaryTextColor};
30
- --primary-text-color: ${primaryTextColor};
31
23
  }
32
24
 
33
25
  body {
@@ -35,24 +27,13 @@ exports.default = (config = {}) => {
35
27
  background-color: var(--background-color);
36
28
  margin: 0;
37
29
  padding: 0;
38
- color: var(--primary-text-color);
30
+ color: var(--primary-color);
39
31
  }
40
32
 
41
33
  h1, h2, h3 {
42
34
  font-family: var(--heading-font-family);
43
35
  }
44
36
 
45
- p {
46
- line-height: 1.5;
47
- }
48
-
49
- .welcome {
50
- background-clip: text;
51
- color: transparent;
52
- background-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
53
- cursor: pointer;
54
- }
55
-
56
37
  a {
57
38
  color: var(--link-color);
58
39
  text-decoration: none;
@@ -69,57 +50,69 @@ exports.default = (config = {}) => {
69
50
  overflow: hidden;
70
51
  }
71
52
 
72
- .column_right {
53
+ .column_left, .column_right {
73
54
  padding: 1.5em;
74
55
  overflow-y: auto;
75
56
  }
76
57
 
77
58
  .column_left {
78
- padding: 15px 15px 15px 35px;
79
- overflow-y: auto;
80
- width: 360px;
81
- background-color: var(--secondary-background-color);
82
- color: var(--secondary-text-color);
59
+ width: 35%;
60
+ background-color: var(--section-background-color);
83
61
  }
84
62
 
85
63
  .column_right {
86
- width: calc(100% - 360px);
64
+ width: 65%;
65
+ border-left: 1px solid var(--border-color);
87
66
  }
88
67
 
89
- #documentation_container {
90
- padding: 0 8em;
91
- margin: 0;
68
+ .docs_heading {
69
+ text-align: center;
70
+ padding-bottom: 0.5em;
71
+ border-bottom: 1px solid var(--border-color);
92
72
  }
93
73
 
94
74
  /* List styles */
95
75
  .list-item {
96
- margin: 0;
76
+ display: flex;
77
+ align-items: center;
78
+ margin: 0.5em 0;
97
79
  }
98
80
 
99
81
  .list-item a {
100
- display: block;
82
+ display: flex;
83
+ align-items: center;
101
84
  width: 100%;
102
- padding: 0.5em 0.75em;
85
+ padding: 0.5em;
103
86
  background-color: transparent;
104
87
  border-radius: 5px;
105
88
  transition: background-color 0.3s;
106
89
  text-decoration: none;
107
90
  color: inherit;
108
- font-weight: 500;
109
- cursor: pointer;
110
91
  }
111
92
 
112
- .list-item a:hover, .list-item a.active {
113
- background: var(--primary-color) linear-gradient(90deg, var(--primary-color), var(--secondary-color));
114
- color: white;
93
+ .list-item a:hover {
94
+ background-color: var(--hover-color);
115
95
  cursor: pointer;
116
- border-radius: 8px 0 0 8px;
117
96
  }
118
-
119
- ul#manager_list, ul#provider_list, ul#external_list {
120
- list-style-type: none;
121
- padding-left: 0;
122
- margin-top: 0.5em;
97
+
98
+ .list-icon {
99
+ width: 40px;
100
+ height: 40px;
101
+ margin-right: 1em;
102
+ }
103
+
104
+ .list-text {
105
+ display: flex;
106
+ flex-direction: column;
107
+ }
108
+
109
+ .list-title {
110
+ font-weight: bold;
111
+ }
112
+
113
+ .list-description {
114
+ font-size: 0.9em;
115
+ color: var(--secondary-color);
123
116
  }
124
117
 
125
118
  /* Detail styles */
@@ -152,186 +145,41 @@ exports.default = (config = {}) => {
152
145
  color: var(--link-color);
153
146
  }
154
147
 
155
- /* Code highlighting styles */
156
- pre {
157
- position: relative;
158
- padding: 1em;
159
- border-radius: 5px;
160
- overflow: auto;
161
- background-color: #282c34;
162
- margin: 1em 0;
163
- }
164
-
165
- pre[data-language]:before {
166
- content: attr(data-language);
167
- position: absolute;
168
- top: 0;
169
- right: 0;
170
- padding: 0.25em 0.5em;
171
- font-size: 0.75em;
172
- color: #abb2bf;
173
- background-color: #3e4451;
174
- border-radius: 0 0 0 4px;
175
- text-transform: uppercase;
176
- }
177
-
178
- code {
179
- font-family: Menlo, Monaco, 'Courier New', monospace;
180
- font-size: 0.9em;
181
- }
182
-
183
- /* Inline code */
184
- p code, li code {
185
- background-color: #3e4451;
186
- padding: 0.2em 0.4em;
187
- border-radius: 3px;
188
- white-space: nowrap;
189
- }
190
-
191
148
  /* Responsive design */
192
149
  @media screen and (max-width: 850px) {
193
150
  .main {
194
151
  flex-direction: column;
195
152
  }
196
153
 
197
- .column_left {
198
- max-height: 30vh;
199
- }
200
-
201
154
  .column_left, .column_right {
202
- width: 90%;
203
- margin: 0;
204
- padding: 0 5%;
155
+ width: 100%;
205
156
  }
206
157
 
207
- #documentation_container {
208
- margin: 0;
209
- padding: 0;
158
+ .column_right {
159
+ border-left: none;
160
+ border-top: 1px solid var(--border-color);
210
161
  }
211
162
  }
212
163
 
213
164
  ${additionalStyles}
214
165
  </style>
215
166
  <script src="https://cdn.jsdelivr.net/npm/showdown@2.0.3/dist/showdown.min.js"></script>
216
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.7.0/build/styles/atom-one-dark.min.css">
217
- <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.7.0/build/highlight.min.js"></script>
218
167
  <script>
219
168
  const faviconUrl = '${faviconUrl}';
220
169
 
221
170
  const showdown = window.showdown;
222
- window.hljs.configure({ languages: ['typescript', 'javascript', 'json', 'html', 'css', 'bash', 'markdown'] });
223
-
224
171
 
225
172
  const Convert = (md) => {
226
- let converter = new showdown.Converter({
227
- ghCompatibleHeaderId: true,
228
- simpleLineBreaks: true,
229
- ghMentions: true,
230
- tables: true,
231
- tasklists: true,
232
- strikethrough: true,
233
- parseImgDimensions: true,
234
- simplifiedAutoLink: true
235
- });
236
- // Set to use GitHub flavor markdown
237
- converter.setFlavor('github');
238
-
239
- // Set language detection for code blocks
240
- converter.setOption('ghCodeBlocks', true);
241
- converter.setOption('omitExtraWLInCodeBlocks', true);
242
- converter.setOption('literalMidWordUnderscores', true);
243
- converter.setOption('parseImgDimensions', true);
244
-
245
- // Add custom extension for adding language-specific class to code blocks
246
- const codeExtension = () => [
247
- {
248
- type: 'output',
249
- filter: function(text) {
250
- return text.replace(/<pre><code\s*class="([^"]*)">(.*?)<\\/code><\\/pre>/gs, function(match, language, content) {
251
- if (language) {
252
- // Clean up the language identifier
253
- const lang = language.replace('language-', '').trim();
254
- return \`<pre data-language="\${lang}"><code class="language-\${lang} hljs">\${content}</code></pre>\`;
255
- } else {
256
- return \`<pre><code class="hljs">\${content}</code></pre>\`;
257
- }
258
- });
259
- }
260
- }
261
- ];
262
-
263
- // Add the extension
264
- converter.addExtension(codeExtension());
265
- const html = converter.makeHtml(md);
266
-
267
- return html;
268
- };
269
-
270
- window.returnHome = () => {
271
- if (!window.defaultHtml) {
272
- let newStuff = Convert(${defaultContent});
273
- window.defaultHtml = newStuff;
274
- }
275
- document.getElementById('documentation_container').innerHTML = window.defaultHtml;
276
- window.location.hash = '';
277
- document.querySelectorAll('.list-item a').forEach(item => {
278
- item.classList.remove('active');
279
- });
280
- };
281
-
282
- // Function to apply syntax highlighting after content is inserted
283
- const applyHighlighting = () => {
284
- document.querySelectorAll('pre code').forEach(block => {
285
- const blockElement = block;
286
-
287
- // Check for language class
288
- const classList = Array.from(blockElement.classList);
289
- const langClass = classList.find(cls => cls.startsWith('language-'));
290
-
291
- if (langClass) {
292
- const language = langClass.replace('language-', '');
293
- // Set language label on the parent pre element
294
- const preElement = blockElement.parentElement;
295
- if (preElement) {
296
- preElement.setAttribute('data-language', language);
297
- }
298
- }
299
-
300
- // Apply highlighting to all code blocks
301
- try {
302
- // @ts-ignore - hljs is loaded from CDN
303
- window.hljs.highlightElement(blockElement);
304
- } catch (e) {
305
- console.error('Error highlighting code:', e);
306
- }
307
- });
173
+ let converter = new showdown.Converter();
174
+ return converter.makeHtml(md);
308
175
  };
309
176
 
310
177
  let managersData = {};
311
178
  let providersData = {};
312
179
 
313
- // Function to update URL hash and highlight selected item
314
- const updateSelectedItem = (type, id) => {
315
- // Update URL hash
316
- window.location.hash = \`\${type}/\${id}\`;
317
-
318
- // Remove active class from all list items
319
- document.querySelectorAll('.list-item a').forEach(item => {
320
- item.classList.remove('active');
321
- });
322
-
323
- // Add active class to selected item
324
- const selector = \`[data-\${type}="\${id}"]\`;
325
- const selectedItem = document.querySelector(selector);
326
- if (selectedItem) {
327
- selectedItem.classList.add('active');
328
- }
329
- };
330
-
331
- // @ts-ignore - Adding custom property to window
332
180
  window.managerDocumentation = async (manager) => {
333
181
  try {
334
- let res = await fetch(\`${host}/getDocumentationForTopicManager?manager=\${manager}\`);
182
+ let res = await fetch(\`/getDocumentationForTopicManager?manager=\${manager}\`);
335
183
  let docs = await res.text();
336
184
  let managerReadme = Convert(docs);
337
185
 
@@ -339,19 +187,25 @@ exports.default = (config = {}) => {
339
187
  let iconURL = managerData.iconURL || faviconUrl;
340
188
 
341
189
  document.getElementById('documentation_container').innerHTML = managerReadme;
342
- applyHighlighting();
343
-
344
- // Update active item and URL
345
- updateSelectedItem('manager', manager);
190
+ document.getElementById('documentation_title').innerHTML = \`
191
+ <div class="detail-header">
192
+ <img src="\${iconURL}" alt="icon" class="detail-icon">
193
+ <div class="detail-text">
194
+ <h1 class="detail-title">\${managerData.name}</h1>
195
+ <p class="detail-description">\${managerData.shortDescription || ''}</p>
196
+ \${managerData.version ? '<p class="detail-version">Version: ' + managerData.version + '</p>' : ''}
197
+ \${managerData.informationURL ? '<p class="detail-info"><a href="' + managerData.informationURL + '" target="_blank">More Information</a></p>' : ''}
198
+ </div>
199
+ </div>
200
+ \`;
346
201
  } catch (error) {
347
202
  console.error('Error fetching manager documentation:', error);
348
203
  }
349
204
  };
350
205
 
351
- // @ts-ignore - Adding custom property to window
352
206
  window.topicDocumentation = async (provider) => {
353
207
  try {
354
- let res = await fetch(\`${host}/getDocumentationForLookupServiceProvider?lookupService=\${provider}\`);
208
+ let res = await fetch(\`/getDocumentationForLookupServiceProvider?lookupService=\${provider}\`);
355
209
  let docs = await res.text();
356
210
  let providerReadme = Convert(docs);
357
211
 
@@ -359,127 +213,81 @@ exports.default = (config = {}) => {
359
213
  let iconURL = providerData.iconURL || faviconUrl;
360
214
 
361
215
  document.getElementById('documentation_container').innerHTML = providerReadme;
362
- applyHighlighting();
363
-
364
- // Update active item and URL
365
- updateSelectedItem('provider', provider);
216
+ document.getElementById('documentation_title').innerHTML = \`
217
+ <div class="detail-header">
218
+ <img src="\${iconURL}" alt="icon" class="detail-icon">
219
+ <div class="detail-text">
220
+ <h1 class="detail-title">\${providerData.name}</h1>
221
+ <p class="detail-description">\${providerData.shortDescription || ''}</p>
222
+ \${providerData.version ? '<p class="detail-version">Version: ' + providerData.version + '</p>' : ''}
223
+ \${providerData.informationURL ? '<p class="detail-info"><a href="' + providerData.informationURL + '" target="_blank">More Information</a></p>' : ''}
224
+ </div>
225
+ </div>
226
+ \`;
366
227
  } catch (error) {
367
228
  console.error('Error fetching provider documentation:', error);
368
229
  }
369
230
  };
370
231
 
371
- // Function to parse hash and load appropriate content
372
- const handleUrlHash = () => {
373
- const hash = window.location.hash.substring(1); // Remove the # character
374
- if (hash) {
375
- const [type, id] = hash.split('/');
376
- if (type && id) {
377
- if (type === 'manager') {
378
- // Check if managers data is loaded
379
- if (Object.keys(managersData).length > 0 && managersData[id]) {
380
- window.managerDocumentation(id);
381
- }
382
- } else if (type === 'provider') {
383
- // Check if providers data is loaded
384
- if (Object.keys(providersData).length > 0 && providersData[id]) {
385
- window.topicDocumentation(id);
386
- }
387
- }
388
- }
389
- }
390
- };
391
-
392
232
  document.addEventListener('DOMContentLoaded', () => {
393
- let managersLoaded = false;
394
- let providersLoaded = false;
395
-
396
- // Check if both managers and providers are loaded before handling hash
397
- const checkAllLoaded = () => {
398
- if (managersLoaded && providersLoaded) {
399
- handleUrlHash();
400
- }
401
- };
402
-
403
- fetch('${host}/listTopicManagers')
233
+ fetch('/listTopicManagers')
404
234
  .then(res => res.json())
405
235
  .then(managers => {
406
236
  managersData = managers;
407
237
  const managerList = document.getElementById('manager_list');
408
238
  Object.keys(managers).forEach(manager => {
409
239
  let managerData = managers[manager];
240
+ let iconURL = managerData.iconURL || faviconUrl;
410
241
  let li = document.createElement('li');
411
242
  li.className = 'list-item';
412
243
  li.innerHTML = \`
413
- <a data-manager="\${manager}" onclick="window.managerDocumentation('\${manager}')">
414
- \${managerData.name}
244
+ <a onclick="window.managerDocumentation('\${manager}')">
245
+ <img src="\${iconURL}" alt="icon" class="list-icon">
246
+ <div class="list-text">
247
+ <span class="list-title">\${managerData.name}</span>
248
+ <span class="list-description">\${managerData.shortDescription || ''}</span>
249
+ </div>
415
250
  </a>
416
251
  \`;
417
252
  managerList.appendChild(li);
418
253
  });
419
- managersLoaded = true;
420
- checkAllLoaded();
421
254
  })
422
255
  .catch(() => {
423
256
  let message = document.createElement('h4');
424
257
  message.innerText = 'Something went wrong!';
425
258
  manager_list.insertBefore(message, manager_list.children[0]);
426
- managersLoaded = true;
427
- checkAllLoaded();
428
259
  });
429
260
 
430
- fetch('${host}/listLookupServiceProviders')
261
+ fetch('/listLookupServiceProviders')
431
262
  .then(res => res.json())
432
263
  .then(providers => {
433
264
  providersData = providers;
434
265
  const providerList = document.getElementById('provider_list');
435
266
  Object.keys(providers).forEach(provider => {
436
267
  let providerData = providers[provider];
268
+ let iconURL = providerData.iconURL || faviconUrl;
437
269
  let li = document.createElement('li');
438
270
  li.className = 'list-item';
439
271
  li.innerHTML = \`
440
- <a data-provider="\${provider}" onclick="window.topicDocumentation('\${provider}')">
441
- \${providerData.name}
272
+ <a onclick="window.topicDocumentation('\${provider}')">
273
+ <img src="\${iconURL}" alt="icon" class="list-icon">
274
+ <div class="list-text">
275
+ <span class="list-title">\${providerData.name}</span>
276
+ <span class="list-description">\${providerData.shortDescription || ''}</span>
277
+ </div>
442
278
  </a>
443
279
  \`;
444
280
  providerList.appendChild(li);
445
281
  });
446
- providersLoaded = true;
447
- checkAllLoaded();
448
282
  })
449
283
  .catch(() => {
450
284
  let message = document.createElement('h4');
451
285
  message.innerText = 'Something went wrong!';
452
286
  provider_list.insertBefore(message, provider_list.children[0]);
453
- providersLoaded = true;
454
- checkAllLoaded();
455
287
  });
456
288
 
457
- // Check URL hash to see if we should load specific documentation
458
- const checkUrlHash = () => {
459
- const hash = window.location.hash.substring(1); // Remove the # symbol
460
- if (hash) {
461
- const parts = hash.split('/');
462
- if (parts.length === 2) {
463
- const type = parts[0];
464
- const id = parts[1];
465
-
466
- if (type === 'manager' && id && managersData[id]) {
467
- window.managerDocumentation(id);
468
- } else if (type === 'provider' && id && providersData[id]) {
469
- window.topicDocumentation(id);
470
- }
471
- }
472
- } else {
473
- // Display default message when no manager or provider is selected
474
- returnHome();
475
- }
476
- };
477
-
478
- // Listen for hash changes
479
- window.addEventListener('hashchange', checkUrlHash);
480
-
481
- // Check hash on initial page load
482
- checkUrlHash();
289
+ // Display default message when no manager or provider is selected
290
+ document.getElementById('documentation_container').innerHTML = '<p>Please select a manager or service from the left to see details.</p>';
483
291
  });
484
292
  </script>
485
293
  </head>
@@ -488,27 +296,22 @@ exports.default = (config = {}) => {
488
296
  <div class="main">
489
297
  <div class="column_left">
490
298
  <div class="page_head">
491
- <h1 class="welcome" onclick="window.returnHome()">Overlay Services</h1>
299
+ <h1>Welcome to Overlay Services</h1>
300
+ <p>Learn more on <a href="https://github.com/bitcoin-sv/overlay-services" target="_blank">GitHub</a></p>
492
301
  </div>
493
302
  <div class="topic_container">
494
- <h3>Topic Managers</h3>
303
+ <h2>Endpoint Documentation:</h2>
304
+ <h3>Supported Topic Managers:</h3>
495
305
  <ul id="manager_list"></ul>
496
306
  </div>
497
307
  <div class="provider_container">
498
- <h3>Lookup Services</h3>
308
+ <h3>Supported Lookup Service Providers:</h3>
499
309
  <ul id="provider_list"></ul>
500
310
  </div>
501
- <div>
502
- <h3>External Links</h3>
503
- <ul id="external_list">
504
- <li class="list-item"><a href="https://github.com/bsv-blockchain/overlay-services" target="_blank">Overlay Services GitHub</a></li>
505
- <li class="list-item"><a href="https://bsv.brc.dev/transactions/0076" target="_blank">BRC-76 GASP</a></li>
506
- <li class="list-item"><a href="https://fast.brc.dev" target="_blank">Quick Start for App Developers</a></li>
507
- </ul>
508
- </div>
509
311
  </div>
510
312
  <div class="column_right">
511
- <div id="documentation_container"></div>
313
+ <div id="documentation_title"></div>
314
+ <div id="documentation_container" style="margin-left: 1.5em"></div>
512
315
  </div>
513
316
  </div>
514
317
  </body>
@@ -1 +1 @@
1
- {"version":3,"file":"makeUserInterface.js","sourceRoot":"","sources":["../../../src/makeUserInterface.ts"],"names":[],"mappings":";;;;;AAAA,oBAAoB;AACpB,8EAA+C;AAqB/C,kBAAe,CAAC,SAAmB,E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