@flyo/nitro-vue3 1.0.0 → 1.0.2

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
@@ -6,4 +6,4 @@ Vue3 Components for Flyo Nitro
6
6
  yarn add @flyo/nitro-vue3
7
7
  ```
8
8
 
9
- [Read more on dev.flyo.cloud/nitrocms/vue](https://dev.flyo.cloud/nitrocms/vue)
9
+ [Read more on dev.flyo.cloud/nitro/vue](https://dev.flyo.cloud/nitro/vue)
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ApiClient, ConfigApi, EntitiesApi, PagesApi, SitemapApi } from '@flyodev/nitrocms-js';
1
+ import { ApiClient, ConfigApi, EntitiesApi, PagesApi, SitemapApi } from '@flyo/nitro-js';
2
2
  import { openBlock, createBlock, resolveDynamicComponent, inject, resolveComponent, createElementBlock, renderSlot, normalizeProps, mergeProps, Fragment, renderList, createCommentVNode, reactive, toRefs, ref, unref } from 'vue';
3
3
 
4
4
  const initFlyoApi = ({ apiToken, apiBasePath, defaultHeaders }) => {
@@ -9,8 +9,8 @@ const initFlyoApi = ({ apiToken, apiBasePath, defaultHeaders }) => {
9
9
  defaultClient.basePath = apiBasePath;
10
10
  }
11
11
 
12
- const ApiKeyAuth = defaultClient.authentications["ApiKeyAuth"];
13
- ApiKeyAuth.apiKey = apiToken;
12
+ const ApiToken = defaultClient.authentications["ApiToken"];
13
+ ApiToken.apiKey = apiToken;
14
14
  };
15
15
 
16
16
  const __default__$1 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyo/nitro-vue3",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Vue3 Components for Flyo Nitro",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -9,7 +9,7 @@
9
9
  "import": "./dist/index.js"
10
10
  }
11
11
  },
12
- "repository": "git@github.com:flyocloud/nitrocms-vue3.git",
12
+ "repository": "git@github.com:flyocloud/nitro-vue3.git",
13
13
  "author": "Basil Suter <git@nadar.io>",
14
14
  "license": "MIT",
15
15
  "type": "module",