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.129.0"
".": "0.130.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.130.0](https://github.com/kernel/kernel-node-sdk/compare/v0.129.0...v0.130.0) (2026-10-24)


### Features

* Support Link recurring spend requests on vault Link cards ([6becbe5](https://github.com/kernel/kernel-node-sdk/commit/6becbe5b788088db5334548a1b488208447181df))

## [0.129.0](https://github.com/kernel/kernel-node-sdk/compare/v0.128.0...v0.129.0) (2026-10-21)


Expand Down
2 changes: 2 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,8 @@ Types:
- <code><a href="./src/resources/vaults/items.ts">KernelCredentialVaultItemState</a></code>
- <code><a href="./src/resources/vaults/items.ts">KernelWalletState</a></code>
- <code><a href="./src/resources/vaults/items.ts">KernelWalletVaultItemSpec</a></code>
- <code><a href="./src/resources/vaults/items.ts">LinkShippingAddress</a></code>
- <code><a href="./src/resources/vaults/items.ts">LinkUserInfo</a></code>
- <code><a href="./src/resources/vaults/items.ts">ManagedAuthCredentialVaultField</a></code>
- <code><a href="./src/resources/vaults/items.ts">ManagedAuthCredentialVaultItemSpec</a></code>
- <code><a href="./src/resources/vaults/items.ts">ManagedAuthCredentialVaultItemSpecInput</a></code>
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.129.0",
"version": "0.130.0",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down
8 changes: 7 additions & 1 deletion src/core/pagination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export class OffsetPagination<Item> extends AbstractPage<Item> {
return false;
}

return super.hasNextPage();
return this.nextPageRequestOptions() != null;
}

nextPageRequestOptions(): PageRequestOptions | null {
Expand All @@ -221,6 +221,12 @@ export class OffsetPagination<Item> extends AbstractPage<Item> {
if (offset === 0) {
return null;
}
// Cursors can move in either direction. Stop only when the server repeats
// the cursor and would re-request the same page.
const requestOffset = (this.options.query as OffsetPaginationParams | undefined)?.offset;
if (typeof requestOffset === 'number' && offset === requestOffset) {
return null;
}

return {
...this.options,
Expand Down
2 changes: 2 additions & 0 deletions src/resources/vaults/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export {
type KernelCredentialVaultItemState,
type KernelWalletState,
type KernelWalletVaultItemSpec,
type LinkShippingAddress,
type LinkUserInfo,
type ManagedAuthCredentialVaultField,
type ManagedAuthCredentialVaultItemSpec,
type ManagedAuthCredentialVaultItemSpecInput,
Expand Down
Loading
Loading