File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ v16.13.2
Original file line number Diff line number Diff line change 11# Devo App Developer Kit
22
3+ ## v1.3.3
4+
5+ Added service operations api url in UserCredentials type.
6+
7+ Remove marketplaceBundle field from UserCredentials type.
8+
9+ Better typing for UserCredentials type. Now it will
10+
311## v1.3.2
412
513fix: Remove the listener related to the unmount of the dApp so that past executions are not queued.
Original file line number Diff line number Diff line change 11{
22 "name" : " @devoinc/app-developer-kit" ,
3- "version" : " 1.3.2 " ,
3+ "version" : " 1.3.3 " ,
44 "description" : " Devo Web Browser Applications Development Kit" ,
55 "main" : " index.js" ,
66 "module" : " index.esm.js" ,
Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ const mockedUserInfo: UserInfo = {
4343 apiKey : 'mock-jwt-api-key' ,
4444 jwtUserId : 'mock-jwt-user-id' ,
4545 } ,
46- marketplaceBundle : 'mock-marketplace-bundle' ,
4746 marketplaceURI : 'mock-marketplace-uri' ,
4847 activeboardsURI : 'mock-activeboards-uri' ,
48+ serviceopsURI : 'mock-serviceops-uri' ,
4949 serrea : 'mock-serrea' ,
5050 standAloneToken : 'mock-stand-alone-token' ,
5151 } ,
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ const mockedUserInfo: UserInfo = {
5959 apiKey : 'mock-jwt-api-key' ,
6060 jwtUserId : 'mock-jwt-user-id' ,
6161 } ,
62- marketplaceBundle : 'mock-marketplace-bundle ' ,
62+ serviceopsURI : 'mock-serviceops-uri ' ,
6363 marketplaceURI : 'mock-marketplace-uri' ,
6464 activeboardsURI : 'mock-activeboards-uri' ,
6565 serrea : 'mock-serrea' ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const mockedWebCoreIntegrationUserInfo: UserInfo = {
2525 apiKey : 'mock-jwt-api-key' ,
2626 jwtUserId : 'mock-jwt-user-id' ,
2727 } ,
28- marketplaceBundle : 'mock-marketplace-bundle ' ,
28+ serviceopsURI : 'mock-serviceops-uri ' ,
2929 marketplaceURI : 'mock-marketplace-uri' ,
3030 activeboardsURI : 'mock-activeboards-uri' ,
3131 serrea : 'mock-serrea' ,
Original file line number Diff line number Diff line change 33 *
44 * @public
55 */
6- export type UserCredentials = {
7- readonly alertsURI : string ;
8- readonly apiKey : string ;
9- readonly apiSecret : string ;
10- readonly enigmaURI : string ;
11- readonly investigationsURI : string ;
12- readonly jwtSessionCredentials : {
6+ export interface UserCredentials extends Readonly < Record < string , any > > {
7+ // Credentials for the current user
8+
9+ /**
10+ * Tapu token
11+ */
12+ standAloneToken : string ;
13+
14+ /**
15+ * Devo api key
16+ */
17+ apiKey : string ;
18+
19+ /**
20+ * Devo api secret
21+ */
22+ apiSecret : string ;
23+
24+ /**
25+ * JWT Session credentials
26+ */
27+ jwtSessionCredentials : {
1328 readonly apiKey : string ;
1429 readonly jwtUserId : string ;
1530 } ;
16- readonly marketplaceBundle : string ;
17- readonly marketplaceURI : string ;
18- readonly activeboardsURI : string ;
31+
32+ // API urls
33+
1934 /**
20- * Serrea url
35+ * Alerts API url
2136 */
22- readonly serrea : string ;
37+ alertsURI : string ;
38+
2339 /**
24- * Tapu token
40+ * Enigma API url
41+ */
42+ enigmaURI : string ;
43+
44+ /**
45+ * Investigations API url
46+ */
47+ investigationsURI : string ;
48+
49+ /**
50+ * Marketplace API url
51+ */
52+ marketplaceURI : string ;
53+
54+ /**
55+ * Activeboards API url
56+ */
57+ activeboardsURI : string ;
58+
59+ /**
60+ * Service operations API url
61+ */
62+ serviceopsURI : string ;
63+
64+ /**
65+ * Serrea API url
2566 */
26- readonly standAloneToken : string ;
27- } ;
67+ serrea : string ;
68+ }
You can’t perform that action at this time.
0 commit comments