@junobuild/core 0.0.32 → 0.0.34

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.
Files changed (89) hide show
  1. package/README.md +1 -1
  2. package/{dist/declarations/mission_control/mission_control.did.d.ts → declarations/deprecated/mission_control-0-0-4.did.d.ts} +2 -23
  3. package/declarations/{mission_control/mission_control.factory.did.js → deprecated/mission_control-0-0-4.factory.did.js} +2 -39
  4. package/declarations/deprecated/satellite-0-0-8.did.d.ts +183 -0
  5. package/declarations/deprecated/satellite-0-0-8.factory.did.js +194 -0
  6. package/declarations/deprecated/satellite-0-0-9.did.d.ts +199 -0
  7. package/declarations/deprecated/satellite-0-0-9.factory.did.js +213 -0
  8. package/declarations/satellite/satellite.did.d.ts +6 -0
  9. package/declarations/satellite/satellite.factory.did.js +6 -0
  10. package/declarations/satellite/satellite.factory.did.mjs +6 -0
  11. package/dist/browser/index.js +1 -32
  12. package/dist/browser/index.js.map +4 -4
  13. package/{declarations/mission_control/mission_control.did.d.ts → dist/declarations/deprecated/mission_control-0-0-4.did.d.ts} +2 -23
  14. package/dist/declarations/{mission_control/mission_control.factory.did.js → deprecated/mission_control-0-0-4.factory.did.js} +2 -39
  15. package/dist/declarations/deprecated/satellite-0-0-8.did.d.ts +183 -0
  16. package/dist/declarations/deprecated/satellite-0-0-8.factory.did.js +194 -0
  17. package/dist/declarations/deprecated/satellite-0-0-9.did.d.ts +199 -0
  18. package/dist/declarations/deprecated/satellite-0-0-9.factory.did.js +213 -0
  19. package/dist/declarations/satellite/satellite.did.d.ts +6 -0
  20. package/dist/declarations/satellite/satellite.factory.did.js +6 -0
  21. package/dist/declarations/satellite/satellite.factory.did.mjs +6 -0
  22. package/dist/node/index.mjs +1 -63
  23. package/dist/node/index.mjs.map +4 -4
  24. package/dist/workers/auth.worker.js +1 -25
  25. package/dist/workers/auth.worker.js.gz +0 -0
  26. package/dist/workers/auth.worker.js.map +4 -4
  27. package/package.json +9 -7
  28. package/declarations/cmc/cmc.did +0 -122
  29. package/declarations/cmc/cmc.did.d.ts +0 -48
  30. package/declarations/cmc/cmc.factory.did.js +0 -67
  31. package/declarations/cmc/index.d.ts +0 -45
  32. package/declarations/cmc/index.js +0 -37
  33. package/declarations/console/console.did.d.ts +0 -71
  34. package/declarations/console/console.factory.did.js +0 -79
  35. package/declarations/console/console.factory.did.mjs +0 -79
  36. package/declarations/console/index.d.ts +0 -45
  37. package/declarations/console/index.js +0 -37
  38. package/declarations/ic/ic.did +0 -195
  39. package/declarations/ic/ic.did.d.ts +0 -208
  40. package/declarations/ic/ic.factory.did.js +0 -274
  41. package/declarations/index/index.d.ts +0 -45
  42. package/declarations/index/index.did +0 -68
  43. package/declarations/index/index.did.d.ts +0 -97
  44. package/declarations/index/index.factory.did.js +0 -94
  45. package/declarations/index/index.js +0 -37
  46. package/declarations/mission_control/index.d.ts +0 -45
  47. package/declarations/mission_control/index.js +0 -38
  48. package/declarations/observatory/index.d.ts +0 -45
  49. package/declarations/observatory/index.js +0 -38
  50. package/declarations/observatory/observatory.did.d.ts +0 -86
  51. package/declarations/observatory/observatory.factory.did.js +0 -95
  52. package/declarations/observatory/observatory.factory.did.mjs +0 -95
  53. package/declarations/orbiter/index.d.ts +0 -45
  54. package/declarations/orbiter/index.js +0 -37
  55. package/declarations/orbiter/orbiter.did.d.ts +0 -108
  56. package/declarations/orbiter/orbiter.factory.did.js +0 -137
  57. package/dist/browser/canisterStatus-B3CYYH7Z.js +0 -2
  58. package/dist/browser/canisterStatus-B3CYYH7Z.js.map +0 -7
  59. package/dist/browser/chunk-PPPG6IG5.js +0 -28
  60. package/dist/browser/chunk-PPPG6IG5.js.map +0 -7
  61. package/dist/declarations/cmc/cmc.did +0 -122
  62. package/dist/declarations/cmc/cmc.did.d.ts +0 -48
  63. package/dist/declarations/cmc/cmc.factory.did.js +0 -67
  64. package/dist/declarations/cmc/index.d.ts +0 -45
  65. package/dist/declarations/cmc/index.js +0 -37
  66. package/dist/declarations/console/console.did.d.ts +0 -71
  67. package/dist/declarations/console/console.factory.did.js +0 -79
  68. package/dist/declarations/console/console.factory.did.mjs +0 -79
  69. package/dist/declarations/console/index.d.ts +0 -45
  70. package/dist/declarations/console/index.js +0 -37
  71. package/dist/declarations/ic/ic.did +0 -195
  72. package/dist/declarations/ic/ic.did.d.ts +0 -208
  73. package/dist/declarations/ic/ic.factory.did.js +0 -274
  74. package/dist/declarations/index/index.d.ts +0 -45
  75. package/dist/declarations/index/index.did +0 -68
  76. package/dist/declarations/index/index.did.d.ts +0 -97
  77. package/dist/declarations/index/index.factory.did.js +0 -94
  78. package/dist/declarations/index/index.js +0 -37
  79. package/dist/declarations/mission_control/index.d.ts +0 -45
  80. package/dist/declarations/mission_control/index.js +0 -38
  81. package/dist/declarations/observatory/index.d.ts +0 -45
  82. package/dist/declarations/observatory/index.js +0 -38
  83. package/dist/declarations/observatory/observatory.did.d.ts +0 -86
  84. package/dist/declarations/observatory/observatory.factory.did.js +0 -95
  85. package/dist/declarations/observatory/observatory.factory.did.mjs +0 -95
  86. package/dist/declarations/orbiter/index.d.ts +0 -45
  87. package/dist/declarations/orbiter/index.js +0 -37
  88. package/dist/declarations/orbiter/orbiter.did.d.ts +0 -108
  89. package/dist/declarations/orbiter/orbiter.factory.did.js +0 -137
