@nuxtseo/sdk 0.3.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/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/transport.js +2 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DomainClient, RetryOptions, SdkClient } from './client.js';
|
|
2
2
|
import type { PublicApiTransport } from './transport.js';
|
|
3
|
-
import { accountV1Registry, actionsV1Registry, analyticsV1Registry, auditV1Registry, backlinksV1Registry,
|
|
3
|
+
import { accountV1Registry, actionsV1Registry, analyticsV1Registry, auditV1Registry, backlinksV1Registry, mentionsV1Registry, pagesV1Registry, performanceV1Registry, researchV1Registry, searchV1Registry, sitemapsV1Registry, sitesV1Registry, timelineV1Registry } from '@nuxtseo/protocol/v1';
|
|
4
4
|
export * from './client.js';
|
|
5
5
|
export * from './pairing.js';
|
|
6
6
|
export * from './transport.js';
|
|
@@ -14,7 +14,6 @@ export interface PublicV1Client extends SdkClient {
|
|
|
14
14
|
analytics: DomainClient<typeof analyticsV1Registry.operations>;
|
|
15
15
|
audit: DomainClient<typeof auditV1Registry.operations>;
|
|
16
16
|
backlinks: DomainClient<typeof backlinksV1Registry.operations>;
|
|
17
|
-
content: DomainClient<typeof contentV1Registry.operations>;
|
|
18
17
|
mentions: DomainClient<typeof mentionsV1Registry.operations>;
|
|
19
18
|
pages: DomainClient<typeof pagesV1Registry.operations>;
|
|
20
19
|
performance: DomainClient<typeof performanceV1Registry.operations>;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { accountV1Registry, actionsV1Registry, analyticsV1Registry, auditV1Registry, backlinksV1Registry,
|
|
1
|
+
import { accountV1Registry, actionsV1Registry, analyticsV1Registry, auditV1Registry, backlinksV1Registry, createPublicV1Protocol, mentionsV1Registry, pagesV1Registry, performanceV1Registry, researchV1Registry, searchV1Registry, sitemapsV1Registry, sitesV1Registry, timelineV1Registry } from '@nuxtseo/protocol/v1';
|
|
2
2
|
import { createDomainClient, createSdkClient } from './client.js';
|
|
3
3
|
export * from './client.js';
|
|
4
4
|
export * from './pairing.js';
|
|
@@ -16,7 +16,6 @@ export function createPublicV1Client(options) {
|
|
|
16
16
|
analytics: createDomainClient(core, analyticsV1Registry.operations),
|
|
17
17
|
audit: createDomainClient(core, auditV1Registry.operations),
|
|
18
18
|
backlinks: createDomainClient(core, backlinksV1Registry.operations),
|
|
19
|
-
content: createDomainClient(core, contentV1Registry.operations),
|
|
20
19
|
mentions: createDomainClient(core, mentionsV1Registry.operations),
|
|
21
20
|
pages: createDomainClient(core, pagesV1Registry.operations),
|
|
22
21
|
performance: createDomainClient(core, performanceV1Registry.operations),
|
package/dist/transport.js
CHANGED
|
@@ -29,7 +29,7 @@ async function resolveToken(resolver) {
|
|
|
29
29
|
return err({
|
|
30
30
|
_tag: 'TransportFailure',
|
|
31
31
|
reason: 'credential',
|
|
32
|
-
message: 'The
|
|
32
|
+
message: 'The Nuxt SEO API token cannot be empty.',
|
|
33
33
|
retryable: false,
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -38,7 +38,7 @@ async function resolveToken(resolver) {
|
|
|
38
38
|
.catch(cause => err({
|
|
39
39
|
_tag: 'TransportFailure',
|
|
40
40
|
reason: 'credential',
|
|
41
|
-
message: 'Could not resolve the
|
|
41
|
+
message: 'Could not resolve the Nuxt SEO API token.',
|
|
42
42
|
retryable: false,
|
|
43
43
|
cause,
|
|
44
44
|
}));
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxtseo/sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"description": "Descriptor-driven client for the
|
|
4
|
+
"version": "0.4.1",
|
|
5
|
+
"description": "Descriptor-driven client for the Nuxt SEO public HTTP interface.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://nuxtseo.com/pro/api",
|
|
8
8
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"node": ">=22"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@nuxtseo/protocol": "^0.
|
|
35
|
+
"@nuxtseo/protocol": "^0.4.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "npm:typescript-native-bridge@6.0.3-bridge.16.tsgo.7.0.2"
|