We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d47409 commit 382dc43Copy full SHA for 382dc43
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "token-io",
3
- "version": "1.5.20",
+ "version": "1.5.21",
4
"description": "",
5
"main": "dist/token-io.min.js",
6
"scripts": {
src/main/Member.js
@@ -872,6 +872,12 @@ export default class Member {
872
description,
873
destinations,
874
refId);
875
+
876
+ if (res.data.transfer.status === 'PENDING_EXTERNAL_AUTHORIZATION') {
877
+ const error = new Error('PENDING_EXTERNAL_AUTHORIZATION');
878
+ error.authorizationDetails = res.data.authorizationDetails;
879
+ throw error;
880
+ }
881
return res.data.transfer;
882
});
883
}
0 commit comments