vue-datocms 3.0.0-0 → 3.0.1

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/README.md CHANGED
@@ -50,10 +50,10 @@ npm install vue-datocms
50
50
 
51
51
  This repository contains a number of examples. You can use them to locally test your changes to the package:
52
52
 
53
- - [Vue 3 + TypeScript + Vite](examples/vite-typescript-vue3/)
54
- - [Vue 2 + Javacript + Vue CLI](examples/vue-cli-babel-javascript-vue2/)
55
- - [Query subscription](examples/query-subscription/)
56
- - [Site search](examples/site-search/)
53
+ - [Vue 3 + TypeScript + Vite](examples/vite-typescript-vue3/) ([running demo](https://vue-datocms-vite-typescript-vue3-example.vercel.app/))
54
+ - [Vue 2 + Javacript + Vue CLI](examples/vue-cli-babel-javascript-vue2/) ([running demo](https://vue-datocms-vue-cli-babel-javascript-vue2-example.vercel.app/))
55
+ - [Query subscription](examples/query-subscription/) ([running demo](https://vue-datocms-query-subscription-example.vercel.app/))
56
+ - [Site search](examples/site-search/) ([running demo](https://vue-datocms-site-search-example.vercel.app/))
57
57
 
58
58
  To use them, follow this recipe starting from the vue-datocms folder:
59
59
 
package/dist/index.cjs.js CHANGED
@@ -776,7 +776,6 @@ function useSiteSearch(config) {
776
776
  if (!isCancelled) {
777
777
  response.data = results.data;
778
778
  response.meta.total_count = results.meta.total_count;
779
- console.log("!isCancelled", response);
780
779
  }
781
780
  } catch (e) {
782
781
  if (isCancelled) {
package/dist/index.d.ts CHANGED
@@ -435,4 +435,4 @@ declare const toHead: (...args: ToMetaTagsType[]) => {
435
435
  }[];
436
436
  };
437
437
 
438
- export { DatocmsImagePlugin, DatocmsStructuredTextPlugin, DisabledQueryListenerOptions, EnabledQueryListenerOptions, Image, QueryListenerOptions, RawSearchResult, RenderBlockContext, RenderInlineRecordContext, RenderRecordLinkContext, ResponsiveImageType, SeoMetaTagType, StructuredText, SubscribeToQueryOptions, ToMetaTagsType, UseSiteSearchConfig, UseSiteSearchData, UseSiteSearchResult, appendKeyToValidElement, defaultAdapter, toHead, useQuerySubscription, useSiteSearch };
438
+ export { DatocmsImagePlugin, DatocmsStructuredTextPlugin, DisabledQueryListenerOptions, EnabledQueryListenerOptions, GenericClient, Image, QueryListenerOptions, RawSearchResult, RenderBlockContext, RenderInlineRecordContext, RenderRecordLinkContext, ResponsiveImageType, SeoMetaTagType, StructuredText, SubscribeToQueryOptions, ToMetaTagsType, UseSiteSearchConfig, UseSiteSearchData, UseSiteSearchResult, appendKeyToValidElement, defaultAdapter, toHead, useQuerySubscription, useSiteSearch };
@@ -770,7 +770,6 @@ function useSiteSearch(config) {
770
770
  if (!isCancelled) {
771
771
  response.data = results.data;
772
772
  response.meta.total_count = results.meta.total_count;
773
- console.log("!isCancelled", response);
774
773
  }
775
774
  } catch (e) {
776
775
  if (isCancelled) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-datocms",
3
- "version": "3.0.0-0",
3
+ "version": "3.0.1",
4
4
  "description": "A set of components and utilities to work faster with DatoCMS in Vue.js environments",
5
5
  "keywords": [
6
6
  "datocms",
@@ -22,7 +22,7 @@
22
22
  "dist/*"
23
23
  ],
24
24
  "scripts": {
25
- "build": "rimraf dist && rollup --config",
25
+ "build": "rm -rf dist && rollup --config",
26
26
  "dev": "rollup --config --watch",
27
27
  "prepublishOnly": "npm run test",
28
28
  "pretest": "npm run build",
@@ -56,7 +56,6 @@
56
56
  "jest-serializer-vue": "^2.0.2",
57
57
  "jsdom": "^19.0.0",
58
58
  "np": "^7.6.1",
59
- "rimraf": "^2.7.1",
60
59
  "rollup": "^2.45.2",
61
60
  "rollup-plugin-dts": "^4.2.2",
62
61
  "rollup-plugin-esbuild": "^4.10.1",