@useparagon/connect 2.0.6-experimental.4 → 2.0.6

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.
@@ -180,7 +180,6 @@ export type DynamicMappingOptions = {
180
180
  userCanRemoveMappings?: boolean;
181
181
  userCanCreateFields?: boolean;
182
182
  defaultFields?: string[];
183
- useBYOFieldMappingOption?: boolean;
184
183
  };
185
184
  export type AuthenticatedConnectUser = {
186
185
  authenticated: true;
@@ -67,44 +67,6 @@ export type LoadCustomDropdownOptionsResult = Promise<{
67
67
  }[];
68
68
  nextPageCursor: string | null;
69
69
  }>;
70
- export type DynamicFieldMappingOptionsResult = {
71
- options: {
72
- label: string;
73
- value: string;
74
- }[];
75
- nextPageCursor: string | null;
76
- };
77
- export type DynamicFieldMappingObjectTypesLoader = (cursor?: string, search?: string) => Promise<DynamicFieldMappingOptionsResult>;
78
- export type DynamicFieldMappingIntegrationFieldsLoader = (params: {
79
- objectType: string;
80
- cursor?: string;
81
- search?: string;
82
- }) => Promise<DynamicFieldMappingOptionsResult>;
83
- export type DynamicFieldMappingLoaders = {
84
- objectTypes: DynamicFieldMappingObjectTypesLoader;
85
- integrationFields: DynamicFieldMappingIntegrationFieldsLoader;
86
- };
87
- export declare enum DynamicFieldMappingLoaderType {
88
- OBJECT_TYPES = "objectTypes",
89
- INTEGRATION_FIELDS = "integrationFields"
90
- }
91
- export type DynamicFieldMappingConfig = {
92
- objectTypes: {
93
- get: DynamicFieldMappingObjectTypesLoader;
94
- };
95
- integrationFields: {
96
- get: DynamicFieldMappingIntegrationFieldsLoader;
97
- };
98
- applicationFields?: {
99
- fields: {
100
- label: string;
101
- value: string;
102
- }[];
103
- defaultFields?: string[];
104
- userCanRemoveMappings?: boolean;
105
- userCanCreateFields?: boolean;
106
- };
107
- };
108
70
  export interface IConnectSDK {
109
71
  authenticate(projectId: string, token: string, options?: AuthenticateOptions): Promise<void>;
110
72
  connect(action: string, options: ConnectParams): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useparagon/connect",
3
- "version": "2.0.6-experimental.4",
3
+ "version": "2.0.6",
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",