@civitai/app-sdk 0.70.0 → 0.70.1

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.
@@ -619,14 +619,17 @@ export interface ViewerInfo {
619
619
  */
620
620
  signedIn?: true;
621
621
  /**
622
- * @deprecated Init-time identity disclosure. Use `useViewer()` (`GET_VIEWER`)
623
- * for the viewer id — it is scope-gated and audited per call. Still sent;
624
- * scheduled for removal once block adoption of `useViewer()` is measured.
622
+ * @deprecated Init-time identity disclosure. For the viewer id use
623
+ * `useViewer()` (`GET_VIEWER`) in React, or `app.site.get('blocks/me')` from
624
+ * `@civitai/sdk` anywhere else — both are scope-gated and audited per call.
625
+ * Still sent; scheduled for removal once block adoption of `useViewer()` is
626
+ * measured.
625
627
  */
626
628
  id: number;
627
629
  /**
628
- * @deprecated Init-time identity disclosure. Use `useViewer()` (`GET_VIEWER`)
629
- * for the username. Still sent; scheduled for removal alongside `id`.
630
+ * @deprecated Init-time identity disclosure. For the username use
631
+ * `useViewer()` (`GET_VIEWER`) in React, or `app.site.get('blocks/me')` from
632
+ * `@civitai/sdk` anywhere else. Still sent; scheduled for removal alongside `id`.
630
633
  */
631
634
  username: string | null;
632
635
  /** @deprecated Not sent by the platform to third-party iframes (civitai #2521). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/app-sdk",
3
- "version": "0.70.0",
3
+ "version": "0.70.1",
4
4
  "description": "OAuth + PKCE, encrypted-cookie sessions, scopes, and orchestrator helpers for building third-party Civitai apps.",
5
5
  "license": "MIT",
6
6
  "type": "module",