@grammyjs/conversations
Advanced tools
Comparing version 0.7.2 to 0.7.3
import { type ApiResponse, Context, type Filter, type FilterQuery, type LazySessionFlavor, type MiddlewareFn, type RawApi, type SessionFlavor, type Update, type User } from "./deps.node.js"; | ||
import { type ConversationForm } from "./form.js"; | ||
import { ConversationForm } from "./form.js"; | ||
import { type Resolver } from "./utils.js"; | ||
@@ -4,0 +4,0 @@ /** |
@@ -301,3 +301,3 @@ "use strict"; | ||
// TODO: implement callback, game, and inline query matching | ||
this.form = new form_js_1.Form(this); | ||
this.form = new form_js_1.ConversationForm(this); | ||
// We intercept Bot API calls, returning logged responses while | ||
@@ -304,0 +304,0 @@ // replaying, and logging the responses of performed calls otherwise. |
import { type Context } from "./deps.node.js"; | ||
export declare type ConversationForm<C extends Context> = Form<C>; | ||
export declare class Form<C extends Context> { | ||
export declare class ConversationForm<C extends Context> { | ||
private readonly conversation; | ||
@@ -5,0 +4,0 @@ constructor(conversation: { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Form = void 0; | ||
class Form { | ||
exports.ConversationForm = void 0; | ||
class ConversationForm { | ||
constructor(conversation) { | ||
@@ -98,2 +98,2 @@ this.conversation = conversation; | ||
} | ||
exports.Form = Form; | ||
exports.ConversationForm = ConversationForm; |
{ | ||
"name": "@grammyjs/conversations", | ||
"description": "Conversational interfaces for grammY", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"author": "KnorpelSenf", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1357