@freelog/tools-lib 0.1.49 → 0.1.50
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/dist/service-API/transactions.d.ts +7 -0
- package/dist/tools-lib.cjs.development.js +11 -1
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +11 -1
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/service-API/transactions.ts +16 -0
|
@@ -32,4 +32,11 @@ interface ResetPasswordParamsType {
|
|
|
32
32
|
messageAddress: string;
|
|
33
33
|
}
|
|
34
34
|
export declare function resetPassword({ ...params }: ResetPasswordParamsType): Promise<any>;
|
|
35
|
+
interface VerifyTransactionPasswordParamsType {
|
|
36
|
+
loginPassword: string;
|
|
37
|
+
password: string;
|
|
38
|
+
authCode: string;
|
|
39
|
+
messageAddress: string;
|
|
40
|
+
}
|
|
41
|
+
export declare function verifyTransactionPassword({ ...params }: VerifyTransactionPasswordParamsType): Promise<any>;
|
|
35
42
|
export {};
|
|
@@ -2664,6 +2664,15 @@ function resetPassword$1(_ref6) {
|
|
|
2664
2664
|
data: params
|
|
2665
2665
|
});
|
|
2666
2666
|
}
|
|
2667
|
+
function verifyTransactionPassword(_ref7) {
|
|
2668
|
+
var params = _extends({}, _ref7);
|
|
2669
|
+
|
|
2670
|
+
return FUtil.Request({
|
|
2671
|
+
method: 'GET',
|
|
2672
|
+
url: "/v2/accounts/individualAccounts/verifyTransactionPassword?password=123456",
|
|
2673
|
+
data: params
|
|
2674
|
+
});
|
|
2675
|
+
}
|
|
2667
2676
|
|
|
2668
2677
|
var Transaction = {
|
|
2669
2678
|
__proto__: null,
|
|
@@ -2672,7 +2681,8 @@ var Transaction = {
|
|
|
2672
2681
|
transactionDetails: transactionDetails,
|
|
2673
2682
|
activateIndividualAccounts: activateIndividualAccounts,
|
|
2674
2683
|
changePassword: changePassword,
|
|
2675
|
-
resetPassword: resetPassword$1
|
|
2684
|
+
resetPassword: resetPassword$1,
|
|
2685
|
+
verifyTransactionPassword: verifyTransactionPassword
|
|
2676
2686
|
};
|
|
2677
2687
|
|
|
2678
2688
|
function sendVerificationCode(params) {
|