@onkernel/sdk 0.127.0 → 0.129.0

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.
Files changed (62) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/browser-pools.d.mts +4 -0
  10. package/resources/browser-pools.d.mts.map +1 -1
  11. package/resources/browser-pools.d.ts +4 -0
  12. package/resources/browser-pools.d.ts.map +1 -1
  13. package/resources/browsers/browsers.d.mts +124 -1
  14. package/resources/browsers/browsers.d.mts.map +1 -1
  15. package/resources/browsers/browsers.d.ts +124 -1
  16. package/resources/browsers/browsers.d.ts.map +1 -1
  17. package/resources/browsers/browsers.js.map +1 -1
  18. package/resources/browsers/browsers.mjs.map +1 -1
  19. package/resources/browsers/index.d.mts +1 -1
  20. package/resources/browsers/index.d.mts.map +1 -1
  21. package/resources/browsers/index.d.ts +1 -1
  22. package/resources/browsers/index.d.ts.map +1 -1
  23. package/resources/browsers/index.js.map +1 -1
  24. package/resources/browsers/index.mjs.map +1 -1
  25. package/resources/index.d.mts +1 -1
  26. package/resources/index.d.mts.map +1 -1
  27. package/resources/index.d.ts +1 -1
  28. package/resources/index.d.ts.map +1 -1
  29. package/resources/index.js.map +1 -1
  30. package/resources/index.mjs.map +1 -1
  31. package/resources/invocations.d.mts +4 -0
  32. package/resources/invocations.d.mts.map +1 -1
  33. package/resources/invocations.d.ts +4 -0
  34. package/resources/invocations.d.ts.map +1 -1
  35. package/resources/proxies.d.mts +14 -13
  36. package/resources/proxies.d.mts.map +1 -1
  37. package/resources/proxies.d.ts +14 -13
  38. package/resources/proxies.d.ts.map +1 -1
  39. package/resources/proxies.js +18 -17
  40. package/resources/proxies.js.map +1 -1
  41. package/resources/proxies.mjs +18 -17
  42. package/resources/proxies.mjs.map +1 -1
  43. package/resources/shared.d.mts +2 -2
  44. package/resources/shared.d.ts +2 -2
  45. package/resources/vaults/items.d.mts +67 -15
  46. package/resources/vaults/items.d.mts.map +1 -1
  47. package/resources/vaults/items.d.ts +67 -15
  48. package/resources/vaults/items.d.ts.map +1 -1
  49. package/src/client.ts +10 -0
  50. package/src/resources/browser-pools.ts +5 -0
  51. package/src/resources/browsers/browsers.ts +149 -0
  52. package/src/resources/browsers/index.ts +5 -0
  53. package/src/resources/index.ts +5 -0
  54. package/src/resources/invocations.ts +5 -0
  55. package/src/resources/proxies.ts +22 -17
  56. package/src/resources/shared.ts +2 -2
  57. package/src/resources/vaults/items.ts +68 -15
  58. package/src/version.ts +1 -1
  59. package/version.d.mts +1 -1
  60. package/version.d.ts +1 -1
  61. package/version.js +1 -1
  62. package/version.mjs +1 -1
