ggez-banking-sdk 0.1.28 → 0.1.29
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.
@@ -70,18 +70,20 @@ const Data = () => {
|
|
70
70
|
};
|
71
71
|
const GetBlockchainRequestData = (values, blockchainRequestType) => {
|
72
72
|
const GetTransferRequestData = (values) => {
|
73
|
-
const { transfer_data, info } = values;
|
73
|
+
const { transfer_data, info, authentication } = values;
|
74
74
|
const data = {
|
75
75
|
info: info,
|
76
76
|
transfer_data: transfer_data,
|
77
|
+
authentication: authentication,
|
77
78
|
};
|
78
79
|
return data;
|
79
80
|
};
|
80
81
|
const GetDelegationRequestData = (values) => {
|
81
|
-
const { delegation_data, info } = values;
|
82
|
+
const { delegation_data, info, authentication } = values;
|
82
83
|
const data = {
|
83
84
|
info: info,
|
84
85
|
delegation_data: delegation_data,
|
86
|
+
authentication: authentication,
|
85
87
|
};
|
86
88
|
return data;
|
87
89
|
};
|
@@ -2,10 +2,15 @@ interface ICoin {
|
|
2
2
|
amount: string;
|
3
3
|
denom: string;
|
4
4
|
}
|
5
|
+
interface IAuthentication {
|
6
|
+
type: number;
|
7
|
+
code: string;
|
8
|
+
}
|
5
9
|
interface IBase {
|
6
10
|
info: {
|
7
11
|
account_id: number;
|
8
12
|
};
|
13
|
+
authentication: IAuthentication[];
|
9
14
|
}
|
10
15
|
interface IEntry {
|
11
16
|
recipient_address: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ggez-banking-sdk",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.29",
|
4
4
|
"description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|