@uappi/public-sdk 1.2.5 → 1.2.6

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.
@@ -0,0 +1,7 @@
1
+ import { usePublicApi } from '..';
2
+
3
+ export function getVerify(path: string,) {
4
+ return usePublicApi<'brand' | 'category' | 'page' | 'product' | 'redirect'>({
5
+ endpoint: `/api/v3/publics/url/verify?url=${path}`
6
+ });
7
+ }
@@ -70,6 +70,7 @@ import {
70
70
  import { getSearch } from './endpoints/SearchComposable';
71
71
  import { listShowcase } from './endpoints/ShowcaseComposable';
72
72
  import { getUrl } from './endpoints/UrlComposable';
73
+ import { getVerify } from './endpoints/VerifyComposable';
73
74
  import { listVariation } from './endpoints/VariationComposable';
74
75
  import {
75
76
  listWalletTransaction,
@@ -158,6 +159,7 @@ const product = {
158
159
  listBrands,
159
160
  listVariation,
160
161
  getUrl,
162
+ getVerify,
161
163
  getSearch,
162
164
  listShipmentQuoteProduct,
163
165
  deleteProductComment,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uappi/public-sdk",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Pacotes públicos para desenvolvimento do ecossistema Uappi",
5
5
  "main": "main.ts",
6
6
  "scripts": {