@kivacore/signin 0.21.0 → 0.21.2

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.
@@ -198,7 +198,7 @@ type AuthStatus = 'loading' | 'authenticated' | 'unauthenticated' | 'error';
198
198
  interface KivaAuthConfig {
199
199
  /** OAuth2 client ID. Defaults to the Kiva public client ID */
200
200
  clientId?: string;
201
- /** API base URL. Defaults to https://alpha-api.docyrus.com */
201
+ /** API base URL. Defaults to https://api.kiva.app */
202
202
  apiUrl?: string;
203
203
  /** OAuth2 scopes. Defaults to offline_access Read.All Users.Read Users.Read.All DS.Read.All */
204
204
  scopes?: string[];
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { a as KivaAuthConfig, b as KivaAuthContextValue } from './types-DF2C4eb6.js';
3
+ import { a as KivaAuthConfig, b as KivaAuthContextValue } from './types-YWGPWMCI.js';
4
4
  import { RestApiClient } from '@kivacore/api-client';
5
5
 
6
6
  interface KivaAuthProviderProps extends KivaAuthConfig {
@@ -1,9 +1,9 @@
1
1
  import * as vue from 'vue';
2
2
  import { PropType } from 'vue';
3
3
  import { OAuth2TokenStorage, OAuth2Tokens, RestApiClient } from '@kivacore/api-client';
4
- import { a as KivaAuthConfig, p as AuthMode, q as AuthStatus, i as KivaSharePayload, d as KivaEmailPayload, c as KivaCalendarEventPayload, S as MsGraphClient, h as KivaShareAdaptiveCardPayload, j as KivaShareTextPayload } from '../types-DF2C4eb6.js';
4
+ import { a as KivaAuthConfig, p as AuthMode, q as AuthStatus, i as KivaSharePayload, d as KivaEmailPayload, c as KivaCalendarEventPayload, S as MsGraphClient, h as KivaShareAdaptiveCardPayload, j as KivaShareTextPayload } from '../types-YWGPWMCI.js';
5
5
  import { HostNavigationHandler, HostNotificationHandler, RouteChangePayload, HostNavigationRequestOptions } from '../core-index.js';
6
- export { m as AdaptiveCard, R as MsGraphAccount, T as MsGraphRequest, V as MsGraphRequestOptions, W as MsGraphResponse, Y as MsGraphStatus } from '../types-DF2C4eb6.js';
6
+ export { m as AdaptiveCard, R as MsGraphAccount, T as MsGraphRequest, V as MsGraphRequestOptions, W as MsGraphResponse, Y as MsGraphStatus } from '../types-YWGPWMCI.js';
7
7
 
8
8
  interface KivaAuthState {
9
9
  status: AuthStatus;
package/dist/vue/index.js CHANGED
@@ -4,7 +4,7 @@ import { RestApiClient, BrowserOAuth2TokenStorage, OAuth2Client, MemoryOAuth2Tok
4
4
  // src/vue/index.ts
5
5
 
6
6
  // src/constants.ts
7
- var DEFAULT_API_URL = "https://alpha-api.docyrus.com";
7
+ var DEFAULT_API_URL = "https://api.kiva.app";
8
8
  var INVALID_HOST_API_URL = "invalid-host-api-url";
9
9
  var UNTRUSTED_BACKEND_MESSAGE = "This app can\u2019t run because its host gave it an untrusted backend address.";
10
10
  var DEFAULT_OAUTH_SCOPES = [