@finema/core 1.4.46 → 1.4.47

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/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "1.4.46",
3
+ "version": "1.4.47",
4
4
  "configKey": "core",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.7.4"
package/dist/module.mjs CHANGED
@@ -2,7 +2,7 @@ import { defineNuxtModule, createResolver, installModule, addPlugin, addComponen
2
2
  import 'lodash-es';
3
3
 
4
4
  const name = "@finema/core";
5
- const version = "1.4.46";
5
+ const version = "1.4.47";
6
6
 
7
7
  const colors = {
8
8
  black: "#20243E",
@@ -119,12 +119,12 @@ export const apiFetchHelper = async (state, onUpdateStatus, onUpdateOptions, onU
119
119
  ...opts.fetch?.getRequestOptions?.(page, query, opts) ?? {}
120
120
  };
121
121
  const limit = reqOptions.params?.limit || config.limit_per_page;
122
+ reqOptions.params = ParamHelper.getParams(opts, reqOptions);
122
123
  reqOptions.params = {
123
124
  limit,
124
125
  page,
125
126
  q: (query || "").trim()
126
127
  };
127
- reqOptions.params = ParamHelper.getParams(opts, reqOptions);
128
128
  try {
129
129
  if (opts.isMock) {
130
130
  await new Promise((resolve) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "1.4.46",
3
+ "version": "1.4.47",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",