@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.
- package/dist/blocks/types.d.ts +8 -5
- package/package.json +1 -1
package/dist/blocks/types.d.ts
CHANGED
|
@@ -619,14 +619,17 @@ export interface ViewerInfo {
|
|
|
619
619
|
*/
|
|
620
620
|
signedIn?: true;
|
|
621
621
|
/**
|
|
622
|
-
* @deprecated Init-time identity disclosure.
|
|
623
|
-
*
|
|
624
|
-
*
|
|
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.
|
|
629
|
-
*
|
|
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