@studiocms/cfetch 0.0.1 → 0.1.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.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { addVirtualImports, createResolver } from "./utils/integration.js";
2
1
  import { defaultConfig } from "./consts.js";
2
+ import { addVirtualImports, createResolver } from "./utils/integration.js";
3
3
  function astroCache(opts) {
4
4
  const name = "@studiocms/cfetch";
5
5
  const { resolve } = createResolver(import.meta.url);
package/dist/wrappers.js CHANGED
@@ -1,5 +1,5 @@
1
- import isOlderThan from "./utils/isOlderThan.js";
2
1
  import { defaultConfig as _config } from "./consts.js";
2
+ import isOlderThan from "./utils/isOlderThan.js";
3
3
  const defaultConfig = await import("virtual:cfetch/config").then((mod) => {
4
4
  return mod.default;
5
5
  }).catch(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studiocms/cfetch",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "description": "Astro integration that allows you to have a cached fetch function in your Astro SSR project.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://studiocms.dev",