@fedify/fedify 0.8.0-dev.142 → 0.8.0-dev.144

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 +12 -15
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -105,15 +105,20 @@ via the following command:
105
105
  deno add @fedify/fedify
106
106
  ~~~~
107
107
 
108
- ~~~~ typescript
109
- import { Federation } from "@fedify/fedify";
108
+ Since Fedify requires [`Temporal`] API, which is an unstable feature in Deno as
109
+ of April 2024, you need to add the `"temporal"` to the `"unstable"` field of
110
+ the *deno.json* file:
111
+
112
+ ~~~~ json
113
+ {
114
+ "imports": {
115
+ "@fedify/fedify": "jsr:@fedify/fedify"
116
+ },
117
+ "unstable": ["temporal"]
118
+ }
110
119
  ~~~~
111
120
 
112
- Or you can directly import it in your code using `jsr:` specifier:
113
-
114
- ~~~~ typescript
115
- import { Federation } from "jsr:@fedify/fedify";
116
- ~~~~
121
+ [`Temporal`]: https://tc39.es/proposal-temporal/docs/
117
122
 
118
123
  ### Node.js
119
124
 
@@ -125,10 +130,6 @@ the following command:
125
130
  npm add @fedify/fedify
126
131
  ~~~~
127
132
 
128
- ~~~~ typescript
129
- import { Federation } from "@fedify/fedify";
130
- ~~~~
131
-
132
133
  ### Bun
133
134
 
134
135
  Fedify can also be used in Bun. You can install it via the following
@@ -137,7 +138,3 @@ command:
137
138
  ~~~~ sh
138
139
  bun add @fedify/fedify
139
140
  ~~~~
140
-
141
- ~~~~ typescript
142
- import { Federation } from "@fedify/fedify";
143
- ~~~~
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "0.8.0-dev.142+46e7ae0a",
3
+ "version": "0.8.0-dev.144+0f08fd72",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",