Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.99.0"
".": "0.100.0"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.100.0](https://github.com/kernel/kernel-node-sdk/compare/v0.99.0...v0.100.0) (2026-09-04)


### Features

* Fix vault provider errors and remove test card mode ([5f74e21](https://github.com/kernel/kernel-node-sdk/commit/5f74e2163ca7f65f987eeb368ea4d915a71b7fd5))

## [0.99.0](https://github.com/kernel/kernel-node-sdk/compare/v0.98.0...v0.99.0) (2026-09-04)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onkernel/sdk",
"version": "0.99.0",
"version": "0.100.0",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down
32 changes: 13 additions & 19 deletions src/resources/vaults/items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ export class Items extends APIResource {
/**
* Retrieve the item first and invoke only an operation listed in
* `available_operations`, following its natural-language description. Operations
* may call an external provider and can return the item's updated state.
* may call an external provider and can return the item's updated state. If the
* provider rate limits spend-request creation, returns HTTP 429 with code
* `spend_request_rate_limited`; stop and back off before retrying.
*/
performOperation(
key: string,
Expand Down Expand Up @@ -142,14 +144,16 @@ export interface AgentcardCheckoutAuthorization {
}

/**
* AgentCard reusable card. Each checkout creates an approval-gated authorization
* for spec.merchant / spec.amount. The card stays ready after each authorization.
* Live payment card. Test-mode card creation is not supported.
*/
export type CardVaultItemSpec =
| CardVaultItemSpec.LinkCardVaultItemSpec
| CardVaultItemSpec.AgentCardCardVaultItemSpec;

export namespace CardVaultItemSpec {
/**
* Live payment card. Test-mode card creation is not supported.
*/
export interface LinkCardVaultItemSpec {
/**
* Integer amount in minor currency units.
Expand All @@ -173,12 +177,6 @@ export namespace CardVaultItemSpec {

provider: 'link';

/**
* Whether Link should return test credentials instead of a live payment
* credential.
*/
test: boolean;

/**
* Wallet item key used to mint this card.
*/
Expand Down Expand Up @@ -243,8 +241,9 @@ export namespace CardVaultItemSpec {
}

/**
* AgentCard reusable card. Each checkout creates an approval-gated authorization
* for spec.merchant / spec.amount. The card stays ready after each authorization.
* AgentCard reusable live payment card. Test-mode card creation is not supported.
* Each checkout creates an approval-gated authorization for spec.merchant /
* spec.amount. The card stays ready after each authorization.
*/
export interface AgentCardCardVaultItemSpec {
/**
Expand Down Expand Up @@ -424,8 +423,7 @@ export namespace VaultItem {
key: string;

/**
* AgentCard reusable card. Each checkout creates an approval-gated authorization
* for spec.merchant / spec.amount. The card stays ready after each authorization.
* Live payment card. Test-mode card creation is not supported.
*/
spec: ItemsAPI.CardVaultItemSpec;

Expand Down Expand Up @@ -672,9 +670,7 @@ export interface ItemUpdateParams {
id_or_name: string;

/**
* Body param: AgentCard reusable card. Each checkout creates an approval-gated
* authorization for spec.merchant / spec.amount. The card stays ready after each
* authorization.
* Body param: Live payment card. Test-mode card creation is not supported.
*/
spec: CardVaultItemSpec;
}
Expand Down Expand Up @@ -743,9 +739,7 @@ export declare namespace ItemUpsertParams {
id_or_name: string;

/**
* Body param: AgentCard reusable card. Each checkout creates an approval-gated
* authorization for spec.merchant / spec.amount. The card stays ready after each
* authorization.
* Body param: Live payment card. Test-mode card creation is not supported.
*/
spec: CardVaultItemSpec;

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.99.0'; // x-release-please-version
export const VERSION = '0.100.0'; // x-release-please-version
2 changes: 0 additions & 2 deletions tests/api-resources/vaults/items.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ describe('resource items', () => {
merchant_url: 'https://example.com',
payment_method_id: 'x',
provider: 'link',
test: true,
wallet: 'wallet',
},
});
Expand All @@ -68,7 +67,6 @@ describe('resource items', () => {
merchant_url: 'https://example.com',
payment_method_id: 'x',
provider: 'link',
test: true,
wallet: 'wallet',
expires_at: 0,
line_items: [
Expand Down
Loading