@azure/core-amqp
Version:
Common library for amqp based azure sdks like @azure/event-hubs.
92 lines (91 loc) • 3.96 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var src_exports = {};
__export(src_exports, {
AmqpAnnotatedMessage: () => import_amqpAnnotatedMessage.AmqpAnnotatedMessage,
AmqpMessageHeader: () => import_messageHeader.AmqpMessageHeader,
AmqpMessageProperties: () => import_messageProperties.AmqpMessageProperties,
CbsClient: () => import_cbs.CbsClient,
ConditionErrorNameMapper: () => import_errors.ConditionErrorNameMapper,
ConnectionConfig: () => import_connectionConfig.ConnectionConfig,
ConnectionContextBase: () => import_ConnectionContextBase.ConnectionContextBase,
Constants: () => import_constants.Constants,
ErrorNameConditionMapper: () => import_errors.ErrorNameConditionMapper,
MessagingError: () => import_errors.MessagingError,
RequestResponseLink: () => import_requestResponseLink.RequestResponseLink,
RetryMode: () => import_retry.RetryMode,
RetryOperationType: () => import_retry.RetryOperationType,
StandardAbortMessage: () => import_constants.StandardAbortMessage,
SystemErrorConditionMapper: () => import_errors.SystemErrorConditionMapper,
TokenType: () => import_token.TokenType,
defaultCancellableLock: () => import_utils.defaultCancellableLock,
delay: () => import_utils.delay,
isMessagingError: () => import_errors.isMessagingError,
isSystemError: () => import_errors.isSystemError,
logger: () => import_log.logger,
parseConnectionString: () => import_utils.parseConnectionString,
retry: () => import_retry.retry,
retryableErrors: () => import_errors.retryableErrors,
translate: () => import_errors.translate
});
module.exports = __toCommonJS(src_exports);
var import_requestResponseLink = require("./requestResponseLink.js");
var import_retry = require("./retry.js");
var import_token = require("./auth/token.js");
var import_connectionConfig = require("./connectionConfig/connectionConfig.js");
var import_cbs = require("./cbs.js");
var import_constants = require("./util/constants.js");
var import_messageHeader = require("./messageHeader.js");
var import_messageProperties = require("./messageProperties.js");
var import_ConnectionContextBase = require("./ConnectionContextBase.js");
var import_errors = require("./errors.js");
var import_utils = require("./util/utils.js");
var import_amqpAnnotatedMessage = require("./amqpAnnotatedMessage.js");
var import_log = require("./log.js");
__reExport(src_exports, require("./internals.js"), module.exports);
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
AmqpAnnotatedMessage,
AmqpMessageHeader,
AmqpMessageProperties,
CbsClient,
ConditionErrorNameMapper,
ConnectionConfig,
ConnectionContextBase,
Constants,
ErrorNameConditionMapper,
MessagingError,
RequestResponseLink,
RetryMode,
RetryOperationType,
StandardAbortMessage,
SystemErrorConditionMapper,
TokenType,
defaultCancellableLock,
delay,
isMessagingError,
isSystemError,
logger,
parseConnectionString,
retry,
retryableErrors,
translate,
...require("./internals.js")
});
//# sourceMappingURL=index.js.map