@cntrl-site/sdk 1.9.0 → 1.9.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/package.json
CHANGED
|
@@ -23,7 +23,7 @@ describe('Client', () => {
|
|
|
23
23
|
it('returns page data', async () => {
|
|
24
24
|
const projectId = 'projectId';
|
|
25
25
|
const API_BASE_URL = 'api-test.cntrl.site';
|
|
26
|
-
const fetchesMap = {
|
|
26
|
+
const fetchesMap: Record<string, unknown> = {
|
|
27
27
|
[`https://${API_BASE_URL}/projects/${projectId}`]: projectMock,
|
|
28
28
|
[`https://${API_BASE_URL}/projects/${projectId}/articles/articleId`]: {
|
|
29
29
|
article: articleMock,
|
|
@@ -59,7 +59,7 @@ describe('Client', () => {
|
|
|
59
59
|
it('ignores page meta if it is not enabled and uses project meta instead', async () => {
|
|
60
60
|
const projectId = 'projectId';
|
|
61
61
|
const API_BASE_URL = 'api-test.cntrl.site';
|
|
62
|
-
const fetchesMap = {
|
|
62
|
+
const fetchesMap: Record<string, unknown> = {
|
|
63
63
|
[`https://${API_BASE_URL}/projects/${projectId}`]: projectMock,
|
|
64
64
|
[`https://${API_BASE_URL}/projects/${projectId}/articles/articleId2`]: {
|
|
65
65
|
article: articleMock,
|
package/cntrl-site-sdk-1.8.1.tgz
DELETED
|
Binary file
|
package/cntrl-site-sdk-1.8.2.tgz
DELETED
|
Binary file
|