@icanbwell/types 0.32.1 → 0.33.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/types",
3
- "version": "0.32.1",
3
+ "version": "0.33.0",
4
4
  "typedoc": {
5
5
  "entryPoint": "./src/index.ts",
6
6
  "tsconfig": "./tsconfig.lib.json"
@@ -2,9 +2,12 @@ export type ComponentViewBaseProps = {
2
2
  clientKey: string;
3
3
  initialPath?: string;
4
4
  } & ({
5
+ /** Supply the auth strategy. Defaults to `jwe` which will require a `userToken` prop.
6
+ *
7
+ * _NOTE_: TS can say `authStrategy` missing. Can be resolved by supplying `userToken`. */
5
8
  authStrategy?: 'jwe';
6
9
  userToken: string;
7
10
  } | {
8
- authStrategy?: 'credential';
11
+ authStrategy: 'credential';
9
12
  userToken?: never;
10
13
  });