@universal-everything/sdk-core 1.1.0-dev.ce9a6ae → 1.1.0-dev.d8d7f15

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 +11 -4
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -331,10 +331,17 @@ 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 **optional**: a first-time user has only a social
340
+ * login, and the extension / mobile app holding the new controller cannot sign
341
+ * for a not-yet-deployed profile. When present it is always verified. The next
342
+ * API version makes it mandatory for everyone (relayer
343
+ * `docs/DESIGN_2026-09-10_control-proof-versioning.md`), so callers that CAN
344
+ * sign (a Privy embedded wallet) should always send it.
338
345
  */
339
346
  type DeployProfileInput = (DeployProfileBase & {
340
347
  controllerWalletId: string;
@@ -342,7 +349,7 @@ type DeployProfileInput = (DeployProfileBase & {
342
349
  controlProof?: never;
343
350
  }) | (DeployProfileBase & {
344
351
  controllerAddress: Hex;
345
- controlProof: ControlProof;
352
+ controlProof?: ControlProof;
346
353
  controllerWalletId?: never;
347
354
  });
348
355
  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.ce9a6ae",
3
+ "version": "1.1.0-dev.d8d7f15",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/universal-everything/universal-relayer.git",