@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.
- package/CHANGELOG.md +15 -0
- package/package.json +1 -1
- package/resources/auth/connections.d.mts +5 -1
- package/resources/auth/connections.d.mts.map +1 -1
- package/resources/auth/connections.d.ts +5 -1
- package/resources/auth/connections.d.ts.map +1 -1
- package/resources/auth/connections.js +5 -1
- package/resources/auth/connections.js.map +1 -1
- package/resources/auth/connections.mjs +5 -1
- package/resources/auth/connections.mjs.map +1 -1
- package/resources/auth/context.d.mts +3 -2
- package/resources/auth/context.d.mts.map +1 -1
- package/resources/auth/context.d.ts +3 -2
- package/resources/auth/context.d.ts.map +1 -1
- package/resources/browser-pools.d.mts +5 -0
- package/resources/browser-pools.d.mts.map +1 -1
- package/resources/browser-pools.d.ts +5 -0
- package/resources/browser-pools.d.ts.map +1 -1
- package/resources/browser-pools.js +5 -0
- package/resources/browser-pools.js.map +1 -1
- package/resources/browser-pools.mjs +5 -0
- package/resources/browser-pools.mjs.map +1 -1
- package/resources/browsers/browsers.d.mts +23 -8
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +23 -8
- package/resources/browsers/browsers.d.ts.map +1 -1
- package/resources/browsers/browsers.js +16 -2
- package/resources/browsers/browsers.js.map +1 -1
- package/resources/browsers/browsers.mjs +16 -2
- package/resources/browsers/browsers.mjs.map +1 -1
- package/resources/deployments.d.mts +12 -8
- package/resources/deployments.d.mts.map +1 -1
- package/resources/deployments.d.ts +12 -8
- package/resources/deployments.d.ts.map +1 -1
- package/resources/profiles.d.mts +9 -1
- package/resources/profiles.d.mts.map +1 -1
- package/resources/profiles.d.ts +9 -1
- package/resources/profiles.d.ts.map +1 -1
- package/resources/profiles.js +9 -1
- package/resources/profiles.js.map +1 -1
- package/resources/profiles.mjs +9 -1
- package/resources/profiles.mjs.map +1 -1
- package/resources/vaults/items.d.mts +46 -23
- package/resources/vaults/items.d.mts.map +1 -1
- package/resources/vaults/items.d.ts +46 -23
- package/resources/vaults/items.d.ts.map +1 -1
- package/src/resources/auth/connections.ts +5 -1
- package/src/resources/auth/context.ts +3 -2
- package/src/resources/browser-pools.ts +5 -0
- package/src/resources/browsers/browsers.ts +23 -8
- package/src/resources/deployments.ts +12 -8
- package/src/resources/profiles.ts +9 -1
- package/src/resources/vaults/items.ts +49 -23
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- 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
|
|
1647
|
-
*
|
|
1648
|
-
*
|
|
1649
|
-
*
|
|
1650
|
-
*
|
|
1651
|
-
*
|
|
1652
|
-
*
|
|
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
|
|
1726
|
-
* after collection
|
|
1727
|
-
*
|
|
1728
|
-
*
|
|
1729
|
-
*
|
|
1730
|
-
*
|
|
1731
|
-
* supplies, such as a virtual card from
|
|
1732
|
-
* method, is ready on creation, and
|
|
1733
|
-
* encrypted, never returns them, and
|
|
1734
|
-
* registrable domain (state.domains) is
|
|
1735
|
-
* Fill does not consume it. From
|
|
1736
|
-
* filled; Kernel deletes its stored
|
|
1737
|
-
* card, its wallet or its vault
|
|
1738
|
-
*
|
|
1739
|
-
*
|
|
1740
|
-
*
|
|
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.
|
|
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.
|
|
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.
|
|
1
|
+
export declare const VERSION = "0.157.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.157.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|