@monterosa/sdk-identify-kit 2.0.0-rc.3 → 2.0.0-rc.5

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.
@@ -0,0 +1,500 @@
1
+ /**
2
+ * Handles user authentication and identity management.
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+
7
+ import { Emitter } from '@monterosa/sdk-util';
8
+ import { MonterosaSdk } from '@monterosa/sdk-core';
9
+ import { Unsubscribe } from '@monterosa/sdk-util';
10
+
11
+ /**
12
+ * Clear the user's authentication credentials.
13
+ *
14
+ * When called from an embedded experience, the call is relayed to the
15
+ * parent application so that every level of the integration is
16
+ * cleared.
17
+ *
18
+ * @example
19
+ * ```javascript
20
+ * import { configure } from '@monterosa/sdk-core';
21
+ * import { clearCredentials } from '@monterosa/sdk-identify-kit';
22
+ *
23
+ * configure({ host: '...', projectId: '...' });
24
+ *
25
+ * await clearCredentials();
26
+ * ```
27
+ *
28
+ * @returns A Promise that resolves once the credentials have been
29
+ * cleared.
30
+ */
31
+ export declare function clearCredentials(): Promise<void>;
32
+
33
+ /**
34
+ * Represents user authentication credentials.
35
+ *
36
+ * @remarks
37
+ * The `token` property can be either the literal `'cookie'` for cookie-based
38
+ * authentication or a string value for bearer token authentication.
39
+ *
40
+ * @example
41
+ * ```javascript
42
+ * // Bearer token authentication
43
+ * const credentials: Credentials = { token: "abc123" };
44
+ *
45
+ * // Cookie-based authentication
46
+ * const credentials: Credentials = { token: "cookie" };
47
+ * ```
48
+ */
49
+ export declare type Credentials = {
50
+ token: 'cookie' | string;
51
+ };
52
+
53
+ /**
54
+ * Read the current credentials.
55
+ *
56
+ * When called from an embedded experience, fetches the credentials
57
+ * from the parent application so the caller always sees the
58
+ * authoritative value.
59
+ *
60
+ * @returns A Promise that resolves to the current credentials, or
61
+ * `null` if none are set.
62
+ */
63
+ export declare function getCredentials(): Promise<Credentials | null>;
64
+
65
+ /**
66
+ * Get the IdentifyKit instance for the given SDK / project.
67
+ *
68
+ * The IdentifyKit instance is used to authenticate users and read
69
+ * user data.
70
+ *
71
+ * @example
72
+ * ```javascript
73
+ * import { configure } from '@monterosa/sdk-core';
74
+ * import { getIdentify } from '@monterosa/sdk-identify-kit';
75
+ *
76
+ * configure({ host: '...', projectId: '...' });
77
+ *
78
+ * const identify = getIdentify();
79
+ * ```
80
+ *
81
+ * @remarks
82
+ * First-call-wins: subsequent calls for the same project return the
83
+ * cached instance and ignore the `options` argument.
84
+ *
85
+ * @param sdk - The Monterosa SDK instance.
86
+ * @param options - IdentifyKit options (applied only on the first call).
87
+ * @returns The IdentifyKit instance for the project.
88
+ */
89
+ export declare function getIdentify(sdk?: MonterosaSdk, options?: Partial<IdentifyOptions>): IdentifyKit;
90
+
91
+ /**
92
+ * Get the IdentifyKit instance for the configured SDK.
93
+ *
94
+ * The IdentifyKit instance is used to authenticate users and read
95
+ * user data.
96
+ *
97
+ * @example
98
+ * ```javascript
99
+ * import { configure } from '@monterosa/sdk-core';
100
+ * import { getIdentify } from '@monterosa/sdk-identify-kit';
101
+ *
102
+ * configure({ host: '...', projectId: '...' });
103
+ *
104
+ * const identify = getIdentify();
105
+ * ```
106
+ *
107
+ * @remarks
108
+ * First-call-wins: subsequent calls for the same project return the
109
+ * cached instance and ignore the `options` argument.
110
+ *
111
+ * @param options - IdentifyKit options (applied only on the first call).
112
+ * @returns The IdentifyKit instance for the project.
113
+ */
114
+ export declare function getIdentify(options?: Partial<IdentifyOptions>): IdentifyKit;
115
+
116
+ /**
117
+ * Fetch user data for the given credentials.
118
+ *
119
+ * Credentials are required explicitly. Obtain a value via
120
+ * {@link getCredentials} or the {@link onCredentialsUpdated} callback.
121
+ *
122
+ * @example
123
+ * ```javascript
124
+ * import { configure } from '@monterosa/sdk-core';
125
+ * import {
126
+ * getIdentify,
127
+ * getUserData,
128
+ * getCredentials,
129
+ * } from '@monterosa/sdk-identify-kit';
130
+ *
131
+ * configure({ host: '...', projectId: '...' });
132
+ *
133
+ * const identify = getIdentify();
134
+ * const credentials = await getCredentials();
135
+ *
136
+ * if (credentials !== null) {
137
+ * const userData = await getUserData(identify, credentials);
138
+ * console.log('User data:', userData);
139
+ * }
140
+ * ```
141
+ *
142
+ * @remarks
143
+ * Cached after the first successful fetch and reset when credentials
144
+ * are cleared.
145
+ *
146
+ * @param identify - The IdentifyKit instance.
147
+ * @param credentials - The user's authentication credentials.
148
+ * @returns A Promise that resolves to a key-value object of user data.
149
+ * The structure depends on the identify service provider.
150
+ */
151
+ export declare function getUserData(identify: IdentifyKit, credentials: Credentials): Promise<UserData>;
152
+
153
+ /**
154
+ * Defines a set of error codes that may be encountered when using the
155
+ * Identify kit of the Monterosa SDK.
156
+ *
157
+ * @example
158
+ * ```javascript
159
+ * try {
160
+ * // some code that uses the IdentifyKit
161
+ * } catch (err) {
162
+ * if (err.code === IdentifyError.NoCredentials) {
163
+ * // handle missing credentials error
164
+ * } else {
165
+ * // handle other error types
166
+ * }
167
+ * }
168
+ * ```
169
+ *
170
+ * @remarks
171
+ * - The `IdentifyError` enum provides a convenient way to handle errors
172
+ * encountered when using the `IdentifyKit` module. By checking the code
173
+ * property of the caught error against the values of the enum, the error
174
+ * type can be determined and appropriate action taken.
175
+ *
176
+ * - The `IdentifyError` enum is not intended to be instantiated or extended.
177
+ */
178
+ export declare enum IdentifyError {
179
+ /**
180
+ * Indicates an error occurred during the call to the extension API.
181
+ */
182
+ ExtensionApiError = "extension_api_error",
183
+ /**
184
+ * Indicates the extension required by the IdentifyKit is not set up properly.
185
+ */
186
+ ExtensionNotSetup = "extension_not_setup",
187
+ /**
188
+ * Indicates the user's authentication credentials are not available
189
+ * or have expired.
190
+ */
191
+ NoCredentials = "no_credentials",
192
+ /**
193
+ * Indicates an error occurred in the parent app.
194
+ */
195
+ ParentAppError = "parent_app_error",
196
+ /**
197
+ * Indicates an unexpected or invalid login state was encountered.
198
+ */
199
+ UnexpectedState = "unexpected_state",
200
+ /**
201
+ * Indicates there is no parent application to delegate to.
202
+ */
203
+ NoParentApplication = "no_parent_application",
204
+ /**
205
+ * Indicates a timeout occurred when communicating with the parent app.
206
+ */
207
+ ParentTimeoutError = "parent_timeout_error"
208
+ }
209
+
210
+ /**
211
+ * Represents an Identify Kit instance. Obtain one via {@link getIdentify}.
212
+ *
213
+ * @remarks
214
+ * This interface is opaque. Interact with it through the standalone
215
+ * functions such as {@link setCredentials}, {@link clearCredentials},
216
+ * and {@link getUserData}.
217
+ */
218
+ export declare interface IdentifyKit extends Emitter {
219
+ /**
220
+ * Resolved identity options. `loginPolicy` is not on the instance —
221
+ * see {@link setLoginPolicy}. Credentials are root-owned, accessed
222
+ * via {@link getCredentials}.
223
+ *
224
+ * @internal
225
+ */
226
+ options: IdentifyOptions;
227
+ /**
228
+ * @internal
229
+ */
230
+ sdk: MonterosaSdk;
231
+ /**
232
+ * @internal
233
+ */
234
+ signature: Signature | null;
235
+ /**
236
+ * @internal
237
+ */
238
+ userData: UserData | null;
239
+ /**
240
+ * @internal
241
+ */
242
+ wasLoggedIn: boolean;
243
+ state: LoginState;
244
+ /**
245
+ * @internal
246
+ */
247
+ getUrl(path?: string): Promise<string>;
248
+ }
249
+
250
+ /**
251
+ * Resolved configuration options for an `Identify` instance. Public APIs
252
+ * that accept user-supplied options (such as {@link getIdentify}) take
253
+ * `Partial<IdentifyOptions>` and apply defaults for any field not
254
+ * supplied.
255
+ *
256
+ * `loginPolicy` is set separately via {@link setLoginPolicy}.
257
+ */
258
+ export declare interface IdentifyOptions {
259
+ /**
260
+ * Authentication strategy. Default: `'email'`.
261
+ */
262
+ readonly strategy: string;
263
+ /**
264
+ * Identity provider name (e.g. `'aws'` for Cognito).
265
+ */
266
+ readonly provider?: string;
267
+ /**
268
+ * Identify API version. Default: `1`.
269
+ */
270
+ readonly version: number;
271
+ }
272
+
273
+ export declare type LoginPolicy = 'disabled' | 'auto';
274
+
275
+ export declare type LoginState = {
276
+ state: 'logged_out' | 'logged_in' | 'pending' | 'error';
277
+ error?: string;
278
+ errorType?: 'login' | 'logout';
279
+ };
280
+
281
+ /**
282
+ * Register a callback for updates to the current credentials.
283
+ *
284
+ * @example
285
+ * ```javascript
286
+ * import { configure } from '@monterosa/sdk-core';
287
+ * import { onCredentialsUpdated } from '@monterosa/sdk-identify-kit';
288
+ *
289
+ * configure({ host: '...', projectId: '...' });
290
+ *
291
+ * const unsubscribe = onCredentialsUpdated((credentials) => {
292
+ * if (credentials !== null) {
293
+ * console.log("Credentials updated:", credentials);
294
+ * } else {
295
+ * console.log("Credentials cleared.");
296
+ * }
297
+ * });
298
+ * ```
299
+ *
300
+ * @param callback - Called with the updated `Credentials`, or `null`
301
+ * when credentials are cleared.
302
+ * @returns An `Unsubscribe` function.
303
+ */
304
+ export declare function onCredentialsUpdated(callback: (credentials: Credentials | null) => void): Unsubscribe;
305
+
306
+ /**
307
+ * Register a callback for login requests.
308
+ *
309
+ * Fires when {@link requestLogin} is called at this level — whether by
310
+ * local code or relayed up from an embedded experience.
311
+ *
312
+ * @example
313
+ * ```javascript
314
+ * import { configure } from '@monterosa/sdk-core';
315
+ * import { onLoginRequestedByExperience } from '@monterosa/sdk-identify-kit';
316
+ *
317
+ * configure({ host: '...', projectId: '...' });
318
+ *
319
+ * const unsubscribe = onLoginRequestedByExperience(() => {
320
+ * showLoginForm();
321
+ * });
322
+ * ```
323
+ *
324
+ * @param callback - Called when a login is requested.
325
+ * @returns An `Unsubscribe` function.
326
+ */
327
+ export declare function onLoginRequestedByExperience(callback: () => void): Unsubscribe;
328
+
329
+ /**
330
+ * Register a callback for logout requests.
331
+ *
332
+ * Fires when {@link requestLogout} is called at this level — whether
333
+ * by local code or relayed up from an embedded experience.
334
+ *
335
+ * @example
336
+ * ```javascript
337
+ * import { configure } from '@monterosa/sdk-core';
338
+ * import { onLogoutRequestedByExperience } from '@monterosa/sdk-identify-kit';
339
+ *
340
+ * configure({ host: '...', projectId: '...' });
341
+ *
342
+ * const unsubscribe = onLogoutRequestedByExperience(() => {
343
+ * // perform logout from auth service
344
+ * });
345
+ * ```
346
+ *
347
+ * @param callback - Called when a logout is requested.
348
+ * @returns An `Unsubscribe` function.
349
+ */
350
+ export declare function onLogoutRequestedByExperience(callback: () => void): Unsubscribe;
351
+
352
+ /**
353
+ * Register a callback for `LoginState` updates on the given identify.
354
+ *
355
+ * @example
356
+ * ```javascript
357
+ * import { configure } from '@monterosa/sdk-core';
358
+ * import { getIdentify, onStateUpdated } from '@monterosa/sdk-identify-kit';
359
+ *
360
+ * configure({ host: '...', projectId: '...' });
361
+ *
362
+ * const identify = getIdentify();
363
+ *
364
+ * const unsubscribe = onStateUpdated(identify, (state) => {
365
+ * console.log("State updated:", state);
366
+ * });
367
+ * ```
368
+ *
369
+ * @param identify - The IdentifyKit instance.
370
+ * @param callback - Called with the updated `LoginState`.
371
+ * @returns An `Unsubscribe` function.
372
+ */
373
+ export declare function onStateUpdated(identify: IdentifyKit, callback: (state: LoginState) => void): Unsubscribe;
374
+
375
+ /**
376
+ * Request a user login.
377
+ *
378
+ * When called from an embedded experience, the request is relayed to
379
+ * the parent application — the host that owns the auth UI handles it.
380
+ *
381
+ * @example
382
+ * ```javascript
383
+ * import { configure } from '@monterosa/sdk-core';
384
+ * import { requestLogin } from '@monterosa/sdk-identify-kit';
385
+ *
386
+ * configure({ host: '...', projectId: '...' });
387
+ *
388
+ * try {
389
+ * await requestLogin();
390
+ * console.log('Login request successful');
391
+ * } catch (err) {
392
+ * console.error('Error requesting login:', err.message)
393
+ * }
394
+ * ```
395
+ *
396
+ * @returns A Promise that resolves once the login request has been
397
+ * delivered.
398
+ */
399
+ export declare function requestLogin(): Promise<void>;
400
+
401
+ /**
402
+ * Request a user logout.
403
+ *
404
+ * When called from an embedded experience, the request is relayed to
405
+ * the parent application — the host that owns the auth UI handles it.
406
+ *
407
+ * @example
408
+ * ```javascript
409
+ * import { configure } from '@monterosa/sdk-core';
410
+ * import { requestLogout } from '@monterosa/sdk-identify-kit';
411
+ *
412
+ * configure({ host: '...', projectId: '...' });
413
+ *
414
+ * try {
415
+ * await requestLogout();
416
+ * console.log('Logout request successful');
417
+ * } catch (err) {
418
+ * console.error('Error requesting logout:', err.message)
419
+ * }
420
+ * ```
421
+ *
422
+ * @returns A Promise that resolves once the logout request has been
423
+ * delivered.
424
+ */
425
+ export declare function requestLogout(): Promise<void>;
426
+
427
+ /**
428
+ * Set the user's authentication credentials.
429
+ *
430
+ * The credentials become the active credentials for the entire
431
+ * integration. When called from an embedded experience, the call is
432
+ * relayed to the parent application so that every level of the
433
+ * integration sees the new value.
434
+ *
435
+ * @example
436
+ * ```javascript
437
+ * import { configure } from '@monterosa/sdk-core';
438
+ * import { setCredentials } from '@monterosa/sdk-identify-kit';
439
+ *
440
+ * configure({ host: '...', projectId: '...' });
441
+ *
442
+ * await setCredentials({ token: 'abc123' });
443
+ * ```
444
+ *
445
+ * @param credentials - The user's authentication credentials.
446
+ * @returns A Promise that resolves once the credentials have been
447
+ * applied.
448
+ */
449
+ export declare function setCredentials(credentials: Credentials): Promise<void>;
450
+
451
+ /**
452
+ * Set the login policy.
453
+ *
454
+ * - `'auto'`: the SDK automatically logs the user in whenever
455
+ * credentials are available.
456
+ * - `'disabled'`: credentials are tracked but no automatic login is
457
+ * attempted.
458
+ *
459
+ * Each level of a multi-level integration owns its own policy; the
460
+ * value is never propagated to embedded experiences. Idempotent:
461
+ * setting the same policy is a no-op.
462
+ *
463
+ * @param policy - `'auto'` or `'disabled'`.
464
+ */
465
+ export declare function setLoginPolicy(policy: LoginPolicy): void;
466
+
467
+ /**
468
+ * A tuple representing a digital signature: `[userId, timestamp, signature]`.
469
+ *
470
+ * @example
471
+ * ```javascript
472
+ * const signature: Signature = ["user123", 1646956195, "abc123"];
473
+ * ```
474
+ */
475
+ export declare type Signature = [userId: string, timestamp: number, signature: string];
476
+
477
+ /**
478
+ * A key-value object representing user profile data.
479
+ *
480
+ * @remarks
481
+ * Contains `userId`, `timestamp`, and `signature` alongside any
482
+ * additional custom properties.
483
+ *
484
+ * @example
485
+ * ```javascript
486
+ * const userData: UserData = {
487
+ * userId: "user123",
488
+ * timeStamp: 1646956195,
489
+ * signature: "abc123",
490
+ * name: "John Doe",
491
+ * age: 30,
492
+ * email: "john.doe@example.com"
493
+ * };
494
+ * ```
495
+ */
496
+ export declare type UserData = {
497
+ [key: string]: any;
498
+ };
499
+
500
+ export { }
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.23.0"
9
+ }
10
+ ]
11
+ }
package/dist/types.d.ts CHANGED
@@ -7,7 +7,7 @@
7
7
  * More details on the license can be found at https://www.monterosa.co/sdk/license
