@velobaseai/velobase-sdk-mcp 0.1.4 → 0.1.5
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/package.json +1 -1
- package/src/index.js +6 -6
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -52,10 +52,10 @@ function sdkDownloadAndUsage(language) {
|
|
|
52
52
|
"",
|
|
53
53
|
"## Step 3: Implement token billing flow in code",
|
|
54
54
|
"- Initialize `Velobase(api_key=...)`",
|
|
55
|
-
"- Deposit credits to customer",
|
|
56
|
-
"- Use freeze before business execution",
|
|
55
|
+
"- Deposit credits to customer (supports `credit_type`, `starts_at`, `expires_at`)",
|
|
56
|
+
"- Use freeze before business execution, or use deduct for immediate charges",
|
|
57
57
|
"- Use consume on success or unfreeze on failure",
|
|
58
|
-
"- Keep idempotency keys stable (`idempotency_key` / `
|
|
58
|
+
"- Keep idempotency keys stable (`idempotency_key` / `transaction_id`)",
|
|
59
59
|
].join("\n"),
|
|
60
60
|
);
|
|
61
61
|
continue;
|
|
@@ -77,10 +77,10 @@ function sdkDownloadAndUsage(language) {
|
|
|
77
77
|
"",
|
|
78
78
|
"## Step 3: Implement token billing flow in code",
|
|
79
79
|
"- Initialize `new Velobase({ apiKey })`",
|
|
80
|
-
"- Deposit credits to customer",
|
|
81
|
-
"- Use freeze before business execution",
|
|
80
|
+
"- Deposit credits to customer (supports `creditType`, `startsAt`, `expiresAt`)",
|
|
81
|
+
"- Use freeze before business execution, or use deduct for immediate charges",
|
|
82
82
|
"- Use consume on success or unfreeze on failure",
|
|
83
|
-
"- Keep idempotency keys stable (`idempotencyKey` / `
|
|
83
|
+
"- Keep idempotency keys stable (`idempotencyKey` / `transactionId`)",
|
|
84
84
|
].join("\n"),
|
|
85
85
|
);
|
|
86
86
|
}
|