@onkernel/sdk 0.155.0 → 0.157.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 (58) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/package.json +1 -1
  3. package/resources/auth/connections.d.mts +5 -1
  4. package/resources/auth/connections.d.mts.map +1 -1
  5. package/resources/auth/connections.d.ts +5 -1
  6. package/resources/auth/connections.d.ts.map +1 -1
  7. package/resources/auth/connections.js +5 -1
  8. package/resources/auth/connections.js.map +1 -1
  9. package/resources/auth/connections.mjs +5 -1
  10. package/resources/auth/connections.mjs.map +1 -1
  11. package/resources/auth/context.d.mts +3 -2
  12. package/resources/auth/context.d.mts.map +1 -1
  13. package/resources/auth/context.d.ts +3 -2
  14. package/resources/auth/context.d.ts.map +1 -1
  15. package/resources/browser-pools.d.mts +5 -0
  16. package/resources/browser-pools.d.mts.map +1 -1
  17. package/resources/browser-pools.d.ts +5 -0
  18. package/resources/browser-pools.d.ts.map +1 -1
  19. package/resources/browser-pools.js +5 -0
  20. package/resources/browser-pools.js.map +1 -1
  21. package/resources/browser-pools.mjs +5 -0
  22. package/resources/browser-pools.mjs.map +1 -1
  23. package/resources/browsers/browsers.d.mts +23 -8
  24. package/resources/browsers/browsers.d.mts.map +1 -1
  25. package/resources/browsers/browsers.d.ts +23 -8
  26. package/resources/browsers/browsers.d.ts.map +1 -1
  27. package/resources/browsers/browsers.js +16 -2
  28. package/resources/browsers/browsers.js.map +1 -1
  29. package/resources/browsers/browsers.mjs +16 -2
  30. package/resources/browsers/browsers.mjs.map +1 -1
  31. package/resources/deployments.d.mts +12 -8
  32. package/resources/deployments.d.mts.map +1 -1
  33. package/resources/deployments.d.ts +12 -8
  34. package/resources/deployments.d.ts.map +1 -1
  35. package/resources/profiles.d.mts +9 -1
  36. package/resources/profiles.d.mts.map +1 -1
  37. package/resources/profiles.d.ts +9 -1
  38. package/resources/profiles.d.ts.map +1 -1
  39. package/resources/profiles.js +9 -1
  40. package/resources/profiles.js.map +1 -1
  41. package/resources/profiles.mjs +9 -1
  42. package/resources/profiles.mjs.map +1 -1
  43. package/resources/vaults/items.d.mts +46 -23
  44. package/resources/vaults/items.d.mts.map +1 -1
  45. package/resources/vaults/items.d.ts +46 -23
  46. package/resources/vaults/items.d.ts.map +1 -1
  47. package/src/resources/auth/connections.ts +5 -1
  48. package/src/resources/auth/context.ts +3 -2
  49. package/src/resources/browser-pools.ts +5 -0
  50. package/src/resources/browsers/browsers.ts +23 -8
  51. package/src/resources/deployments.ts +12 -8
  52. package/src/resources/profiles.ts +9 -1
  53. package/src/resources/vaults/items.ts +49 -23
  54. package/src/version.ts +1 -1
  55. package/version.d.mts +1 -1
  56. package/version.d.ts +1 -1
  57. package/version.js +1 -1
  58. package/version.mjs +1 -1
