@stripe/connect-js 3.3.8-beta-1 → 3.3.9-beta-1

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.
@@ -17,7 +17,8 @@ const ConnectElementCustomMethodConfig = {
17
17
  setCollectionOptions: _collectionOptions => {}
18
18
  },
19
19
  "notification-banner": {
20
- setCollectionOptions: _collectionOptions => {}
20
+ setCollectionOptions: _collectionOptions => {},
21
+ setOnNotificationsChange: _listener => {}
21
22
  },
22
23
  "issuing-card": {
23
24
  setDefaultCard: _defaultCard => {},
@@ -187,7 +188,7 @@ const createWrapper = stripeConnect => {
187
188
  sdk: true,
188
189
  sdkOptions: {
189
190
  // This will be replaced by the npm package version when bundling
190
- sdkVersion: "3.3.8-beta-1"
191
+ sdkVersion: "3.3.7-beta-1"
191
192
  }
192
193
  })
193
194
  }));
package/dist/connect.js CHANGED
@@ -21,7 +21,8 @@ const ConnectElementCustomMethodConfig = {
21
21
  setCollectionOptions: _collectionOptions => {}
22
22
  },
23
23
  "notification-banner": {
24
- setCollectionOptions: _collectionOptions => {}
24
+ setCollectionOptions: _collectionOptions => {},
25
+ setOnNotificationsChange: _listener => {}
25
26
  },
26
27
  "issuing-card": {
27
28
  setDefaultCard: _defaultCard => {},
@@ -191,7 +192,7 @@ const createWrapper = stripeConnect => {
191
192
  sdk: true,
192
193
  sdkOptions: {
193
194
  // This will be replaced by the npm package version when bundling
194
- sdkVersion: "3.3.8-beta-1"
195
+ sdkVersion: "3.3.7-beta-1"
195
196
  }
196
197
  })
197
198
  }));
package/dist/pure.esm.js CHANGED
@@ -17,7 +17,8 @@ const ConnectElementCustomMethodConfig = {
17
17
  setCollectionOptions: _collectionOptions => {}
18
18
  },
19
19
  "notification-banner": {
20
- setCollectionOptions: _collectionOptions => {}
20
+ setCollectionOptions: _collectionOptions => {},
21
+ setOnNotificationsChange: _listener => {}
21
22
  },
22
23
  "issuing-card": {
23
24
  setDefaultCard: _defaultCard => {},
@@ -187,7 +188,7 @@ const createWrapper = stripeConnect => {
187
188
  sdk: true,
188
189
  sdkOptions: {
189
190
  // This will be replaced by the npm package version when bundling
190
- sdkVersion: "3.3.8-beta-1"
191
+ sdkVersion: "3.3.7-beta-1"
191
192
  }
192
193
  })
193
194
  }));
package/dist/pure.js CHANGED
@@ -21,7 +21,8 @@ const ConnectElementCustomMethodConfig = {
21
21
  setCollectionOptions: _collectionOptions => {}
22
22
  },
23
23
  "notification-banner": {
24
- setCollectionOptions: _collectionOptions => {}
24
+ setCollectionOptions: _collectionOptions => {},
25
+ setOnNotificationsChange: _listener => {}
25
26
  },
26
27
  "issuing-card": {
27
28
  setDefaultCard: _defaultCard => {},
@@ -191,7 +192,7 @@ const createWrapper = stripeConnect => {
191
192
  sdk: true,
192
193
  sdkOptions: {
193
194
  // This will be replaced by the npm package version when bundling
194
- sdkVersion: "3.3.8-beta-1"
195
+ sdkVersion: "3.3.7-beta-1"
195
196
  }
196
197
  })
197
198
  }));
@@ -28,6 +28,7 @@ export declare const ConnectElementCustomMethodConfig: {
28
28
  };
29
29
  "notification-banner": {
30
30
  setCollectionOptions: (_collectionOptions: CollectionOptions | undefined) => void;
31
+ setOnNotificationsChange: (_listener: (() => void) | undefined) => void;
31
32
  };
32
33
  "issuing-card": {
33
34
  setDefaultCard: (_defaultCard: string | undefined) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/connect-js",
3
- "version": "3.3.8-beta-1",
3
+ "version": "3.3.9-beta-1",
4
4
  "description": "Connect.js loading utility package",
5
5
  "main": "dist/connect.js",
6
6
  "module": "dist/connect.esm.js",
package/types/config.ts CHANGED
@@ -44,7 +44,8 @@ export const ConnectElementCustomMethodConfig = {
44
44
  "notification-banner": {
45
45
  setCollectionOptions: (
46
46
  _collectionOptions: CollectionOptions | undefined
47
- ): void => {}
47
+ ): void => {},
48
+ setOnNotificationsChange: (_listener: (() => void) | undefined): void => {}
48
49
  },
49
50
  "issuing-card": {
50
51
  setDefaultCard: (_defaultCard: string | undefined): void => {},