@bambuser/n8n-nodes-livecommerce 0.1.0 → 0.1.2
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.
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RESOLVE_ORIGIN_EXPRESSION = exports.resolveOrigin = void 0;
|
|
4
|
+
// Region URLs per the public Bambuser REST API docs. The "US" region resolves to
|
|
5
|
+
// the documented Global base URL — used by dashboards on lcx.bambuser.com — since
|
|
6
|
+
// no separate liveshopping-api-us.bambuser.com host exists.
|
|
4
7
|
const ORIGIN_BY_REGION = {
|
|
5
8
|
eu: 'https://liveshopping-api-eu.bambuser.com',
|
|
6
|
-
us: 'https://liveshopping-api
|
|
9
|
+
us: 'https://liveshopping-api.bambuser.com',
|
|
7
10
|
};
|
|
8
11
|
const resolveOrigin = (baseUrl, region) => (baseUrl || ORIGIN_BY_REGION[region] || ORIGIN_BY_REGION.eu).replace(/\/$/, '');
|
|
9
12
|
exports.resolveOrigin = resolveOrigin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bambuser/n8n-nodes-livecommerce",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "n8n nodes for the Bambuser Live Commerce platform — live shopping, video on demand, calls, product catalog, shopper data, and webhook triggers. Free Bambuser account at https://bambuser.com.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"author": {
|
|
25
25
|
"name": "Bambuser",
|
|
26
|
+
"email": "kristoffer.carlson@bambuser.com",
|
|
26
27
|
"url": "https://bambuser.com"
|
|
27
28
|
},
|
|
28
29
|
"engines": {
|