@pointcosm/sdk 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.1 - Unreleased
|
|
4
|
+
|
|
5
|
+
- Re-pin to contract bundle `0.14.1` (`pointcosm-sdk-contracts` revision
|
|
6
|
+
`aa2ca9aac8752d8e092d4fe0db6fff25c988154d`). The contract itself is unchanged; only its
|
|
7
|
+
recorded source revision and the exported `CONTRACT` values differ.
|
|
8
|
+
|
|
3
9
|
## 0.1.0 - 2026-12-02
|
|
4
10
|
|
|
5
11
|
- Initial TypeScript SDK for the PointCosm customer API: `train`, `storage`, `webhooks` and
|
package/README.md
CHANGED
|
@@ -122,8 +122,8 @@ connection errors, timeouts and HTTP 429/502/503/504, with jittered backoff boun
|
|
|
122
122
|
|
|
123
123
|
## Contract
|
|
124
124
|
|
|
125
|
-
Pinned to `pointcosm-sdk-contracts` revision `
|
|
126
|
-
`0.14.
|
|
125
|
+
Pinned to `pointcosm-sdk-contracts` revision `aa2ca9aac8752d8e092d4fe0db6fff25c988154d`, bundle
|
|
126
|
+
`0.14.1`; the same values are exported as `CONTRACT`. Types are generated with
|
|
127
127
|
openapi-typescript 7.13.0. The build never fetches a contract from the network.
|
|
128
128
|
|
|
129
129
|
```sh
|
package/README.zh-CN.md
CHANGED
|
@@ -116,8 +116,8 @@ API 异常提供 `statusCode`、`code`、`message`、`details`、`requestId`、`
|
|
|
116
116
|
|
|
117
117
|
## 合同
|
|
118
118
|
|
|
119
|
-
固定在 `pointcosm-sdk-contracts` 提交 `
|
|
120
|
-
`0.14.
|
|
119
|
+
固定在 `pointcosm-sdk-contracts` 提交 `aa2ca9aac8752d8e092d4fe0db6fff25c988154d`、bundle
|
|
120
|
+
`0.14.1`,同样的值通过 `CONTRACT` 导出。类型由 openapi-typescript 7.13.0 生成。构建过程不会联网
|
|
121
121
|
获取合同。
|
|
122
122
|
|
|
123
123
|
```sh
|
package/dist/index.cjs
CHANGED
|
@@ -239,9 +239,9 @@ var TokenProvider = class {
|
|
|
239
239
|
|
|
240
240
|
// src/generated/contract.ts
|
|
241
241
|
var CONTRACT = {
|
|
242
|
-
"revision": "
|
|
243
|
-
"bundleRelease": "0.14.
|
|
244
|
-
"bundleSha256": "
|
|
242
|
+
"revision": "aa2ca9aac8752d8e092d4fe0db6fff25c988154d",
|
|
243
|
+
"bundleRelease": "0.14.1",
|
|
244
|
+
"bundleSha256": "d700943209a9e4646524179456199a244438cca40a6820a347b7f4bd81ebb316",
|
|
245
245
|
"customerSha256": "5db91d0b1a7ac4dc6eafe2df6b79fba31607bc54e108221987ea3bc0c3c66c4c",
|
|
246
246
|
"authSha256": "ff17917c6ccab2fcf1cb6c2ee0392c2efea6dfca567d084a6434836c36c489cf",
|
|
247
247
|
"operationCount": 37,
|
package/dist/index.d.cts
CHANGED
|
@@ -2705,9 +2705,9 @@ type WebhookMutationOut = components["schemas"]["WebhookMutationOut"];
|
|
|
2705
2705
|
type WebhookSecretRotationOut = components["schemas"]["WebhookSecretRotationOut"];
|
|
2706
2706
|
|
|
2707
2707
|
declare const CONTRACT: {
|
|
2708
|
-
readonly revision: "
|
|
2709
|
-
readonly bundleRelease: "0.14.
|
|
2710
|
-
readonly bundleSha256: "
|
|
2708
|
+
readonly revision: "aa2ca9aac8752d8e092d4fe0db6fff25c988154d";
|
|
2709
|
+
readonly bundleRelease: "0.14.1";
|
|
2710
|
+
readonly bundleSha256: "d700943209a9e4646524179456199a244438cca40a6820a347b7f4bd81ebb316";
|
|
2711
2711
|
readonly customerSha256: "5db91d0b1a7ac4dc6eafe2df6b79fba31607bc54e108221987ea3bc0c3c66c4c";
|
|
2712
2712
|
readonly authSha256: "ff17917c6ccab2fcf1cb6c2ee0392c2efea6dfca567d084a6434836c36c489cf";
|
|
2713
2713
|
readonly operationCount: 37;
|
package/dist/index.d.ts
CHANGED
|
@@ -2705,9 +2705,9 @@ type WebhookMutationOut = components["schemas"]["WebhookMutationOut"];
|
|
|
2705
2705
|
type WebhookSecretRotationOut = components["schemas"]["WebhookSecretRotationOut"];
|
|
2706
2706
|
|
|
2707
2707
|
declare const CONTRACT: {
|
|
2708
|
-
readonly revision: "
|
|
2709
|
-
readonly bundleRelease: "0.14.
|
|
2710
|
-
readonly bundleSha256: "
|
|
2708
|
+
readonly revision: "aa2ca9aac8752d8e092d4fe0db6fff25c988154d";
|
|
2709
|
+
readonly bundleRelease: "0.14.1";
|
|
2710
|
+
readonly bundleSha256: "d700943209a9e4646524179456199a244438cca40a6820a347b7f4bd81ebb316";
|
|
2711
2711
|
readonly customerSha256: "5db91d0b1a7ac4dc6eafe2df6b79fba31607bc54e108221987ea3bc0c3c66c4c";
|
|
2712
2712
|
readonly authSha256: "ff17917c6ccab2fcf1cb6c2ee0392c2efea6dfca567d084a6434836c36c489cf";
|
|
2713
2713
|
readonly operationCount: 37;
|
package/dist/index.js
CHANGED
|
@@ -195,9 +195,9 @@ var TokenProvider = class {
|
|
|
195
195
|
|
|
196
196
|
// src/generated/contract.ts
|
|
197
197
|
var CONTRACT = {
|
|
198
|
-
"revision": "
|
|
199
|
-
"bundleRelease": "0.14.
|
|
200
|
-
"bundleSha256": "
|
|
198
|
+
"revision": "aa2ca9aac8752d8e092d4fe0db6fff25c988154d",
|
|
199
|
+
"bundleRelease": "0.14.1",
|
|
200
|
+
"bundleSha256": "d700943209a9e4646524179456199a244438cca40a6820a347b7f4bd81ebb316",
|
|
201
201
|
"customerSha256": "5db91d0b1a7ac4dc6eafe2df6b79fba31607bc54e108221987ea3bc0c3c66c4c",
|
|
202
202
|
"authSha256": "ff17917c6ccab2fcf1cb6c2ee0392c2efea6dfca567d084a6434836c36c489cf",
|
|
203
203
|
"operationCount": 37,
|