SYMBOL INDEX (26 symbols across 1 files) FILE: sdk-demo.js constant ACTIONS_WITH_PAIR (line 5) | const ACTIONS_WITH_PAIR = new Set(['add', 'update', 'delete']) constant MESSAGE_TYPES (line 6) | const MESSAGE_TYPES = new Set(['warning', 'notice']) function generateNonce (line 8) | function generateNonce() { function sleep (line 16) | function sleep(ms) { constant API_KEY (line 55) | const API_KEY = process.env.ASTRO_API_KEY || '***'; constant BASE_URL (line 58) | const BASE_URL = '127.0.0.1'; constant PORT (line 59) | const PORT = 8443; constant PAIR_API_PATH (line 60) | const PAIR_API_PATH = '/api/config/sdk-update-pair'; constant MESSAGE_API_PATH (line 61) | const MESSAGE_API_PATH = '/api/config/sdk-send-message'; constant USE_HTTPS (line 64) | const USE_HTTPS = true; constant PROTOCOL (line 65) | const PROTOCOL = USE_HTTPS ? 'https' : 'http'; constant HTTP_MODULE (line 66) | const HTTP_MODULE = USE_HTTPS ? https : http; function createUpdatedPair (line 96) | function createUpdatedPair(addedPair) { function printDivider (line 109) | function printDivider(title) { function printJson (line 115) | function printJson(title, value) { function summarizePair (line 120) | function summarizePair(targetPair) { function assertSuccess (line 140) | function assertSuccess(stepName, response) { function findPairByName (line 146) | function findPairByName(list, name) { function findPairById (line 150) | function findPairById(list, id) { function buildLogSafeHeaders (line 154) | function buildLogSafeHeaders(headers) { function sendSignedRequest (line 162) | function sendSignedRequest(apiPath, payload, stepLabel, summary = {}) { function sendRequest (line 249) | function sendRequest(action, pairData, stepLabel) { function sendMessageRequest (line 254) | function sendMessageRequest(type, text, stepLabel) { function runDemoFlow (line 266) | async function runDemoFlow() { function runMessageDemoFlow (line 335) | async function runMessageDemoFlow() { function runAllDemos (line 355) | async function runAllDemos() {