@spoketech/hub-client 0.1.13 → 0.1.15
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/README.md +5 -2
- package/dist/index.d.ts +5439 -965
- package/dist/index.js +274 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -70,6 +70,9 @@ if (memberError !== null) {
|
|
|
70
70
|
throw memberError;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
// Every member response mode includes the latest confirmed source lifecycle observation.
|
|
74
|
+
console.log(member.sourceStatus, member.sourceStatusObservedAt);
|
|
75
|
+
|
|
73
76
|
const [guests, guestsError] = await client.guests.list({
|
|
74
77
|
organizationId: "org_123",
|
|
75
78
|
name: "Jane",
|
|
@@ -191,10 +194,10 @@ If you do want the raw Effect client, `makeHubApiClient` and `makeServiceHubApiC
|
|
|
191
194
|
|
|
192
195
|
## Onsite Source Writes
|
|
193
196
|
|
|
194
|
-
For Odyssey Gaming
|
|
197
|
+
For onsite-backed member sources such as Odyssey Gaming and eBet ARC, supported member operations and onsite voucher issuing are command requests, not direct Hub-to-upstream API calls.
|
|
195
198
|
|
|
196
199
|
- The Hub publishes a command to the configured onsite agent through AWS IoT Core.
|
|
197
|
-
- The onsite agent runs on the venue network, calls
|
|
200
|
+
- The onsite agent runs on the venue network, calls the upstream venue API from the onsite IP, and then posts the result back to Hub through the completion endpoints.
|
|
198
201
|
- The `onsiteCalls.callOnsiteResource` endpoint and onsite resource wrapper wait briefly for completion, then return the accepted command if the onsite client is still working.
|
|
199
202
|
|
|
200
203
|
Relevant configuration:
|