{"versions":{"0.14.1":{"name":"@types/xmpp__sasl2","version":"0.14.1","license":"MIT","_id":"@types/xmpp__sasl2@0.14.1","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/vpzomtrrfrt","name":"Colin Reeder","githubUsername":"vpzomtrrfrt"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xmpp__sasl2","dist":{"shasum":"21934b1d925e45671fdced3ab6f4e42b9e7d9832","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/xmpp__sasl2/-/xmpp__sasl2-0.14.1.tgz","fileCount":5,"integrity":"sha512-D9gyNMga/7lAALQBTuyax2ZJzMgLj0xVM1LI/jXeAlCSA6Cfu35YtSIb/TQKGMsVBC7cU0+mvyJnribK3eMAjg==","signatures":[{"sig":"MEUCIHHy1CCdVeJNkKf1jNfWFLQETNGeXQx2Sv3PZxvCwqscAiEA7vhbHE56MQVzgV2qjVZyyRJP/GD+TH3kWnNa8YE3pNg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5309,"size":2078},"main":"","type":"module","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/xmpp__sasl2"},"description":"TypeScript definitions for @xmpp/sasl2","directories":{},"dependencies":{"@types/xmpp__xml":"*","@types/saslmechanisms":"*","@types/xmpp__middleware":"*","@types/xmpp__client-core":"*","@types/xmpp__stream-features":"*"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.2","_npmOperationalInternal":{"tmp":"tmp/xmpp__sasl2_0.14.1_1769454463310_0.8343492146358913","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"16ceb0e51773e1ce8176d852c0d518ed1829f601abb6830fd6ab33d30f7ec438","_cnpmcore_publish_time":"2026-01-26T19:07:43.466Z","publish_time":1769454463466,"_source_registry_name":"default"},"0.14.0":{"name":"@types/xmpp__sasl2","version":"0.14.0","license":"MIT","_id":"@types/xmpp__sasl2@0.14.0","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/vpzomtrrfrt","name":"Colin Reeder","githubUsername":"vpzomtrrfrt"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xmpp__sasl2","dist":{"shasum":"7cabfe4f76e870dc3e0e8bb11fac67c68ffe2a2a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/xmpp__sasl2/-/xmpp__sasl2-0.14.0.tgz","fileCount":5,"integrity":"sha512-Jd56komMbXq6GCE/tDKB3aexC9DPxlifxS9geahhgY+aZskXT5ciDX/KJ2IMNsoV8b9PIeoCNsBBL/+kwyMK2g==","signatures":[{"sig":"MEQCIF+eD2K87ZLVIwHEFI1Y09go/MB7P+2MFr2ouOVJFQ+PAiAfVvPK8KeooCaaVlJpw5keBY/Qm/lP/o4qc6C9upKrNw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5183,"size":2057},"main":"","type":"module","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/xmpp__sasl2"},"description":"TypeScript definitions for @xmpp/sasl2","directories":{},"dependencies":{"@types/xmpp__xml":"*","@types/saslmechanisms":"*","@types/xmpp__middleware":"*","@types/xmpp__client-core":"*","@types/xmpp__stream-features":"*"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.2","_npmOperationalInternal":{"tmp":"tmp/xmpp__sasl2_0.14.0_1765487070942_0.5872890900380152","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"1a95b51d4cb646fe2a3f900765d0b09fe02870d9c22d8c177910683332e0ce78","_cnpmcore_publish_time":"2025-12-11T21:04:31.087Z","publish_time":1765487071087,"_source_registry_name":"default"}},"dist-tags":{"latest":"0.14.1","ts5.2":"0.14.1","ts5.3":"0.14.1","ts5.4":"0.14.1","ts5.5":"0.14.1","ts5.6":"0.14.1","ts5.7":"0.14.1","ts5.8":"0.14.1","ts5.9":"0.14.1","ts6.0":"0.14.1"},"name":"@types/xmpp__sasl2","time":{"created":"2026-01-26T19:07:53.038Z","modified":"2026-01-26T19:08:04.995Z","0.14.1":"2026-01-26T19:07:43.466Z","0.14.0":"2025-12-11T21:04:31.087Z"},"readme":"# Installation\r\n> `npm install --save @types/xmpp__sasl2`\r\n\r\n# Summary\r\nThis package contains type definitions for @xmpp/sasl2 (https://github.com/xmppjs/xmpp.js/tree/main/packages/sasl2).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xmpp__sasl2.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xmpp__sasl2/index.d.ts)\r\n````ts\r\nimport { FAST, Token } from \"@xmpp/client-core/src/fast/fast.js\";\nimport { Entity } from \"@xmpp/middleware\";\nimport { StreamFeatures } from \"@xmpp/stream-features\";\nimport { Element } from \"@xmpp/xml\";\nimport SASLFactory = require(\"saslmechanisms\");\n\n// eslint-disable-next-line @definitelytyped/no-unnecessary-generics\nexport default function sasl2<TEntity extends Entity>(\n    params: { streamFeatures: StreamFeatures<TEntity>; saslFactory: SASLFactory },\n    onAuthenticate: CredentialsFactory<TEntity>,\n): SASL2;\n\nexport interface SASL2 {\n    use(ns: string, req: (element: Element) => Promise<void>, res: (element: Element) => Promise<void>): void;\n    setup(params: { fast: FAST }): void;\n}\n\nexport type CredentialsFactory<TEntity extends Entity> = (\n    callback: (credentials: CredentialsObj, mechanism: string, userAgent: Element) => Promise<void>,\n    mechanisms: string[],\n    fast: FAST | null,\n    entity: TEntity,\n) => Promise<void>;\n\nexport interface CredentialsObj {\n    username?: string;\n    password?: string;\n    token?: Token;\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Mon, 26 Jan 2026 19:06:55 GMT\r\n * Dependencies: [@types/saslmechanisms](https://npmjs.com/package/@types/saslmechanisms), [@types/xmpp__client-core](https://npmjs.com/package/@types/xmpp__client-core), [@types/xmpp__middleware](https://npmjs.com/package/@types/xmpp__middleware), [@types/xmpp__stream-features](https://npmjs.com/package/@types/xmpp__stream-features), [@types/xmpp__xml](https://npmjs.com/package/@types/xmpp__xml)\r\n\r\n# Credits\r\nThese definitions were written by [Colin Reeder](https://github.com/vpzomtrrfrt).","users":{}}