@wix/realtime 0.1.8 → 0.1.9

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.
@@ -26,7 +26,7 @@
26
26
  "fileName": "src/site/index.ts",
27
27
  "line": 6,
28
28
  "character": 6,
29
- "url": "https://github.com/wix-private/wix-sdk-realtime/blob/6b72d43/packages/realtime/src/site/index.ts#L6"
29
+ "url": "https://github.com/wix-private/wix-sdk-realtime/blob/4be1697/packages/realtime/src/site/index.ts#L6"
30
30
  }
31
31
  ],
32
32
  "type": {
@@ -51,7 +51,7 @@
51
51
  "fileName": "src/site/index.ts",
52
52
  "line": 7,
53
53
  "character": 6,
54
- "url": "https://github.com/wix-private/wix-sdk-realtime/blob/6b72d43/packages/realtime/src/site/index.ts#L7"
54
+ "url": "https://github.com/wix-private/wix-sdk-realtime/blob/4be1697/packages/realtime/src/site/index.ts#L7"
55
55
  }
56
56
  ],
57
57
  "signatures": [
@@ -66,7 +66,7 @@
66
66
  "fileName": "src/site/types.ts",
67
67
  "line": 27,
68
68
  "character": 24,
69
- "url": "https://github.com/wix-private/wix-sdk-realtime/blob/6b72d43/packages/realtime/src/site/types.ts#L27"
69
+ "url": "https://github.com/wix-private/wix-sdk-realtime/blob/4be1697/packages/realtime/src/site/types.ts#L27"
70
70
  }
71
71
  ],
72
72
  "parameters": [
@@ -154,7 +154,7 @@
154
154
  "fileName": "src/site/index.ts",
155
155
  "line": 1,
156
156
  "character": 0,
157
- "url": "https://github.com/wix-private/wix-sdk-realtime/blob/6b72d43/packages/realtime/src/site/index.ts#L1"
157
+ "url": "https://github.com/wix-private/wix-sdk-realtime/blob/4be1697/packages/realtime/src/site/index.ts#L1"
158
158
  }
159
159
  ]
160
160
  }
@@ -174,11 +174,11 @@
174
174
  "/": [
175
175
  {
176
176
  "type": "GUIDE",
177
- "title": "Introduction(test)",
177
+ "title": "Introduction",
178
178
  "src": "# Introduction\nUsing the Realtime API you can create channels and channel resources where messages\n can be published. Site visitors who subscribe to a channel receive the published\n messages published to that channel. When a message is received you can handle the message any\n way you choose, such as displaying the contents of the message or changing the state\n of page elements depending on the contents of the message. You can also manage the\n permissions of who can read from specific channels.\n\n The `wix-realtime-backend` module is used in conjunction with the \n [`wix-realtime-frontend`](wix-realtime-frontend.html) module.\n\n Get hands-on experience with the Realtime API on our [Hello Realtime](https://www.wix.com/velo/example/hello-realtime) example page. \n\n Typical uses of the Realtime API include implementing a messaging system or\n as an alternative to using a polling mechanism.\n\n The Realtime API uses the following terminology:\n\n + **Channel**: A specific channel on which messages are published. Each channel\n has a unique name. Site visitors can subscribe to a channel to receive the \n messages that are published on it. When site visitors subscribe to a channel, they do not \n receive messages published to a resource on that same channel.\n + **Channel resource**: A subchannel on which messages are published. Subchannels\n can share a name with a channel and other subchannels, but they have a unique\n resource ID. When site visitors subscribe to a channel resource, they do not \n receive messages published to that same channel without a specified resource.\n Channel resources inherit their parent channel's permissions, unless specified\n otherwise.\n + **Message**: A message published on a channel or channel resource. A message can\n be of any type, such as a string, number, or object. Channel subscribers receive\n the messages published on the channel.\n + **Publish**: Sending a message over a channel or channel resource.\n + **Subscribe**: A site visitor subscribes to receive the messages published on a \n channel or channel resource.\n + **Permissions router**: The permissions router is used to define the permissions\n you want to grant to subscribers on channels and channel resources.\n + **Permissions handler**: Handles a permissions check for a specific user on a \n specific channel or channel resource.\n \n For a tutorial on using the Realtime API, see \n [Sending Messages with the Realtime API](https://support.wix.com/en/article/velo-tutorial-sending-messages-with-the-realtime-api).\n\n To use the Realtime API in the backend, import `wixRealtimeBackend` from the `wix-realtime-backend` module:\n\n ```javascript\n import wixRealtimeBackend from 'wix-realtime-backend';\n ```"
179
179
  }
180
180
  ],
181
- "/Site/publish": [
181
+ "/site/publish": [
182
182
  {
183
183
  "type": "EXAMPLE",
184
184
  "title": "Publish to a channel",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/realtime",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "license": "MIT",
5
5
  "main": "cjs/build/index.js",
6
6
  "module": "build/index.mjs",
@@ -58,5 +58,5 @@
58
58
  ]
59
59
  }
60
60
  },
61
- "falconPackageHash": "8c7a623a02fbce82ee12a3f4a3949f394ce9d6682f4517819a03afd6"
61
+ "falconPackageHash": "8ee7e7e29e13a6707c8a92995d6a909daaa679bd8e495c286beb37a8"
62
62
  }