@@ -368,9 +368,7 @@ export namespace CardVaultItemSpec {
368
368
  */
369
369
  export interface LinkCardVaultItemSpec {
370
370
  /**
371
- * Integer amount in minor currency units. Link Pay Token execution permits at most
372
- * 500000; virtual-card execution permits at most 50000. Authorization rejects a
373
- * larger amount when the checkout requires a virtual card.
371
+ * Integer amount in minor currency units, at most 50000.
374
372
  */
375
373
  amount: number;
376
374
 
@@ -2215,8 +2213,16 @@ export namespace VaultItem {
2215
2213
  * select a customer-owned configuration. Mode (sandbox vs live) is determined by
2216
2214
  * the selected credential; there is no per-item test flag. Without user_id,
2217
2215
  * creation returns a hosted enrollment action and Kernel polls until the user
2218
- * connects. user_id may only reference a user already enrolled by a wallet in this
2219
- * organization under the same configuration.
2216
+ * connects. With a customer-owned provider_config, user_id imports an existing
2217
+ * connection after verifying access with the selected credentials in their sandbox
2218
+ * or live mode; no hosted enrollment is needed, even if the connected user has no
2219
+ * stored cards. With Kernel-managed credentials, user_id may only reference a user
2220
+ * already enrolled by a wallet in this organization under the same configuration.
2221
+ * The user and configuration bindings cannot be changed after creation. Import
2222
+ * validation is read-only and runs before creation: a failed validation leaves no
2223
+ * wallet or reserved key, so the user_id can be corrected and retried. Concurrent
2224
+ * imports of the same key may both validate, but create at most one wallet and
2225
+ * connected event.
2220
2226
  */
2221
2227
  spec: ItemsAPI.WalletVaultItemSpec;
2222
2228
 
@@ -2399,6 +2405,13 @@ export namespace VaultItemAction {
2399
2405
  name: 'card_enrollment';
2400
2406
 
2401
2407
  url: string;
2408
+
2409
+ /**
2410
+ * Secret bearer capability for embedded card capture with @onkernel/vault-react.
2411
+ * Present only for Kernel wallets; never for AgentCard. Treat it like the
2412
+ * enrollment URL and do not log or persist it in browser storage.
2413
+ */
2414
+ capture_token?: string;
2402
2415
  }
2403
2416
  }
2404
2417
 
@@ -2451,8 +2464,16 @@ export namespace VaultItemOperationResponse {
2451
2464
  * select a customer-owned configuration. Mode (sandbox vs live) is determined by
2452
2465
  * the selected credential; there is no per-item test flag. Without user_id,
2453
2466
  * creation returns a hosted enrollment action and Kernel polls until the user
2454
- * connects. user_id may only reference a user already enrolled by a wallet in this
2455
- * organization under the same configuration.
2467
+ * connects. With a customer-owned provider_config, user_id imports an existing
2468
+ * connection after verifying access with the selected credentials in their sandbox
2469
+ * or live mode; no hosted enrollment is needed, even if the connected user has no
2470
+ * stored cards. With Kernel-managed credentials, user_id may only reference a user
2471
+ * already enrolled by a wallet in this organization under the same configuration.
2472
+ * The user and configuration bindings cannot be changed after creation. Import
2473
+ * validation is read-only and runs before creation: a failed validation leaves no
2474
+ * wallet or reserved key, so the user_id can be corrected and retried. Concurrent
2475
+ * imports of the same key may both validate, but create at most one wallet and
2476
+ * connected event.
2456
2477
  */
2457
2478
  spec: ItemsAPI.WalletVaultItemSpec;
2458
2479
 
@@ -2668,8 +2689,16 @@ export interface VaultWebmcpBinding {
2668
2689
  * select a customer-owned configuration. Mode (sandbox vs live) is determined by
2669
2690
  * the selected credential; there is no per-item test flag. Without user_id,
2670
2691
  * creation returns a hosted enrollment action and Kernel polls until the user
2671
- * connects. user_id may only reference a user already enrolled by a wallet in this
2672
- * organization under the same configuration.
2692
+ * connects. With a customer-owned provider_config, user_id imports an existing
2693
+ * connection after verifying access with the selected credentials in their sandbox
2694
+ * or live mode; no hosted enrollment is needed, even if the connected user has no
2695
+ * stored cards. With Kernel-managed credentials, user_id may only reference a user
2696
+ * already enrolled by a wallet in this organization under the same configuration.
2697
+ * The user and configuration bindings cannot be changed after creation. Import
2698
+ * validation is read-only and runs before creation: a failed validation leaves no
2699
+ * wallet or reserved key, so the user_id can be corrected and retried. Concurrent
2700
+ * imports of the same key may both validate, but create at most one wallet and
2701
+ * connected event.
2673
2702
  */
2674
2703
  export type WalletVaultItemSpec =
2675
2704
  | WalletVaultItemSpec.LinkWalletVaultItemSpec
@@ -2726,8 +2755,16 @@ export namespace WalletVaultItemSpec {
2726
2755
  * select a customer-owned configuration. Mode (sandbox vs live) is determined by
2727
2756
  * the selected credential; there is no per-item test flag. Without user_id,
2728
2757
  * creation returns a hosted enrollment action and Kernel polls until the user
2729
- * connects. user_id may only reference a user already enrolled by a wallet in this
2730
- * organization under the same configuration.
2758
+ * connects. With a customer-owned provider_config, user_id imports an existing
2759
+ * connection after verifying access with the selected credentials in their sandbox
2760
+ * or live mode; no hosted enrollment is needed, even if the connected user has no
2761
+ * stored cards. With Kernel-managed credentials, user_id may only reference a user
2762
+ * already enrolled by a wallet in this organization under the same configuration.
2763
+ * The user and configuration bindings cannot be changed after creation. Import
2764
+ * validation is read-only and runs before creation: a failed validation leaves no
2765
+ * wallet or reserved key, so the user_id can be corrected and retried. Concurrent
2766
+ * imports of the same key may both validate, but create at most one wallet and
2767
+ * connected event.
2731
2768
  */
2732
2769
  export interface AgentCardWalletVaultItemSpec {
2733
2770
  provider: 'agentcard';
@@ -3317,8 +3354,16 @@ export declare namespace ItemUpsertParams {
3317
3354
  * credentials, or select a customer-owned configuration. Mode (sandbox vs live) is
3318
3355
  * determined by the selected credential; there is no per-item test flag. Without
3319
3356
  * user_id, creation returns a hosted enrollment action and Kernel polls until the
3320
- * user connects. user_id may only reference a user already enrolled by a wallet in
3321
- * this organization under the same configuration.
3357
+ * user connects. With a customer-owned provider_config, user_id imports an
3358
+ * existing connection after verifying access with the selected credentials in
3359
+ * their sandbox or live mode; no hosted enrollment is needed, even if the
3360
+ * connected user has no stored cards. With Kernel-managed credentials, user_id may
3361
+ * only reference a user already enrolled by a wallet in this organization under
3362
+ * the same configuration. The user and configuration bindings cannot be changed
3363
+ * after creation. Import validation is read-only and runs before creation: a
3364
+ * failed validation leaves no wallet or reserved key, so the user_id can be
3365
+ * corrected and retried. Concurrent imports of the same key may both validate, but
3366
+ * create at most one wallet and connected event.
3322
3367
  */
3323
3368
  spec:
3324
3369
  | WalletVaultItemRequest.LinkWalletVaultItemRequestSpec
@@ -3447,8 +3492,16 @@ export declare namespace ItemUpsertParams {
3447
3492
  * select a customer-owned configuration. Mode (sandbox vs live) is determined by
3448
3493
  * the selected credential; there is no per-item test flag. Without user_id,
3449
3494
  * creation returns a hosted enrollment action and Kernel polls until the user
3450
- * connects. user_id may only reference a user already enrolled by a wallet in this
3451
- * organization under the same configuration.
3495
+ * connects. With a customer-owned provider_config, user_id imports an existing
3496
+ * connection after verifying access with the selected credentials in their sandbox
3497
+ * or live mode; no hosted enrollment is needed, even if the connected user has no
3498
+ * stored cards. With Kernel-managed credentials, user_id may only reference a user
3499
+ * already enrolled by a wallet in this organization under the same configuration.
3500
+ * The user and configuration bindings cannot be changed after creation. Import
3501
+ * validation is read-only and runs before creation: a failed validation leaves no
3502
+ * wallet or reserved key, so the user_id can be corrected and retried. Concurrent
3503
+ * imports of the same key may both validate, but create at most one wallet and
3504
+ * connected event.
3452
3505
  */
3453
3506
  export interface AgentCardWalletVaultItemSpec {
3454
3507
  provider: 'agentcard';
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.127.0'; // x-release-please-version
1
+ export const VERSION = '0.129.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.127.0";
1
+ export declare const VERSION = "0.129.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.127.0";
1
+ export declare const VERSION = "0.129.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.127.0'; // x-release-please-version
4
+ exports.VERSION = '0.129.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.127.0'; // x-release-please-version
1
+ export const VERSION = '0.129.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map