mitre-form-component 0.0.44 → 0.0.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -39,9 +39,9 @@ Aqui está um exemplo de uso básico dentro do projeto:
39
39
  ```tsx
40
40
  import { MitreFormComponent } from "mitre-form-component-next";
41
41
 
42
- // Definir array de produtos (pode vir de variável de ambiente)
43
- const products = JSON.parse(process.env.VITE_PRODUCTS!);
44
- // Exemplo de VITE_PRODUCTS: '[{"id":1,"name":"Apartamento 2 quartos"},{"id":2,"name":"Casa 3 quartos"}]'
42
+ // array de produtos
43
+ const products = JSON.parse(process.env.VITE_PRODUCT_ID!);
44
+ // Exemplo de VITE_PRODUCT_ID: '[{"id":1,"name":"Apartamento 2 quartos"},{"id":2,"name":"Casa 3 quartos"}]'
45
45
 
46
46
  <MitreFormComponent
47
47
  products={products}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mitre-form-component",
3
- "version": "0.0.44",
3
+ "version": "0.0.47",
4
4
  "private": false,
5
5
  "description": "Componente de formulário de captação de leads para ser usado em projetos da Mitre Realty.",
6
6
  "type": "module",