@integry/sdk 3.1.1-beta.8 → 3.1.2-beta.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.
@@ -53,6 +53,15 @@ type IntegrySDKEvents = {
53
53
  appIcon: string;
54
54
  alreadyExists: boolean;
55
55
  }) => void;
56
+ "did-fail-authorization-verification": (data: {
57
+ identity: string;
58
+ authorizationId: number;
59
+ flowId: number | null;
60
+ appId: number;
61
+ appName: string;
62
+ appIcon: string;
63
+ alreadyExists: boolean;
64
+ }) => void;
56
65
  "did-select-authorization": (data: {
57
66
  authorizationId: number;
58
67
  }) => void;
@@ -94,6 +103,7 @@ interface UserConfig {
94
103
  availableFlowsLabel?: string;
95
104
  myFlowsLabel?: string;
96
105
  hideWebhookUrlScreen?: boolean;
106
+ hideAppConnectionModal?: boolean;
97
107
  customComponents?: {
98
108
  flowCard?: (props: FlowCardProps) => VNode;
99
109
  };
@@ -103,8 +113,10 @@ interface SDKConfig {
103
113
  debug?: boolean;
104
114
  integrationId?: number;
105
115
  xIntegryConfig?: {
106
- appAuth: {
107
- apiKey: string;
116
+ isAnonymous?: boolean;
117
+ appAuth?: {
118
+ apiKey?: string;
119
+ authId?: string;
108
120
  extras?: Record<string, string | number>;
109
121
  };
110
122
  };
@@ -326,6 +338,8 @@ declare class IntegryJS {
326
338
  */
327
339
  renderAccountConnectionModal: (data?: {
328
340
  deploymentId?: string | undefined;
341
+ appId?: number | undefined;
342
+ authTypeId?: number | undefined;
329
343
  } | undefined) => void;
330
344
  /**
331
345
  * Render the template form we ship