@speedlo/payments
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -118,7 +118,7 @@ 'use strict'; | ||
// retrieve orderId from the url | ||
var match = window.location.href.match(/(?<=orderId=)\d+/i); | ||
var match = window.location.href.match(/orderId=(\d+)/i); | ||
if (!match) { | ||
return; | ||
} | ||
var _a = __read(match, 1), orderId = _a[0]; | ||
var _a = __read(match, 2), orderId = _a[1]; | ||
var indicatorDelay = setTimeout(function () { return setPaymentLoading(true); }, 500); | ||
@@ -125,0 +125,0 @@ handlePaymentStatus(orderId).finally(function () { |
{ | ||
"name": "@speedlo/payments", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"scripts": { | ||
@@ -34,3 +34,3 @@ "prepublish": "node ../../util/builder.js" | ||
}, | ||
"gitHead": "764c310587013d16a46738a005132ab02895cebc" | ||
"gitHead": "e0d4dc60ab6ddfc86b0297f68085cf735784d407" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15004