@junobuild/core 0.1.16 → 1.0.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/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/api/_actor.factory.d.ts +5 -0
- package/dist/types/api/actor.api.d.ts +9 -6
- package/dist/types/api/doc.api.d.ts +21 -30
- package/dist/types/api/storage.api.d.ts +18 -25
- package/dist/types/constants/call-options.constants.d.ts +9 -0
- package/dist/types/index.d.ts +13 -13
- package/dist/types/providers/auth.providers.d.ts +1 -1
- package/dist/types/services/_identity.services.d.ts +2 -0
- package/dist/types/services/{user.services.d.ts → _user.services.d.ts} +1 -1
- package/dist/types/services/auth-timout.services.d.ts +2 -2
- package/dist/types/services/auth.services.d.ts +18 -1
- package/dist/types/services/doc.services.d.ts +33 -17
- package/dist/types/services/functions.services.d.ts +26 -0
- package/dist/types/services/storage.services.d.ts +58 -26
- package/dist/types/stores/_agent.factory.d.ts +4 -0
- package/dist/types/stores/actor.store.d.ts +5 -5
- package/dist/types/stores/agent.store.d.ts +3 -6
- package/dist/types/stores/auth.store.d.ts +3 -3
- package/dist/types/stores/env.store.d.ts +4 -3
- package/dist/types/tests/mocks/mocks.d.ts +23 -0
- package/dist/types/types/actor.d.ts +51 -0
- package/dist/types/types/{auth.types.d.ts → auth.d.ts} +1 -1
- package/dist/types/types/call-options.d.ts +43 -0
- package/dist/types/types/{doc.types.d.ts → doc.d.ts} +1 -1
- package/dist/types/types/{env.types.d.ts → env.d.ts} +3 -3
- package/dist/types/types/satellite.d.ts +40 -0
- package/dist/types/types/storage.types.d.ts +1 -1
- package/dist/types/utils/doc.utils.d.ts +1 -1
- package/dist/types/utils/env.utils.d.ts +4 -4
- package/dist/types/utils/list.utils.d.ts +1 -1
- package/dist/types/workers/_auth.worker.handler.d.ts +11 -0
- package/dist/types/workers/auth.worker.d.ts +1 -5
- package/dist/workers/_auth.worker.handler.js +43 -0
- package/dist/workers/_auth.worker.handler.js.map +7 -0
- package/dist/workers/auth.worker.js +7 -7
- package/dist/workers/auth.worker.js.map +4 -4
- package/package.json +1 -1
- package/dist/types/services/factory.services.d.ts +0 -8
- package/dist/types/services/identity.services.d.ts +0 -2
- package/dist/types/types/build.types.d.ts +0 -5
- package/dist/types/types/satellite.types.d.ts +0 -27
- /package/dist/types/stores/{store.d.ts → _store.d.ts} +0 -0
- /package/dist/types/types/{errors.types.d.ts → errors.d.ts} +0 -0
- /package/dist/types/types/{list.types.d.ts → list.d.ts} +0 -0
- /package/dist/types/types/{subscription.types.d.ts → subscription.d.ts} +0 -0
- /package/dist/types/types/{utility.types.d.ts → utility.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ActorSubclass } from '@dfinity/agent';
|
|
2
|
-
import type { ActorMethod } from '@dfinity/agent/lib/esm/actor';
|
|
3
|
-
import type { IDL } from '@dfinity/candid';
|
|
4
|
-
import type { SatelliteOptions } from '../types/satellite.types';
|
|
5
|
-
export declare const getSatelliteExtendedActor: <T = Record<string, ActorMethod>>({ idlFactory, satellite }: {
|
|
6
|
-
idlFactory: IDL.InterfaceFactory;
|
|
7
|
-
satellite?: SatelliteOptions;
|
|
8
|
-
}) => Promise<ActorSubclass<T>>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { Identity } from '@dfinity/agent';
|
|
2
|
-
/**
|
|
3
|
-
* Represents the configuration for a satellite.
|
|
4
|
-
* @interface
|
|
5
|
-
*/
|
|
6
|
-
export interface Satellite {
|
|
7
|
-
/**
|
|
8
|
-
* The identity associated with the satellite.
|
|
9
|
-
* @type {Identity}
|
|
10
|
-
*/
|
|
11
|
-
identity: Identity;
|
|
12
|
-
/**
|
|
13
|
-
* The unique identifier for the satellite.
|
|
14
|
-
* @type {string}
|
|
15
|
-
*/
|
|
16
|
-
satelliteId?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Specifies whether the satellite is running in a container or provides the container URL. i.e. URL to Docker local development.
|
|
19
|
-
* @type {boolean | string}
|
|
20
|
-
*/
|
|
21
|
-
container?: boolean | string;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Represents partial configuration options for a satellite. To be used only on NodeJS or rarely used for browser.
|
|
25
|
-
* @typedef {Partial<Satellite>} SatelliteOptions
|
|
26
|
-
*/
|
|
27
|
-
export type SatelliteOptions = Partial<Satellite>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|