@integry/sdk 3.1.1-beta.9 → 3.1.2-beta.2

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.
@@ -52,6 +52,15 @@ type IntegrySDKEvents = {
52
52
  appIcon: string;
53
53
  alreadyExists: boolean;
54
54
  }) => void;
55
+ "did-fail-authorization-verification": (data: {
56
+ identity: string;
57
+ authorizationId: number;
58
+ flowId: number | null;
59
+ appId: number;
60
+ appName: string;
61
+ appIcon: string;
62
+ alreadyExists: boolean;
63
+ }) => void;
55
64
  "did-select-authorization": (data: {
56
65
  authorizationId: number;
57
66
  }) => void;
@@ -93,6 +102,7 @@ interface UserConfig {
93
102
  availableFlowsLabel?: string;
94
103
  myFlowsLabel?: string;
95
104
  hideWebhookUrlScreen?: boolean;
105
+ hideAppConnectionModal?: boolean;
96
106
  customComponents?: {
97
107
  flowCard?: (props: FlowCardProps) => VNode;
98
108
  };
@@ -102,8 +112,10 @@ interface SDKConfig {
102
112
  debug?: boolean;
103
113
  integrationId?: number;
104
114
  xIntegryConfig?: {
105
- appAuth: {
106
- apiKey: string;
115
+ isAnonymous?: boolean;
116
+ appAuth?: {
117
+ apiKey?: string;
118
+ authId?: string;
107
119
  extras?: Record<string, string | number>;
108
120
  };
109
121
  };
@@ -316,6 +328,8 @@ declare class IntegryJS {
316
328
  */
317
329
  renderAccountConnectionModal: (data?: {
318
330
  deploymentId?: string | undefined;
331
+ appId?: number | undefined;
332
+ authTypeId?: number | undefined;
319
333
  } | undefined) => void;
320
334
  /**
321
335
  * Render the template form we ship