@casual-simulation/aux-websocket-aws 3.2.7-alpha.6226622763
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/ApiGatewayWebsocketConnectionClient.d.ts +27 -0
- package/ApiGatewayWebsocketConnectionClient.js +151 -0
- package/ApiGatewayWebsocketConnectionClient.js.map +1 -0
- package/LICENSE.txt +21 -0
- package/README.md +3 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/package.json +46 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ReconnectableSocketInterface } from '@casual-simulation/websocket';
|
|
3
|
+
import { ClientConnectionState, ConnectionClient, ConnectionInfo, WebsocketMessage } from '@casual-simulation/aux-common';
|
|
4
|
+
export declare const MAX_MESSAGE_SIZE = 32000;
|
|
5
|
+
export declare class ApiGatewayWebsocketConnectionClient implements ConnectionClient {
|
|
6
|
+
private _socket;
|
|
7
|
+
private _connectionStateChanged;
|
|
8
|
+
private _onMessage;
|
|
9
|
+
private _requestCounter;
|
|
10
|
+
/**
|
|
11
|
+
* A map of upload IDs to the data that should be uploaded.
|
|
12
|
+
*/
|
|
13
|
+
private _pendingUploads;
|
|
14
|
+
get info(): ConnectionInfo;
|
|
15
|
+
event<T>(name: string): Observable<T>;
|
|
16
|
+
disconnect(): void;
|
|
17
|
+
connect(): void;
|
|
18
|
+
send(message: WebsocketMessage): void;
|
|
19
|
+
constructor(socket: ReconnectableSocketInterface);
|
|
20
|
+
get connectionState(): Observable<ClientConnectionState>;
|
|
21
|
+
get isConnected(): boolean;
|
|
22
|
+
private _handleUploadResponse;
|
|
23
|
+
private _handleDownloadRequest;
|
|
24
|
+
private _handleMessageData;
|
|
25
|
+
private _emitMessage;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=ApiGatewayWebsocketConnectionClient.d.ts.map
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { BehaviorSubject, Subject, merge, } from 'rxjs';
|
|
11
|
+
import { map, tap, concatMap, filter, } from 'rxjs/operators';
|
|
12
|
+
import { WebsocketEventTypes, } from '@casual-simulation/aux-common';
|
|
13
|
+
import axios from 'axios';
|
|
14
|
+
export const MAX_MESSAGE_SIZE = 32000;
|
|
15
|
+
export class ApiGatewayWebsocketConnectionClient {
|
|
16
|
+
get info() {
|
|
17
|
+
return this._connectionStateChanged.value.info;
|
|
18
|
+
}
|
|
19
|
+
event(name) {
|
|
20
|
+
return this._onMessage.pipe(filter((message) => message.type === name));
|
|
21
|
+
}
|
|
22
|
+
disconnect() {
|
|
23
|
+
this._socket.close();
|
|
24
|
+
}
|
|
25
|
+
connect() {
|
|
26
|
+
this._socket.open();
|
|
27
|
+
}
|
|
28
|
+
send(message) {
|
|
29
|
+
this._requestCounter++;
|
|
30
|
+
let event = [
|
|
31
|
+
WebsocketEventTypes.Message,
|
|
32
|
+
this._requestCounter,
|
|
33
|
+
message,
|
|
34
|
+
];
|
|
35
|
+
const data = JSON.stringify(event);
|
|
36
|
+
// TODO: Calculate the real message size instead of just assuming that
|
|
37
|
+
// each character is 1 byte
|
|
38
|
+
if (data.length > MAX_MESSAGE_SIZE) {
|
|
39
|
+
// Request upload
|
|
40
|
+
const uploadRequest = [
|
|
41
|
+
WebsocketEventTypes.UploadRequest,
|
|
42
|
+
this._requestCounter,
|
|
43
|
+
];
|
|
44
|
+
this._pendingUploads.set(uploadRequest[1], message);
|
|
45
|
+
this._socket.send(JSON.stringify(uploadRequest));
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
this._socket.send(data);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
constructor(socket) {
|
|
52
|
+
this._onMessage = new Subject();
|
|
53
|
+
/**
|
|
54
|
+
* A map of upload IDs to the data that should be uploaded.
|
|
55
|
+
*/
|
|
56
|
+
this._pendingUploads = new Map();
|
|
57
|
+
this._socket = socket;
|
|
58
|
+
this._connectionStateChanged =
|
|
59
|
+
new BehaviorSubject({
|
|
60
|
+
connected: false,
|
|
61
|
+
info: null,
|
|
62
|
+
});
|
|
63
|
+
const connected = this._socket.onOpen.pipe(tap(() => console.log('[ApiaryConnectionClient] Connected.')), map(() => ({
|
|
64
|
+
connected: false,
|
|
65
|
+
info: null,
|
|
66
|
+
})));
|
|
67
|
+
const disconnected = this._socket.onClose.pipe(tap((reason) => console.log('[SocketManger] Disconnected. Reason:', reason)), map(() => ({
|
|
68
|
+
connected: false,
|
|
69
|
+
info: null,
|
|
70
|
+
})));
|
|
71
|
+
merge(connected, disconnected).subscribe(this._connectionStateChanged);
|
|
72
|
+
this._socket.onMessage
|
|
73
|
+
.pipe(concatMap((e) => {
|
|
74
|
+
const event = typeof e.data === 'string'
|
|
75
|
+
? JSON.parse(e.data)
|
|
76
|
+
: e.data;
|
|
77
|
+
if (event[0] === WebsocketEventTypes.UploadResponse) {
|
|
78
|
+
return this._handleUploadResponse(event);
|
|
79
|
+
}
|
|
80
|
+
else if (event[0] === WebsocketEventTypes.DownloadRequest) {
|
|
81
|
+
return this._handleDownloadRequest(event);
|
|
82
|
+
}
|
|
83
|
+
else if (event[0] === WebsocketEventTypes.Message) {
|
|
84
|
+
return this._handleMessageData(event);
|
|
85
|
+
}
|
|
86
|
+
}))
|
|
87
|
+
.subscribe();
|
|
88
|
+
}
|
|
89
|
+
get connectionState() {
|
|
90
|
+
return this._connectionStateChanged;
|
|
91
|
+
}
|
|
92
|
+
get isConnected() {
|
|
93
|
+
return this._connectionStateChanged.value.connected;
|
|
94
|
+
}
|
|
95
|
+
_handleUploadResponse(message) {
|
|
96
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
97
|
+
try {
|
|
98
|
+
const [type, id, uploadUrl, uploadMethod, uploadHeaders] = message;
|
|
99
|
+
const pendingData = this._pendingUploads.get(id);
|
|
100
|
+
if (pendingData) {
|
|
101
|
+
this._pendingUploads.delete(id);
|
|
102
|
+
yield axios.request({
|
|
103
|
+
url: uploadUrl,
|
|
104
|
+
method: uploadMethod,
|
|
105
|
+
data: JSON.stringify(pendingData),
|
|
106
|
+
headers: Object.assign({ 'Content-Type': 'application/json', 'x-amz-acl': 'bucket-owner-full-control' }, uploadHeaders),
|
|
107
|
+
});
|
|
108
|
+
this._requestCounter++;
|
|
109
|
+
const downloadRequest = [
|
|
110
|
+
WebsocketEventTypes.DownloadRequest,
|
|
111
|
+
this._requestCounter,
|
|
112
|
+
getDownloadUrl(uploadUrl),
|
|
113
|
+
'GET',
|
|
114
|
+
{},
|
|
115
|
+
];
|
|
116
|
+
this._socket.send(JSON.stringify(downloadRequest));
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
catch (err) {
|
|
120
|
+
console.error('[AwsSocket] Failed to upload message.', err);
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
_handleDownloadRequest(message) {
|
|
125
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
126
|
+
try {
|
|
127
|
+
const [type, id, url, method, headers] = message;
|
|
128
|
+
const response = yield axios.request({
|
|
129
|
+
url: url,
|
|
130
|
+
method: method,
|
|
131
|
+
headers: headers,
|
|
132
|
+
});
|
|
133
|
+
this._emitMessage(response.data);
|
|
134
|
+
}
|
|
135
|
+
catch (err) {
|
|
136
|
+
console.error('[AwsSocket] Failed to download message.', err);
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
_handleMessageData(message) {
|
|
141
|
+
this._emitMessage(message[2]);
|
|
142
|
+
}
|
|
143
|
+
_emitMessage(data) {
|
|
144
|
+
this._onMessage.next(data);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
function getDownloadUrl(uploadUrl) {
|
|
148
|
+
const url = new URL(uploadUrl);
|
|
149
|
+
return `${url.origin}${url.pathname}`;
|
|
150
|
+
}
|
|
151
|
+
//# sourceMappingURL=ApiGatewayWebsocketConnectionClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiGatewayWebsocketConnectionClient.js","sourceRoot":"","sources":["ApiGatewayWebsocketConnectionClient.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAGH,eAAe,EACf,OAAO,EACP,KAAK,GAER,MAAM,MAAM,CAAC;AACd,OAAO,EACH,GAAG,EACH,GAAG,EACH,SAAS,EAKT,MAAM,GACT,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EAMH,mBAAmB,GAOtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAiB,MAAM,OAAO,CAAC;AAEtC,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAM,CAAC;AAEvC,MAAM,OAAO,mCAAmC;IAW5C,IAAI,IAAI;QACJ,OAAO,IAAI,CAAC,uBAAuB,CAAC,KAAK,CAAC,IAAI,CAAC;IACnD,CAAC;IAED,KAAK,CAAI,IAAY;QACjB,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CACvB,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,IAAI,CAAC,CAC5B,CAAC;IACvB,CAAC;IAED,UAAU;QACN,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IACzB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;IACxB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,OAAO,EAAE,OAAO;iBACnB,CAAC,CAAC;gBAEH,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAwB,CAAC,CAAC;aACxD;YAAC,OAAO,GAAG,EAAE;gBACV,OAAO,CAAC,KAAK,CAAC,yCAAyC,EAAE,GAAG,CAAC,CAAC;aACjE;QACL,CAAC;KAAA;IAEO,kBAAkB,CAAC,OAA8B;QACrD,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IAClC,CAAC;IAEO,YAAY,CAAC,IAAsB;QACvC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;CACJ;AAED,SAAS,cAAc,CAAC,SAAiB;IACrC,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC,CAAC;IAC/B,OAAO,GAAG,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,QAAQ,EAAE,CAAC;AAC1C,CAAC"}
|
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Casual Simulation, Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
package/index.d.ts
ADDED
package/index.js
ADDED
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@casual-simulation/aux-websocket-aws",
|
|
3
|
+
"version": "3.2.7-alpha.6226622763",
|
|
4
|
+
"description": "AWS API Gateway Websocket integration with AUX services",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"author": "Casual Simulation, Inc.",
|
|
7
|
+
"homepage": "https://github.com/casual-simulation/casualos",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"main": "index.js",
|
|
10
|
+
"types": "index.d.ts",
|
|
11
|
+
"module": "index",
|
|
12
|
+
"directories": {
|
|
13
|
+
"lib": "."
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"/README.md",
|
|
17
|
+
"/LICENSE.txt",
|
|
18
|
+
"**/*.js",
|
|
19
|
+
"**/*.js.map",
|
|
20
|
+
"**/*.d.ts"
|
|
21
|
+
],
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/casual-simulation/casualos.git"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"watch": "tsc --watch",
|
|
28
|
+
"watch:player": "npm run watch",
|
|
29
|
+
"build": "echo \"Nothing to do.\"",
|
|
30
|
+
"test": "jest",
|
|
31
|
+
"test:watch": "jest --watchAll"
|
|
32
|
+
},
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/casual-simulation/casualos/issues"
|
|
35
|
+
},
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@casual-simulation/aux-common": "^3.2.7-alpha.6226622763",
|
|
41
|
+
"@casual-simulation/websocket": "^3.1.11",
|
|
42
|
+
"axios": "0.25.0",
|
|
43
|
+
"rxjs": "7.5.7"
|
|
44
|
+
},
|
|
45
|
+
"gitHead": "90c8d333924255b93b9654dc100fc74181b6138b"
|
|
46
|
+
}
|