@well-known-js/core 1.0.0 → 1.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.
Files changed (2) hide show
  1. package/README.md +35 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # @well-known-js/core
2
+
3
+ Shared types and configuration helpers for the `@well-known-js` ecosystem.
4
+
5
+ ## Installation
6
+
7
+ ```sh
8
+ pnpm add @well-known-js/core
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ Create a `well-known.config.ts` file and register one or more providers:
14
+
15
+ ```ts
16
+ import { defineConfig } from "@well-known-js/core";
17
+ import { assetLinks } from "@well-known-js/assetlinks";
18
+
19
+ export default defineConfig({
20
+ providers: [
21
+ assetLinks({
22
+ statements: [{ include: "https://example.com/.well-known/assetlinks.json" }],
23
+ }),
24
+ ],
25
+ });
26
+ ```
27
+
28
+ `defineConfig()` validates that provider routes are unique and preserves full TypeScript inference.
29
+
30
+ ## Providers
31
+
32
+ - [`@well-known-js/apple-app-site-association`](https://www.npmjs.com/package/@well-known-js/apple-app-site-association)
33
+ - [`@well-known-js/assetlinks`](https://www.npmjs.com/package/@well-known-js/assetlinks)
34
+
35
+ [GitHub](https://github.com/louchebem06/well-known) · [Documentation](https://github.com/louchebem06/well-known#readme)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@well-known-js/core",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Core utilities and types for generating .well-known files.",
5
5
  "license": "MIT",
6
6
  "repository": {