{"_id":"@polyv/request-plugin-aes","_rev":"32-ecfd938677db09cb5f8299e7bbd9b442","name":"@polyv/request-plugin-aes","dist-tags":{"temp":"2.8.1","latest":"2.8.1","v2-latest":"2.8.1"},"versions":{"2.0.0":{"name":"@polyv/request-plugin-aes","version":"2.0.0","_id":"@polyv/request-plugin-aes@2.0.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"heeroluo","email":"heeroluo@126.com"},{"name":"easefun-ci","email":"polyv@163.com"}],"dist":{"shasum":"013be24c3d68d042aa9ceb7fa27c0eef283b77b4","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes/-/request-plugin-aes-2.0.0.tgz","fileCount":14,"integrity":"sha512-Y6TAStXX/m86MFRGZ8zj5MiBcEyzdjHvR4FCACmVPALB2JZ/1jNwodYJWHrehqqbm3DpBgjrTwI0qHx5LyYT4g==","signatures":[{"sig":"MEUCICfIEUd4EGOqcfqDuQfZ/PFgQqtRiH+YtbmPf09fJdqLAiEA7KvxJf68YYI/BUJg7L/KysTQ1OW/69cyiRxvSVOH/7o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9475},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","actor":{"name":"easefun-ci","type":"user","email":"polyv@163.com"},"email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 加密插件，可对请求和响应数据进行 AES 加密和解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.0.0","@polyv/request-plugin-aes-decrypt":"2.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes_2.0.0_1751449746848_0.9864119808229961","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@polyv/request-plugin-aes","version":"2.1.0","_id":"@polyv/request-plugin-aes@2.1.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"heeroluo","email":"heeroluo@126.com"},{"name":"easefun-ci","email":"polyv@163.com"}],"dist":{"shasum":"773cdac72ebdcc8f309399711196637f6a4d5e0a","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes/-/request-plugin-aes-2.1.0.tgz","fileCount":14,"integrity":"sha512-BeFU3tMBp2h27Xcop+YGhpC0iJeTbDknqWzhKpOeP0SuoLI+EXeEZZ13JAppYDMhfUYmJYhdQLcN6ZtxWXDoeA==","signatures":[{"sig":"MEUCIFXReCZSmCN+F1MxAkt8DdK9sjx3tuQ5ey4CWNljPuZXAiEAhe+IpUirIL7zSn3tudLRcp1Ho9GEC4MeRZMjhgf7Zts=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9475},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 加密插件，可对请求和响应数据进行 AES 加密和解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.1.0","@polyv/request-plugin-aes-decrypt":"2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes_2.1.0_1755136247651_0.8865165121580794","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@polyv/request-plugin-aes","version":"2.2.0","_id":"@polyv/request-plugin-aes@2.2.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"heeroluo","email":"heeroluo@126.com"},{"name":"easefun-ci","email":"polyv@163.com"}],"dist":{"shasum":"63dcc89cae660a0b33c2aca15499a00fc1eed5ac","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes/-/request-plugin-aes-2.2.0.tgz","fileCount":14,"integrity":"sha512-z2OEWv5tPO6rAvWrYm1JjQwug+Lrk0OcCmWqHBk6yzK/5jdSUXHtNsCcc3eg1W9qhdg2PqjHkqZVR8vuC1arjg==","signatures":[{"sig":"MEUCIAtcXJLqRGZp1Vy/cGzQW89x4EShNaS+WmzVQRVBkvwoAiEA5vwHISvyZOTGhNJzHbrFcswSDvR5jcvH/yEOeG44CxM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9475},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 加密插件，可对请求和响应数据进行 AES 加密和解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.2.0","@polyv/request-plugin-aes-decrypt":"2.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes_2.2.0_1756948072895_0.3994130857090503","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@polyv/request-plugin-aes","version":"2.3.0","_id":"@polyv/request-plugin-aes@2.3.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"heeroluo","email":"heeroluo@126.com"},{"name":"easefun-ci","email":"polyv@163.com"}],"dist":{"shasum":"3170a62e5005dd80836772201f2d48aca5f456b9","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes/-/request-plugin-aes-2.3.0.tgz","fileCount":14,"integrity":"sha512-yD2+/Nn9Zwhe76p9rjlRTtKE/L9Rn6ito/1WCSygzPBcVB4kyIccwZ64e+5rFkm6wKO7wvjL43R51jCNoHLLdg==","signatures":[{"sig":"MEYCIQCmm2x8YAznqy737XgQOhs6PL7HqFkagKDvxm2VHa47RQIhAK4VdylJuIwsrR3tKkHr38+ReFOahkr9l+j+HK/0WnjL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9475},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 加密插件，可对请求和响应数据进行 AES 加密和解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.3.0","@polyv/request-plugin-aes-decrypt":"2.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes_2.3.0_1761040191020_0.19098266777009032","host":"s3://npm-registry-packages-npm-production"}},"2.4.0":{"name":"@polyv/request-plugin-aes","version":"2.4.0","_id":"@polyv/request-plugin-aes@2.4.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"heeroluo","email":"heeroluo@126.com"},{"name":"easefun-ci","email":"polyv@163.com"}],"dist":{"shasum":"1f2ad26f628af552a32a348ac95a90c39c06ac3d","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes/-/request-plugin-aes-2.4.0.tgz","fileCount":14,"integrity":"sha512-Vv6GxHkZ4RQdeWfOF/SiD0hG/4YOrGRcygIRlEjk/XAPgwWPom1NtsoU57PN0CXv3Yku2iI177tkmJz0u2xi7g==","signatures":[{"sig":"MEQCIGjHR/4r+DSf0HBktKoJBsSAfVnOK4bqCvb/XTXY2f0VAiBxrVbCjeZyTuQo7QyXI4FUtkYBCaRo7HKeckOk5Tp1ww==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9475},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 加密插件，可对请求和响应数据进行 AES 加密和解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.4.0","@polyv/request-plugin-aes-decrypt":"2.4.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes_2.4.0_1773197387717_0.7970564474117114","host":"s3://npm-registry-packages-npm-production"}},"2.5.0":{"name":"@polyv/request-plugin-aes","version":"2.5.0","_id":"@polyv/request-plugin-aes@2.5.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"dist":{"shasum":"5582ec8561927f891042f8c2f312fa286f9cb8fc","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes/-/request-plugin-aes-2.5.0.tgz","fileCount":14,"integrity":"sha512-jsSEnmBN0+fO3kDWyWktegRfk8azSqjR0iux1+eEYqIDv/KJrRNAES05J8iL6SLtGp1pGNcysI8CkNi++4qwxg==","signatures":[{"sig":"MEQCIBPSL3xFXf0kCD2WK0kmGR6MfBzPD6DD9eC3Kx8frfTbAiBrnsG4XjFatceomyGFyAve/ddtxDEp+GcLEw85vR9OVA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9475},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 加密插件，可对请求和响应数据进行 AES 加密和解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.5.0","@polyv/request-plugin-aes-decrypt":"2.5.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes_2.5.0_1778721460452_0.9245791075777074","host":"s3://npm-registry-packages-npm-production"}},"2.6.0":{"name":"@polyv/request-plugin-aes","version":"2.6.0","_id":"@polyv/request-plugin-aes@2.6.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"dist":{"shasum":"c1df5f952428d724bc7072df04d604848c8ed14f","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes/-/request-plugin-aes-2.6.0.tgz","fileCount":14,"integrity":"sha512-B4cJ9DAPKlZkSYR/wUZs0s7/Xrcmq8ryHEBl+7ZaxHjxTmYPmkPwb7iJRxYRRa+a3PCZuxWe7VF/5QOA9mrIgQ==","signatures":[{"sig":"MEQCIFZQiYGeeKEguEBA1MO3qaRVZ9+3wEs4jyrmiG3PvMpKAiBjEnwm0KhCcwUfhfBJ4i9Ykyx4Y5wRYsio5vaE2/XCFA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9475},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 加密插件，可对请求和响应数据进行 AES 加密和解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.6.0","@polyv/request-plugin-aes-decrypt":"2.6.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes_2.6.0_1780554131059_0.31326520154346293","host":"s3://npm-registry-packages-npm-production"}},"2.7.0":{"name":"@polyv/request-plugin-aes","version":"2.7.0","_id":"@polyv/request-plugin-aes@2.7.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"dist":{"shasum":"08e091b4df6635fbd7d9c851cec03172818f7572","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes/-/request-plugin-aes-2.7.0.tgz","fileCount":14,"integrity":"sha512-j9SNmnR9dltPzWBacq5S52j1+UbIJlaL5qlEU4llEH8jRhqb2TO3j2oN0rXne6pVSP6aMA71bYNlaHpiK8h9Rg==","signatures":[{"sig":"MEUCIB91sAGmuT7jkoZmfK+9kWHVWJdnL/vY9TRvXoopMHYwAiEAj2GjIKXqJUJCtcT1Uxv8YzVyZGVfdW1hZvuqWLXeh2Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9475},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 加密插件，可对请求和响应数据进行 AES 加密和解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.7.0","@polyv/request-plugin-aes-decrypt":"2.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes_2.7.0_1780997170476_0.08055790419060593","host":"s3://npm-registry-packages-npm-production"}},"2.7.1":{"name":"@polyv/request-plugin-aes","version":"2.7.1","_id":"@polyv/request-plugin-aes@2.7.1","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"dist":{"shasum":"bb704bb3b25f3f486873d3b6983bd66639eccd3d","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes/-/request-plugin-aes-2.7.1.tgz","fileCount":14,"integrity":"sha512-vbiX4SY5fLsznrofjEZxAsw0WSkJDNUksEGBHkbB70UUfGZsx0sZQegsIEqmG925WGd6pHTnSD1Tiif74PKWow==","signatures":[{"sig":"MEUCIQDADGekcxF/uIKnwMIq+rkP1t5HGFcNQLSAPV+J4LukPgIgTqHO4Y6qwaLsovt/segXfdqub9C54RAR2gFuXqoRRq4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9475},"main":"./index.js","types":"./index.d.ts","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"8.5.0","description":"用途：AES 加密插件，可对请求和响应数据进行 AES 加密和解密处理。","directories":{},"_nodeVersion":"16.14.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.7.1","@polyv/request-plugin-aes-decrypt":"2.7.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes_2.7.1_1781000667475_0.6139972789254775","host":"s3://npm-registry-packages-npm-production"}},"2.8.0":{"name":"@polyv/request-plugin-aes","version":"2.8.0","_id":"@polyv/request-plugin-aes@2.8.0","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"dist":{"shasum":"54c28f6c30781ac7a02fa0186c47b8c6171c710f","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes/-/request-plugin-aes-2.8.0.tgz","fileCount":14,"integrity":"sha512-A+yligL3/QMLmDHOAIcfqFM88O4sVWKPS5dDih3F6eF/8cEsThc4uY9NpcyF0gIPtnn1TSv88AnHpeKzz2Dn/A==","signatures":[{"sig":"MEQCIEBf5HZV3IbLlEcS5J5BVWzjAr7G/9kxov5VbwojBX+KAiAa3QRUDcGBIRbFPxKcF/mBZqbf7eWlnceiFaqllB27Dw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9864},"main":"./index.js","type":"module","types":"./index.d.ts","gitHead":"13b8b598b2d8ecb151f2f6c7cf4ecab6671c1965","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"10.8.2","description":"用途：AES 加密插件，可对请求和响应数据进行 AES 加密和解密处理。","directories":{},"miniprogram":"./","_nodeVersion":"20.20.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.8.0","@polyv/request-plugin-aes-decrypt":"2.8.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/request-plugin-aes_2.8.0_1783071948889_0.9499410238157195","host":"s3://npm-registry-packages-npm-production"}},"2.8.1":{"_id":"@polyv/request-plugin-aes@2.8.1","dist":{"shasum":"481eaf0cf39fa4b5e43d450af64368b576e0d299","tarball":"https://registry.npmjs.org/@polyv/request-plugin-aes/-/request-plugin-aes-2.8.1.tgz","fileCount":14,"integrity":"sha512-3ehKfWXGJoI29LcgmpRo6ZwLUP1+L7J5dkVu3zloZmAhNtz+aUYVALHOmQ9+UIF15dYkbsVbgHlgafColHs4jA==","signatures":[{"sig":"MEUCIQDP2u5BIAsuha8RfirQYxpAfRJNQXXIKDD1qFpc9nNNJwIganrnZwtUOzf+iitWHo4MADv9C15jtblw+e7w1HYoUu8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF1WJJEdnC5MVpBo+Pzt97o3yiySwVQ/QnIxuG4CnisnAiEAwQZmfe353aJJfTOYCGCSKZvza0/KHBVlDkgj9s/kmMY="}],"unpackedSize":9864},"main":"./index.js","name":"@polyv/request-plugin-aes","type":"module","types":"./index.d.ts","gitHead":"7d3597a4b7101140a3061be5129d97ede5f055d4","version":"2.8.1","_npmUser":{"name":"easefun-ci","email":"polyv@163.com"},"_npmVersion":"10.8.2","description":"用途：AES 加密插件，可对请求和响应数据进行 AES 加密和解密处理。","directories":{},"maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"miniprogram":"./","_nodeVersion":"20.20.2","dependencies":{"aes-js":"^3.1.2","crypto-js":"^4.1.1","js-base64":"^3.7.5","@polyv/request-core":"2.8.1","@polyv/request-plugin-aes-decrypt":"2.8.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/request-plugin-aes_2.8.1_1789716995815_0.35372014083273373"}}},"time":{"created":"2025-07-02T09:49:06.789Z","modified":"2026-09-18T07:36:36.106Z","2.0.0":"2025-07-02T09:49:07.030Z","2.1.0":"2025-08-14T01:50:47.841Z","2.2.0":"2025-09-04T01:07:53.082Z","2.3.0":"2025-10-21T09:49:51.187Z","2.4.0":"2026-03-11T02:49:47.848Z","2.5.0":"2026-05-14T01:17:40.600Z","2.6.0":"2026-06-04T06:22:11.226Z","2.7.0":"2026-06-09T09:26:10.605Z","2.7.1":"2026-06-09T10:24:27.615Z","2.8.0":"2026-07-03T09:45:49.029Z","2.8.1":"2026-09-18T07:36:35.905Z"},"description":"用途：AES 加密插件，可对请求和响应数据进行 AES 加密和解密处理。","maintainers":[{"name":"easefun","email":"polyv@qq.com"},{"name":"easefun-ci","email":"polyv@163.com"},{"name":"junyu8893","email":"852711368@qq.com"}],"readme":"# AESRequestPlugin\n\n用途：AES 加密插件，可对请求和响应数据进行 AES 加密和解密处理。\n\n## 实例化参数\n\n| 参数名           | 用途                              | 类型      | 默认值 |\n| ---------------- | --------------------------------- | --------- | ------ |\n| `appId`          | 应用 ID                           | `string`  | -      |\n| `appSecret`      | 应用密钥                          | `string`  | -      |\n| `encryptPostAES` | 是否对 POST 请求主体进行 AES 加密 | `boolean` | `true` |\n\n## 请求选项\n\n| 参数名           | 用途                              | 类型      | 默认值 |\n| ---------------- | --------------------------------- | --------- | ------ |\n| `useAES`         | 是否使用 AES 加密                 | `boolean` | `true` |\n| `encryptPostAES` | 是否对 POST 请求主体进行 AES 加密 | `boolean` | -      |\n\n## 使用方式\n\n```js\nimport { PolyvRequest } from '@polyv/request-core';\nimport { AESRequestPlugin } from '@polyv/request-plugin-aes';\n\n// 基础用法\nconst requester = new PolyvRequest({\n  requestPlugins: [new AESRequestPlugin()],\n});\n\n// 配置应用 ID 和密钥（用于某些特殊接口的加密）\nconst requester = new PolyvRequest({\n  requestPlugins: [\n    new AESRequestPlugin({\n      appId: 'yourAppId',\n      appSecret: 'yourAppSecret',\n    }),\n  ],\n});\n\n// 禁用 POST 请求主体加密\nconst requester = new PolyvRequest({\n  requestPlugins: [\n    new AESRequestPlugin({\n      encryptPostAES: false,\n    }),\n  ],\n});\n\n// 在某个请求中禁用 AES 加密\nrequester.get(\n  '/api/data',\n  {},\n  {\n    useAES: false,\n  },\n);\n\n// 在某个请求中禁用 POST 请求主体加密\nrequester.post(\n  '/api/data',\n  { name: 'test' },\n  {\n    encryptPostAES: false,\n  },\n);\n```\n","readmeFilename":"README.md"}