@getnexorai/sdk 0.1.2 → 0.1.4

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/README.md CHANGED
@@ -171,6 +171,21 @@ nexor.initChat({
171
171
  openOnLoad?: boolean;
172
172
  container?: HTMLElement; // default document.body
173
173
 
174
+ // Speed-dial channels (optional) — hover (desktop) or tap (mobile) the
175
+ // launcher and it fans out round buttons instead of opening chat right away.
176
+ // Only the channels you supply are shown, in the order listed. On phones the
177
+ // chat panel opens full-screen with a clear close button in the header.
178
+ channels?: {
179
+ whatsapp?: string; // "+56912345678" → opens wa.me
180
+ whatsappText?: string; // pre-filled WhatsApp message
181
+ call?: string; // "+56912345678" → tel:
182
+ email?: string; // → mailto:
183
+ instagram?: string; // handle "nexor.ai" or full URL
184
+ chat?: boolean; // include an "open chat" button, default true
185
+ order?: ("whatsapp" | "call" | "email" | "instagram" | "chat")[];
186
+ labels?: Partial<Record<"whatsapp"|"call"|"email"|"instagram"|"chat", string>>;
187
+ };
188
+
174
189
  // Per-widget prompt overrides — forwarded to the agent on every turn
175
190
  systemPrompt?: string;
176
191
  clientPrompt?: string;