squarefi-bff-api-module 1.35.1 → 1.35.2

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.
@@ -2160,6 +2160,10 @@ export declare namespace API {
2160
2160
  type Request = WalletAddressesRoot['get']['parameters']['path'] & NonNullable<WalletAddressesRoot['get']['parameters']['query']>;
2161
2161
  type Response = WalletAddressesRoot['get']['responses']['200']['content']['application/json'];
2162
2162
  }
2163
+ namespace GetByChain {
2164
+ type Request = WalletAddressByChainRoot['get']['parameters']['path'];
2165
+ type Response = WalletAddressByChainRoot['get']['responses']['200']['content']['application/json'];
2166
+ }
2163
2167
  namespace Create {
2164
2168
  type Request = WalletAddressByChainRoot['post']['parameters']['path'] & NonNullable<NonNullable<WalletAddressByChainRoot['post']['requestBody']>['content']['application/json']>;
2165
2169
  type Response = WalletAddressByChainRoot['post']['responses']['201']['content']['application/json'];
@@ -8,6 +8,7 @@ export declare const wallets: {
8
8
  getDashboard: ({ wallet_id, ...params }: API.Wallets.Dashboard.Request) => Promise<API.Wallets.Dashboard.Response>;
9
9
  addresses: {
10
10
  getAll: ({ wallet_id, ...params }: API.Wallets.WalletChain.GetAll.Request) => Promise<API.Wallets.WalletChain.GetAll.Response>;
11
+ getByChain: ({ wallet_id, chain, }: API.Wallets.WalletChain.GetByChain.Request) => Promise<API.Wallets.WalletChain.GetByChain.Response>;
11
12
  create: ({ wallet_id, chain, ...data }: API.Wallets.WalletChain.Create.Request) => Promise<API.Wallets.WalletChain.Create.Response>;
12
13
  };
13
14
  transactions: {
@@ -13,6 +13,7 @@ export const wallets = {
13
13
  getDashboard: ({ wallet_id, ...params }) => apiClientV1Frontend.getRequest(`/frontend/wallets/${wallet_id}/dashboard`, { params }),
14
14
  addresses: {
15
15
  getAll: ({ wallet_id, ...params }) => apiClientV1Frontend.getRequest(`/frontend/wallets/${wallet_id}/addresses`, { params }),
16
+ getByChain: ({ wallet_id, chain, }) => apiClientV1Frontend.getRequest(`/frontend/wallets/${wallet_id}/addresses/${chain}`),
16
17
  create: ({ wallet_id, chain, ...data }) => apiClientV1Frontend.postRequest(`/frontend/wallets/${wallet_id}/addresses/${chain}`, { data }),
17
18
  },
18
19
  transactions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.35.1",
3
+ "version": "1.35.2",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",