@docuninja/builder2.0 0.0.73 → 0.0.78

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;
@@ -174,6 +174,7 @@ export interface Document {
174
174
  signatures?: DocumentSignature[];
175
175
  signatoryOrder: string[];
176
176
  metadata: Record<string, unknown> | null;
177
+ pending_files: boolean;
177
178
  }
178
179
  export interface DocumentFile {
179
180
  id: 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
@@ -415,6 +415,7 @@ declare interface Document_2 {
415
415
  signatures?: DocumentSignature[];
416
416
  signatoryOrder: string[];
417
417
  metadata: Record<string, unknown> | null;
418
+ pending_files: boolean;
418
419
  }
419
420
  export { Document_2 as Document }
420
421
 
@@ -912,6 +913,14 @@ export declare function useBuilderContextPlus(): Builder & {
912
913
  http: Axios;
913
914
  };
914
915
 
916
+ export declare function useOptionalBuilderContextPlus(): (Builder & {
917
+ http: Axios;
918
+ }) | null;
919
+
920
+ export declare function useOptionalSignContextPlus(): (Sign & {
921
+ http: Axios;
922
+ }) | null;
923
+
915
924
  export declare interface User {
916
925
  id: string;
917
926
  account_id: string | null;