react-stripe-script-loader
Advanced tools
Comparing version 1.0.29 to 1.0.30
{ | ||
"name": "react-stripe-script-loader", | ||
"version": "1.0.29", | ||
"version": "1.0.30", | ||
"description": "React component that lets load Stripe script and shows React Stripe Elements", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -47,5 +47,5 @@ import React, { useState, useEffect } from 'react' | ||
iframesList[index].name && | ||
iframesList[index].name.indexOf('privateStripe') !== -1 | ||
iframesList[index].name.indexOf('__privateStripe') === 0 | ||
) { | ||
return iframesList[index].parentNode.removeChild(iframesList[index]) | ||
iframesList[index].parentNode.removeChild(iframesList[index]) | ||
} | ||
@@ -52,0 +52,0 @@ } |
392229