{"_id":"gigachat","_rev":"44-c24a57c532f71336caf5309a979a91b4","name":"gigachat","dist-tags":{"latest":"0.0.20"},"versions":{"0.0.1":{"name":"gigachat","version":"0.0.1","keywords":["chat","messaging","communication"],"author":{"name":"rai220@gmail.com"},"license":"MIT","_id":"gigachat@0.0.1","maintainers":[{"name":"rai220","email":"rai220@gmail.com"}],"dist":{"shasum":"b0ee933a8147bb43cfe0166e460f98fa3717b952","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.1.tgz","fileCount":884,"integrity":"sha512-cWAHqrHDH1iFBBhH4RQdvwYG70DlyxRov9yyrcmbOMEgatjZc9KI6t4dQWYWdu0Br3LsuS4YSmsooshFg8x0yg==","signatures":[{"sig":"MEQCIEiQ1qyydt8UgzzpQvrN2sArlAp1/yr3UNRSRYB+dYzjAiBhENGrFgZTjj8MY1MgIHDuCl2hag1OltY2ZJbpltYbWw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11066223},"main":"index.js","gitHead":"eb11ae192f06f343e777f9a90ba6e0dc9d64820b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"rai220","email":"rai220@gmail.com"},"_npmVersion":"10.8.2","description":"A simple npm package for GigaChat","directories":{},"_nodeVersion":"22.7.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.1_1730820716382_0.1922698888413008","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"gigachat","version":"0.0.2","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.2","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"dist":{"shasum":"2fd6b77dde721f9e377c763be3cca7d9d9259c80","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.2.tgz","fileCount":65,"integrity":"sha512-2kL0tnKXM2CUdlRa+Ny6ByugRTeTKmAvc2GZEvP5tnggrawKMKCLL3HmYfCs0U8XblRA0nOJuwByXUrFKPs8mg==","signatures":[{"sig":"MEUCIA0DXBi+fn+byAy+OSslJsnpzuWDK9m04NMAFkAanXF5AiEAoVD0d3ty3h+eRB/uqgBSe8DYeTXvUn7ap1lAY143ZRs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":188529},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","browser":{"https":false},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./*":{"types":"./dist/*.d.ts","default":"./dist/*.mjs","require":"./dist/*.js"},"./*.js":{"types":"./dist/*.d.ts","default":"./dist/*.js"},"./*.mjs":{"types":"./dist/*.d.ts","default":"./dist/*.mjs"}},"gitHead":"714c0e65bd05bc190a27f5bde7de79dd844c4b3d","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"rai220","email":"rai220@gmail.com"},"_npmVersion":"10.9.0","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"23.2.0","dependencies":{"uuid":"^11.0.3","axios":"^1.7.7","base-64":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.4.5","eslint":"^9.14.0","ts-node":"^10.9.2","prettier":"^3.3.3","tsc-multi":"^1.1.0","prettier-2":"^99.9.9","typescript":"^5.6.3","@types/node":"^22.9.0","@types/base-64":"^1.0.2","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"^8.14.0","eslint-plugin-unused-imports":"^4.1.4","@typescript-eslint/eslint-plugin":"^8.14.0"},"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.2_1731583468812_0.0347878763675038","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"gigachat","version":"0.0.3","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.3","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"dist":{"shasum":"5c79c60f929d36cbf1d7aebc7ecf93de7103905f","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.3.tgz","fileCount":363,"integrity":"sha512-t2Dc9muHWoPPDe417av1mql0U9z9d05wEWcPqe6nzcc/DSYBlhCB6mZmFMf+o9TLZlRzJsZ0kmgpTU4DT95Y5w==","signatures":[{"sig":"MEUCIQCoTDPUU4HxyWIAPuVNkQhBlvbXscdcYRCz6twlPipvnAIgK81hYWYp4OY7g8DKxbdODAYoOURTg2pUE9NTXeom50M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":388066},"main":"dist/index.js","type":"commonjs","types":"dist/index.d.ts","browser":{"https":false},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs","require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./*":{"types":"./dist/*.d.ts","default":"./dist/*.mjs","require":"./dist/*.js"},"./*.js":{"types":"./dist/*.d.ts","default":"./dist/*.js"},"./*.mjs":{"types":"./dist/*.d.ts","default":"./dist/*.mjs"}},"gitHead":"714c0e65bd05bc190a27f5bde7de79dd844c4b3d","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"_npmVersion":"10.9.0","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"23.2.0","dependencies":{"uuid":"^11.0.3","axios":"^1.7.7","base-64":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^16.4.5","eslint":"^9.14.0","ts-node":"^10.9.2","prettier":"^3.3.3","tsc-multi":"^1.1.0","prettier-2":"^99.9.9","typescript":"^5.6.3","@types/node":"^22.9.0","@types/base-64":"^1.0.2","eslint-plugin-prettier":"^5.2.1","@typescript-eslint/parser":"^8.14.0","eslint-plugin-unused-imports":"^4.1.4","@typescript-eslint/eslint-plugin":"^8.14.0"},"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.3_1731583663772_0.6319758328667298","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"gigachat","version":"0.0.6","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.6","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"dist":{"shasum":"c7c41b520eedda9e9737d3de83dda55286cedee6","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.6.tgz","fileCount":298,"integrity":"sha512-LG+bXQVeX4pO5jGJWP5pnY8xfpw4fJ46ShQRVzpxodTwc7fPI4zSZ+ePUvPCe62BuqZxytwnzAg9sltg2NEtmg==","signatures":[{"sig":"MEYCIQDHvaZPSycLiATCaXRTgoTQqygKI0+fTuisOV44S+F+MgIhAJI8OaBqEkbAWHpKvf8y8hXXMhWMpAQGQdvtwHk/Yl7s","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":206756},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"}},"gitHead":"bd840d68993d3383d5e0ba2e5648ffd3af40d6f7","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"_npmVersion":"10.9.0","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"23.2.0","dependencies":{"uuid":"^11.0.3","axios":"^1.7.7","base-64":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.6_1732106548593_0.4795325681692597","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"gigachat","version":"0.0.7","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.7","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"dist":{"shasum":"55a82fa922c6fbe88fb43eb7cfc424abd58810c0","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.7.tgz","fileCount":298,"integrity":"sha512-I6GaQIyzod9q5sh9NjLr75VNV9QReQXlgjZc+qUpaWBke/UNUYKXnh+JGrgv9zhTwYwYuoXsAn5biyxi2VxnQQ==","signatures":[{"sig":"MEQCIBmgIBkIToxjkraT50G4BBuVGJ7AR1PRDMNLO+7dWysuAiAzjOnDm9nq3TlTRZJcT6YpFhoTuGfLQx4pP62JOLodCg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":206059},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","default":"./interfaces/index.mjs","require":"./interfaces/index.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","default":"./interfaces/*.mjs","require":"./interfaces/*.js"}},"gitHead":"bd840d68993d3383d5e0ba2e5648ffd3af40d6f7","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"_npmVersion":"10.9.0","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"23.2.0","dependencies":{"uuid":"^11.0.3","axios":"^1.7.7","base-64":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.7_1732108618523_0.5930150927072633","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"gigachat","version":"0.0.8","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.8","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"dist":{"shasum":"136f7c0fdbf475797045f9c49eea5a318489a69b","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.8.tgz","fileCount":298,"integrity":"sha512-IaoOP7GW3FNbg39SZQDb4TBfYzwA4xdV2FEU1tDH9lTt35IPzgtgxhY0ai2UUogx9fe59eZDvE93gyYsPteYfA==","signatures":[{"sig":"MEYCIQCtqgZotXP8XBVnJdTGDFnQ6u5dH9tTCtGh7GhNQShB7wIhAKiBVUzSW7zcVOAnWqpmllpkKApjQqyB1NihdDIapMme","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":202846},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","default":"./interfaces/index.mjs","require":"./interfaces/index.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","default":"./interfaces/*.mjs","require":"./interfaces/*.js"}},"gitHead":"714066dd4618802d775249858886a682c7e1b668","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"_npmVersion":"10.9.0","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"23.2.0","dependencies":{"uuid":"^11.0.3","axios":"^1.7.7","base-64":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.8_1732187575269_0.6531217358430355","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"gigachat","version":"0.0.9","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.9","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"dist":{"shasum":"3516ba5ee63dae5ae23727d929189ecd76ad8981","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.9.tgz","fileCount":298,"integrity":"sha512-+/PHl6U3/gyUcCXDGsvn8QYTgK24cI7izAag2hf3VOUnTZOzLwngBTFiuEby+k9QAEUoKB5Hikq5c9Z3detGww==","signatures":[{"sig":"MEUCIQCtXC4jVJGGtS/W5FEntGbsC7uGMCbmg7iBHJFuXXQVKwIgR96BX/ldL70uhvMpUK4ByEs+nMYQX4T18l8+RPB5vrs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":201192},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","default":"./interfaces/index.mjs","require":"./interfaces/index.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","default":"./interfaces/*.mjs","require":"./interfaces/*.js"}},"gitHead":"9da862a164bd87615d374783c4f7318bd2de0cb4","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"_npmVersion":"10.8.2","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"18.20.5","dependencies":{"uuid":"^11.0.3","axios":"^1.7.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.9_1732794668314_0.47856234595875047","host":"s3://npm-registry-packages"}},"0.0.10":{"name":"gigachat","version":"0.0.10","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.10","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"dist":{"shasum":"b000cd8445dfba18e8c08fd0c2160882d6c541bd","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.10.tgz","fileCount":319,"integrity":"sha512-kjpvYs1XbPTLinbmQUYLaXRtiwj9QxNeLbP8Ba8OXq/O5cp4Bz7OLVi7WI6j2jQo58H2WsaPngaoQDMc/RRdag==","signatures":[{"sig":"MEQCIGNE5OcH50HzMBMZlW7PHyh3ala76EnKnyJSj1ApEPPXAiB6tvEcxWsYlSxv6+thnrYMzpNuWSTw1S55iKwMGgUDBA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":229522},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","default":"./interfaces/index.mjs","require":"./interfaces/index.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","default":"./interfaces/*.mjs","require":"./interfaces/*.js"}},"gitHead":"b03e76aae21caf6993d36252cc4b624ffbb87345","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"_npmVersion":"10.8.2","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"18.20.5","dependencies":{"uuid":"^11.0.3","axios":"^1.7.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.10_1735119640088_0.6161115390863146","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"gigachat","version":"0.0.11","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.11","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"dist":{"shasum":"549994329c3eea1ec931525a49f264d6f71ce2ab","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.11.tgz","fileCount":319,"integrity":"sha512-fFufUbRN6/Vyjn1sacu7sHtvDh8CW+YLrjLhGhUW+cFQWx4LqGSe0o4Xb3jIcLE5yEgr0701odGU7FxBIq7Qsw==","signatures":[{"sig":"MEUCIE6Yri4Zvz18nU8lXfVNtpAUCow8bIHHlMtQicteTF/hAiEAvWqcEjkCiogDL2QSWQ58fwHYZyJ4JJzFPBTLcm46w9I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":233598},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","default":"./interfaces/index.mjs","require":"./interfaces/index.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","default":"./interfaces/*.mjs","require":"./interfaces/*.js"}},"gitHead":"9dfaafa8906362e423d18d7647e2b35eda89f9d2","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"_npmVersion":"10.8.2","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"18.20.5","dependencies":{"uuid":"^11.0.3","axios":"^1.7.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.11_1735155972090_0.023492448469634386","host":"s3://npm-registry-packages-npm-production"}},"0.0.12":{"name":"gigachat","version":"0.0.12","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.12","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"homepage":"https://github.com/ai-forever/gigachat-js#readme","bugs":{"url":"https://github.com/ai-forever/gigachat-js/issues"},"dist":{"shasum":"5ef68d115a60cc44f3016ef3ea9f47c43fa2958c","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.12.tgz","fileCount":319,"integrity":"sha512-LaudmBvvo6kcoGH0kZ7vnfoGVprGwvBnvT1rWFzCTUuosd5ggcpSWN7MV2EJDq8ChmtDART5TPrgPBh2ix9XNA==","signatures":[{"sig":"MEUCID8XbWdAUOHzo2M6MjmJqD2mJoeGbeqXto4tWUeAHS3vAiEAmwQofSe/nPBmpZqrTW7pXTqtDeOpGLBiA4XM1oIXl7Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":233676},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","default":"./interfaces/index.mjs","require":"./interfaces/index.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","default":"./interfaces/*.mjs","require":"./interfaces/*.js"}},"gitHead":"4b59585d89e8c88d1e39d8cd62179a1928bc54db","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"repository":{"url":"git+https://github.com/ai-forever/gigachat-js.git","type":"git"},"_npmVersion":"10.8.2","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"18.20.5","dependencies":{"uuid":"^11.0.3","axios":"^1.7.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.12_1736422277769_0.49268207280978715","host":"s3://npm-registry-packages-npm-production"}},"0.0.13":{"name":"gigachat","version":"0.0.13","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.13","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"homepage":"https://github.com/ai-forever/gigachat-js#readme","bugs":{"url":"https://github.com/ai-forever/gigachat-js/issues"},"dist":{"shasum":"74f61a188c7c868c8d0febe101c111f400b12ab3","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.13.tgz","fileCount":368,"integrity":"sha512-3syyq16qiUPLpxRgSJHYUmFnDQiOzt7y4jMvuXjWTE2+yO3VUbplNUZk3KP8BzoOtURp3u8HMqXL6wx0JSb7yw==","signatures":[{"sig":"MEUCIQCdQ57YGdSE8QDgag4EKoI7207eGm1VK0vIMv8GD8W/XQIgUeg/Pg5P9vm8VSV2zVIaoQH4OZOPKH4G6iCRnI4zg8I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":269321},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","default":"./interfaces/index.mjs","require":"./interfaces/index.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","default":"./interfaces/*.mjs","require":"./interfaces/*.js"}},"gitHead":"0be4aac073d812970e9674641fa147dcdfe851fc","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"repository":{"url":"git+https://github.com/ai-forever/gigachat-js.git","type":"git"},"_npmVersion":"10.8.2","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"18.20.5","dependencies":{"uuid":"^11.0.3","axios":"^1.8.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.13_1743080078323_0.7370191532700341","host":"s3://npm-registry-packages-npm-production"}},"0.0.14":{"name":"gigachat","version":"0.0.14","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.14","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"homepage":"https://github.com/ai-forever/gigachat-js#readme","bugs":{"url":"https://github.com/ai-forever/gigachat-js/issues"},"dist":{"shasum":"6ab1c45eb063eaf072973baeb1d87063d2918477","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.14.tgz","fileCount":368,"integrity":"sha512-BwXDecDxF6aKJT+juuoATrBnFLDBg5Vho1dxYRsgM18zgZ55q5SwNiOgC05/J7rhGY66Pj6Wsnvk3FC6K4IMQw==","signatures":[{"sig":"MEUCIBTKm+lsOHiGfKeVNUbHARfJS3sYMLl5/g9XGXXl/Q4tAiEAoj2cLNcfUKCm/NFz4KjD4cUnzanMQA2FUCRDKdyPA0I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":271000},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","default":"./interfaces/index.mjs","require":"./interfaces/index.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","default":"./interfaces/*.mjs","require":"./interfaces/*.js"}},"gitHead":"f845af40e07f4291896a94e475700205f9180ce5","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"repository":{"url":"git+https://github.com/ai-forever/gigachat-js.git","type":"git"},"_npmVersion":"10.8.2","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"18.20.5","dependencies":{"uuid":"^11.0.3","axios":"^1.8.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.14_1743538943917_0.8601601313918625","host":"s3://npm-registry-packages-npm-production"}},"0.0.15":{"name":"gigachat","version":"0.0.15","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.15","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"homepage":"https://github.com/ai-forever/gigachat-js#readme","bugs":{"url":"https://github.com/ai-forever/gigachat-js/issues"},"dist":{"shasum":"e99e5214938fc2504ab51323ec21156a0032cc52","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.15.tgz","fileCount":368,"integrity":"sha512-4hAf/obnzwW4xp+AOP6Zv81F3Dr9QcsEjVOGTdY4aRWphzgV8YVZ134huqQfA/LQCuoD9UMmlt3nfix6exgjYg==","signatures":[{"sig":"MEQCIBGcNMG2NGygLnr6ndyDPqG9sK0h5I1Lt5wnOp1JkcGpAiB5+teFdBarNWh1Fjay8tY2UfU9IGoIjlmH87uxMHN0Gw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":271975},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","default":"./interfaces/index.mjs","require":"./interfaces/index.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","default":"./interfaces/*.mjs","require":"./interfaces/*.js"}},"gitHead":"e5fd950a458978204a015de218e8657e0cd25d50","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"repository":{"url":"git+https://github.com/ai-forever/gigachat-js.git","type":"git"},"_npmVersion":"10.8.2","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"18.20.5","dependencies":{"uuid":"^11.0.3","axios":"^1.8.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.15_1752752527889_0.028995231708591973","host":"s3://npm-registry-packages-npm-production"}},"0.0.16":{"name":"gigachat","version":"0.0.16","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.16","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"homepage":"https://github.com/ai-forever/gigachat-js#readme","bugs":{"url":"https://github.com/ai-forever/gigachat-js/issues"},"dist":{"shasum":"bc3b51bf1ad8e8a518953aeed6280a70d9fc42aa","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.16.tgz","fileCount":368,"integrity":"sha512-37MFTFltKGDE1EDW6y87BxzU5orIU3fpLDqAMHCNdV8JUL2oNbHMe6CACWWqUh7HLaztwkysRP8nJxBYBms1gg==","signatures":[{"sig":"MEUCIQDyXLg+SIB4PeO/DJn/YIhp6BGXwPkVbjmc4+x4kc6gyAIgf/8dlkvD0Cc0ygOn/SRs806P5Nu90LSUrf7dTZN35Nc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":265615},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","default":"./interfaces/index.mjs","require":"./interfaces/index.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","default":"./interfaces/*.mjs","require":"./interfaces/*.js"}},"gitHead":"3cbeb740c840545d803392074a8d34d08585c6ac","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"repository":{"url":"git+https://github.com/ai-forever/gigachat-js.git","type":"git"},"_npmVersion":"10.8.2","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"18.20.5","dependencies":{"uuid":"^11.0.3","axios":"^1.8.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.16_1753445181649_0.06767386931827768","host":"s3://npm-registry-packages-npm-production"}},"0.0.17":{"name":"gigachat","version":"0.0.17","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.17","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"homepage":"https://github.com/ai-forever/gigachat-js#readme","bugs":{"url":"https://github.com/ai-forever/gigachat-js/issues"},"dist":{"shasum":"9b5fc2eb33e8112d16c2528f2da4decaed9c3324","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.17.tgz","fileCount":375,"integrity":"sha512-Ihu+WG6qnJzkSxhWION9T7OacmcOBmvHVICVHglQzaMmovfzypvRSuYzVrBGOdQU42TjupgR2dQa7BA2qrKN+g==","signatures":[{"sig":"MEQCIBRXwfFLFKZQXFobQofWohHtvFSq0SucOKPu7A99udB8AiBm4BHCWprLtbUppCBsx7lWekp9XGGVDP+TGMgCdAl/1w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":268441},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","default":"./interfaces/index.mjs","require":"./interfaces/index.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","default":"./interfaces/*.mjs","require":"./interfaces/*.js"}},"gitHead":"554f95094d85a2d88a89584ff9435641b01fa41a","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"repository":{"url":"git+https://github.com/ai-forever/gigachat-js.git","type":"git"},"_npmVersion":"10.8.2","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"18.20.5","dependencies":{"uuid":"^11.0.3","axios":"^1.12.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.17_1765318842032_0.9683514564504494","host":"s3://npm-registry-packages-npm-production"}},"0.0.18":{"name":"gigachat","version":"0.0.18","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.18","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"homepage":"https://github.com/ai-forever/gigachat-js#readme","bugs":{"url":"https://github.com/ai-forever/gigachat-js/issues"},"dist":{"shasum":"c9c136954a4c5f40c03a1069bdc8ab36bdb77ea1","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.18.tgz","fileCount":375,"integrity":"sha512-xolIdUv1DfX4KdvFNXy5rvDHnhb+Mao1jJS4Tk1aMELiMPsUDsWCPEl9VJU35A2HiUOt/RZcri6jDQhhMpEpuw==","signatures":[{"sig":"MEUCIAbrtQZhheQW7csOonuNDix6XI/g2BeuC1okFFfVh+jQAiEAoM3oouc4q9QdSJY0aJSGS2kxdaeiqwnmz3gO7s2TxTI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":268645},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","default":"./interfaces/index.mjs","require":"./interfaces/index.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","default":"./interfaces/*.mjs","require":"./interfaces/*.js"}},"gitHead":"37b5d36aac9536179d65b41f2d34f8f6cd4cd4f3","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"repository":{"url":"git+https://github.com/ai-forever/gigachat-js.git","type":"git"},"_npmVersion":"10.8.2","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"18.20.5","dependencies":{"uuid":"^11.0.3","axios":"^1.12.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.18_1765975789378_0.25974440742444393","host":"s3://npm-registry-packages-npm-production"}},"0.0.19":{"name":"gigachat","version":"0.0.19","keywords":[],"author":"","license":"ISC","_id":"gigachat@0.0.19","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"homepage":"https://github.com/ai-forever/gigachat-js#readme","bugs":{"url":"https://github.com/ai-forever/gigachat-js/issues"},"dist":{"shasum":"dd65ba5459183a94743700930dd9b4163bb9a8a8","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.19.tgz","fileCount":438,"integrity":"sha512-f4OEsg+Gtv0pibMiOS3JKcOEW/sJK8KzPUfWNzzFOaLbCAXqCm4oxFtJ9/JJeJ+hu4MnOflroyuQOt51+ADc6w==","signatures":[{"sig":"MEQCIC+Llzk8hAj0exa4UkLr/aeZzTKfLPpwaN8weV5skdsvAiAcIvkIeeyTNua3+ZmfwyZogRlgUE3nsIy08sI1Pb/d2Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":315944},"main":"./index.js","type":"commonjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.mts","default":"./index.mjs","require":{"types":"./index.d.ts","default":"./index.js"}},"./*":{"types":"./*.d.ts","default":"./*.mjs","require":"./*.js"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","default":"./interfaces/index.mjs","require":"./interfaces/index.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","default":"./interfaces/*.mjs","require":"./interfaces/*.js"}},"gitHead":"09cbd39a0afc1cffa4eb23ee59e5b43fc4006a32","imports":{"gigachat":".","gigachat/*":"./src/*"},"private":false,"scripts":{"fix":"./scripts/format","lint":"./scripts/lint","build":"./scripts/build","format":"prettier --write --cache --cache-strategy metadata . !dist"},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"repository":{"url":"git+https://github.com/ai-forever/gigachat-js.git","type":"git"},"_npmVersion":"11.11.0","description":"The official TypeScript library for the GigaChat API","directories":{},"_nodeVersion":"25.8.0","dependencies":{"uuid":"^11.0.3","axios":"^1.13.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gigachat_0.0.19_1774897987916_0.5156093630361496","host":"s3://npm-registry-packages-npm-production"}},"0.0.20":{"name":"gigachat","version":"0.0.20","description":"The official TypeScript library for the GigaChat API","types":"./index.d.ts","main":"./index.js","type":"commonjs","repository":{"type":"git","url":"git+https://github.com/ai-forever/gigachat-js.git"},"scripts":{"format":"prettier --write --cache --cache-strategy metadata . !dist","lint":"./scripts/lint","fix":"./scripts/format","build":"./scripts/build"},"private":false,"keywords":[],"author":"","license":"ISC","dependencies":{"axios":"^1.13.5","uuid":"^11.0.3"},"imports":{"gigachat":".","gigachat/*":"./src/*"},"exports":{".":{"require":{"types":"./index.d.ts","default":"./index.js"},"types":"./index.d.mts","default":"./index.mjs"},"./*.mjs":{"types":"./*.d.ts","default":"./*.mjs"},"./*.js":{"types":"./*.d.ts","default":"./*.js"},"./interfaces/*":{"types":"./interfaces/*.d.ts","require":"./interfaces/*.js","default":"./interfaces/*.mjs"},"./interfaces":{"types":"./interfaces/index.d.ts","require":"./interfaces/index.js","default":"./interfaces/index.mjs"},"./*":{"types":"./*.d.ts","require":"./*.js","default":"./*.mjs"}},"_id":"gigachat@0.0.20","gitHead":"d4977f956091e764051e83dfd220aa186cc8b667","bugs":{"url":"https://github.com/ai-forever/gigachat-js/issues"},"homepage":"https://github.com/ai-forever/gigachat-js#readme","_nodeVersion":"18.20.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-9/77RNkGW6MMas8pOgyxsWZLY3jSRLEQQb8lsALoJg/i8Jmy8w7CyrvkSIl2DAMwtVhdDuOEE4njj4zb9gZRyw==","shasum":"5e7d4ed95690b7981a04b595f28789e7bcf6fe81","tarball":"https://registry.npmjs.org/gigachat/-/gigachat-0.0.20.tgz","fileCount":438,"unpackedSize":315922,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDXH7pQzJiuecze6jk4KY438l3kh4O7tqd398vaDoh2PwIgaM2bH6rWS0T2m4eHhMJNG4VAk1rcoAguWiNbKz4aTHE="}]},"_npmUser":{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},"directories":{},"maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gigachat_0.0.20_1776020954027_0.953353419770469"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-05T15:31:56.381Z","modified":"2026-04-12T19:09:14.296Z","1.0.0":"2023-10-23T13:48:06.569Z","1.0.1":"2023-10-23T18:13:42.593Z","1.0.2":"2023-10-24T13:10:41.782Z","1.0.3":"2023-10-25T08:46:05.959Z","1.0.4":"2023-10-25T10:20:42.579Z","1.0.5":"2023-10-25T10:27:37.662Z","1.0.6":"2023-10-25T10:34:40.567Z","1.0.7":"2023-10-25T13:55:10.072Z","1.0.8":"2023-11-15T11:07:28.049Z","1.0.9":"2023-11-15T11:10:09.884Z","1.0.10":"2023-11-15T11:24:14.455Z","1.0.11":"2023-11-15T11:36:26.896Z","1.0.12":"2023-11-15T11:38:02.292Z","1.0.13":"2023-11-15T11:40:41.982Z","1.0.14":"2023-11-16T06:21:27.569Z","1.0.15":"2023-11-16T12:33:02.370Z","1.0.16":"2023-11-17T10:45:31.204Z","1.0.17":"2023-11-17T12:44:52.976Z","1.0.18":"2024-02-29T15:58:32.771Z","0.0.1":"2024-11-05T15:31:56.797Z","0.0.2":"2024-11-14T11:24:29.022Z","0.0.3":"2024-11-14T11:27:44.033Z","0.0.4":"2024-11-14T12:22:41.906Z","0.0.5":"2024-11-20T12:33:40.718Z","0.0.6":"2024-11-20T12:42:28.765Z","0.0.7":"2024-11-20T13:16:58.764Z","0.0.8":"2024-11-21T11:12:55.509Z","0.0.9":"2024-11-28T11:51:08.508Z","0.0.10":"2024-12-25T09:40:40.298Z","0.0.11":"2024-12-25T19:46:12.286Z","0.0.12":"2025-01-09T11:31:17.968Z","0.0.13":"2025-03-27T12:54:38.599Z","0.0.14":"2025-04-01T20:22:24.104Z","0.0.15":"2025-07-17T11:42:08.100Z","0.0.16":"2025-07-25T12:06:21.883Z","0.0.17":"2025-12-09T22:20:42.201Z","0.0.18":"2025-12-17T12:49:49.538Z","0.0.19":"2026-03-30T19:13:08.071Z","0.0.20":"2026-04-12T19:09:14.192Z"},"bugs":{"url":"https://github.com/ai-forever/gigachat-js/issues"},"license":"ISC","homepage":"https://github.com/ai-forever/gigachat-js#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/ai-forever/gigachat-js.git"},"description":"The official TypeScript library for the GigaChat API","maintainers":[{"name":"rai220","email":"rai220@gmail.com"},{"name":"mikelarg","email":"murtazkorpaz@gmail.com"},{"name":"labdmitriy","email":"labdmitriy@gmail.com"}],"readme":"# GigaChat SDK (TypeScript/JavaScript) библиотека\n\nДанная библиотека реализует методы [REST API GigaChat](https://developers.sber.ru/docs/ru/gigachat/api/reference/rest/gigachat-api).\nОна является частью [GigaChain](https://github.com/ai-forever/gigachain)\n\nВот часть того, что она поддерживает:\n\n- [чат](examples/source/chat.ts)\n- [обработку потоковой передачи токенов](examples/source/stream.ts)\n- [работу с функциями](examples/source/chat_bot_with_functions.ts);\n- [создание эмбеддингов](examples/source/embeddings.ts);\n- [работу с GigaChat Vision](examples/source/vision.ts)\n\n> [!TIP]\n> Больше примеров работы с библиотекой gigachat — в папке [examples](examples/README.md).\n\n## Установка\n\n```sh\nnpm install gigachat\n```\n\n## Быстрый старт\n\nДля работы с библиотекой вам понадобится ключ авторизации API.\n\nЧтобы получить ключ авторизации:\n\n1. Создайте проект **GigaChat API** в личном кабинете Studio.\n2. В интерфейсе проекта, в левой панели выберите раздел **Настройки API**.\n3. Нажмите кнопку **Получить ключ**.\n\nВ открывшемся окне скопируйте и сохраните значение поля Authorization Key. Ключ авторизации, отображается только один раз и не хранятся в личном кабинете. При компрометации или утере ключа авторизации вы можете сгенерировать его повторно.\n\nПодробно о том, как создать проект GigaChat API — в официальной документации, в разделах [Быстрый старт для физических лиц](https://developers.sber.ru/docs/ru/gigachat/individuals-quickstart) и [Быстрый старт для ИП и юридических лиц](https://developers.sber.ru/docs/ru/gigachat/legal-quickstart).\n\nПередайте полученный ключ авторизации в параметре `credentials` при инициализации объекта GigaChat.\n\nПример показывает как отправить простой запрос на генерацию с помощью библиотеки GigaChat:\n\n```ts\nimport GigaChat from 'gigachat';\nimport { Agent } from 'node:https';\n\nconst httpsAgent = new Agent({\n  rejectUnauthorized: false, // Отключает проверку корневого сертификата\n  // Читайте ниже как можно включить проверку сертификата Мин. Цифры\n});\n\nconst client = new GigaChat({\n  timeout: 600,\n  model: 'GigaChat',\n  credentials: 'ваш_ключ_авторизации',\n  httpsAgent: httpsAgent,\n});\n\nclient\n  .chat({\n    messages: [{ role: 'user', content: 'Привет, как дела?' }],\n  })\n  .then((resp) => {\n    console.log(resp.choices[0]?.message.content);\n  });\n```\n\n## Способы авторизации\n\nДля авторизации запросов, кроме ключа, полученного в личном кабинете, вы можете использовать:\n\n- credentials\n- имя пользователя и пароль для доступа к сервису;\n- сертификаты TLS;\n- токен доступа (access token), полученный в обмен на ключ авторизации в запросе [`POST /api/v2/oauth`](https://developers.sber.ru/docs/ru/gigachat/api/reference/rest/post-token).\n\nДля этого передайте соответствующие параметры при инициализации.\n\nПример авторизации с credentials:\n\n```ts\nconst client = new GigaChat({\n  credentials: 'креды',\n  scope: 'GIGACHAT_API_PERS / GIGACHAT_API_B2B / GIGACHAT_API_CORP',\n});\n```\n\nПример авторизации с помощью логина и пароля:\n\n```ts\nconst client = new GigaChat({\n  baseUrl: 'BASE URL апи',\n  user: 'юзернейм',\n  password: 'пароль',\n});\n```\n\nАвторизация с помощью сертификатов по протоколу TLS (mTLS):\n\n```ts\nimport GigaChat from 'gigachat';\nimport { Agent } from 'node:https';\nimport fs from 'node:fs';\n\nconst httpsAgent = new Agent({\n  ca: fs.readFileSync('certs/ca.pem'),\n  cert: fs.readFileSync('certs/tls.pem'),\n  key: fs.readFileSync('certs/tls.key'),\n  passphrase: 'пароль от приватного ключа',\n});\n\nconst client = new GigaChat({\n  baseUrl: 'BASE URL апи',\n  httpsAgent: httpsAgent,\n});\n```\n\nАвторизация с помощью токена доступа:\n\n```ts\nconst client = new GigaChat({\n  baseUrl: 'BASE URL апи',\n  accessToken: 'токен',\n});\n```\n\n> ![NOTE]\n> Токен действителен в течение 30 минут.\n\n### Предварительная авторизация\n\nПо умолчанию, библиотека GigaChat получает токен доступа при первом запросе к API.\n\nЕсли вам нужно получить токен и авторизоваться до выполнения запроса, инициализируйте объект GigaChat и вызовите метод `get_token()`.\n\n```ts\nconst client = new GigaChat({\n  credentials: 'креды',\n  scope: 'GIGACHAT_API_PERS / GIGACHAT_API_B2B / GIGACHAT_API_CORP',\n});\nawait giga.updateToken();\n```\n\n## Параметры объекта GigaChat\n\nВ таблице описаны параметры, которые можно передать при инициализации объекта GigaChat:\n\n| Параметр                  | Описание                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |\n| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `credentials`             | Ключ авторизации для обмена сообщениями с GigaChat API.<br />Ключ авторизации содержит информацию о версии API, к которой выполняются запросы. Если вы используете версию API для ИП или юрлиц, укажите это явно в параметре `scope`                                                                                                                                                                                                                                                                                                                   |\n| `scope`                   | Версия API, к которой будет выполнен запрос. По умолчанию запросы передаются в версию для физических лиц. Возможные значения:<ul><li>`GIGACHAT_API_PERS` — версия API для физических лиц;</li><li>`GIGACHAT_API_B2B` — версия API для ИП и юрлиц при работе по предоплате.</li><li>`GIGACHAT_API_CORP` — версия API для ИП и юрлиц при работе по постоплате.</li></ul>                                                                                                                                                                                 |\n| `model`                   | необязательный параметр, в котором можно явно задать [модель GigaChat](https://developers.sber.ru/docs/ru/gigachat/models). Вы можете посмотреть список доступных моделей с помощью метода `get_models()`, который выполняет запрос [`GET /models`](https://developers.sber.ru/docs/ru/gigachat/api/reference#get-models).<br /><br />Стоимость запросов к разным моделям отличается. Подробную информацию о тарификации запросов к той или иной модели вы ищите в [официальной документации](https://developers.sber.ru/docs/ru/gigachat/api/tariffs) |\n| `baseUrl`                 | Адрес API. По умолчанию запросы отправляются по адресу `https://gigachat.devices.sberbank.ru/api/v1/`, но если вы хотите использовать [модели в раннем доступе](https://developers.sber.ru/docs/ru/gigachat/models/preview-models), укажите адрес `https://gigachat-preview.devices.sberbank.ru/api/v1`                                                                                                                                                                                                                                                |\n| `httpsAgent`              | Настройки HTTPS, которые добавляются при подключении к серверу API (подключение по сертификату, отключение проверки корневого сертифаката и т.д). <br/><br/>**В браузере не поддерживается!**                                                                                                                                                                                                                                                                                                                                                          |\n| `dangerouslyAllowBrowser` | Флаг, включащий библиотеку в браузере.<br /> По умолчанию, данная библиотека в браузере не работает, так как так можно разоблачить ваш GigaChat токен.                                                                                                                                                                                                                                                                                                                                                                                                 |\n| `timeout`                 | Таймаут (в секундах), который используется при подключении                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n\n## Переменные окружения\n\nТакже клиент автоматически подтягивает настройки из следующих переменных окружения:\n\n- GIGACHAT_CREDENTIALS\n- GIGACHAT_SCOPE\n- GIGACHAT_BASE_URL\n- GIGACHAT_MODEL\n- GIGACHAT_TIMEOUT\n\n**Не работает в браузере**\n\n## Работа в браузере\n\nПо умолчанию, библиотека в браузере выкидывает Exception.\nЧтобы его отключить инициализируйте клиент так:\n\n```ts\nconst client = new GigaChat({\n  timeout: 600,\n  model: 'GigaChat',\n  credentials: 'ваш_ключ_авторизации',\n  dangerouslyAllowBrowser: true,\n});\n```\n\nТакже в браузере нельзя создавать клиент с настройками HTTPS, то есть\nнельзя будет отключить игнорирование сертификатов.\n","readmeFilename":"README.md"}