@junobuild/core 0.1.13 → 0.1.15-next-2025-05-23

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.
@@ -5,7 +5,7 @@ import type { BuildType } from '../types/build.types';
5
5
  import type { Satellite } from '../types/satellite.types';
6
6
  type ActorParams = {
7
7
  idlFactory: IDL.InterfaceFactory;
8
- } & Required<Pick<Satellite, 'satelliteId' | 'identity'>> & Pick<Satellite, 'fetch' | 'container'>;
8
+ } & Required<Pick<Satellite, 'satelliteId' | 'identity'>> & Pick<Satellite, 'container'>;
9
9
  type ActorRecord = Record<string, ActorMethod>;
10
10
  export declare class ActorStore {
11
11
  #private;
@@ -1,6 +1,6 @@
1
1
  import { type Agent } from '@dfinity/agent';
2
2
  import type { Satellite } from '../types/satellite.types';
3
- type AgentParams = Required<Pick<Satellite, 'identity'>> & Pick<Satellite, 'fetch' | 'container'>;
3
+ type AgentParams = Required<Pick<Satellite, 'identity'>> & Pick<Satellite, 'container'>;
4
4
  export declare class AgentStore {
5
5
  #private;
6
6
  private static instance;
@@ -14,11 +14,6 @@ export interface Satellite {
14
14
  * @type {string}
15
15
  */
16
16
  satelliteId?: string;
17
- /**
18
- * A custom fetch function to use for network requests.
19
- * @type {typeof fetch}
20
- */
21
- fetch?: typeof fetch;
22
17
  /**
23
18
  * Specifies whether the satellite is running in a container or provides the container URL. i.e. URL to Docker local development.
24
19
  * @type {boolean | string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/core",
3
- "version": "0.1.13",
3
+ "version": "0.1.15-next-2025-05-23",
4
4
  "description": "JavaScript core client for Juno",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",
@@ -55,11 +55,11 @@
55
55
  "@junobuild/utils": "*"
56
56
  },
57
57
  "peerDependencies": {
58
- "@dfinity/agent": "^2.3.0",
59
- "@dfinity/auth-client": "^2.3.0",
60
- "@dfinity/candid": "^2.3.0",
61
- "@dfinity/identity": "^2.3.0",
62
- "@dfinity/principal": "^2.3.0",
63
- "@dfinity/utils": "^2"
58
+ "@dfinity/agent": "*",
59
+ "@dfinity/auth-client": "*",
60
+ "@dfinity/candid": "*",
61
+ "@dfinity/identity": "*",
62
+ "@dfinity/principal": "*",
63
+ "@dfinity/utils": "*"
64
64
  }
65
- }
65
+ }