@nats-io/nats-core
Advanced tools
Comparing version 3.0.0-25 to 3.0.0-26
@@ -8,3 +8,3 @@ export { NatsConnectionImpl } from "./nats"; | ||
export { Connect, INFO, ProtocolHandler } from "./protocol"; | ||
export type { Backoff, Deferred, Delay, ErrorResult, Perf, Result, Timeout, ValueResult, } from "./util"; | ||
export type { Backoff, Cancelable, Deferred, Delay, ErrorResult, Perf, Result, Timeout, ValueResult, } from "./util"; | ||
export { backoff, collect, deadline, deferred, delay, extend, millis, nanos, render, SimpleMutex, timeout, } from "./util"; | ||
@@ -11,0 +11,0 @@ export { canonicalMIMEHeaderKey, headers, MsgHdrsImpl } from "./headers"; |
export { backoff, Bench, buildAuthenticator, canonicalMIMEHeaderKey, createInbox, credsAuthenticator, deadline, DebugEvents, deferred, delay, Empty, ErrorCode, Events, headers, JSONCodec, jwtAuthenticator, Match, Metric, millis, MsgHdrsImpl, nanos, NatsError, nkeyAuthenticator, nkeys, Nuid, nuid, RequestStrategy, StringCodec, syncIterator, tokenAuthenticator, usernamePasswordAuthenticator, wsconnect, } from "./internal_mod"; | ||
export type { ApiError, Auth, Authenticator, Backoff, BenchOpts, Codec, ConnectionOptions, Deferred, Delay, DispatchedFn, IngestionFilterFn, IngestionFilterFnResult, JwtAuth, Msg, MsgAdapter, MsgCallback, MsgHdrs, Nanos, NatsConnection, NKeyAuth, NoAuth, Payload, Perf, ProtocolFilterFn, Publisher, PublishOptions, QueuedIterator, RequestManyOptions, RequestOptions, ReviverFn, ServerInfo, ServersChanged, Stats, Status, Sub, SubOpts, Subscription, SubscriptionOptions, SyncIterator, Timeout, TlsOptions, TokenAuth, TypedCallback, TypedSubscriptionOptions, UserPass, } from "./internal_mod"; | ||
export type { ApiError, Auth, Authenticator, Backoff, BenchOpts, Cancelable, Codec, ConnectionOptions, Deferred, Delay, DispatchedFn, IngestionFilterFn, IngestionFilterFnResult, JwtAuth, Msg, MsgAdapter, MsgCallback, MsgHdrs, Nanos, NatsConnection, NKeyAuth, NoAuth, Payload, Perf, ProtocolFilterFn, Publisher, PublishOptions, QueuedIterator, RequestManyOptions, RequestOptions, ReviverFn, ServerInfo, ServersChanged, Stats, Status, Sub, SubOpts, Subscription, SubscriptionOptions, SyncIterator, Timeout, TlsOptions, TokenAuth, TypedCallback, TypedSubscriptionOptions, UserPass, } from "./internal_mod"; |
@@ -26,7 +26,10 @@ import type { Nanos } from "./core"; | ||
export declare function render(frame: Uint8Array): string; | ||
export interface Timeout<T> extends Promise<T> { | ||
export interface Cancelable { | ||
cancel: () => void; | ||
} | ||
export interface Timeout<T> extends Promise<T>, Cancelable { | ||
cancel: () => void; | ||
} | ||
export declare function timeout<T>(ms: number, asyncTraces?: boolean): Timeout<T>; | ||
export interface Delay extends Promise<void> { | ||
export interface Delay extends Promise<void>, Cancelable { | ||
cancel: () => void; | ||
@@ -33,0 +36,0 @@ } |
@@ -1,1 +0,1 @@ | ||
export declare const version = "3.0.0-25"; | ||
export declare const version = "3.0.0-26"; |
@@ -5,3 +5,3 @@ "use strict"; | ||
// This file is generated - do not edit | ||
exports.version = "3.0.0-25"; | ||
exports.version = "3.0.0-26"; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@nats-io/nats-core", | ||
"version": "3.0.0-25", | ||
"version": "3.0.0-26", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "lib/", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
549698
8647