@ai-matrx/vault 0.1.14 → 0.1.15

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/dist/index.d.cts CHANGED
@@ -123,7 +123,6 @@ declare const DEFAULT_LOCATION: VaultLocation;
123
123
  declare function locationFromParams(params: URLSearchParams, itemId?: string | null): VaultLocation;
124
124
  /** Writes everything that is not a default (and not the item id, which the host places). */
125
125
  declare function locationToParams(loc: VaultLocation): URLSearchParams;
126
- /** The one search every list shares: name, type, tags, URLs, then plaintext custom fields. */
127
126
  declare function matchesQuery(item: VaultItem, query: string): boolean;
128
127
  /**
129
128
  * The authenticator's own storage on an item (the seed, digits, period, issuer…): shown only as the
@@ -1173,6 +1172,8 @@ interface VaultHostCapabilities {
1173
1172
  /** Desktop: the native passkey importer (file chooser, parsing and keys stay native). */
1174
1173
  nativeImport?: NativeImportBridge;
1175
1174
  openUrl?: (url: string) => void;
1175
+ /** Opens one item in a new browser tab (the web app: `/vault/<id>`). Without it there is no "Open in new tab". */
1176
+ openItemInNewTab?: (itemId: string) => void;
1176
1177
  /** The host's own sign-in, offered when the session has ended (the web app: its login page, back here after). */
1177
1178
  signIn?: () => void;
1178
1179
  /** A lock the host holds (`lock.ts`): while locked the vault shows Unlock and refuses every port call. */
package/dist/index.d.ts CHANGED
@@ -123,7 +123,6 @@ declare const DEFAULT_LOCATION: VaultLocation;
123
123
  declare function locationFromParams(params: URLSearchParams, itemId?: string | null): VaultLocation;
124
124
  /** Writes everything that is not a default (and not the item id, which the host places). */
125
125
  declare function locationToParams(loc: VaultLocation): URLSearchParams;
126
- /** The one search every list shares: name, type, tags, URLs, then plaintext custom fields. */
127
126
  declare function matchesQuery(item: VaultItem, query: string): boolean;
128
127
  /**
129
128
  * The authenticator's own storage on an item (the seed, digits, period, issuer…): shown only as the
@@ -1173,6 +1172,8 @@ interface VaultHostCapabilities {
1173
1172
  /** Desktop: the native passkey importer (file chooser, parsing and keys stay native). */
1174
1173
  nativeImport?: NativeImportBridge;
1175
1174
  openUrl?: (url: string) => void;
1175
+ /** Opens one item in a new browser tab (the web app: `/vault/<id>`). Without it there is no "Open in new tab". */
1176
+ openItemInNewTab?: (itemId: string) => void;
1176
1177
  /** The host's own sign-in, offered when the session has ended (the web app: its login page, back here after). */
1177
1178
  signIn?: () => void;
1178
1179
  /** A lock the host holds (`lock.ts`): while locked the vault shows Unlock and refuses every port call. */