Skip to content

Releases: peerless-hero/aliyun-sdk

v0.1.4

18 Jun 17:09
Compare
Choose a tag to compare

compare changes

✅ Tests

  • 移除部分测试用例 (84793aa)

❤️ Contributors

v0.1.3

18 Jun 16:32
Compare
Choose a tag to compare

compare changes

🔥 Performance

  • 将部分内部方法设置为私有 (5fc60f7)

📦 Build

  • 暂时跳过oss模块的构建 (b9d1136)

✅ Tests

❤️ Contributors

v0.1.2

18 Jun 06:22
Compare
Choose a tag to compare

compare changes

🩹 Fixes

📖 Documentation

❤️ Contributors

v0.1.1

18 Jun 06:00
Compare
Choose a tag to compare

compare changes

🔥 Performance

✅ Tests

  • 注释、初始化部分 (6cf218d)

❤️ Contributors

v0.1.0

18 Jun 03:55
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

🔥 Performance

  • 注释;初始化配置 (31cb1e9)
  • required: 所有参数非必填时,parameters不再为必填参数; (4f50116)

❤️ Contributors

v0.0.4

16 Jun 20:12
Compare
Choose a tag to compare

compare changes

🤖 CI

  • 移除changelogithub步骤 (ebf8647)

❤️ Contributors

v0.0.3

16 Jun 19:51
Compare
Choose a tag to compare

compare changes

🩹 Fixes

❤️ Contributors

v0.0.2

16 Jun 19:19
Compare
Choose a tag to compare

compare changes

💅 Refactors

❤️ Contributors

v0.0.0

16 Jun 18:54
Compare
Choose a tag to compare

@peerless-hero/aliyun-sdk

本工具是对基于阿里云OpenAPI封装的SDK工具。由于官方提供的SDK难于使用,且文档过少,因此自己封装了一套工具。

安装

pnpm i  @@peerless-hero/aliyun-sdk

使用

// 以Cas功能模块为例
import { type Cas, CasClient } from '@@peerless-hero/aliyun-sdk'

const cas = new CasClient({
  // 阿里云AccessKey
  accessKeyId: 'xxxxxxxxxxxxxxxx',
  // 阿里云AccessKeySecret
  accessKeySecret: 'xxxxxxxxxxxxxxxx',
})
// 使用其中的类型
let result: Cas.DescribeCACertificateListData | null = null
// 使用
// 所有方法名称均取自官方文档
result = await cas.DescribeCACertificateList({})
// 使用特定版本
import { type Cas, CasClient } from '@peerless-hero/aliyun-sdk/versions/2020-06-30'