@amp-labs/react 1.10.0 → 1.12.0

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.
package/build/index.d.ts CHANGED
@@ -35,7 +35,7 @@ declare interface ConnectProviderProps {
35
35
  onSuccess?: (connectionID: string) => void;
36
36
  }
37
37
 
38
- export declare function InstallIntegration({ integration, consumerRef, consumerName, groupRef, groupName, onInstallSuccess, onUpdateSuccess, }: InstallIntegrationProps): JSX_2.Element;
38
+ export declare function InstallIntegration({ integration, consumerRef, consumerName, groupRef, groupName, onInstallSuccess, onUpdateSuccess, onUninstallSuccess, }: InstallIntegrationProps): JSX_2.Element;
39
39
 
40
40
  declare interface InstallIntegrationProps {
41
41
  integration: string;
@@ -45,6 +45,7 @@ declare interface InstallIntegrationProps {
45
45
  groupName?: string;
46
46
  onInstallSuccess?: (installationId: string, config: Config) => void;
47
47
  onUpdateSuccess?: (installationId: string, config: Config) => void;
48
+ onUninstallSuccess?: (installationId: string) => void;
48
49
  }
49
50
 
50
51
  export declare function useAmpersandProvider(): never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amp-labs/react",
3
- "version": "1.10.0",
3
+ "version": "1.12.0",
4
4
  "description": "Ampersand React library.",
5
5
  "author": {
6
6
  "name": "Ampersand Labs",