@flopay/js 2.0.4 → 2.0.5

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.
@@ -132,6 +132,8 @@ export interface PaymentMethodsContext {
132
132
  }
133
133
  export interface PaymentMethodsSurface {
134
134
  setLayout(layout: PaymentMethodGroupLayout): void;
135
+ /** Hides every method but the card while the buttons layout shows its card form. */
136
+ setCardOpen(open: boolean): void;
135
137
  destroy(): void;
136
138
  }
137
139
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flopay/js",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "publishConfig": {
@@ -31,10 +31,10 @@
31
31
  "dist"
32
32
  ],
33
33
  "dependencies": {
34
- "@flopay/shared": "2.0.4"
34
+ "@flopay/shared": "2.0.5"
35
35
  },
36
36
  "devDependencies": {
37
- "@flopay/ui": "2.0.4",
37
+ "@flopay/ui": "2.0.5",
38
38
  "jsdom": "^29.1.1",
39
39
  "tsup": "^9.0.0",
40
40
  "typescript": "^7.0.2",