@alkemio/matrix-adapter-lib 0.8.15 → 0.8.17
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/commands.d.ts +9 -1
- package/dist/commands.js +8 -0
- package/dist/commands.js.map +1 -1
- package/dist/dto/generated.d.ts +35 -0
- package/dist/dto/generated.js +4 -2
- package/dist/dto/generated.js.map +1 -1
- package/dist/matrix.adapter.event.type.d.ts +2 -0
- package/dist/matrix.adapter.event.type.js +2 -0
- package/dist/matrix.adapter.event.type.js.map +1 -1
- package/package.json +2 -2
package/dist/commands.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AddReactionRequest, AddReactionResponse, BaseResponse, BatchAddMemberRequest, BatchAddMemberResponse, BatchAddSpaceMemberRequest, BatchAddSpaceMemberResponse, BatchGetLastMessagesRequest, BatchGetLastMessagesResponse, BatchGetUnreadCountsRequest, BatchGetUnreadCountsResponse, BatchRemoveMemberRequest, BatchRemoveMemberResponse, BatchRemoveSpaceMemberRequest, BatchRemoveSpaceMemberResponse, CreateRoomRequest, CreateSpaceRequest, DMRequestedEvent, DeleteMessageRequest, DeleteRoomRequest, DeleteSpaceRequest, GetLastMessageRequest, GetLastMessageResponse, GetMessageRequest, GetMessageResponse, GetReactionRequest, GetReactionResponse, GetRoomAsUserRequest, GetRoomAsUserResponse, GetRoomMembersRequest, GetRoomMembersResponse, GetRoomRequest, GetRoomResponse, GetRoomStateRequest, GetRoomStateResponse, GetSpaceRequest, GetSpaceResponse, GetSpaceStateRequest, GetSpaceStateResponse, GetThreadMessagesRequest, GetThreadMessagesResponse, GetUnreadCountsRequest, GetUnreadCountsResponse, ListRoomsRequest, ListRoomsResponse, ListSpacesRequest, ListSpacesResponse, MarkMessageReadRequest, MessageEditedEvent, MessageReceivedPayload, MessageRedactedEvent, ReactionAddedEvent, ReactionRemovedEvent, ReadReceiptUpdatedEvent, RemoveReactionRequest, RoomCreatedEvent, RoomMemberLeftEvent, RoomMemberUpdatedEvent, RoomUpdatedEvent, SendMessageRequest, SendMessageResponse, SetParentRequest, SetRoomStateRequest, SetSpaceStateRequest, SpaceUpdatedEvent, SyncActorRequest, UpdateRoomRequest, UpdateSpaceRequest } from './dto';
|
|
1
|
+
import type { AddReactionRequest, AddReactionResponse, BaseResponse, BatchAddMemberRequest, BatchAddMemberResponse, BatchAddSpaceMemberRequest, BatchAddSpaceMemberResponse, BatchGetLastMessagesRequest, BatchGetLastMessagesResponse, BatchGetUnreadCountsRequest, BatchGetUnreadCountsResponse, BatchRemoveMemberRequest, BatchRemoveMemberResponse, BatchRemoveSpaceMemberRequest, BatchRemoveSpaceMemberResponse, CheckRoomRequest, CheckRoomResponse, CreateRoomRequest, CreateSpaceRequest, DMRequestedEvent, DeleteMessageRequest, DeleteRoomRequest, DeleteSpaceRequest, GetLastMessageRequest, GetLastMessageResponse, GetMessageRequest, GetMessageResponse, GetReactionRequest, GetReactionResponse, GetRoomAsUserRequest, GetRoomAsUserResponse, GetRoomInfoRequest, GetRoomInfoResponse, GetRoomMembersRequest, GetRoomMembersResponse, GetRoomRequest, GetRoomResponse, GetRoomStateRequest, GetRoomStateResponse, GetSpaceRequest, GetSpaceResponse, GetSpaceStateRequest, GetSpaceStateResponse, GetThreadMessagesRequest, GetThreadMessagesResponse, GetUnreadCountsRequest, GetUnreadCountsResponse, ListRoomsRequest, ListRoomsResponse, ListSpacesRequest, ListSpacesResponse, MarkMessageReadRequest, MessageEditedEvent, MessageReceivedPayload, MessageRedactedEvent, ReactionAddedEvent, ReactionRemovedEvent, ReadReceiptUpdatedEvent, RemoveReactionRequest, RoomCreatedEvent, RoomMemberLeftEvent, RoomMemberUpdatedEvent, RoomUpdatedEvent, SendMessageRequest, SendMessageResponse, SetParentRequest, SetRoomStateRequest, SetSpaceStateRequest, SpaceUpdatedEvent, SyncActorRequest, UpdateRoomRequest, UpdateSpaceRequest } from './dto';
|
|
2
2
|
export declare const Commands: {
|
|
3
3
|
readonly 'communication.actor.sync': {
|
|
4
4
|
readonly request: SyncActorRequest;
|
|
@@ -44,6 +44,10 @@ export declare const Commands: {
|
|
|
44
44
|
readonly request: BatchGetUnreadCountsRequest;
|
|
45
45
|
readonly response: BatchGetUnreadCountsResponse;
|
|
46
46
|
};
|
|
47
|
+
readonly 'communication.room.check': {
|
|
48
|
+
readonly request: CheckRoomRequest;
|
|
49
|
+
readonly response: CheckRoomResponse;
|
|
50
|
+
};
|
|
47
51
|
readonly 'communication.room.create': {
|
|
48
52
|
readonly request: CreateRoomRequest;
|
|
49
53
|
readonly response: BaseResponse;
|
|
@@ -60,6 +64,10 @@ export declare const Commands: {
|
|
|
60
64
|
readonly request: GetRoomAsUserRequest;
|
|
61
65
|
readonly response: GetRoomAsUserResponse;
|
|
62
66
|
};
|
|
67
|
+
readonly 'communication.room.info': {
|
|
68
|
+
readonly request: GetRoomInfoRequest;
|
|
69
|
+
readonly response: GetRoomInfoResponse;
|
|
70
|
+
};
|
|
63
71
|
readonly 'communication.room.last_message.get': {
|
|
64
72
|
readonly request: GetLastMessageRequest;
|
|
65
73
|
readonly response: GetLastMessageResponse;
|
package/dist/commands.js
CHANGED
|
@@ -46,6 +46,10 @@ exports.Commands = {
|
|
|
46
46
|
request: {},
|
|
47
47
|
response: {},
|
|
48
48
|
},
|
|
49
|
+
'communication.room.check': {
|
|
50
|
+
request: {},
|
|
51
|
+
response: {},
|
|
52
|
+
},
|
|
49
53
|
'communication.room.create': {
|
|
50
54
|
request: {},
|
|
51
55
|
response: {},
|
|
@@ -62,6 +66,10 @@ exports.Commands = {
|
|
|
62
66
|
request: {},
|
|
63
67
|
response: {},
|
|
64
68
|
},
|
|
69
|
+
'communication.room.info': {
|
|
70
|
+
request: {},
|
|
71
|
+
response: {},
|
|
72
|
+
},
|
|
65
73
|
'communication.room.last_message.get': {
|
|
66
74
|
request: {},
|
|
67
75
|
response: {},
|
package/dist/commands.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.js","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"commands.js","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":";;;AAiFa,QAAA,QAAQ,GAAG;IACtB,0BAA0B,EAAE;QAC1B,OAAO,EAAE,EAAsB;QAC/B,QAAQ,EAAE,EAAkB;KAC7B;IACD,oCAAoC,EAAE;QACpC,OAAO,EAAE,EAAsB;QAC/B,QAAQ,EAAE,EAAkB;KAC7B;IACD,8BAA8B,EAAE;QAC9B,OAAO,EAAE,EAA0B;QACnC,QAAQ,EAAE,EAAkB;KAC7B;IACD,2BAA2B,EAAE;QAC3B,OAAO,EAAE,EAAuB;QAChC,QAAQ,EAAE,EAAwB;KACnC;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAA4B;QACrC,QAAQ,EAAE,EAAkB;KAC7B;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAwB;QACjC,QAAQ,EAAE,EAAyB;KACpC;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAwB;QACjC,QAAQ,EAAE,EAAyB;KACpC;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAwB;QACjC,QAAQ,EAAE,EAAyB;KACpC;IACD,+BAA+B,EAAE;QAC/B,OAAO,EAAE,EAA2B;QACpC,QAAQ,EAAE,EAAkB;KAC7B;IACD,4CAA4C,EAAE;QAC5C,OAAO,EAAE,EAAiC;QAC1C,QAAQ,EAAE,EAAkC;KAC7C;IACD,4CAA4C,EAAE;QAC5C,OAAO,EAAE,EAAiC;QAC1C,QAAQ,EAAE,EAAkC;KAC7C;IACD,0BAA0B,EAAE;QAC1B,OAAO,EAAE,EAAsB;QAC/B,QAAQ,EAAE,EAAuB;KAClC;IACD,2BAA2B,EAAE;QAC3B,OAAO,EAAE,EAAuB;QAChC,QAAQ,EAAE,EAAkB;KAC7B;IACD,2BAA2B,EAAE;QAC3B,OAAO,EAAE,E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 +90,8 @@ export declare const TopicUnreadCountsGet = "communication.room.unread_counts.ge
|
|
|
90
90
|
export declare const TopicBatchUnreadCountsGet = "communication.room.batch.unread_counts.get";
|
|
91
91
|
export declare const TopicLastMessageGet = "communication.room.last_message.get";
|
|
92
92
|
export declare const TopicBatchLastMessagesGet = "communication.room.batch.last_messages.get";
|
|
93
|
+
export declare const TopicRoomCheck = "communication.room.check";
|
|
94
|
+
export declare const TopicRoomInfo = "communication.room.info";
|
|
93
95
|
export declare const TopicReadReceiptUpdated = "communication.room.receipt.updated";
|
|
94
96
|
export declare const TopicMessageEdited = "communication.message.edited";
|
|
95
97
|
export declare const TopicMessageRedacted = "communication.message.redacted";
|
|
@@ -398,6 +400,39 @@ export interface GetRoomAsUserResponse extends BaseResponse {
|
|
|
398
400
|
export interface MessageWithReadStateDto extends MessageDto {
|
|
399
401
|
is_read: boolean;
|
|
400
402
|
}
|
|
403
|
+
export interface CheckRoomHTTPRequest {
|
|
404
|
+
creator: string;
|
|
405
|
+
members: string[];
|
|
406
|
+
is_direct: boolean;
|
|
407
|
+
}
|
|
408
|
+
export interface CheckRoomHTTPResponse {
|
|
409
|
+
allow: boolean;
|
|
410
|
+
alkemio_room_id?: string;
|
|
411
|
+
reason?: string;
|
|
412
|
+
}
|
|
413
|
+
export interface CheckRoomRequest {
|
|
414
|
+
creator_actor_id: string;
|
|
415
|
+
member_actor_ids: string[];
|
|
416
|
+
is_direct: boolean;
|
|
417
|
+
}
|
|
418
|
+
export interface CheckRoomResponse {
|
|
419
|
+
allow: boolean;
|
|
420
|
+
alkemio_room_id?: string;
|
|
421
|
+
reason?: string;
|
|
422
|
+
}
|
|
423
|
+
export interface GetRoomInfoRequest {
|
|
424
|
+
alkemio_room_id: string;
|
|
425
|
+
}
|
|
426
|
+
export interface GetRoomInfoResponse {
|
|
427
|
+
alkemio_room_id: string;
|
|
428
|
+
type: string;
|
|
429
|
+
is_direct: boolean;
|
|
430
|
+
members: RoomInfoMember[];
|
|
431
|
+
}
|
|
432
|
+
export interface RoomInfoMember {
|
|
433
|
+
actor_id: string;
|
|
434
|
+
display_name: string;
|
|
435
|
+
}
|
|
401
436
|
export interface SpaceChildDto {
|
|
402
437
|
child_id: string;
|
|
403
438
|
is_space: boolean;
|
package/dist/dto/generated.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.JoinRuleRestricted = exports.JoinRuleInvite = exports.JoinRulePublic = exports.RoomTypeDirect = exports.RoomTypeCommunity = exports.ErrCodeNotAllowed = exports.ErrCodeInternalError = exports.ErrCodeMatrixError = exports.ErrCodeReactionNotFound = exports.ErrCodeMessageNotFound = void 0;
|
|
3
|
+
exports.ErrCodeRoomNotFound = exports.ErrCodeInvalidParam = exports.TopicSpaceUpdated = exports.TopicRoomUpdated = exports.TopicRoomMemberUpdated = exports.TopicRoomCreated = exports.TopicMessageRedacted = exports.TopicMessageEdited = exports.TopicReadReceiptUpdated = exports.TopicRoomInfo = exports.TopicRoomCheck = exports.TopicBatchLastMessagesGet = exports.TopicLastMessageGet = exports.TopicBatchUnreadCountsGet = exports.TopicUnreadCountsGet = exports.TopicMessageRead = exports.TopicThreadMessagesGet = exports.TopicRoomMembersGet = exports.TopicRoomMemberLeft = exports.TopicReactionRemoved = exports.TopicReactionAdded = exports.TopicRoomDMRequested = exports.TopicSpaceStateGet = exports.TopicSpaceStateSet = exports.TopicRoomStateGet = exports.TopicRoomStateSet = exports.TopicSpaceMemberBatchRemove = exports.TopicSpaceMemberBatchAdd = exports.TopicHierarchySetParent = exports.TopicSpaceList = exports.TopicSpaceDelete = exports.TopicSpaceUpdate = exports.TopicSpaceGet = exports.TopicSpaceCreate = exports.TopicActorSync = exports.TopicRoomMemberBatchRemove = exports.TopicRoomMemberBatchAdd = exports.TopicReactionGet = exports.TopicReactionRemove = exports.TopicReactionAdd = exports.TopicMessageReceived = exports.TopicMessageDelete = exports.TopicMessageGet = exports.TopicMessageSend = exports.TopicRoomList = exports.TopicRoomDelete = exports.TopicRoomUpdate = exports.TopicRoomGetAsUser = exports.TopicRoomGet = exports.TopicRoomCreate = void 0;
|
|
4
|
+
exports.JoinRuleRestricted = exports.JoinRuleInvite = exports.JoinRulePublic = exports.RoomTypeDirect = exports.RoomTypeCommunity = exports.ErrCodeNotAllowed = exports.ErrCodeInternalError = exports.ErrCodeMatrixError = exports.ErrCodeReactionNotFound = exports.ErrCodeMessageNotFound = exports.ErrCodeActorNotFound = exports.ErrCodeSpaceNotFound = void 0;
|
|
5
5
|
exports.TopicRoomCreate = "communication.room.create";
|
|
6
6
|
exports.TopicRoomGet = "communication.room.get";
|
|
7
7
|
exports.TopicRoomGetAsUser = "communication.room.get.as_user";
|
|
@@ -41,6 +41,8 @@ exports.TopicUnreadCountsGet = "communication.room.unread_counts.get";
|
|
|
41
41
|
exports.TopicBatchUnreadCountsGet = "communication.room.batch.unread_counts.get";
|
|
42
42
|
exports.TopicLastMessageGet = "communication.room.last_message.get";
|
|
43
43
|
exports.TopicBatchLastMessagesGet = "communication.room.batch.last_messages.get";
|
|
44
|
+
exports.TopicRoomCheck = "communication.room.check";
|
|
45
|
+
exports.TopicRoomInfo = "communication.room.info";
|
|
44
46
|
exports.TopicReadReceiptUpdated = "communication.room.receipt.updated";
|
|
45
47
|
exports.TopicMessageEdited = "communication.message.edited";
|
|
46
48
|
exports.TopicMessageRedacted = "communication.message.redacted";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated.js","sourceRoot":"","sources":["../../src/dto/generated.ts"],"names":[],"mappings":";;;;AAkHa,QAAA,eAAe,GAAG,2BAA2B,CAAC;AAI9C,QAAA,YAAY,GAAG,wBAAwB,CAAC;AAIxC,QAAA,kBAAkB,GAAG,gCAAgC,CAAC;AAItD,QAAA,eAAe,GAAG,2BAA2B,CAAC;AAI9C,QAAA,eAAe,GAAG,2BAA2B,CAAC;AAI9C,QAAA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gBAAgB,GAAG,4BAA4B,CAAC;AAIhD,QAAA,iBAAiB,GAAG,6BAA6B,CAAC;AAgElD,QAAA,mBAAmB,GAAc,eAAe,CAAC;AAIjD,QAAA,mBAAmB,GAAc,gBAAgB,CAAC;AAIlD,QAAA,oBAAoB,GAAc,iBAAiB,CAAC;AAIpD,QAAA,oBAAoB,GAAc,iBAAiB,CAAC;AAIpD,QAAA,sBAAsB,GAAc,mBAAmB,CAAC;AAIxD,QAAA,uBAAuB,GAAc,oBAAoB,CAAC;AAI1D,QAAA,kBAAkB,GAAc,cAAc,CAAC;AAI/C,QAAA,oBAAoB,GAAc,gBAAgB,CAAC;AAInD,QAAA,iBAAiB,GAAc,aAAa,CAAC;AA+tB7C,QAAA,iBAAiB,GAAa,WAAW,CAAC;AAI1C,QAAA,cAAc,GAAa,QAAQ,CAAC;AAQpC,QAAA,cAAc,GAAa,QAAQ,CAAC;AAIpC,QAAA,cAAc,GAAa,QAAQ,CAAC;AAIpC,QAAA,kBAAkB,GAAa,YAAY,CAAC"}
|
|
@@ -15,12 +15,14 @@ export declare enum MatrixAdapterEventType {
|
|
|
15
15
|
COMMUNICATION_REACTION_REMOVED = "communication.reaction.removed",
|
|
16
16
|
COMMUNICATION_ROOM_BATCH_LAST_MESSAGES_GET = "communication.room.batch.last_messages.get",
|
|
17
17
|
COMMUNICATION_ROOM_BATCH_UNREAD_COUNTS_GET = "communication.room.batch.unread_counts.get",
|
|
18
|
+
COMMUNICATION_ROOM_CHECK = "communication.room.check",
|
|
18
19
|
COMMUNICATION_ROOM_CREATE = "communication.room.create",
|
|
19
20
|
COMMUNICATION_ROOM_CREATED = "communication.room.created",
|
|
20
21
|
COMMUNICATION_ROOM_DELETE = "communication.room.delete",
|
|
21
22
|
COMMUNICATION_ROOM_DM_REQUESTED = "communication.room.dm.requested",
|
|
22
23
|
COMMUNICATION_ROOM_GET = "communication.room.get",
|
|
23
24
|
COMMUNICATION_ROOM_GET_AS_USER = "communication.room.get.as_user",
|
|
25
|
+
COMMUNICATION_ROOM_INFO = "communication.room.info",
|
|
24
26
|
COMMUNICATION_ROOM_LAST_MESSAGE_GET = "communication.room.last_message.get",
|
|
25
27
|
COMMUNICATION_ROOM_LIST = "communication.room.list",
|
|
26
28
|
COMMUNICATION_ROOM_MEMBERS_GET = "communication.room.members.get",
|
|
@@ -19,12 +19,14 @@ var MatrixAdapterEventType;
|
|
|
19
19
|
MatrixAdapterEventType["COMMUNICATION_REACTION_REMOVED"] = "communication.reaction.removed";
|
|
20
20
|
MatrixAdapterEventType["COMMUNICATION_ROOM_BATCH_LAST_MESSAGES_GET"] = "communication.room.batch.last_messages.get";
|
|
21
21
|
MatrixAdapterEventType["COMMUNICATION_ROOM_BATCH_UNREAD_COUNTS_GET"] = "communication.room.batch.unread_counts.get";
|
|
22
|
+
MatrixAdapterEventType["COMMUNICATION_ROOM_CHECK"] = "communication.room.check";
|
|
22
23
|
MatrixAdapterEventType["COMMUNICATION_ROOM_CREATE"] = "communication.room.create";
|
|
23
24
|
MatrixAdapterEventType["COMMUNICATION_ROOM_CREATED"] = "communication.room.created";
|
|
24
25
|
MatrixAdapterEventType["COMMUNICATION_ROOM_DELETE"] = "communication.room.delete";
|
|
25
26
|
MatrixAdapterEventType["COMMUNICATION_ROOM_DM_REQUESTED"] = "communication.room.dm.requested";
|
|
26
27
|
MatrixAdapterEventType["COMMUNICATION_ROOM_GET"] = "communication.room.get";
|
|
27
28
|
MatrixAdapterEventType["COMMUNICATION_ROOM_GET_AS_USER"] = "communication.room.get.as_user";
|
|
29
|
+
MatrixAdapterEventType["COMMUNICATION_ROOM_INFO"] = "communication.room.info";
|
|
28
30
|
MatrixAdapterEventType["COMMUNICATION_ROOM_LAST_MESSAGE_GET"] = "communication.room.last_message.get";
|
|
29
31
|
MatrixAdapterEventType["COMMUNICATION_ROOM_LIST"] = "communication.room.list";
|
|
30
32
|
MatrixAdapterEventType["COMMUNICATION_ROOM_MEMBERS_GET"] = "communication.room.members.get";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matrix.adapter.event.type.js","sourceRoot":"","sources":["../src/matrix.adapter.event.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"matrix.adapter.event.type.js","sourceRoot":"","sources":["../src/matrix.adapter.event.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAmDX;AAnDD,WAAY,sBAAsB;IAEhC,+EAAqD,CAAA;IACrD,mGAAyE,CAAA;IACzE,uFAA6D,CAAA;IAC7D,uFAA6D,CAAA;IAC7D,iFAAuD,CAAA;IACvD,mFAAyD,CAAA;IACzD,2FAAiE,CAAA;IACjE,2FAAiE,CAAA;IACjE,mFAAyD,CAAA;IACzD,mFAAyD,CAAA;IACzD,uFAA6D,CAAA;IAC7D,mFAAyD,CAAA;IACzD,yFAA+D,CAAA;IAC/D,2FAAiE,CAAA;IACjE,mHAAyF,CAAA;IACzF,mHAAyF,CAAA;IACzF,+EAAqD,CAAA;IACrD,iFAAuD,CAAA;IACvD,mFAAyD,CAAA;IACzD,iFAAuD,CAAA;IACvD,6FAAmE,CAAA;IACnE,2EAAiD,CAAA;IACjD,2FAAiE,CAAA;IACjE,6EAAmD,CAAA;IACnD,qGAA2E,CAAA;IAC3E,6EAAmD,CAAA;IACnD,2FAAiE,CAAA;IACjE,qGAA2E,CAAA;IAC3E,2GAAiF,CAAA;IACjF,2FAAiE,CAAA;IACjE,iGAAuE,CAAA;IACvE,mGAAyE,CAAA;IACzE,uFAA6D,CAAA;IAC7D,uFAA6D,CAAA;IAC7D,uGAA6E,CAAA;IAC7E,iFAAuD,CAAA;IACvD,mFAAyD,CAAA;IACzD,mFAAyD,CAAA;IACzD,mFAAyD,CAAA;IACzD,6EAAmD,CAAA;IACnD,+EAAqD,CAAA;IACrD,uGAA6E,CAAA;IAC7E,6GAAmF,CAAA;IACnF,yFAA+D,CAAA;IAC/D,yFAA+D,CAAA;IAC/D,mFAAyD,CAAA;IACzD,qFAA2D,CAAA;IAC3D,iGAAuE,CAAA;AAEzE,CAAC,EAnDW,sBAAsB,sCAAtB,sBAAsB,QAmDjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alkemio/matrix-adapter-lib",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.17",
|
|
4
4
|
"description": "Library for interacting with Alkemio Matrix Adapter service",
|
|
5
5
|
"author": "Alkemio Foundation",
|
|
6
6
|
"private": false,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/alkem-io/matrix-adapter
|
|
12
|
+
"url": "git+https://github.com/alkem-io/matrix-adapter.git"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@types/node": "^22.18.13",
|