@useparagon/connect
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -11,2 +11,3 @@ import { OauthCallbackResponse } from './entities/credential.interface'; | ||
private projectId; | ||
private integrationToBeEnabled; | ||
private modalState; | ||
@@ -13,0 +14,0 @@ private userState; |
@@ -32,3 +32,4 @@ /// <reference types="react" /> | ||
apiInstallationOptions?: ModalApiInstallationOptions; | ||
connectionError?: string; | ||
}; | ||
export {}; |
@@ -34,2 +34,6 @@ /** | ||
} | ||
export type MessageWithErrorBody = { | ||
message: string; | ||
response: Record<string, unknown>; | ||
}; | ||
/** | ||
@@ -41,1 +45,7 @@ * extract error message from response object | ||
export declare function getErrorMessage(response: Response): Promise<string>; | ||
export declare function getErrorMessage(response: Response, isProxyRequestFailure: true): Promise<MessageWithErrorBody>; | ||
export declare function getErrorMessage(response: Response, isProxyRequestFailure: false): Promise<string>; | ||
export declare class ProxyRequestError extends Error { | ||
response: Record<string, unknown>; | ||
constructor(message: string, response: any); | ||
} |
{ | ||
"name": "@useparagon/connect", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Embed integrations into your app with the Paragon SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
160700
2176