squarefi-bff-api-module 1.17.7 → 1.17.8
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/CHANGELOG.md +14 -0
- package/dist/api/index.d.ts +0 -1
- package/dist/api/index.js +1 -2
- package/dist/api/list.d.ts +3 -0
- package/dist/api/list.js +5 -2
- package/package.json +1 -1
- package/src/api/index.ts +1 -1
- package/src/api/list.ts +7 -2
- package/src/api/location.ts +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.17.8] - 2025-04-23
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Removed the `location` module as its functionality has been integrated into the `list` module
|
|
13
|
+
- Updated the `list` module to include new endpoints for fetching countries
|
|
14
|
+
- Modified existing endpoints for currencies and chains to use the `/system` prefix
|
|
15
|
+
|
|
16
|
+
## [1.17.7] - 2025-04-23
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- Expanded WithdrawCryptoRequest to include INTERNAL_TRANSFER order type
|
|
21
|
+
|
|
8
22
|
## [1.17.6] - 2025-04-21
|
|
9
23
|
|
|
10
24
|
### Added
|
package/dist/api/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { exchange } from './exchange';
|
|
|
5
5
|
import { issuing } from './issuing';
|
|
6
6
|
import { kyc } from './kyc';
|
|
7
7
|
import { list } from './list';
|
|
8
|
-
import { location } from './location';
|
|
9
8
|
import { orders } from './orders';
|
|
10
9
|
import { tenants } from './tenants';
|
|
11
10
|
import { user } from './user';
|
package/dist/api/index.js
CHANGED
|
@@ -8,7 +8,6 @@ const exchange_1 = require("./exchange");
|
|
|
8
8
|
const issuing_1 = require("./issuing");
|
|
9
9
|
const kyc_1 = require("./kyc");
|
|
10
10
|
const list_1 = require("./list");
|
|
11
|
-
const location_1 = require("./location");
|
|
12
11
|
const orders_1 = require("./orders");
|
|
13
12
|
const tenants_1 = require("./tenants");
|
|
14
13
|
const user_1 = require("./user");
|
|
@@ -21,7 +20,7 @@ exports.squarefi_bff_api_client = {
|
|
|
21
20
|
issuing: issuing_1.issuing,
|
|
22
21
|
kyc: kyc_1.kyc,
|
|
23
22
|
list: list_1.list,
|
|
24
|
-
location
|
|
23
|
+
location,
|
|
25
24
|
orders: orders_1.orders,
|
|
26
25
|
tenants: tenants_1.tenants,
|
|
27
26
|
user: user_1.user,
|
package/dist/api/list.d.ts
CHANGED
package/dist/api/list.js
CHANGED
|
@@ -5,9 +5,12 @@ exports.list = void 0;
|
|
|
5
5
|
const apiClientFactory_1 = require("../utils/apiClientFactory");
|
|
6
6
|
exports.list = {
|
|
7
7
|
currencies: {
|
|
8
|
-
getAll: (params) => apiClientFactory_1.apiClientV2.getRequest('/currencies', params),
|
|
8
|
+
getAll: (params) => apiClientFactory_1.apiClientV2.getRequest('/system/currencies', params),
|
|
9
9
|
},
|
|
10
10
|
chains: {
|
|
11
|
-
getAll: (params) => apiClientFactory_1.apiClientV2.getRequest('/chains', params),
|
|
11
|
+
getAll: (params) => apiClientFactory_1.apiClientV2.getRequest('/system/chains', params),
|
|
12
|
+
},
|
|
13
|
+
countries: {
|
|
14
|
+
getAll: (params) => apiClientFactory_1.apiClientV2.getRequest('/system/countries', params),
|
|
12
15
|
},
|
|
13
16
|
};
|
package/package.json
CHANGED
package/src/api/index.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { exchange } from './exchange';
|
|
|
5
5
|
import { issuing } from './issuing';
|
|
6
6
|
import { kyc } from './kyc';
|
|
7
7
|
import { list } from './list';
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
import { orders } from './orders';
|
|
10
10
|
import { tenants } from './tenants';
|
|
11
11
|
import { user } from './user';
|
package/src/api/list.ts
CHANGED
|
@@ -8,9 +8,14 @@ import { apiClientV2 } from '../utils/apiClientFactory';
|
|
|
8
8
|
|
|
9
9
|
export const list = {
|
|
10
10
|
currencies: {
|
|
11
|
-
getAll: (params?: AxiosRequestConfig) =>
|
|
11
|
+
getAll: (params?: AxiosRequestConfig) =>
|
|
12
|
+
apiClientV2.getRequest<API.Currencies.CurrencyList>('/system/currencies', params),
|
|
12
13
|
},
|
|
13
14
|
chains: {
|
|
14
|
-
getAll: (params?: AxiosRequestConfig) => apiClientV2.getRequest<API.Chains.ChainList>('/chains', params),
|
|
15
|
+
getAll: (params?: AxiosRequestConfig) => apiClientV2.getRequest<API.Chains.ChainList>('/system/chains', params),
|
|
16
|
+
},
|
|
17
|
+
countries: {
|
|
18
|
+
getAll: (params?: AxiosRequestConfig) =>
|
|
19
|
+
apiClientV2.getRequest<API.Location.Countries.List.Response>('/system/countries', params),
|
|
15
20
|
},
|
|
16
21
|
};
|
package/src/api/location.ts
DELETED