@agrotools1/at-mf-utils 0.2.8 → 0.3.0

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.
@@ -8,7 +8,8 @@ declare type IResponse = {
8
8
  * @param url URL do módulo
9
9
  * @param app Instância do Vue
10
10
  *
11
- * Não cacheie o objeto de retorno da `getModule`. Se precisar de um valor do objeto chame a função novamente.
11
+ * Cacheie o resultado dessa função para evitar múltiplas requisições. Chame o méotod `unmount` para remover todo o script e CSS injetado.
12
+ * Ao chamar o método `unmount` será necessário renovar o cache dessa função.
12
13
  */
13
14
  export default function getModule(moduleId: string, url: string, app?: any): Promise<IResponse>;
14
15
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agrotools1/at-mf-utils",
3
3
  "type": "module",
4
- "version": "0.2.8",
4
+ "version": "0.3.0",
5
5
  "private": false,
6
6
  "packageManager": "pnpm@9.1.0",
7
7
  "description": "Métodos utilitários de MF da Agrotools",