@@ -1478,6 +1478,15 @@ export interface CredentialVaultItemSpecUpdate {
1478
1478
  */
1479
1479
  description?: string;
1480
1480
 
1481
+ /**
1482
+ * Hostname of the site this login is for, such as rippling.com. Collection pages
1483
+ * and link previews show the site's icon and domain. Setting it also puts the
1484
+ * domain in the collection link's query string (/collect?d=<domain>#token=...),
1485
+ * where anyone with the link can read it without the token. An empty string clears
1486
+ * it. Display text only, not an enforced destination policy.
1487
+ */
1488
+ domain?: string;
1489
+
1481
1490
  fields?: { [key: string]: CredentialVaultFieldUpdate };
1482
1491
 
1483
1492
  /**
@@ -1643,13 +1652,14 @@ export interface KernelCardState {
1643
1652
  * security-code collection on alias-mode purchases through the spend_approval
1644
1653
  * action; an unused link expires after 30 minutes. Alias-mode cards become ready
1645
1654
  * after collection and expire at the temporary security-code alias deadline, by
1646
- * default five minutes later. An expired alias purchase requires a new card.
1647
- * recovery_required means verification, approving the purchase or issuing the
1648
- * one-time code has an unresolved outcome. A server-classified initial attestation
1649
- * failure before intent dispatch may advertise restart_verification to prepare a
1650
- * fresh local verification link; this does not approve spending or replay any
1651
- * provider request. Unclassified legacy recovery and uncertain intent creation
1652
- * cannot restart. Kernel never approves again or issues another code for the item
1655
+ * default five or fifteen minutes later, depending on the card's storage backend.
1656
+ * An expired alias purchase requires a new card. recovery_required means
1657
+ * verification, approving the purchase or issuing the one-time code has an
1658
+ * unresolved outcome. A server-classified initial attestation failure before
1659
+ * intent dispatch may advertise restart_verification to prepare a fresh local
1660
+ * verification link; this does not approve spending or replay any provider
1661
+ * request. Unclassified legacy recovery and uncertain intent creation cannot
1662
+ * restart. Kernel never approves again or issues another code for the item
1653
1663
  * automatically. To continue, delete this card and create a new purchase; the
1654
1664
  * cardholder approves the new purchase separately. Recovery while reporting a
1655
1665
  * merchant transaction cannot be deleted and must be reconciled with support. When
@@ -1722,22 +1732,23 @@ export namespace KernelCardState {
1722
1732
  * issuing the code. For supported cards whose network cannot be enrolled for
1723
1733
  * agentic tokens, authorize returns pending_authorization with a spend_approval
1724
1734
  * action to collect a fresh security code in a hosted field. Once collected, the
1725
- * card is ready and can be filled before its expires_at, by default five minutes
1726
- * after collection. An expired card requires a new purchase. Fill types those
1727
- * details on merchant_url's origin. The amount, merchant_url and merchant_country
1728
- * are recorded but do not restrict payment requests sent by the browser. Card
1729
- * updates are not supported; delete and create a new item instead. With
1730
- * single_use_card the item is instead a single-use card whose details the caller
1731
- * supplies, such as a virtual card from its issuer. It is not funded by a payment
1732
- * method, is ready on creation, and supports only fill: Kernel stores the details
1733
- * encrypted, never returns them, and fills them on any https page whose
1734
- * registrable domain (state.domains) is merchant_url's, including its subdomains.
1735
- * Fill does not consume it. From expires_at it is expired and can no longer be
1736
- * filled; Kernel deletes its stored details shortly after expires_at. Deleting the
1737
- * card, its wallet or its vault deletes them immediately. amount, currency and the
1738
- * merchant fields are recorded but not enforced. Repeating the identical request
1739
- * returns the existing card; any other request with the same key returns 409, as
1740
- * does repeating it once the expired card's details have been deleted.
1735
+ * card is ready and can be filled before its expires_at, by default five or
1736
+ * fifteen minutes after collection, depending on the card's storage backend. An
1737
+ * expired card requires a new purchase. Fill types those details on merchant_url's
1738
+ * origin. The amount, merchant_url and merchant_country are recorded but do not
1739
+ * restrict payment requests sent by the browser. Card updates are not supported;
1740
+ * delete and create a new item instead. With single_use_card the item is instead a
1741
+ * single-use card whose details the caller supplies, such as a virtual card from
1742
+ * its issuer. It is not funded by a payment method, is ready on creation, and
1743
+ * supports only fill: Kernel stores the details encrypted, never returns them, and
1744
+ * fills them on any https page whose registrable domain (state.domains) is
1745
+ * merchant_url's, including its subdomains. Fill does not consume it. From
1746
+ * expires_at it is expired and can no longer be filled; Kernel deletes its stored
1747
+ * details shortly after expires_at. Deleting the card, its wallet or its vault
1748
+ * deletes them immediately. amount, currency and the merchant fields are recorded
1749
+ * but not enforced. Repeating the identical request returns the existing card; any
1750
+ * other request with the same key returns 409, as does repeating it once the
1751
+ * expired card's details have been deleted.
1741
1752
  */
1742
1753
  export interface KernelCardVaultItemSpec {
1743
1754
  /**
@@ -1828,6 +1839,12 @@ export interface KernelCredentialVaultItemSpec {
1828
1839
  * destination policy.
1829
1840
  */
1830
1841
  description?: string;
1842
+
1843
+ /**
1844
+ * Hostname of the site this login is for, shown on collection pages and link
1845
+ * previews. Display text only, not an enforced destination policy.
1846
+ */
1847
+ domain?: string;
1831
1848
  }
1832
1849
 
1833
1850
  /**
@@ -1853,6 +1870,15 @@ export interface KernelCredentialVaultItemSpecInput {
1853
1870
  * not an enforced destination policy. At most 16 KiB in UTF-8 bytes.
1854
1871
  */
1855
1872
  description?: string;
1873
+
1874
+ /**
1875
+ * Hostname of the site this login is for, such as rippling.com, without a scheme
1876
+ * or path. Collection pages and link previews show the site's icon and domain.
1877
+ * Setting it also puts the domain in the collection link's query string
1878
+ * (/collect?d=<domain>#token=...), where anyone with the link can read it without
1879
+ * the token. Display text only, not an enforced destination policy.
1880
+ */
1881
+ domain?: string;
1856
1882
  }
1857
1883
 
1858
1884
  export interface KernelCredentialVaultItemState {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.155.0'; // x-release-please-version
1
+ export const VERSION = '0.157.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.155.0";
1
+ export declare const VERSION = "0.157.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.155.0";
1
+ export declare const VERSION = "0.157.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.155.0'; // x-release-please-version
4
+ exports.VERSION = '0.157.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.155.0'; // x-release-please-version
1
+ export const VERSION = '0.157.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map