@bundleup/sdk 0.0.4 → 0.0.6
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/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -158,7 +158,7 @@ var Request = class {
|
|
|
158
158
|
constructor(apiKey, connectionId) {
|
|
159
159
|
this.apiKey = apiKey;
|
|
160
160
|
this.connectionId = connectionId;
|
|
161
|
-
this.baseUrl = "https://
|
|
161
|
+
this.baseUrl = "https://req.bundleup.io";
|
|
162
162
|
}
|
|
163
163
|
get headers() {
|
|
164
164
|
return {
|
|
@@ -277,7 +277,7 @@ var Chat = class {
|
|
|
277
277
|
}
|
|
278
278
|
return this.req.post(
|
|
279
279
|
"/",
|
|
280
|
-
{ channelId, content },
|
|
280
|
+
{ channel_id: channelId, content },
|
|
281
281
|
{ "BU-Method": "chat.message" }
|
|
282
282
|
);
|
|
283
283
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -132,7 +132,7 @@ var Request = class {
|
|
|
132
132
|
constructor(apiKey, connectionId) {
|
|
133
133
|
this.apiKey = apiKey;
|
|
134
134
|
this.connectionId = connectionId;
|
|
135
|
-
this.baseUrl = "https://
|
|
135
|
+
this.baseUrl = "https://req.bundleup.io";
|
|
136
136
|
}
|
|
137
137
|
get headers() {
|
|
138
138
|
return {
|
|
@@ -251,7 +251,7 @@ var Chat = class {
|
|
|
251
251
|
}
|
|
252
252
|
return this.req.post(
|
|
253
253
|
"/",
|
|
254
|
-
{ channelId, content },
|
|
254
|
+
{ channel_id: channelId, content },
|
|
255
255
|
{ "BU-Method": "chat.message" }
|
|
256
256
|
);
|
|
257
257
|
}
|