ggez-banking-sdk 0.0.19 → 0.0.21
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.
|
@@ -31,9 +31,7 @@ const useToken = (userInfo, nodeUrl, programId, lang, geoCoordinates) => {
|
|
|
31
31
|
};
|
|
32
32
|
const CreateLimitedToken = (values) => __awaiter(void 0, void 0, void 0, function* () {
|
|
33
33
|
var _a, _b, _c, _d;
|
|
34
|
-
console.log("🚀 ~ CreateLimitedToken ~ values:", values);
|
|
35
34
|
let data = dataTokenUrlEncoded(Object.assign(Object.assign({}, values), { geoCoordinates: geoCoordinates }));
|
|
36
|
-
console.log("🚀 ~ CreateLimitedToken ~ data:", data);
|
|
37
35
|
try {
|
|
38
36
|
const response = yield restApi_1.default.restApi(nodeUrl, "POST", "v1/limited-token", headerConfigToken(), JSON.stringify(data));
|
|
39
37
|
if ((_a = response.data) === null || _a === void 0 ? void 0 : _a.access_token) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ggez-banking-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
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",
|