Skip to content

Commit

Permalink
payment failed debug
Browse files Browse the repository at this point in the history
  • Loading branch information
10xSebastian committed Sep 16, 2023
1 parent ea0ea03 commit b6f95a0
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/esm/index.bundle.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/esm/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -26424,6 +26424,8 @@ var PaymentProvider = (function (props) {
};

var paymentFailed = function paymentFailed(transaction, error) {
console.log('error', error === null || error === void 0 ? void 0 : error.toString());

if (asynchronousTracking == false || trackingInitialized == true) {
setClosable(true);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.evm.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26387,6 +26387,8 @@ var PaymentProvider = (function (props) {
};

var paymentFailed = function paymentFailed(transaction, error) {
console.log('error', error === null || error === void 0 ? void 0 : error.toString());

if (asynchronousTracking == false || trackingInitialized == true) {
setClosable(true);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/esm/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -26425,6 +26425,8 @@ var PaymentProvider = (function (props) {
};

var paymentFailed = function paymentFailed(transaction, error) {
console.log('error', error === null || error === void 0 ? void 0 : error.toString());

if (asynchronousTracking == false || trackingInitialized == true) {
setClosable(true);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/index.solana.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/index.bundle.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/umd/index.evm.js
Original file line number Diff line number Diff line change
Expand Up @@ -26422,6 +26422,8 @@
};

var paymentFailed = function paymentFailed(transaction, error) {
console.log('error', error === null || error === void 0 ? void 0 : error.toString());

if (asynchronousTracking == false || trackingInitialized == true) {
setClosable(true);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.evm.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/umd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26383,6 +26383,8 @@
};

var paymentFailed = function paymentFailed(transaction, error) {
console.log('error', error === null || error === void 0 ? void 0 : error.toString());

if (asynchronousTracking == false || trackingInitialized == true) {
setClosable(true);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/umd/index.solana.js
Original file line number Diff line number Diff line change
Expand Up @@ -26423,6 +26423,8 @@
};

var paymentFailed = function paymentFailed(transaction, error) {
console.log('error', error === null || error === void 0 ? void 0 : error.toString());

if (asynchronousTracking == false || trackingInitialized == true) {
setClosable(true);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/umd/index.solana.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/providers/PaymentProvider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export default (props)=>{
}

const paymentFailed = (transaction, error)=> {
console.log('error', error?.toString())
if(asynchronousTracking == false || trackingInitialized == true) {
setClosable(true)
}
Expand Down

0 comments on commit b6f95a0

Please sign in to comment.