@junobuild/core-peer 0.1.1 → 0.1.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.
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +4 -4
- package/dist/node/index.mjs +1 -1
- package/dist/node/index.mjs.map +4 -4
- package/dist/types/index.d.ts +1 -0
- package/dist/types/services/auth.services.d.ts +2 -1
- package/dist/types/types/errors.types.d.ts +6 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './services/storage.services';
|
|
|
10
10
|
export type * from './types/auth.types';
|
|
11
11
|
export type * from './types/doc.types';
|
|
12
12
|
export type * from './types/env.types';
|
|
13
|
+
export * from './types/errors.types';
|
|
13
14
|
export { ListOrder, ListPaginate, ListParams, ListResults } from './types/list.types';
|
|
14
15
|
export type * from './types/satellite.types';
|
|
15
16
|
export type * from './types/storage.types';
|
|
@@ -3,9 +3,10 @@ import type { Provider, SignInOptions } from '../types/auth.types';
|
|
|
3
3
|
export declare const initAuth: (provider?: Provider) => Promise<void>;
|
|
4
4
|
/**
|
|
5
5
|
* Signs in a user with the specified options.
|
|
6
|
+
*
|
|
6
7
|
* @param {SignInOptions} [options] - The options for signing in.
|
|
7
8
|
* @returns {Promise<void>} A promise that resolves when the sign-in process is complete and the authenticated user is initialized.
|
|
8
|
-
* @throws
|
|
9
|
+
* @throws {SignInError} If the sign-in process fails or no authentication client is available.
|
|
9
10
|
*/
|
|
10
11
|
export declare const signIn: (options?: SignInOptions) => Promise<void>;
|
|
11
12
|
/**
|
package/package.json
CHANGED