@khanacademy/perseus 0.2.3 → 0.2.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @khanacademy/perseus
2
2
 
3
+ ## 0.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 5d86a625: Remove all unused fields from `Dependencies.InitialRequestUrl`
8
+
3
9
  ## 0.2.3
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Core Perseus API (includes renderers and widgets)",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "0.2.3",
6
+ "version": "0.2.4",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
package/src/types.js CHANGED
@@ -356,19 +356,7 @@ interface StaticUrlFn {
356
356
  type InitialRequestUrlInterface = {|
357
357
  origin: string,
358
358
  host: string,
359
- hostname: string,
360
359
  protocol: string,
361
- port: string,
362
- configParams: {|
363
- curriculum: string,
364
- country: string,
365
- embedded: string,
366
- lang: string,
367
- preview: string,
368
- publish_commit: string,
369
- region: string,
370
- schemaMode: ?any,
371
- |},
372
360
  |};
373
361
 
374
362
  // An object for dependency injection, to allow different clients