@nexys/zk-store 0.1.8 → 0.1.10

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.
@@ -446,7 +446,7 @@ export interface paths {
446
446
  put?: never;
447
447
  /**
448
448
  * Opens (or creates) the vault the proof belongs to and returns a vault
449
- * token.
449
+ * token. With `SIGNUPS=closed`, only existing vaults open.
450
450
  */
451
451
  post: operations["openSession"];
452
452
  delete?: never;
@@ -577,6 +577,10 @@ export interface components {
577
577
  ok: boolean;
578
578
  /** @description Git commit of the build. */
579
579
  sha: string;
580
+ /** @description Where to ask for a vault while sign-ups are closed; empty when unset. */
581
+ signupContact: string;
582
+ /** @description Whether this server creates new vaults (`SIGNUPS`). */
583
+ signupsOpen: boolean;
580
584
  /** @description When this process started (ISO 8601). */
581
585
  startedAt: string;
582
586
  /** @description Git tag of the build, or the short SHA when untagged. */
@@ -1087,6 +1091,15 @@ export interface operations {
1087
1091
  "application/json": components["schemas"]["ApiError"];
1088
1092
  };
1089
1093
  };
1094
+ /** @description Larger than the server's upload limit (`MAX_UPLOAD_MB`) */
1095
+ 413: {
1096
+ headers: {
1097
+ [name: string]: unknown;
1098
+ };
1099
+ content: {
1100
+ "application/json": components["schemas"]["ApiError"];
1101
+ };
1102
+ };
1090
1103
  };
1091
1104
  };
1092
1105
  deleteBlob: {
@@ -2095,7 +2108,7 @@ export interface operations {
2095
2108
  "application/json": components["schemas"]["ApiError"];
2096
2109
  };
2097
2110
  };
2098
- /** @description Credential belongs to another vault */
2111
+ /** @description Credential belongs to another vault, or sign-ups are closed and no vault has this key */
2099
2112
  403: {
2100
2113
  headers: {
2101
2114
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexys/zk-store",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Browser client for zk-store: zero-knowledge encrypted file storage. Files are encrypted before they leave the device.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -34,7 +34,7 @@
34
34
  "prepack": "bun run build"
35
35
  },
36
36
  "dependencies": {
37
- "@nexys/zk-store-crypto": "0.1.8",
37
+ "@nexys/zk-store-crypto": "0.1.10",
38
38
  "openapi-fetch": "^0.17.0"
39
39
  },
40
40
  "devDependencies": {