workwonders-sdk 0.4.0 → 0.4.1
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/workwonders.js +6 -6
- package/package.json +1 -1
package/dist/workwonders.js
CHANGED
|
@@ -3,14 +3,14 @@ import { OrganizationDtoAccessLevel } from "./types/organizationDtoAccessLevel";
|
|
|
3
3
|
import { ChangelogModule } from "./changelog-module";
|
|
4
4
|
import { FeedbackModule } from "./feedback-module";
|
|
5
5
|
import { KnowledgeModule } from "./knowledge-module";
|
|
6
|
-
const workwondersUrl = new URL(typeof "
|
|
7
|
-
? "
|
|
6
|
+
const workwondersUrl = new URL(typeof "https://workwonders.app" === "string"
|
|
7
|
+
? "https://workwonders.app"
|
|
8
8
|
: "https://workwonders.app");
|
|
9
|
-
const workwondersApiUrl = new URL(typeof "
|
|
10
|
-
? "
|
|
9
|
+
const workwondersApiUrl = new URL(typeof "https://api.workwonders.app/widgets" === "string"
|
|
10
|
+
? "https://api.workwonders.app/widgets"
|
|
11
11
|
: "https://api.workwonders.app/widgets");
|
|
12
|
-
const workwondersSdkUrl = new URL(typeof "
|
|
13
|
-
? "
|
|
12
|
+
const workwondersSdkUrl = new URL(typeof "https://sdk.workwonders.app" === "string"
|
|
13
|
+
? "https://sdk.workwonders.app"
|
|
14
14
|
: "https://sdk.workwonders.app");
|
|
15
15
|
export class WorkWonders {
|
|
16
16
|
ky = ky.create({
|