@junobuild/admin 0.0.42 → 0.0.44
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.
|
@@ -2,7 +2,7 @@ import type { Identity } from '@dfinity/agent';
|
|
|
2
2
|
export interface ActorParameters {
|
|
3
3
|
identity: Identity;
|
|
4
4
|
fetch?: typeof fetch;
|
|
5
|
-
|
|
5
|
+
container?: boolean | string;
|
|
6
6
|
}
|
|
7
7
|
export interface SatelliteParameters extends ActorParameters {
|
|
8
8
|
satelliteId?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ActorConfig, ActorMethod, ActorSubclass } from '@dfinity/agent';
|
|
2
2
|
import type { IDL } from '@dfinity/candid';
|
|
3
3
|
import type { ActorParameters } from '../types/actor.types';
|
|
4
|
-
export declare const createActor: <T = Record<string, ActorMethod<unknown[], unknown>>>({ canisterId, idlFactory, identity, fetch,
|
|
4
|
+
export declare const createActor: <T = Record<string, ActorMethod<unknown[], unknown>>>({ canisterId, idlFactory, identity, fetch, container, config }: {
|
|
5
5
|
idlFactory: IDL.InterfaceFactory;
|
|
6
6
|
canisterId: string;
|
|
7
7
|
config?: Pick<ActorConfig, "callTransform" | "queryTransform"> | undefined;
|