@slices.sh/assets 0.1.0 → 0.1.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/dist/client.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { assetUrl } from "./services/types";
2
- export type { AssetDefinition, AssetManifest, AssetsClient } from "./services/types";
1
+ export { assetUrl } from "./services/types.js";
2
+ export type { AssetDefinition, AssetManifest, AssetsClient } from "./services/types.js";
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { type Provider } from "@slices.sh/core";
2
- import type { AssetDefinition, AssetsClient } from "./services/types";
3
- export type { AssetDefinition, AssetManifest, AssetsClient, AssetsService } from "./services/types";
4
- export type { AssetsCapabilities } from "./services/capabilities";
2
+ import type { AssetDefinition, AssetsClient } from "./services/types.js";
3
+ export type { AssetDefinition, AssetManifest, AssetsClient, AssetsService } from "./services/types.js";
4
+ export type { AssetsCapabilities } from "./services/capabilities.js";
5
5
  /** What a config of this service says besides its provider. */
6
6
  export type AssetsConfigOptions = {
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import "server-only";
2
- import type { AssetDefinition, AssetManifest } from "./types";
2
+ import type { AssetDefinition, AssetManifest } from "./types.js";
3
3
  /** Each part of a name, so a name can never climb out of public/assets or name a hidden file. */
4
4
  export declare const safeName: (name: string) => boolean;
5
5
  /** Whether an entry is one a request may fetch bytes for: a pinned https file of a bounded size. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slices.sh/assets",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "slices v2: assets",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -43,7 +43,7 @@
43
43
  "dist"
44
44
  ],
45
45
  "dependencies": {
46
- "@slices.sh/core": "^0.1.0",
46
+ "@slices.sh/core": "^0.1.6",
47
47
  "server-only": "^0.0.1"
48
48
  },
49
49
  "peerDependencies": {