@superbia/untrue 2.0.2 → 2.0.3

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/dist/Api.d.ts +2 -2
  2. package/package.json +2 -2
package/dist/Api.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { Context } from "untrue";
1
+ import { Context, State } from "untrue";
2
2
  import { Client, EndpointRecord, Response, ResponseResult } from "@superbia/client";
3
3
  import { DocumentSchemaRecord } from "./SuperbiaContext";
4
4
  import { DocumentContext, Documents } from "./DocumentContext";
5
5
  import { RequestContext, Request } from "./RequestContext";
6
- export default class Api<K extends DocumentSchemaRecord, M extends EndpointRecord, N extends EndpointRecord = {}, O extends string = "id"> extends Context {
6
+ export default class Api<K extends DocumentSchemaRecord, M extends EndpointRecord, N extends EndpointRecord = {}, O extends string = "id", P = any> extends Context<State, P> {
7
7
  readonly client: Client<M, N>;
8
8
  readonly documents: DocumentContext<K, M, O>;
9
9
  readonly requests: RequestContext<M, O>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superbia/untrue",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Integrate Superbia and Untrue.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@
19
19
  "license": "MIT",
20
20
  "peerDependencies": {
21
21
  "@superbia/client": "^2.0.10",
22
- "untrue": "^5.9.0"
22
+ "untrue": "^5.9.1"
23
23
  },
24
24
  "dependencies": {
25
25
  "uuid": "^10.0.0"