squarefi-bff-api-module 1.17.3 → 1.17.4
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 +6 -0
- package/dist/api/issuing.d.ts +1 -1
- package/dist/api/issuing.js +1 -1
- package/package.json +1 -1
- package/src/api/issuing.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ 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.4] - 2025-04-18
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Updated transaction retrieval to use sub_account_id and correct endpoint
|
|
13
|
+
|
|
8
14
|
## [1.17.3] - 2025-04-18
|
|
9
15
|
|
|
10
16
|
### Added
|
package/dist/api/issuing.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare const issuing: {
|
|
|
50
50
|
getByUuid: (uuid: string) => Promise<API.Issuing.SubAccounts.SubAccount>;
|
|
51
51
|
create: (wallet_id: string, program_id: string) => Promise<API.Issuing.SubAccounts.SubAccount>;
|
|
52
52
|
transactions: {
|
|
53
|
-
get: (
|
|
53
|
+
get: (sub_account_id: string, limit?: number, offset?: number) => Promise<API.Issuing.SubAccounts.TransactionList>;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
config: {
|
package/dist/api/issuing.js
CHANGED
|
@@ -104,7 +104,7 @@ exports.issuing = {
|
|
|
104
104
|
data: { wallet_id, program_id },
|
|
105
105
|
}),
|
|
106
106
|
transactions: {
|
|
107
|
-
get: (
|
|
107
|
+
get: (sub_account_id, limit, offset) => apiClientFactory_1.apiClientV1.getRequest(`/issuing/sub_account/${sub_account_id}/transactions/csv`, {
|
|
108
108
|
params: { limit, offset },
|
|
109
109
|
}),
|
|
110
110
|
},
|
package/package.json
CHANGED
package/src/api/issuing.ts
CHANGED
|
@@ -126,9 +126,9 @@ export const issuing = {
|
|
|
126
126
|
data: { wallet_id, program_id },
|
|
127
127
|
}),
|
|
128
128
|
transactions: {
|
|
129
|
-
get: (
|
|
129
|
+
get: (sub_account_id: string, limit?: number, offset?: number) =>
|
|
130
130
|
apiClientV1.getRequest<API.Issuing.SubAccounts.TransactionList>(
|
|
131
|
-
`/issuing/sub_account/${
|
|
131
|
+
`/issuing/sub_account/${sub_account_id}/transactions/csv`,
|
|
132
132
|
{
|
|
133
133
|
params: { limit, offset },
|
|
134
134
|
}
|