@uniformdev/mesh-sdk-react 20.77.1 → 20.78.0

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/index.d.mts CHANGED
@@ -912,14 +912,10 @@ declare function DataTypeEditor({ onChange, children, editVariableComponent }: D
912
912
 
913
913
  /**
914
914
  * Status of the delegation session as seen from the React provider.
915
- *
916
- * @deprecated This beta identity delegation API may change with breaking changes.
917
915
  */
918
916
  type DelegationStatus = 'idle' | 'acquiring' | 'active' | 'disabled' | 'error';
919
917
  /**
920
918
  * Value provided by DelegationProvider via React context.
921
- *
922
- * @deprecated This beta identity delegation API may change with breaking changes.
923
919
  */
924
920
  interface DelegationContextValue {
925
921
  status: DelegationStatus;
@@ -931,12 +927,8 @@ interface DelegationContextValue {
931
927
  */
932
928
  reacquire: () => Promise<void>;
933
929
  }
934
- /** @deprecated This beta identity delegation API may change with breaking changes. */
935
930
  declare const DelegationContext: React$1.Context<DelegationContextValue | null>;
936
931
 
937
- /**
938
- * @deprecated This beta identity delegation API may change with breaking changes.
939
- */
940
932
  interface DelegationGateProps {
941
933
  children: React__default.ReactNode;
942
934
  /** Shown while delegation is starting. Omit to use the default loading UI. */
@@ -954,8 +946,6 @@ interface DelegationGateProps {
954
946
  *
955
947
  * Sensible defaults use the design system (loading overlay, callouts). Pass `loadingComponent`,
956
948
  * `disabledComponent`, or `errorComponent` to customize; pass `null` to render nothing for that state.
957
- *
958
- * @deprecated This beta identity delegation API may change with breaking changes.
959
949
  */
960
950
  declare function DelegationGate({ children, loadingComponent, disabledComponent, errorComponent, }: DelegationGateProps): _emotion_react_jsx_runtime.JSX.Element | null;
961
951
 
@@ -963,15 +953,10 @@ declare function DelegationGate({ children, loadingComponent, disabledComponent,
963
953
  * Thrown by `reacquire()` when `sdk.getSessionToken()` returns `undefined`,
964
954
  * meaning identity delegation is not enabled for this integration.
965
955
  * Distinct from transient errors so callers can avoid showing an error state.
966
- *
967
- * @deprecated This beta identity delegation API may change with breaking changes.
968
956
  */
969
957
  declare class DelegationDisabledError extends Error {
970
958
  constructor();
971
959
  }
972
- /**
973
- * @deprecated This beta identity delegation API may change with breaking changes.
974
- */
975
960
  interface DelegationProviderProps {
976
961
  /** `UniformMeshSDK` instance obtained from `useUniformMeshSdk()`. */
977
962
  sdk: UniformMeshSDK;
@@ -1018,8 +1003,6 @@ interface DelegationProviderProps {
1018
1003
  * Mid-session expiry (visible tab, BFF returns `delegation_expired`) is recovered via
1019
1004
  * `reacquire()` — typically through `useDelegationFetch`, which awaits re-exchange and
1020
1005
  * retries the failed request once.
1021
- *
1022
- * @deprecated This beta identity delegation API may change with breaking changes.
1023
1006
  */
1024
1007
  declare function DelegationProvider({ sdk, onSessionToken, checkActive, revalidateOnFocus, revalidateAfterMs, children, }: DelegationProviderProps): _emotion_react_jsx_runtime.JSX.Element;
1025
1008
 
@@ -2182,8 +2165,6 @@ declare const SortItems: ({ sortByLabel, localeLabel, sortOptions, sortByValue,
2182
2165
 
2183
2166
  /**
2184
2167
  * Options for {@link createDelegationFetch}.
2185
- *
2186
- * @deprecated This beta identity delegation API may change with breaking changes.
2187
2168
  */
2188
2169
  interface CreateDelegationFetchOptions {
2189
2170
  /**
@@ -2201,16 +2182,12 @@ interface CreateDelegationFetchOptions {
2201
2182
  }
2202
2183
  /**
2203
2184
  * Default expiry check: 401 whose JSON body has `code === DELEGATION_EXPIRED_CODE`.
2204
- *
2205
- * @deprecated This beta identity delegation API may change with breaking changes.
2206
2185
  */
2207
2186
  declare function isDelegationExpiredResponse(response: Response): Promise<boolean>;
2208
2187
  /**
2209
2188
  * `fetch` wrapper that injects the Mesh CSRF header, and on a BFF
2210
2189
  * `delegation_expired` 401 calls `reacquire()` once then retries.
2211
2190
  * A second expiry after reacquire is returned as-is.
2212
- *
2213
- * @deprecated This beta identity delegation API may change with breaking changes.
2214
2191
  */
2215
2192
  declare function createDelegationFetch(options: CreateDelegationFetchOptions): typeof fetch;
2216
2193
 
@@ -2220,8 +2197,6 @@ declare function useConnectedDataAsVariables(connectedData: Record<string, unkno
2220
2197
  /**
2221
2198
  * Delegation session state (`status`, `error`, awaitable `reacquire`).
2222
2199
  * Requires `DelegationProvider`. Prefer {@link useDelegationFetch} for BFF calls.
2223
- *
2224
- * @deprecated This beta identity delegation API may change with breaking changes.
2225
2200
  */
2226
2201
  declare function useDelegation(): DelegationContextValue;
2227
2202
 
@@ -2229,8 +2204,6 @@ declare function useDelegation(): DelegationContextValue;
2229
2204
  * `fetch` for BFF calls: injects the Mesh CSRF header, and on `delegation_expired`
2230
2205
  * 401 reacquires via {@link useDelegation} then retries once.
2231
2206
  * Requires `DelegationProvider`. See {@link createDelegationFetch}.
2232
- *
2233
- * @deprecated This beta identity delegation API may change with breaking changes.
2234
2207
  */
2235
2208
  declare function useDelegationFetch(options?: Omit<CreateDelegationFetchOptions, 'reacquire'>): typeof fetch;
2236
2209
 
package/dist/index.d.ts CHANGED
@@ -912,14 +912,10 @@ declare function DataTypeEditor({ onChange, children, editVariableComponent }: D
912
912
 
913
913
  /**
914
914
  * Status of the delegation session as seen from the React provider.
915
- *
916
- * @deprecated This beta identity delegation API may change with breaking changes.
917
915
  */
918
916
  type DelegationStatus = 'idle' | 'acquiring' | 'active' | 'disabled' | 'error';
919
917
  /**
920
918
  * Value provided by DelegationProvider via React context.
921
- *
922
- * @deprecated This beta identity delegation API may change with breaking changes.
923
919
  */
924
920
  interface DelegationContextValue {
925
921
  status: DelegationStatus;
@@ -931,12 +927,8 @@ interface DelegationContextValue {
931
927
  */
932
928
  reacquire: () => Promise<void>;
933
929
  }
934
- /** @deprecated This beta identity delegation API may change with breaking changes. */
935
930
  declare const DelegationContext: React$1.Context<DelegationContextValue | null>;
936
931
 
937
- /**
938
- * @deprecated This beta identity delegation API may change with breaking changes.
939
- */
940
932
  interface DelegationGateProps {
941
933
  children: React__default.ReactNode;
942
934
  /** Shown while delegation is starting. Omit to use the default loading UI. */
@@ -954,8 +946,6 @@ interface DelegationGateProps {
954
946
  *
955
947
  * Sensible defaults use the design system (loading overlay, callouts). Pass `loadingComponent`,
956
948
  * `disabledComponent`, or `errorComponent` to customize; pass `null` to render nothing for that state.
957
- *
958
- * @deprecated This beta identity delegation API may change with breaking changes.
959
949
  */
960
950
  declare function DelegationGate({ children, loadingComponent, disabledComponent, errorComponent, }: DelegationGateProps): _emotion_react_jsx_runtime.JSX.Element | null;
961
951
 
@@ -963,15 +953,10 @@ declare function DelegationGate({ children, loadingComponent, disabledComponent,
963
953
  * Thrown by `reacquire()` when `sdk.getSessionToken()` returns `undefined`,
964
954
  * meaning identity delegation is not enabled for this integration.
965
955
  * Distinct from transient errors so callers can avoid showing an error state.
966
- *
967
- * @deprecated This beta identity delegation API may change with breaking changes.
968
956
  */
969
957
  declare class DelegationDisabledError extends Error {
970
958
  constructor();
971
959
  }
972
- /**
973
- * @deprecated This beta identity delegation API may change with breaking changes.
974
- */
975
960
  interface DelegationProviderProps {
976
961
  /** `UniformMeshSDK` instance obtained from `useUniformMeshSdk()`. */
977
962
  sdk: UniformMeshSDK;
@@ -1018,8 +1003,6 @@ interface DelegationProviderProps {
1018
1003
  * Mid-session expiry (visible tab, BFF returns `delegation_expired`) is recovered via
1019
1004
  * `reacquire()` — typically through `useDelegationFetch`, which awaits re-exchange and
1020
1005
  * retries the failed request once.
1021
- *
1022
- * @deprecated This beta identity delegation API may change with breaking changes.
1023
1006
  */
1024
1007
  declare function DelegationProvider({ sdk, onSessionToken, checkActive, revalidateOnFocus, revalidateAfterMs, children, }: DelegationProviderProps): _emotion_react_jsx_runtime.JSX.Element;
1025
1008
 
@@ -2182,8 +2165,6 @@ declare const SortItems: ({ sortByLabel, localeLabel, sortOptions, sortByValue,
2182
2165
 
2183
2166
  /**
2184
2167
  * Options for {@link createDelegationFetch}.
2185
- *
2186
- * @deprecated This beta identity delegation API may change with breaking changes.
2187
2168
  */
2188
2169
  interface CreateDelegationFetchOptions {
2189
2170
  /**
@@ -2201,16 +2182,12 @@ interface CreateDelegationFetchOptions {
2201
2182
  }
2202
2183
  /**
2203
2184
  * Default expiry check: 401 whose JSON body has `code === DELEGATION_EXPIRED_CODE`.
2204
- *
2205
- * @deprecated This beta identity delegation API may change with breaking changes.
2206
2185
  */
2207
2186
  declare function isDelegationExpiredResponse(response: Response): Promise<boolean>;
2208
2187
  /**
2209
2188
  * `fetch` wrapper that injects the Mesh CSRF header, and on a BFF
2210
2189
  * `delegation_expired` 401 calls `reacquire()` once then retries.
2211
2190
  * A second expiry after reacquire is returned as-is.
2212
- *
2213
- * @deprecated This beta identity delegation API may change with breaking changes.
2214
2191
  */
2215
2192
  declare function createDelegationFetch(options: CreateDelegationFetchOptions): typeof fetch;
2216
2193
 
@@ -2220,8 +2197,6 @@ declare function useConnectedDataAsVariables(connectedData: Record<string, unkno
2220
2197
  /**
2221
2198
  * Delegation session state (`status`, `error`, awaitable `reacquire`).
2222
2199
  * Requires `DelegationProvider`. Prefer {@link useDelegationFetch} for BFF calls.
2223
- *
2224
- * @deprecated This beta identity delegation API may change with breaking changes.
2225
2200
  */
2226
2201
  declare function useDelegation(): DelegationContextValue;
2227
2202
 
@@ -2229,8 +2204,6 @@ declare function useDelegation(): DelegationContextValue;
2229
2204
  * `fetch` for BFF calls: injects the Mesh CSRF header, and on `delegation_expired`
2230
2205
  * 401 reacquires via {@link useDelegation} then retries once.
2231
2206
  * Requires `DelegationProvider`. See {@link createDelegationFetch}.
2232
- *
2233
- * @deprecated This beta identity delegation API may change with breaking changes.
2234
2207
  */
2235
2208
  declare function useDelegationFetch(options?: Omit<CreateDelegationFetchOptions, 'reacquire'>): typeof fetch;
2236
2209
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "20.77.1",
3
+ "version": "20.78.0",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -50,10 +50,10 @@
50
50
  "@lexical/selection": "0.49.0",
51
51
  "@lexical/utils": "0.49.0",
52
52
  "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v5.5.0/react-icons-all-files-5.5.0.tgz",
53
- "@uniformdev/canvas": "20.77.1",
54
- "@uniformdev/design-system": "20.77.1",
55
- "@uniformdev/mesh-sdk": "20.77.1",
56
- "@uniformdev/richtext": "20.77.1",
53
+ "@uniformdev/canvas": "20.78.0",
54
+ "@uniformdev/design-system": "20.78.0",
55
+ "@uniformdev/mesh-sdk": "20.78.0",
56
+ "@uniformdev/richtext": "20.78.0",
57
57
  "dequal": "^2.0.3",
58
58
  "lexical": "0.49.0",
59
59
  "mitt": "3.0.1",
@@ -85,5 +85,5 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "gitHead": "d820d514d227b09c4df16b4285da6fa6d8ab61f7"
88
+ "gitHead": "22d94ee916bde5e32c96995da69cfe479f87a9c9"
89
89
  }