@wix/realtime 1.0.44 → 1.0.46

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.
@@ -39,7 +39,8 @@ import type { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
39
39
  * @requiredField channel
40
40
  * @param payload - Message payload. Max: 10 KB.
41
41
  * @requiredField payload
42
- * @permissionId realtime:v4:message:publish
42
+ * @permissionScope Publish Realtime Messages
43
+ * @permissionScopeId SCOPE.API_INFRA.REALTIME_PUBLISH
43
44
  * @fqn com.wix.realtime.v4.DuplexerApiV4.Publish
44
45
  */
45
46
  export declare const publish: MaybeContext<BuildRESTFunction<typeof publicPublish> & typeof publicPublish>;
@@ -42,7 +42,8 @@ const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
42
42
  * @requiredField channel
43
43
  * @param payload - Message payload. Max: 10 KB.
44
44
  * @requiredField payload
45
- * @permissionId realtime:v4:message:publish
45
+ * @permissionScope Publish Realtime Messages
46
+ * @permissionScopeId SCOPE.API_INFRA.REALTIME_PUBLISH
46
47
  * @fqn com.wix.realtime.v4.DuplexerApiV4.Publish
47
48
  */
48
49
  exports.publish = (0, rest_modules_1.createRESTModule)(publisher_public_js_1.publish);
@@ -87,11 +87,20 @@
87
87
  ]
88
88
  },
89
89
  {
90
- "tag": "@permissionId",
90
+ "tag": "@permissionScope",
91
91
  "content": [
92
92
  {
93
93
  "kind": "text",
94
- "text": "realtime:v4:message:publish"
94
+ "text": "Publish Realtime Messages"
95
+ }
96
+ ]
97
+ },
98
+ {
99
+ "tag": "@permissionScopeId",
100
+ "content": [
101
+ {
102
+ "kind": "text",
103
+ "text": "SCOPE.API_INFRA.REALTIME_PUBLISH"
95
104
  }
96
105
  ]
97
106
  },
@@ -238,11 +247,20 @@
238
247
  ]
239
248
  },
240
249
  {
241
- "tag": "@permissionId",
250
+ "tag": "@permissionScope",
251
+ "content": [
252
+ {
253
+ "kind": "text",
254
+ "text": "Publish Realtime Messages"
255
+ }
256
+ ]
257
+ },
258
+ {
259
+ "tag": "@permissionScopeId",
242
260
  "content": [
243
261
  {
244
262
  "kind": "text",
245
- "text": "realtime:v4:message:publish"
263
+ "text": "SCOPE.API_INFRA.REALTIME_PUBLISH"
246
264
  }
247
265
  ]
248
266
  },
@@ -39,7 +39,8 @@ import type { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
39
39
  * @requiredField channel
40
40
  * @param payload - Message payload. Max: 10 KB.
41
41
  * @requiredField payload
42
- * @permissionId realtime:v4:message:publish
42
+ * @permissionScope Publish Realtime Messages
43
+ * @permissionScopeId SCOPE.API_INFRA.REALTIME_PUBLISH
43
44
  * @fqn com.wix.realtime.v4.DuplexerApiV4.Publish
44
45
  */
45
46
  export declare const publish: MaybeContext<BuildRESTFunction<typeof publicPublish> & typeof publicPublish>;
@@ -39,7 +39,8 @@ import { createRESTModule } from '@wix/sdk-runtime/rest-modules';
39
39
  * @requiredField channel
40
40
  * @param payload - Message payload. Max: 10 KB.
41
41
  * @requiredField payload
42
- * @permissionId realtime:v4:message:publish
42
+ * @permissionScope Publish Realtime Messages
43
+ * @permissionScopeId SCOPE.API_INFRA.REALTIME_PUBLISH
43
44
  * @fqn com.wix.realtime.v4.DuplexerApiV4.Publish
44
45
  */
45
46
  export const publish = /*#__PURE__*/ createRESTModule(publicPublish);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/realtime",
3
- "version": "1.0.44",
3
+ "version": "1.0.46",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -48,7 +48,7 @@
48
48
  "@wix/sdk": "^1.21.4",
49
49
  "@wix/sdk-runtime": "^1.0.9",
50
50
  "@wix/sdk-types": "^1.17.5",
51
- "@wix/sdk_realtime_site": "1.0.34",
51
+ "@wix/sdk_realtime_site": "1.0.35",
52
52
  "uuid": "^11.1.0"
53
53
  },
54
54
  "devDependencies": {
@@ -72,5 +72,5 @@
72
72
  "isRootPublicSdk": true
73
73
  }
74
74
  },
75
- "falconPackageHash": "8a8c30c705ab5222a4ca7b3601b86dc7340a19f9df8c08d419dc65cf"
75
+ "falconPackageHash": "dd2be6f5c00f1549f81637c9949a103ccb60fa0cd8161ae4a21f61c6"
76
76
  }