@universal-everything/sdk-core 1.1.0-dev.04bf615 → 1.1.0-dev.24fe684

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 (2) hide show
  1. package/dist/index.d.ts +12 -4
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -331,10 +331,18 @@ type DeployProfileBase = {
331
331
  * Deploy a sponsored Universal Profile. Two mutually-exclusive controller
332
332
  * modes:
333
333
  * - **custody**: `controllerWalletId` — a relayer-held wallet row.
334
- * - **external (A1)**: `controllerAddress` + `controlProof` — a user-held key
335
- * (a Privy embedded wallet, or an extension/mobile key) that proves control
336
- * by signing a nonce-bound challenge. Build the proof with
334
+ * - **external (A1)**: `controllerAddress` (+ `controlProof`) — a user-held key
335
+ * (a Privy embedded wallet, or an extension/mobile key). The proof is a
336
+ * signature by that key over a nonce-bound challenge; build it with
337
337
  * `@universal-everything/sdk-core-viem`'s `buildControlProof`.
338
+ *
339
+ * On `/v1` the proof is **required for Privy (`did:privy:`) subjects** and
340
+ * **optional for Universal-Profile SIWE (`did:up:`) subjects** — the extension
341
+ * cannot sign for a not-yet-deployed profile's controller, and a UP-SIWE
342
+ * session already proved on-chain control of a UP at login. When present it is
343
+ * always verified. The next API version makes it mandatory for everyone
344
+ * (relayer `docs/DESIGN_2026-09-10_control-proof-versioning.md`), so callers
345
+ * that can sign should always send it.
338
346
  */
339
347
  type DeployProfileInput = (DeployProfileBase & {
340
348
  controllerWalletId: string;
@@ -342,7 +350,7 @@ type DeployProfileInput = (DeployProfileBase & {
342
350
  controlProof?: never;
343
351
  }) | (DeployProfileBase & {
344
352
  controllerAddress: Hex;
345
- controlProof: ControlProof;
353
+ controlProof?: ControlProof;
346
354
  controllerWalletId?: never;
347
355
  });
348
356
  type DeployProfileSingleChainResponse = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@universal-everything/sdk-core",
3
- "version": "1.1.0-dev.04bf615",
3
+ "version": "1.1.0-dev.24fe684",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/universal-everything/universal-relayer.git",