@@ -1,95 +0,0 @@
1
- // @ts-ignore
2
- export const idlFactory = ({IDL}) => {
3
- const DeleteControllersArgs = IDL.Record({
4
- controllers: IDL.Vec(IDL.Principal)
5
- });
6
- const CronJobStatusesConfig = IDL.Record({
7
- enabled: IDL.Bool,
8
- cycles_threshold: IDL.Opt(IDL.Nat64)
9
- });
10
- const CronJobStatuses = IDL.Record({
11
- mission_control_cycles_threshold: IDL.Opt(IDL.Nat64),
12
- orbiters: IDL.Vec(IDL.Tuple(IDL.Principal, CronJobStatusesConfig)),
13
- satellites: IDL.Vec(IDL.Tuple(IDL.Principal, CronJobStatusesConfig)),
14
- enabled: IDL.Bool,
15
- cycles_threshold: IDL.Opt(IDL.Nat64)
16
- });
17
- const CronJobs = IDL.Record({
18
- metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
19
- statuses: CronJobStatuses
20
- });
21
- const CronTab = IDL.Record({
22
- cron_jobs: CronJobs,
23
- updated_at: IDL.Nat64,
24
- mission_control_id: IDL.Principal,
25
- created_at: IDL.Nat64
26
- });
27
- const ListStatusesArgs = IDL.Record({time_delta: IDL.Opt(IDL.Nat64)});
28
- const CanisterStatusType = IDL.Variant({
29
- stopped: IDL.Null,
30
- stopping: IDL.Null,
31
- running: IDL.Null
32
- });
33
- const DefiniteCanisterSettings = IDL.Record({
34
- freezing_threshold: IDL.Nat,
35
- controllers: IDL.Vec(IDL.Principal),
36
- memory_allocation: IDL.Nat,
37
- compute_allocation: IDL.Nat
38
- });
39
- const CanisterStatusResponse = IDL.Record({
40
- status: CanisterStatusType,
41
- memory_size: IDL.Nat,
42
- cycles: IDL.Nat,
43
- settings: DefiniteCanisterSettings,
44
- idle_cycles_burned_per_day: IDL.Nat,
45
- module_hash: IDL.Opt(IDL.Vec(IDL.Nat8))
46
- });
47
- const SegmentStatus = IDL.Record({
48
- id: IDL.Principal,
49
- status: CanisterStatusResponse,
50
- metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
51
- status_at: IDL.Nat64
52
- });
53
- const Result = IDL.Variant({Ok: SegmentStatus, Err: IDL.Text});
54
- const SegmentsStatuses = IDL.Record({
55
- orbiters: IDL.Opt(IDL.Vec(Result)),
56
- satellites: IDL.Opt(IDL.Vec(Result)),
57
- mission_control: Result
58
- });
59
- const Result_1 = IDL.Variant({Ok: SegmentsStatuses, Err: IDL.Text});
60
- const ListStatuses = IDL.Record({
61
- cron_jobs: CronJobs,
62
- statuses: Result_1,
63
- timestamp: IDL.Nat64
64
- });
65
- const ControllerScope = IDL.Variant({
66
- Write: IDL.Null,
67
- Admin: IDL.Null
68
- });
69
- const SetController = IDL.Record({
70
- metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
71
- scope: ControllerScope,
72
- expires_at: IDL.Opt(IDL.Nat64)
73
- });
74
- const SetControllersArgs = IDL.Record({
75
- controller: SetController,
76
- controllers: IDL.Vec(IDL.Principal)
77
- });
78
- const SetCronTab = IDL.Record({
79
- cron_jobs: CronJobs,
80
- updated_at: IDL.Opt(IDL.Nat64),
81
- mission_control_id: IDL.Principal
82
- });
83
- return IDL.Service({
84
- del_controllers: IDL.Func([DeleteControllersArgs], [], []),
85
- get_cron_tab: IDL.Func([], [IDL.Opt(CronTab)], ['query']),
86
- list_statuses: IDL.Func([ListStatusesArgs], [IDL.Vec(ListStatuses)], ['query']),
87
- set_controllers: IDL.Func([SetControllersArgs], [], []),
88
- set_cron_tab: IDL.Func([SetCronTab], [CronTab], []),
89
- version: IDL.Func([], [IDL.Text], ['query'])
90
- });
91
- };
92
- // @ts-ignore
93
- export const init = ({IDL}) => {
94
- return [];
95
- };
@@ -1,45 +0,0 @@
1
- import type {ActorConfig, ActorSubclass, Agent, HttpAgentOptions} from '@dfinity/agent';
2
- import type {IDL} from '@dfinity/candid';
3
- import type {Principal} from '@dfinity/principal';
4
-
5
- import {_SERVICE} from './orbiter.did';
6
-
7
- export declare const idlFactory: IDL.InterfaceFactory;
8
- export declare const canisterId: string;
9
-
10
- export declare interface CreateActorOptions {
11
- /**
12
- * @see {@link Agent}
13
- */
14
- agent?: Agent;
15
- /**
16
- * @see {@link HttpAgentOptions}
17
- */
18
- agentOptions?: HttpAgentOptions;
19
- /**
20
- * @see {@link ActorConfig}
21
- */
22
- actorOptions?: ActorConfig;
23
- }
24
-
25
- /**
26
- * Intializes an {@link ActorSubclass}, configured with the provided SERVICE interface of a canister.
27
- * @constructs {@link ActorSubClass}
28
- * @param {string | Principal} canisterId - ID of the canister the {@link Actor} will talk to
29
- * @param {CreateActorOptions} options - see {@link CreateActorOptions}
30
- * @param {CreateActorOptions["agent"]} options.agent - a pre-configured agent you'd like to use. Supercedes agentOptions
31
- * @param {CreateActorOptions["agentOptions"]} options.agentOptions - options to set up a new agent
32
- * @see {@link HttpAgentOptions}
33
- * @param {CreateActorOptions["actorOptions"]} options.actorOptions - options for the Actor
34
- * @see {@link ActorConfig}
35
- */
36
- export declare const createActor: (
37
- canisterId: string | Principal,
38
- options?: CreateActorOptions
39
- ) => ActorSubclass<_SERVICE>;
40
-
41
- /**
42
- * Intialized Actor using default settings, ready to talk to a canister using its candid interface
43
- * @constructs {@link ActorSubClass}
44
- */
45
- export declare const orbiter: ActorSubclass<_SERVICE>;
@@ -1,37 +0,0 @@
1
- import {Actor, HttpAgent} from '@dfinity/agent';
2
-
3
- // Imports and re-exports candid interface
4
- import {idlFactory} from './orbiter.did.js';
5
- export {idlFactory} from './orbiter.did.js';
6
-
7
- /* CANISTER_ID is replaced by webpack based on node environment
8
- * Note: canister environment variable will be standardized as
9
- * process.env.CANISTER_ID_<CANISTER_NAME_UPPERCASE>
10
- * beginning in dfx 0.15.0
11
- */
12
- export const canisterId = process.env.CANISTER_ID_ORBITER || process.env.ORBITER_CANISTER_ID;
13
-
14
- export const createActor = (canisterId, options = {}) => {
15
- const agent = options.agent || new HttpAgent({...options.agentOptions});
16
-
17
- if (options.agent && options.agentOptions) {
18
- console.warn(
19
- 'Detected both agent and agentOptions passed to createActor. Ignoring agentOptions and proceeding with the provided agent.'
20
- );
21
- }
22
-
23
- // Fetch root key for certificate validation during development
24
- if (process.env.DFX_NETWORK !== 'ic') {
25
- agent.fetchRootKey().catch((err) => {
26
- console.warn('Unable to fetch root key. Check to ensure that your local replica is running');
27
- console.error(err);
28
- });
29
- }
30
-
31
- // Creates an actor with using the candid interface and the HttpAgent
32
- return Actor.createActor(idlFactory, {
33
- agent,
34
- canisterId,
35
- ...options.actorOptions
36
- });
37
- };
@@ -1,108 +0,0 @@
1
- import type {ActorMethod} from '@dfinity/agent';
2
- import type {Principal} from '@dfinity/principal';
3
-
4
- export interface AnalyticKey {
5
- key: string;
6
- collected_at: bigint;
7
- }
8
- export interface Controller {
9
- updated_at: bigint;
10
- metadata: Array<[string, string]>;
11
- created_at: bigint;
12
- scope: ControllerScope;
13
- expires_at: [] | [bigint];
14
- }
15
- export type ControllerScope = {Write: null} | {Admin: null};
16
- export interface DelSatelliteConfig {
17
- updated_at: [] | [bigint];
18
- }
19
- export interface DeleteControllersArgs {
20
- controllers: Array<Principal>;
21
- }
22
- export interface GetAnalytics {
23
- to: [] | [bigint];
24
- from: [] | [bigint];
25
- satellite_id: [] | [Principal];
26
- }
27
- export interface PageView {
28
- title: string;
29
- updated_at: bigint;
30
- referrer: [] | [string];
31
- time_zone: string;
32
- session_id: string;
33
- href: string;
34
- created_at: bigint;
35
- satellite_id: Principal;
36
- device: PageViewDevice;
37
- user_agent: [] | [string];
38
- }
39
- export interface PageViewDevice {
40
- inner_height: number;
41
- inner_width: number;
42
- }
43
- export type Result = {Ok: PageView} | {Err: string};
44
- export type Result_1 = {Ok: null} | {Err: Array<[AnalyticKey, string]>};
45
- export type Result_2 = {Ok: TrackEvent} | {Err: string};
46
- export interface SatelliteConfig {
47
- updated_at: bigint;
48
- created_at: bigint;
49
- enabled: boolean;
50
- }
51
- export interface SetController {
52
- metadata: Array<[string, string]>;
53
- scope: ControllerScope;
54
- expires_at: [] | [bigint];
55
- }
56
- export interface SetControllersArgs {
57
- controller: SetController;
58
- controllers: Array<Principal>;
59
- }
60
- export interface SetPageView {
61
- title: string;
62
- updated_at: [] | [bigint];
63
- referrer: [] | [string];
64
- time_zone: string;
65
- session_id: string;
66
- href: string;
67
- satellite_id: Principal;
68
- device: PageViewDevice;
69
- user_agent: [] | [string];
70
- }
71
- export interface SetSatelliteConfig {
72
- updated_at: [] | [bigint];
73
- enabled: boolean;
74
- }
75
- export interface SetTrackEvent {
76
- updated_at: [] | [bigint];
77
- session_id: string;
78
- metadata: [] | [Array<[string, string]>];
79
- name: string;
80
- satellite_id: Principal;
81
- user_agent: [] | [string];
82
- }
83
- export interface TrackEvent {
84
- updated_at: bigint;
85
- session_id: string;
86
- metadata: [] | [Array<[string, string]>];
87
- name: string;
88
- created_at: bigint;
89
- satellite_id: Principal;
90
- }
91
- export interface _SERVICE {
92
- del_controllers: ActorMethod<[DeleteControllersArgs], Array<[Principal, Controller]>>;
93
- del_satellite_config: ActorMethod<[Principal, DelSatelliteConfig], undefined>;
94
- get_page_views: ActorMethod<[GetAnalytics], Array<[AnalyticKey, PageView]>>;
95
- get_track_events: ActorMethod<[GetAnalytics], Array<[AnalyticKey, TrackEvent]>>;
96
- list_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
97
- list_satellite_configs: ActorMethod<[], Array<[Principal, SatelliteConfig]>>;
98
- set_controllers: ActorMethod<[SetControllersArgs], Array<[Principal, Controller]>>;
99
- set_page_view: ActorMethod<[AnalyticKey, SetPageView], Result>;
100
- set_page_views: ActorMethod<[Array<[AnalyticKey, SetPageView]>], Result_1>;
101
- set_satellite_configs: ActorMethod<
102
- [Array<[Principal, SetSatelliteConfig]>],
103
- Array<[Principal, SatelliteConfig]>
104
- >;
105
- set_track_event: ActorMethod<[AnalyticKey, SetTrackEvent], Result_2>;
106
- set_track_events: ActorMethod<[Array<[AnalyticKey, SetTrackEvent]>], Result_1>;
107
- version: ActorMethod<[], string>;
108
- }
@@ -1,137 +0,0 @@
1
- // @ts-ignore
2
- export const idlFactory = ({IDL}) => {
3
- const DeleteControllersArgs = IDL.Record({
4
- controllers: IDL.Vec(IDL.Principal)
5
- });
6
- const ControllerScope = IDL.Variant({
7
- Write: IDL.Null,
8
- Admin: IDL.Null
9
- });
10
- const Controller = IDL.Record({
11
- updated_at: IDL.Nat64,
12
- metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
13
- created_at: IDL.Nat64,
14
- scope: ControllerScope,
15
- expires_at: IDL.Opt(IDL.Nat64)
16
- });
17
- const DelSatelliteConfig = IDL.Record({updated_at: IDL.Opt(IDL.Nat64)});
18
- const GetAnalytics = IDL.Record({
19
- to: IDL.Opt(IDL.Nat64),
20
- from: IDL.Opt(IDL.Nat64),
21
- satellite_id: IDL.Opt(IDL.Principal)
22
- });
23
- const AnalyticKey = IDL.Record({
24
- key: IDL.Text,
25
- collected_at: IDL.Nat64
26
- });
27
- const PageViewDevice = IDL.Record({
28
- inner_height: IDL.Nat16,
29
- inner_width: IDL.Nat16
30
- });
31
- const PageView = IDL.Record({
32
- title: IDL.Text,
33
- updated_at: IDL.Nat64,
34
- referrer: IDL.Opt(IDL.Text),
35
- time_zone: IDL.Text,
36
- session_id: IDL.Text,
37
- href: IDL.Text,
38
- created_at: IDL.Nat64,
39
- satellite_id: IDL.Principal,
40
- device: PageViewDevice,
41
- user_agent: IDL.Opt(IDL.Text)
42
- });
43
- const TrackEvent = IDL.Record({
44
- updated_at: IDL.Nat64,
45
- session_id: IDL.Text,
46
- metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
47
- name: IDL.Text,
48
- created_at: IDL.Nat64,
49
- satellite_id: IDL.Principal
50
- });
51
- const SatelliteConfig = IDL.Record({
52
- updated_at: IDL.Nat64,
53
- created_at: IDL.Nat64,
54
- enabled: IDL.Bool
55
- });
56
- const SetController = IDL.Record({
57
- metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
58
- scope: ControllerScope,
59
- expires_at: IDL.Opt(IDL.Nat64)
60
- });
61
- const SetControllersArgs = IDL.Record({
62
- controller: SetController,
63
- controllers: IDL.Vec(IDL.Principal)
64
- });
65
- const SetPageView = IDL.Record({
66
- title: IDL.Text,
67
- updated_at: IDL.Opt(IDL.Nat64),
68
- referrer: IDL.Opt(IDL.Text),
69
- time_zone: IDL.Text,
70
- session_id: IDL.Text,
71
- href: IDL.Text,
72
- satellite_id: IDL.Principal,
73
- device: PageViewDevice,
74
- user_agent: IDL.Opt(IDL.Text)
75
- });
76
- const Result = IDL.Variant({Ok: PageView, Err: IDL.Text});
77
- const Result_1 = IDL.Variant({
78
- Ok: IDL.Null,
79
- Err: IDL.Vec(IDL.Tuple(AnalyticKey, IDL.Text))
80
- });
81
- const SetSatelliteConfig = IDL.Record({
82
- updated_at: IDL.Opt(IDL.Nat64),
83
- enabled: IDL.Bool
84
- });
85
- const SetTrackEvent = IDL.Record({
86
- updated_at: IDL.Opt(IDL.Nat64),
87
- session_id: IDL.Text,
88
- metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
89
- name: IDL.Text,
90
- satellite_id: IDL.Principal,
91
- user_agent: IDL.Opt(IDL.Text)
92
- });
93
- const Result_2 = IDL.Variant({Ok: TrackEvent, Err: IDL.Text});
94
- return IDL.Service({
95
- del_controllers: IDL.Func(
96
- [DeleteControllersArgs],
97
- [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
98
- []
99
- ),
100
- del_satellite_config: IDL.Func([IDL.Principal, DelSatelliteConfig], [], []),
101
- get_page_views: IDL.Func(
102
- [GetAnalytics],
103
- [IDL.Vec(IDL.Tuple(AnalyticKey, PageView))],
104
- ['query']
105
- ),
106
- get_track_events: IDL.Func(
107
- [GetAnalytics],
108
- [IDL.Vec(IDL.Tuple(AnalyticKey, TrackEvent))],
109
- ['query']
110
- ),
111
- list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
112
- list_satellite_configs: IDL.Func(
113
- [],
114
- [IDL.Vec(IDL.Tuple(IDL.Principal, SatelliteConfig))],
115
- ['query']
116
- ),
117
- set_controllers: IDL.Func(
118
- [SetControllersArgs],
119
- [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
120
- []
121
- ),
122
- set_page_view: IDL.Func([AnalyticKey, SetPageView], [Result], []),
123
- set_page_views: IDL.Func([IDL.Vec(IDL.Tuple(AnalyticKey, SetPageView))], [Result_1], []),
124
- set_satellite_configs: IDL.Func(
125
- [IDL.Vec(IDL.Tuple(IDL.Principal, SetSatelliteConfig))],
126
- [IDL.Vec(IDL.Tuple(IDL.Principal, SatelliteConfig))],
127
- []
128
- ),
129
- set_track_event: IDL.Func([AnalyticKey, SetTrackEvent], [Result_2], []),
130
- set_track_events: IDL.Func([IDL.Vec(IDL.Tuple(AnalyticKey, SetTrackEvent))], [Result_1], []),
131
- version: IDL.Func([], [IDL.Text], ['query'])
132
- });
133
- };
134
- // @ts-ignore
135
- export const init = ({IDL}) => {
136
- return [];
137
- };