@rebilly/instruments 3.3.1-beta.0 → 3.3.2-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/instruments",
3
- "version": "3.3.1-beta.0",
3
+ "version": "3.3.2-beta.0",
4
4
  "author": "Rebilly",
5
5
  "main": "dist/index.js",
6
6
  "unpkg": "dist/index.min.js",
@@ -46,6 +46,8 @@ export async function fetchReadyToPay({ state, riskMetadata = null }) {
46
46
  return Object.values(readyToPayFields)
47
47
  // Remove result for "old" paypal method
48
48
  .filter((fields) => !(fields.method === 'paypal' && !fields.feature))
49
+ // Remove Plaid payment method
50
+ .filter((fields) => !(fields.method === 'ach' && fields.feature))
49
51
  .map((fields, index) => {
50
52
  const metadata = paymentMethodsMetadata
51
53
  .find(methodMetadata => methodMetadata.apiName === fields.method);