@docuninja/builder2.0 0.0.73 → 0.0.76

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.
@@ -42,6 +42,9 @@ export declare function useSignContext(): Sign;
42
42
  export declare function useSignContextPlus(): Sign & {
43
43
  http: Axios;
44
44
  };
45
+ export declare function useOptionalSignContextPlus(): (Sign & {
46
+ http: Axios;
47
+ }) | null;
45
48
  export declare function Sign(): import("@emotion/react/jsx-runtime").JSX.Element;
46
49
  export type InvitationWithToken = Document & {
47
50
  "X-Signer-Token"?: string;
@@ -113,6 +113,9 @@ export declare function useBuilderContext(): Builder;
113
113
  export declare function useBuilderContextPlus(): Builder & {
114
114
  http: Axios;
115
115
  };
116
+ export declare function useOptionalBuilderContextPlus(): (Builder & {
117
+ http: Axios;
118
+ }) | null;
116
119
  export declare function Builder(): import("@emotion/react/jsx-runtime").JSX.Element;
117
120
  export * from '../component-types';
118
121
  export * from '../sign';
package/dist/builder.d.ts CHANGED
@@ -912,6 +912,14 @@ export declare function useBuilderContextPlus(): Builder & {
912
912
  http: Axios;
913
913
  };
914
914
 
915
+ export declare function useOptionalBuilderContextPlus(): (Builder & {
916
+ http: Axios;
917
+ }) | null;
918
+
919
+ export declare function useOptionalSignContextPlus(): (Sign & {
920
+ http: Axios;
921
+ }) | null;
922
+
915
923
  export declare interface User {
916
924
  id: string;
917
925
  account_id: string | null;