@studiocms/cfetch 0.3.0 → 0.3.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/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defaultConfig } from "./consts.mjs";
2
2
  import { addVirtualImports, createResolver } from "./utils/integration.mjs";
3
- import stub_default from "./stub.mjs";
3
+ import stub from "./stub.mjs";
4
4
  import { Duration, Duration as Duration$1 } from "effect";
5
5
 
6
6
  //#region src/index.ts
@@ -50,13 +50,12 @@ function cFetch(opts) {
50
50
  "astro:config:done": ({ injectTypes }) => {
51
51
  injectTypes({
52
52
  filename: "cfetch.d.ts",
53
- content: stub_default
53
+ content: stub
54
54
  });
55
55
  }
56
56
  }
57
57
  };
58
58
  }
59
- var src_default = cFetch;
60
59
 
61
60
  //#endregion
62
- export { Duration, cFetch, src_default as default };
61
+ export { Duration, cFetch, cFetch as default };
package/dist/stub.mjs CHANGED
@@ -224,7 +224,6 @@ declare module 'c:fetch' {
224
224
  }
225
225
 
226
226
  `;
227
- var stub_default = stub;
228
227
 
229
228
  //#endregion
230
- export { stub_default as default };
229
+ export { stub as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studiocms/cfetch",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
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",
@@ -54,7 +54,7 @@
54
54
  "@types/node": "^22.0.0",
55
55
  "jest-extended": "^7.0.0",
56
56
  "astro": "^5.17.1",
57
- "effect": "^3.19.15"
57
+ "effect": "^3.19.16"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "astro": ">=5.16.6",