@nibgate/sdk 0.2.2 → 0.2.4
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/SKILL.md +9 -0
- package/dist/nibgate.js +24 -4
- package/dist/nibgate.js.map +2 -2
- package/dist/nibgate.min.js +2 -2
- package/dist/nibgate.min.js.map +3 -3
- package/package.json +1 -1
- package/src/core/resource.js +29 -4
- package/src/server/hub.js +1 -1
package/src/server/hub.js
CHANGED
|
@@ -12,7 +12,7 @@ export async function emitHubEvent(event, resourceInput, options = {}) {
|
|
|
12
12
|
return { skipped: true, reason: 'Missing NIBGATE_SITE_ID or NIBGATE_SITE_TOKEN' };
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
const response = await fetch(`${apiBaseUrl}/api/hub/
|
|
15
|
+
const response = await fetch(`${apiBaseUrl}/api/hub/evt`, {
|
|
16
16
|
method: 'POST',
|
|
17
17
|
headers: {
|
|
18
18
|
'content-type': 'application/json',
|