@ketch-sdk/ketch-types 1.5.0 → 1.6.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/index.d.ts +212 -42
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Callback
|
|
3
|
-
*/
|
|
4
|
-
export declare type Callback = (arg0: any) => void;
|
|
5
1
|
/**
|
|
6
2
|
* Status
|
|
7
3
|
*/
|
|
@@ -23,14 +19,20 @@ export type Identities = {
|
|
|
23
19
|
};
|
|
24
20
|
/**
|
|
25
21
|
* All Tabs
|
|
22
|
+
*
|
|
23
|
+
* @deprecated Future version will become a TypeScript enum
|
|
26
24
|
*/
|
|
27
25
|
export declare const ALL_TABS: readonly ["overviewTab", "rightsTab", "consentsTab"];
|
|
28
26
|
/**
|
|
29
27
|
* TabTuple
|
|
28
|
+
*
|
|
29
|
+
* @deprecated Future version will become a TypeScript enum
|
|
30
30
|
*/
|
|
31
31
|
export type TabTuple = typeof ALL_TABS;
|
|
32
32
|
/**
|
|
33
33
|
* Tab
|
|
34
|
+
*
|
|
35
|
+
* @deprecated Future version will become a TypeScript enum
|
|
34
36
|
*/
|
|
35
37
|
export type Tab = TabTuple[number];
|
|
36
38
|
/**
|
|
@@ -41,23 +43,114 @@ export type Tab = TabTuple[number];
|
|
|
41
43
|
export declare function isTab(value: string): value is Tab;
|
|
42
44
|
/**
|
|
43
45
|
* Plugin class
|
|
46
|
+
*
|
|
47
|
+
* @deprecated New plugins should be functional plugins.
|
|
48
|
+
* @see PluginFunction
|
|
44
49
|
*/
|
|
45
50
|
export interface PluginClass {
|
|
51
|
+
/**
|
|
52
|
+
* Initialize the plugin
|
|
53
|
+
*
|
|
54
|
+
* @param host The Ketch instance
|
|
55
|
+
* @param config The configuration
|
|
56
|
+
*/
|
|
46
57
|
init?: (host: Ketch, config: Configuration) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Equivalent of on('environment')
|
|
60
|
+
*
|
|
61
|
+
* @param host The Ketch instance
|
|
62
|
+
* @param config The configuration
|
|
63
|
+
* @param env The environment
|
|
64
|
+
*/
|
|
47
65
|
environmentLoaded?: (host: Ketch, config: Configuration, env: Environment) => void;
|
|
66
|
+
/**
|
|
67
|
+
* Equivalent of on('geoip')
|
|
68
|
+
*
|
|
69
|
+
* @param host The Ketch instance
|
|
70
|
+
* @param config The configuration
|
|
71
|
+
* @param ipInfo The IP information
|
|
72
|
+
*/
|
|
48
73
|
geoIPLoaded?: (host: Ketch, config: Configuration, ipInfo: IPInfo) => void;
|
|
74
|
+
/**
|
|
75
|
+
* Equivalent of on('identities')
|
|
76
|
+
*
|
|
77
|
+
* @param host The Ketch instance
|
|
78
|
+
* @param config The configuration
|
|
79
|
+
* @param identities The identities
|
|
80
|
+
*/
|
|
49
81
|
identitiesLoaded?: (host: Ketch, config: Configuration, identities: Identities) => void;
|
|
82
|
+
/**
|
|
83
|
+
* Equivalent of on('jurisdiction')
|
|
84
|
+
*
|
|
85
|
+
* @param host The Ketch instance
|
|
86
|
+
* @param config The configuration
|
|
87
|
+
* @param jurisdiction The jurisdiction
|
|
88
|
+
*/
|
|
50
89
|
jurisdictionLoaded?: (host: Ketch, config: Configuration, policyScope: string) => void;
|
|
90
|
+
/**
|
|
91
|
+
* Equivalent of on('regionInfo')
|
|
92
|
+
*
|
|
93
|
+
* @param host The Ketch instance
|
|
94
|
+
* @param config The configuration
|
|
95
|
+
* @param regionInfo The region info
|
|
96
|
+
*/
|
|
51
97
|
regionInfoLoaded?: (host: Ketch, config: Configuration, region: string) => void;
|
|
98
|
+
/**
|
|
99
|
+
* Equivalent of on('consent')
|
|
100
|
+
*
|
|
101
|
+
* @param host The Ketch instance
|
|
102
|
+
* @param config The configuration
|
|
103
|
+
* @param consent The consent
|
|
104
|
+
*/
|
|
52
105
|
consentChanged?: (host: Ketch, config: Configuration, consent: Consent) => void;
|
|
106
|
+
/**
|
|
107
|
+
* Equivalent of on('rightInvoked')
|
|
108
|
+
*
|
|
109
|
+
* @param host The Ketch instance
|
|
110
|
+
* @param config The configuration
|
|
111
|
+
* @param request The right invocation request
|
|
112
|
+
*/
|
|
53
113
|
rightInvoked?: (host: Ketch, config: Configuration, request: InvokeRightRequest) => void;
|
|
114
|
+
/**
|
|
115
|
+
* Equivalent of on('showConsentExperience')
|
|
116
|
+
*
|
|
117
|
+
* @param host The Ketch instance
|
|
118
|
+
* @param config The configuration
|
|
119
|
+
* @param consents The current consents
|
|
120
|
+
* @param options The options for the experience
|
|
121
|
+
*/
|
|
54
122
|
showConsentExperience?: (host: Ketch, config: Configuration, consents: Consent, options?: ShowConsentOptions) => void;
|
|
123
|
+
/**
|
|
124
|
+
* Equivalent of on('showPreferenceExperience')
|
|
125
|
+
*
|
|
126
|
+
* @param host The Ketch instance
|
|
127
|
+
* @param config The configuration
|
|
128
|
+
* @param consents The current consents
|
|
129
|
+
* @param options The options for the experience
|
|
130
|
+
*/
|
|
55
131
|
showPreferenceExperience?: (host: Ketch, config: Configuration, consents: Consent, options?: ShowPreferenceOptions) => void;
|
|
132
|
+
/**
|
|
133
|
+
* Equivalent of on('willShowExperience')
|
|
134
|
+
*
|
|
135
|
+
* @param host The Ketch instance
|
|
136
|
+
* @param config The configuration
|
|
137
|
+
* @param type The type of the experience
|
|
138
|
+
*/
|
|
56
139
|
willShowExperience?: (host: Ketch, config: Configuration, type: string) => void;
|
|
140
|
+
/**
|
|
141
|
+
* Equivalent of on('experienceHidden')
|
|
142
|
+
*
|
|
143
|
+
* @param host The Ketch instance
|
|
144
|
+
* @param config The configuration
|
|
145
|
+
* @param reason The reason the experience was hidden
|
|
146
|
+
*/
|
|
57
147
|
experienceHidden?: (host: Ketch, config: Configuration, reason: string) => void;
|
|
58
148
|
}
|
|
59
149
|
/**
|
|
60
150
|
* Plugin factory function signature
|
|
151
|
+
*
|
|
152
|
+
* @param host The Ketch instance
|
|
153
|
+
* @param config The plugin configuration
|
|
61
154
|
*/
|
|
62
155
|
export type PluginFunction = (host: Ketch, config?: any) => Promise<void>;
|
|
63
156
|
/**
|
|
@@ -75,20 +168,20 @@ export interface StorageProvider {
|
|
|
75
168
|
/**
|
|
76
169
|
* Get an item with the given key
|
|
77
170
|
*
|
|
78
|
-
* @param key
|
|
171
|
+
* @param key The item key
|
|
79
172
|
*/
|
|
80
173
|
getItem(key: string): Promise<string | null>;
|
|
81
174
|
/**
|
|
82
175
|
* Sets the value for the given key
|
|
83
176
|
*
|
|
84
|
-
* @param key
|
|
85
|
-
* @param value
|
|
177
|
+
* @param key The item key
|
|
178
|
+
* @param value The item value
|
|
86
179
|
*/
|
|
87
180
|
setItem(key: string, value: string): Promise<void>;
|
|
88
181
|
/**
|
|
89
|
-
* Removes the given
|
|
182
|
+
* Removes the given item
|
|
90
183
|
*
|
|
91
|
-
* @param key
|
|
184
|
+
* @param key The item key
|
|
92
185
|
*/
|
|
93
186
|
removeItem(key: string): Promise<void>;
|
|
94
187
|
}
|
|
@@ -96,39 +189,103 @@ export interface Ketch {
|
|
|
96
189
|
/**
|
|
97
190
|
* Register a plugin with the given configuration
|
|
98
191
|
*
|
|
99
|
-
* @param plugin
|
|
100
|
-
* @param config
|
|
192
|
+
* @param plugin The plugin
|
|
193
|
+
* @param config The plugin configuration
|
|
101
194
|
*/
|
|
102
195
|
registerPlugin(plugin: Plugin, config?: any): Promise<void>;
|
|
103
196
|
/**
|
|
104
197
|
* Register an identity provider for the given identity
|
|
105
198
|
*
|
|
106
|
-
* @param name
|
|
107
|
-
* @param provider
|
|
199
|
+
* @param name The name of the identity
|
|
200
|
+
* @param provider The provider of the identity
|
|
108
201
|
*/
|
|
109
202
|
registerIdentityProvider(name: string, provider: IdentityProvider): Promise<void>;
|
|
110
203
|
/**
|
|
111
204
|
* Register a storage provider
|
|
112
205
|
*
|
|
113
|
-
* @param provider
|
|
206
|
+
* @param provider The provider implementation
|
|
114
207
|
*/
|
|
115
208
|
registerStorageProvider(provider: StorageProvider): Promise<void>;
|
|
209
|
+
/**
|
|
210
|
+
* Determines if consent has already been resolved.
|
|
211
|
+
*
|
|
212
|
+
* @deprecated future versions will become asynchronous
|
|
213
|
+
*/
|
|
116
214
|
hasConsent(): boolean;
|
|
215
|
+
/**
|
|
216
|
+
* Returns the Consent
|
|
217
|
+
*/
|
|
117
218
|
getConsent(): Promise<Consent>;
|
|
118
|
-
|
|
219
|
+
/**
|
|
220
|
+
* Sets the consent
|
|
221
|
+
*
|
|
222
|
+
* @param consent
|
|
223
|
+
* @deprecated Future versions will not return the Consent promise
|
|
224
|
+
*/
|
|
225
|
+
setConsent(consent: Consent): Promise<Consent>;
|
|
226
|
+
/**
|
|
227
|
+
* Set a flag to show the consent experience
|
|
228
|
+
*
|
|
229
|
+
* @deprecated Will be removed in a future version
|
|
230
|
+
*/
|
|
119
231
|
setShowConsentExperience(): Promise<void>;
|
|
232
|
+
/**
|
|
233
|
+
* Show the consent experience
|
|
234
|
+
*
|
|
235
|
+
* @deprecated Future versions will not return Consent in the Promise
|
|
236
|
+
*/
|
|
120
237
|
showConsentExperience(): Promise<Consent>;
|
|
121
|
-
|
|
238
|
+
/**
|
|
239
|
+
* Show the preference experience
|
|
240
|
+
*
|
|
241
|
+
* @param params The parameters for the experience
|
|
242
|
+
* @deprecated Future versions will not return Consent in the Promise
|
|
243
|
+
*/
|
|
244
|
+
showPreferenceExperience(params?: ShowPreferenceOptions): Promise<Consent>;
|
|
245
|
+
/**
|
|
246
|
+
* Notify that the experience was closed
|
|
247
|
+
*
|
|
248
|
+
* @param reason Reason the experience was closed
|
|
249
|
+
* @deprecated This method will be moved to an experience interface. Future
|
|
250
|
+
* versions will not return Consent in the Promise
|
|
251
|
+
*/
|
|
122
252
|
experienceClosed(reason: ExperienceClosedReason): Promise<Consent>;
|
|
253
|
+
/**
|
|
254
|
+
* Invokes a right
|
|
255
|
+
*
|
|
256
|
+
* @param eventData The definition of the right
|
|
257
|
+
*/
|
|
123
258
|
invokeRight(eventData: InvokeRightEvent): Promise<void>;
|
|
259
|
+
/**
|
|
260
|
+
* Get the Configuration.
|
|
261
|
+
*/
|
|
124
262
|
getConfig(): Promise<Configuration>;
|
|
263
|
+
/**
|
|
264
|
+
* Get the Environment
|
|
265
|
+
*/
|
|
125
266
|
getEnvironment(): Promise<Environment>;
|
|
267
|
+
/**
|
|
268
|
+
* Get the IP information
|
|
269
|
+
*/
|
|
126
270
|
getGeoIP(): Promise<IPInfo>;
|
|
271
|
+
/**
|
|
272
|
+
* Get the identities
|
|
273
|
+
*/
|
|
127
274
|
getIdentities(): Promise<Identities>;
|
|
275
|
+
/**
|
|
276
|
+
* Get the jurisdiction
|
|
277
|
+
*/
|
|
128
278
|
getJurisdiction(): Promise<string>;
|
|
279
|
+
/**
|
|
280
|
+
* Get the region information
|
|
281
|
+
*/
|
|
129
282
|
getRegionInfo(): Promise<string>;
|
|
130
283
|
/**
|
|
131
284
|
* Alias for `emitter.on(eventName, listener)`.
|
|
285
|
+
*
|
|
286
|
+
* @param eventName The name of the event.
|
|
287
|
+
* @param listener The callback function
|
|
288
|
+
* @deprecated Future versions will become asynchronous
|
|
132
289
|
*/
|
|
133
290
|
addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
134
291
|
/**
|
|
@@ -146,6 +303,8 @@ export interface Ketch {
|
|
|
146
303
|
*
|
|
147
304
|
* @param eventName The name of the event.
|
|
148
305
|
* @param listener The callback function
|
|
306
|
+
*
|
|
307
|
+
* @deprecated Future versions will become asynchronous
|
|
149
308
|
*/
|
|
150
309
|
on(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
151
310
|
/**
|
|
@@ -158,6 +317,8 @@ export interface Ketch {
|
|
|
158
317
|
*
|
|
159
318
|
* @param eventName The name of the event.
|
|
160
319
|
* @param listener The callback function
|
|
320
|
+
*
|
|
321
|
+
* @deprecated Future versions will become asynchronous
|
|
161
322
|
*/
|
|
162
323
|
once(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
163
324
|
/**
|
|
@@ -183,11 +344,19 @@ export interface Ketch {
|
|
|
183
344
|
*
|
|
184
345
|
* When a single function has been added as a handler multiple times for a single
|
|
185
346
|
* event (as in the example below), `removeListener()` will remove the most
|
|
186
|
-
* recently added instance. In the example the `once('ping')`listener is removed
|
|
347
|
+
* recently added instance. In the example the `once('ping')` listener is removed
|
|
348
|
+
*
|
|
349
|
+
* @param eventName The name of the event.
|
|
350
|
+
* @param listener The callback function
|
|
351
|
+
* @deprecated Future versions will become asynchronous
|
|
187
352
|
*/
|
|
188
353
|
removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
189
354
|
/**
|
|
190
355
|
* Alias for `emitter.removeListener()`.
|
|
356
|
+
*
|
|
357
|
+
* @param eventName The name of the event.
|
|
358
|
+
* @param listener The callback function
|
|
359
|
+
* @deprecated Future versions will become asynchronous
|
|
191
360
|
*/
|
|
192
361
|
off(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
193
362
|
/**
|
|
@@ -197,30 +366,20 @@ export interface Ketch {
|
|
|
197
366
|
* particularly when the `EventEmitter` instance was created by some other
|
|
198
367
|
* component or module (e.g. sockets or file streams).
|
|
199
368
|
*
|
|
200
|
-
*
|
|
201
|
-
|
|
202
|
-
removeAllListeners(event?: string | symbol): this;
|
|
203
|
-
/**
|
|
204
|
-
* By default `EventEmitter`s will print a warning if more than `10` listeners are
|
|
205
|
-
* added for a particular event. This is a useful default that helps finding
|
|
206
|
-
* memory leaks. The `emitter.setMaxListeners()` method allows the limit to be
|
|
207
|
-
* modified for this specific `EventEmitter` instance. The value can be set to
|
|
208
|
-
* `Infinity` (or `0`) to indicate an unlimited number of listeners.
|
|
209
|
-
*
|
|
210
|
-
* Returns a reference to the `EventEmitter`, so that calls can be chained.
|
|
211
|
-
*/
|
|
212
|
-
setMaxListeners(n: number): this;
|
|
213
|
-
/**
|
|
214
|
-
* Returns the current max listener value for the `EventEmitter` which is either
|
|
215
|
-
* set by `emitter.setMaxListeners(n)` or defaults to {@link defaultMaxListeners}.
|
|
369
|
+
* @param eventName The name of the event.
|
|
370
|
+
* @deprecated Future versions will become asynchronous
|
|
216
371
|
*/
|
|
217
|
-
|
|
372
|
+
removeAllListeners(eventName?: string | symbol): this;
|
|
218
373
|
/**
|
|
219
374
|
* Synchronously calls each of the listeners registered for the event named
|
|
220
375
|
* `eventName`, in the order they were registered, passing the supplied arguments
|
|
221
376
|
* to each.
|
|
222
377
|
*
|
|
223
378
|
* @returns `true` if the event had listeners, `false` otherwise.
|
|
379
|
+
*
|
|
380
|
+
* @param eventName The name of the event.
|
|
381
|
+
* @param args The arguments for the event.
|
|
382
|
+
* @deprecated Future versions will become asynchronous
|
|
224
383
|
*/
|
|
225
384
|
emit(eventName: string | symbol, ...args: any[]): boolean;
|
|
226
385
|
}
|
|
@@ -228,6 +387,9 @@ export interface Ketch {
|
|
|
228
387
|
* ShowPreferenceOptions
|
|
229
388
|
*/
|
|
230
389
|
export type ShowPreferenceOptions = {
|
|
390
|
+
/**
|
|
391
|
+
* The tab to display.
|
|
392
|
+
*/
|
|
231
393
|
tab?: Tab;
|
|
232
394
|
/**
|
|
233
395
|
* dataSubjectTypeCodes is the list of data subjects to display. If undefined,
|
|
@@ -284,19 +446,13 @@ export type InvokeRightEvent = {
|
|
|
284
446
|
subject: DataSubject;
|
|
285
447
|
recaptchaToken?: string;
|
|
286
448
|
};
|
|
287
|
-
/**
|
|
288
|
-
* AppDiv
|
|
289
|
-
*/
|
|
290
|
-
export interface AppDiv {
|
|
291
|
-
id: string;
|
|
292
|
-
zIndex: string;
|
|
293
|
-
}
|
|
294
449
|
/**
|
|
295
450
|
* ExperienceClosedReason describes the reason the experience was closed.
|
|
296
451
|
*
|
|
297
452
|
* setConsent = consent was accepted/set
|
|
298
453
|
* invokeRight = the right was invoked
|
|
299
454
|
* close = the close/exit button was clicked
|
|
455
|
+
* willNotShow = the experience was skipped
|
|
300
456
|
*
|
|
301
457
|
* @enum
|
|
302
458
|
*/
|
|
@@ -462,6 +618,9 @@ export interface GetConsentRequest {
|
|
|
462
618
|
purposes: {
|
|
463
619
|
[key: string]: PurposeLegalBasis;
|
|
464
620
|
};
|
|
621
|
+
/**
|
|
622
|
+
* list of vendor ids for which the user has opted out
|
|
623
|
+
*/
|
|
465
624
|
vendors?: string[];
|
|
466
625
|
collectedAt?: number;
|
|
467
626
|
}
|
|
@@ -502,6 +661,9 @@ export interface SetConsentRequest {
|
|
|
502
661
|
purposes: {
|
|
503
662
|
[key: string]: PurposeAllowedLegalBasis;
|
|
504
663
|
};
|
|
664
|
+
/**
|
|
665
|
+
* list of vendor ids for which the user has opted out
|
|
666
|
+
*/
|
|
505
667
|
vendors?: string[];
|
|
506
668
|
}
|
|
507
669
|
/**
|
|
@@ -1246,8 +1408,16 @@ export interface Loaded {
|
|
|
1246
1408
|
declare global {
|
|
1247
1409
|
interface Window {
|
|
1248
1410
|
/**
|
|
1249
|
-
* Semaphore is the
|
|
1411
|
+
* Semaphore is the action queue (should not be accessed directly except by legacy code
|
|
1412
|
+
* which should be migrated to the `ketch` function).
|
|
1250
1413
|
*/
|
|
1251
1414
|
semaphore: Pusher & Loaded;
|
|
1415
|
+
/**
|
|
1416
|
+
* Ketch is the main entrypoint to the JS API.
|
|
1417
|
+
*
|
|
1418
|
+
* @param action The action to invoke
|
|
1419
|
+
* @param args The arguments to the action
|
|
1420
|
+
*/
|
|
1421
|
+
ketch(action: string, ...args: any[]): void;
|
|
1252
1422
|
}
|
|
1253
1423
|
}
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ModalPosition = exports.BannerPosition = exports.SwitchTextRenderLogic = exports.IdentityFormat = exports.IdentityType = exports.CookieCategory = exports.CookieProvenance = exports.CookieDuration = exports.MigrationOption = exports.ExperiencePrimaryButtonAction = exports.ExperienceButtonDestination = exports.ExperienceDefault = exports.ExperienceClosedReason = exports.ConsentExperienceType = exports.ExperienceType = exports.isTab = exports.ALL_TABS = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* All Tabs
|
|
6
|
+
*
|
|
7
|
+
* @deprecated Future version will become a TypeScript enum
|
|
6
8
|
*/
|
|
7
9
|
exports.ALL_TABS = ['overviewTab', 'rightsTab', 'consentsTab'];
|
|
8
10
|
/**
|
|
@@ -41,6 +43,7 @@ var ConsentExperienceType;
|
|
|
41
43
|
* setConsent = consent was accepted/set
|
|
42
44
|
* invokeRight = the right was invoked
|
|
43
45
|
* close = the close/exit button was clicked
|
|
46
|
+
* willNotShow = the experience was skipped
|
|
44
47
|
*
|
|
45
48
|
* @enum
|
|
46
49
|
*/
|
|
@@ -204,4 +207,4 @@ var ModalPosition;
|
|
|
204
207
|
ModalPosition[ModalPosition["LEFT_FULL_HEIGHT"] = 2] = "LEFT_FULL_HEIGHT";
|
|
205
208
|
ModalPosition[ModalPosition["RIGHT_FULL_HEIGHT"] = 3] = "RIGHT_FULL_HEIGHT";
|
|
206
209
|
})(ModalPosition = exports.ModalPosition || (exports.ModalPosition = {}));
|
|
207
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
210
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBa0JBOzs7O0dBSUc7QUFDVSxRQUFBLFFBQVEsR0FBRyxDQUFDLGFBQWEsRUFBRSxXQUFXLEVBQUUsYUFBYSxDQUFVLENBQUE7QUFnQjVFOzs7O0dBSUc7QUFDSCxTQUFnQixLQUFLLENBQUMsS0FBYTtJQUNqQyxPQUFPLGdCQUFRLENBQUMsUUFBUSxDQUFDLEtBQVksQ0FBQyxDQUFBO0FBQ3hDLENBQUM7QUFGRCxzQkFFQztBQXlhRDs7OztHQUlHO0FBQ0gsSUFBWSxjQUdYO0FBSEQ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2QixDQUFDLEVBSlcsYUFBYSxHQUFiLHFCQUFhLEtBQWIscUJBQWEsUUFJeEIifQ==
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@ketch-sdk/ketch-types", "version": "1.
|
|
1
|
+
{"name": "@ketch-sdk/ketch-types", "version": "1.6.0", "description": "Ketch Types", "main": "./dist/index.js", "types": "./dist/index.d.ts", "type": "commonjs", "scripts": {"all": "npm run lint && npm run format-check && npm run test && npm run build && npm run docs", "build": "tsc -p .", "lint": "eslint src/**/*.ts", "test": "jest --runInBand --passWithNoTests", "format": "prettier --write \"**/*.{ts,tsx,yml,yaml}\"", "format-check": "prettier --check '**/*.ts'", "docs": "typedoc --githubPages true --excludeInternal src/index.ts"}, "repository": {"type": "git", "url": "git+https://github.com/ketch-sdk/ketch-types.git"}, "author": "Ketch Kloud, Inc. (https://www.ketch.com/)", "license": "MIT", "homepage": "https://github.com/ketch-sdk/ketch-types", "bugs": {"url": "https://github.com/ketch-sdk/ketch-types/issues"}, "devDependencies": {"@types/events": "^3.0.0", "@types/jest": "^29.4.0", "@typescript-eslint/eslint-plugin": "^5.50.0", "@typescript-eslint/parser": "^5.50.0", "eslint": "^8.33.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jest": "^27.2.1", "eslint-plugin-prettier": "^4.2.1", "jest": "^29.4.1", "jest-environment-jsdom": "^29.4.1", "jest-junit": "^15.0.0", "prettier": "^2.8.3", "ts-jest": "^29.0.5", "typedoc": "^0.23.24", "typescript": "^4.9.5"}, "files": ["./dist"]}
|