8
8
  */
9
9
  import { MonterosaSdk } from '@monterosa/sdk-core';
10
- import { Emitter, Unsubscribe } from '@monterosa/sdk-util';
10
+ import { Emitter } from '@monterosa/sdk-util';
11
11
  /**
12
12
  * Represents user authentication credentials.
13
13
  *
@@ -62,10 +62,6 @@ export type ResponsePayload<T> = {
62
62
  data: T;
63
63
  error?: string;
64
64
  };
65
- /**
66
- * @internal
67
- */
68
- export type IdentifyHook = (identify: IdentifyKit) => Unsubscribe;
69
65
  export type LoginState = {
70
66
  state: 'logged_out' | 'logged_in' | 'pending' | 'error';
71
67
  error?: string;
@@ -73,18 +69,18 @@ export type LoginState = {
73
69
  };
74
70
  export type LoginPolicy = 'disabled' | 'auto';
75
71
  /**
76
- * Configuration options for Identify Kit.
72
+ * Resolved configuration options for an `Identify` instance. Public APIs
73
+ * that accept user-supplied options (such as {@link getIdentify}) take
74
+ * `Partial<IdentifyOptions>` and apply defaults for any field not
75
+ * supplied.
76
+ *
77
+ * `loginPolicy` is set separately via {@link setLoginPolicy}.
77
78
  */
78
79
  export interface IdentifyOptions {
79
- /**
80
- * Unique device identifier. Must be persisted and reused across sessions
81
- * to avoid duplicate user records.
82
- */
83
- readonly deviceId?: string;
84
80
  /**
85
81
  * Authentication strategy. Default: `'email'`.
86
82
  */
87
- readonly strategy?: string;
83
+ readonly strategy: string;
88
84
  /**
89
85
  * Identity provider name (e.g. `'aws'` for Cognito).
90
86
  */
@@ -92,8 +88,7 @@ export interface IdentifyOptions {
92
88
  /**
93
89
  * Identify API version. Default: `1`.
94
90
  */
95
- readonly version?: number;
96
- readonly loginPolicy?: LoginPolicy;
91
+ readonly version: number;
97
92
  }
98
93
  /**
99
94
  * Represents an Identify Kit instance. Obtain one via {@link getIdentify}.
@@ -105,7 +100,9 @@ export interface IdentifyOptions {
105
100
  */
106
101
  export interface IdentifyKit extends Emitter {
107
102
  /**
108
- * The identify options.
103
+ * Resolved identity options. `loginPolicy` is not on the instance —
104
+ * see {@link setLoginPolicy}. Credentials are root-owned, accessed
105
+ * via {@link getCredentials}.
109
106
  *
110
107
  * @internal
111
108
  */
@@ -114,10 +111,6 @@ export interface IdentifyKit extends Emitter {
114
111
  * @internal
115
112
  */
116
113
  sdk: MonterosaSdk;
117
- /**
118
- * @internal
119
- */
120
- credentials: Credentials | null;
121
114
  /**
122
115
  * @internal
123
116
  */
@@ -127,15 +120,9 @@ export interface IdentifyKit extends Emitter {
127
120
  */
128
121
  userData: UserData | null;
129
122
  /**
130
- * Whether the user should be automatically logged in when connection is
131
- * restored. This is true when:
132
- * - The user was previously logged in successfully
133
- * - Auto-login is enabled
134
- * - Credentials are available
135
- *
136
123
  * @internal
137
124
  */
138
- shouldLoginOnReconnect: boolean;
125
+ wasLoggedIn: boolean;
139
126
  state: LoginState;
140
127
  /**
141
128
  * @internal
@@ -166,10 +153,8 @@ export declare enum IdentifyEvent {
166
153
  StateUpdated = "state_updated",
167
154
  LoginRequested = "login_requested",
168
155
  LogoutRequested = "logout_requested",
169
- SignatureUpdated = "signature_updated",
170
- UserdataUpdated = "userdata_updated",
171
156
  CredentialsUpdated = "credentials_updated",
172
- EnmasseLogin = "enmasse_login"
157
+ LoginPolicyUpdated = "login_policy_updated"
173
158
  }
174
159
  /**
175
160
  * Defines a set of error codes that may be encountered when using the
@@ -182,8 +167,6 @@ export declare enum IdentifyEvent {
182
167
  * } catch (err) {
183
168
  * if (err.code === IdentifyError.NoCredentials) {
184
169
  * // handle missing credentials error
185
- * } else if (err.code === IdentifyError.NotInitialised) {
186
- * // handle initialization error
187
170
  * } else {
188
171
  * // handle other error types
189
172
  * }
@@ -212,10 +195,6 @@ export declare enum IdentifyError {
212
195
  * or have expired.
213
196
  */
214
197
  NoCredentials = "no_credentials",
215
- /**
216
- * Indicates the IdentifyKit has not been initialised properly.
217
- */
218
- NotInitialised = "not_initialised",
219
198
  /**
220
199
  * Indicates an error occurred in the parent app.
221
200
  */
@@ -240,7 +219,6 @@ export declare const IdentifyErrorMessages: {
240
219
  extension_api_error: (error: string) => string;
241
220
  extension_not_setup: () => string;
242
221
  no_credentials: () => string;
243
- not_initialised: () => string;
244
222
  parent_app_error: (error: string) => string;
245
223
  unexpected_state: (state: string) => string;
246
224
  no_parent_application: () => string;
@@ -251,12 +229,7 @@ export declare enum IdentifyAction {
251
229
  Logout = "identifyLogout",
252
230
  RequestLogin = "identifyRequestLogin",
253
231
  RequestLogout = "identifyRequestLogout",
254
- GetUserData = "identifyGetUserData",
255
- GetSessionSignature = "identifyGetSessionSignature",
232
+ GetCredentials = "identifyGetCredentials",
256
233
  SetCredentials = "identifySetCredentials",
257
- ClearCredentials = "identifyClearCredentials",
258
- OnStateUpdated = "identifyOnStateUpdated",
259
- OnCredentialsUpdated = "identifyOnCredentialsUpdated",
260
- OnUserDataUpdated = "identifyOnUserDataUpdated",
261
- OnSessionSignatureUpdated = "identifyOnSessionSignatureUpdated"
234
+ ClearCredentials = "identifyClearCredentials"
262
235
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monterosa/sdk-identify-kit",
3
- "version": "2.0.0-rc.3",
3
+ "version": "2.0.0-rc.5",
4
4
  "description": "Identify Kit for the Monterosa JS SDK",
5
5
  "author": "Monterosa Productions Limited <hello@monterosa.co.uk> (https://www.monterosa.co/)",
6
6
  "main": "./dist/index.cjs",
@@ -33,12 +33,12 @@
33
33
  ],
34
34
  "license": "MIT",
35
35
  "dependencies": {
36
- "@monterosa/sdk-connect-kit": "2.0.0-rc.3",
37
- "@monterosa/sdk-core": "2.0.0-rc.3",
38
- "@monterosa/sdk-interact-interop": "2.0.0-rc.3",
39
- "@monterosa/sdk-interact-kit": "2.0.0-rc.3",
40
- "@monterosa/sdk-launcher-kit": "2.0.0-rc.3",
41
- "@monterosa/sdk-util": "2.0.0-rc.3"
36
+ "@monterosa/sdk-connect-kit": "2.0.0-rc.5",
37
+ "@monterosa/sdk-core": "2.0.0-rc.5",
38
+ "@monterosa/sdk-interact-interop": "2.0.0-rc.5",
39
+ "@monterosa/sdk-interact-kit": "2.0.0-rc.5",
40
+ "@monterosa/sdk-launcher-kit": "2.0.0-rc.5",
41
+ "@monterosa/sdk-util": "2.0.0-rc.5"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@rollup/plugin-json": "^4.1.0",
@@ -59,5 +59,5 @@
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "d692ad26af0b5ea7cd7b664168bffa069f9ab911"
62
+ "gitHead": "4f697a9733d36fb689a35b8e1dd6d589a9ae284c"
63
63
  }