@usebridger/core 0.1.0 → 0.2.0
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/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1159,7 +1159,7 @@ export declare function createMemoryStorage(): StoragePort;
|
|
|
1159
1159
|
* Não edite à mão: `pnpm version-packages` roda o `changeset version` e reescreve esta linha
|
|
1160
1160
|
* (`scripts/sync-version.ts`); o `version.test.ts` falha se ela divergir do `package.json`.
|
|
1161
1161
|
*/
|
|
1162
|
-
export declare const CORE_VERSION = "0.
|
|
1162
|
+
export declare const CORE_VERSION = "0.2.0";
|
|
1163
1163
|
//#endregion
|
|
1164
1164
|
export { type AcceptSpec, type AcceptedMessage, type ActionOptions, type AlbumItem, type AudioMessage, type BaseListenerContext, type Bot, type BotConfig, type BotEventName, type BotEvents, type BotMessageContext, type BotMiddlewareEntry, type BotMiddlewaresConfig, type BotPluginConfigs, type BotReconnectionOptions, type BotState, type BotStats, type BotTimeouts, type Capability, type Chat, type ChatFilterOptions, type ChatKind, type Collection, type CollectionOptions, type CommandAction, type CommandContext, type CommandDefinition, type CommandEvent, type CommandInfo, type CommandRejection, type CommandRole, type ConfigEnv, type ConfigSource, type ConnectionStatus, type Contact, type ContactMessage, ContextExpiredError, type Conversations, type DisconnectReason, type DocumentMessage, type EventSubscriber, ExecutionTimeoutError, type ExpectReply, type ExpectReplyOptions, type FieldCondition, type FieldName, type FieldOperators, type FindQuery, type FormattedText, type GroupMetadata, type GroupParticipant, type GroupParticipantAction, type Groups, type HttpHandler, type HttpMethod, type HttpOptions, type HttpRequestInfo, type HttpRoutes, type HttpServer, type HttpSocket, type HttpSocketAccept, type HttpSocketHandlers, type ImageMessage, type InboundQueueStats, type JobContext, type JobHandler, JobTimeoutError, type JsonObject, type JsonValue, type KeyValueStore, type Listener, type ListenerContext, type ListenerExtras, type ListenerOptions, ListenerTimeoutError, type LocationMessage, type LogDestination, type LogFields, type LogLevel, type Logger, type LoggerOptions, type Media, type MediaInput, type MediaMessageType, type MentionTarget, type Message, type MessageAction, type MessageContext, type MessageFilter, type MessageKey, type MessageListenerFields, type MessageOf, type MessageText, type MessageType, type MessageTypeEvents, type Middleware, type Next, type Outbound, type OutboundQueueStats, type OutboundSendOptions, type OutgoingAction, type OutgoingContent, type Patch, type PluginCommand, type PluginConfigEntry, type PluginConfigFile, type PluginConfigIssue, type PluginConfigJsonSchema, type PluginConfigView, type PluginContext, type PluginContextStorage, type PluginDefinition, type PluginErrorEvent, type PluginListener, type PluginListeners, type PluginManifest, type PluginMessages, type PluginPhase, type PluginReloadResult, type PluginReportEntry, type PluginSkipReason, type PluginStorage, type PollMessage, type PrefixConfig, type Prefixes, type RateLimitOptions, type RateLimitScope, type RejectContext, type Reply, type ReplyAlbumOptions, type ReplyAudioOptions, type ReplyDocumentOptions, type ReplyMediaOptions, type ReplyOptions, type ReplyPollOptions, type ReplyTextOptions, type RoleCheck, RoleConflictError, type RoleContext, type RoleName, RoleTimeoutError, type Roles, type SanitizeOptions, type SanitizedContext, type SanitizedFields, type Scalar, type Scheduler, type SecretSet, type SecretSource, type SendOptions, type SendPriority, type Sender, type ServiceAccess, type ServiceName, type Services, type ShutdownOptions, type Sort, type SortDirection, type StepAction, type StepContext, type StepHandler, StepTimeoutError, type StickerMessage, type StopHook, type StopHookOptions, type StoragePort, type SubscribeOptions, type Target, type TenantStorage, type TextLimits, type TextMessage, type TextNode, type TextPart, type Transport, type TransportPacing, type TypingKind, type UnknownMessage, type Unsafe, type Unsubscribe, UnsupportedError, type VideoMessage, type VoiceMessage, type Where, type WithId, bold, code, command, fmt, italic, link, mention, plainText };
|
|
1165
1165
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -3943,7 +3943,7 @@ function definePlugin(definition) {
|
|
|
3943
3943
|
* Não edite à mão: `pnpm version-packages` roda o `changeset version` e reescreve esta linha
|
|
3944
3944
|
* (`scripts/sync-version.ts`); o `version.test.ts` falha se ela divergir do `package.json`.
|
|
3945
3945
|
*/
|
|
3946
|
-
const CORE_VERSION = "0.
|
|
3946
|
+
const CORE_VERSION = "0.2.0";
|
|
3947
3947
|
//#endregion
|
|
3948
3948
|
//#region src/plugin/declared.ts
|
|
3949
3949
|
/** Registra os `commands` e o `on` do manifesto. Chamado pelo host antes do `setup`. */
|
|
@@ -4141,7 +4141,7 @@ const reportBase = ({ definition, origin }) => ({
|
|
|
4141
4141
|
/** Cria o host de plugins. Não roda nada até `start()`. */
|
|
4142
4142
|
function createPluginHost(options) {
|
|
4143
4143
|
const { transport, createContext, log } = options;
|
|
4144
|
-
const coreVersion = options.coreVersion ?? "0.
|
|
4144
|
+
const coreVersion = options.coreVersion ?? "0.2.0";
|
|
4145
4145
|
if (!parseVersion(coreVersion)) throw new RangeError(`coreVersion inválida: "${coreVersion}"`);
|
|
4146
4146
|
const setupTimeoutMs = options.setupTimeoutMs ?? 1e4;
|
|
4147
4147
|
const teardownTimeoutMs = options.teardownTimeoutMs ?? 5e3;
|