@junobuild/core-peer 0.0.11 → 0.0.13-next-2024-04-28
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/declarations/satellite/satellite.did.d.ts +11 -0
- package/declarations/satellite/satellite.factory.did.js +10 -0
- package/declarations/satellite/satellite.factory.did.mjs +10 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +4 -4
- package/dist/declarations/satellite/satellite.did.d.ts +11 -0
- package/dist/declarations/satellite/satellite.factory.did.js +10 -0
- package/dist/declarations/satellite/satellite.factory.did.mjs +10 -0
- package/dist/node/index.mjs +1 -1
- package/dist/node/index.mjs.map +4 -4
- package/dist/types/api/actor.api.d.ts +1 -1
- package/dist/types/constants/auth.constants.d.ts +1 -0
- package/dist/types/providers/auth.providers.d.ts +10 -20
- package/dist/types/services/storage.services.d.ts +1 -1
- package/dist/types/types/auth.types.d.ts +9 -0
- package/dist/types/utils/env.utils.d.ts +4 -1
- package/dist/workers/auth.worker.js +14 -9
- package/dist/workers/auth.worker.js.map +4 -4
- package/package.json +6 -6
- package/declarations/satellite/index.d.ts +0 -45
- package/declarations/satellite/index.js +0 -37
- package/dist/declarations/satellite/index.d.ts +0 -45
- package/dist/declarations/satellite/index.js +0 -37
|
@@ -9,5 +9,14 @@ export interface SignInOptions {
|
|
|
9
9
|
maxTimeToLive?: bigint;
|
|
10
10
|
derivationOrigin?: string | URL;
|
|
11
11
|
windowed?: boolean;
|
|
12
|
+
allowPin?: boolean;
|
|
12
13
|
provider?: InternetIdentityProvider | NFIDProvider;
|
|
13
14
|
}
|
|
15
|
+
export type InternetIdentityDomain = 'internetcomputer.org' | 'ic0.app';
|
|
16
|
+
export interface InternetIdentityConfig {
|
|
17
|
+
domain?: InternetIdentityDomain;
|
|
18
|
+
}
|
|
19
|
+
export interface NFIDConfig {
|
|
20
|
+
appName: string;
|
|
21
|
+
logoUrl: string;
|
|
22
|
+
}
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import type { Satellite } from '../types/satellite.types';
|
|
2
|
+
export declare const satelliteUrl: ({ satelliteId: customSatelliteId, container: customContainer }: Satellite) => string;
|
|
3
|
+
export declare const customOrEnvSatelliteId: ({ satelliteId }: Pick<Satellite, 'satelliteId'>) => Pick<Satellite, 'satelliteId'>;
|
|
4
|
+
export declare const customOrEnvContainer: ({ container: customContainer }: Pick<Satellite, 'container'>) => Pick<Satellite, 'container'>;
|