@useparagon/connect 2.2.3-experimental-16047.7 → 2.2.3-experimental-3

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.
@@ -217,8 +217,9 @@ export type SDKIntegrationConfig = {
217
217
  dataSources: {
218
218
  [key: string]: DataSource;
219
219
  };
220
- allowedCredentialValues?: Record<string, any>;
221
- authSchemeOptions?: Record<string, any>;
220
+ authSchemeOptions?: {
221
+ packageInstallUrl?: string;
222
+ };
222
223
  };
223
224
  /**
224
225
  * The contents of the `integrations` field for an authenticated ConnectUser.
@@ -247,14 +248,17 @@ export declare const SDK_VERSION_HEADER = "X-Paragon-SDK-Version";
247
248
  export type Link = {
248
249
  label: string;
249
250
  type: 'link';
251
+ href: string;
250
252
  };
251
253
  export type FinishButton = {
252
254
  type: 'finishButton';
253
255
  label: string;
256
+ onClick: () => void;
254
257
  };
255
258
  export type CopyButton = {
256
259
  label: string;
257
260
  type: 'copyButton';
261
+ copyText: string;
258
262
  };
259
263
  export type CTA = Link | CopyButton;
260
264
  export type AccountTypeStage = {
@@ -266,7 +270,7 @@ export type InstructionStage = {
266
270
  stage: 'instruction';
267
271
  content: string;
268
272
  ctas: CTA[];
269
- finish?: FinishButton;
273
+ finish: FinishButton;
270
274
  packageInstallUrl: string;
271
275
  done: false;
272
276
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useparagon/connect",
3
- "version": "2.2.3-experimental-16047.7",
3
+ "version": "2.2.3-experimental-3",
4
4
  "description": "Embed integrations into your app with the Paragon SDK",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",