@blizzard-api/wow 0.1.0 → 0.1.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/README.md +2 -2
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,10 +40,10 @@ type AchievementResponse = ExtractResourceType<typeof achievement>;
|
|
|
40
40
|
While this package is made to function on it's own, it performs even better when combined with `@blizzard-api/client` where you can easily request data combining the two libraries.
|
|
41
41
|
|
|
42
42
|
```ts
|
|
43
|
-
import {
|
|
43
|
+
import { createBlizzardApiClient } from '@blizzard-api/client';
|
|
44
44
|
import { wow } from '@blizzard-api/wow';
|
|
45
45
|
|
|
46
|
-
const client =
|
|
46
|
+
const client = await createBlizzardApiClient({
|
|
47
47
|
key: 'environment.blizzardClientId',
|
|
48
48
|
secret: 'environment.blizzardClientSecret',
|
|
49
49
|
origin: 'eu',
|
package/dist/index.d.cts
CHANGED
|
@@ -576,18 +576,18 @@ interface Mode {
|
|
|
576
576
|
type: string;
|
|
577
577
|
name: string;
|
|
578
578
|
}
|
|
579
|
-
interface
|
|
579
|
+
interface JournalSection {
|
|
580
580
|
id: number;
|
|
581
581
|
title: string;
|
|
582
582
|
body_text: string;
|
|
583
|
-
sections
|
|
584
|
-
creature_display
|
|
583
|
+
sections?: Array<JournalEncounterResponseSection>;
|
|
584
|
+
creature_display?: CreatureDisplay$1;
|
|
585
585
|
}
|
|
586
586
|
interface JournalEncounterResponseSection {
|
|
587
587
|
id: number;
|
|
588
588
|
title: string;
|
|
589
|
-
body_text
|
|
590
|
-
sections?: Array<
|
|
589
|
+
body_text?: string;
|
|
590
|
+
sections?: Array<JournalSection>;
|
|
591
591
|
}
|
|
592
592
|
interface JournalExpansionIndexResponse extends ResponseBase {
|
|
593
593
|
tiers: Array<NameIdKey>;
|
package/dist/index.d.ts
CHANGED
|
@@ -576,18 +576,18 @@ interface Mode {
|
|
|
576
576
|
type: string;
|
|
577
577
|
name: string;
|
|
578
578
|
}
|
|
579
|
-
interface
|
|
579
|
+
interface JournalSection {
|
|
580
580
|
id: number;
|
|
581
581
|
title: string;
|
|
582
582
|
body_text: string;
|
|
583
|
-
sections
|
|
584
|
-
creature_display
|
|
583
|
+
sections?: Array<JournalEncounterResponseSection>;
|
|
584
|
+
creature_display?: CreatureDisplay$1;
|
|
585
585
|
}
|
|
586
586
|
interface JournalEncounterResponseSection {
|
|
587
587
|
id: number;
|
|
588
588
|
title: string;
|
|
589
|
-
body_text
|
|
590
|
-
sections?: Array<
|
|
589
|
+
body_text?: string;
|
|
590
|
+
sections?: Array<JournalSection>;
|
|
591
591
|
}
|
|
592
592
|
interface JournalExpansionIndexResponse extends ResponseBase {
|
|
593
593
|
tiers: Array<NameIdKey>;
|