wirejs-deploy-amplify-basic 0.0.99-realtime → 0.0.100-realtime
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.
|
@@ -151,7 +151,7 @@ if (generated.some(isRealtimeService)) {
|
|
|
151
151
|
// map this?
|
|
152
152
|
// Longer term: Secrets will be stored either in DDB, parameter store, something
|
|
153
153
|
// else that is more appropriate than S3.
|
|
154
|
-
bucket.
|
|
154
|
+
bucket.grantReadWrite(realtime.authHandler);
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
/**
|
|
@@ -50,7 +50,7 @@ export class RealtimeService extends Resource {
|
|
|
50
50
|
* The address the client will need to connect to.
|
|
51
51
|
*/
|
|
52
52
|
get address() {
|
|
53
|
-
return `wss://${process.env.REALTIME_WS_DOMAIN}/event`;
|
|
53
|
+
return `wss://${process.env.REALTIME_WS_DOMAIN}/event/realtime`;
|
|
54
54
|
}
|
|
55
55
|
async publish(channel, data) {
|
|
56
56
|
this.#validateChannelName(channel);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wirejs-deploy-amplify-basic",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.100-realtime",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"recursive-copy": "^2.0.14",
|
|
42
42
|
"rimraf": "^6.0.1",
|
|
43
43
|
"wirejs-dom": "^1.0.41",
|
|
44
|
-
"wirejs-resources": "^0.1.
|
|
44
|
+
"wirejs-resources": "^0.1.68-realtime"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@aws-amplify/backend": "^1.14.0",
|