@crosspost/sdk 0.2.10 → 0.2.12
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.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/core/config.ts +2 -2
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
@@ -212,7 +212,7 @@ declare class SystemApi {
|
|
212
212
|
interface CrosspostClientConfig {
|
213
213
|
/**
|
214
214
|
* Base URL for the Crosspost API
|
215
|
-
* @default 'https://
|
215
|
+
* @default 'https://api.opencrosspost.com/'
|
216
216
|
*/
|
217
217
|
baseUrl?: string | URL;
|
218
218
|
/**
|
package/dist/index.d.ts
CHANGED
@@ -212,7 +212,7 @@ declare class SystemApi {
|
|
212
212
|
interface CrosspostClientConfig {
|
213
213
|
/**
|
214
214
|
* Base URL for the Crosspost API
|
215
|
-
* @default 'https://
|
215
|
+
* @default 'https://api.opencrosspost.com/'
|
216
216
|
*/
|
217
217
|
baseUrl?: string | URL;
|
218
218
|
/**
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/src/core/config.ts
CHANGED
@@ -6,7 +6,7 @@ import type { NearAuthData } from 'near-sign-verify';
|
|
6
6
|
export interface CrosspostClientConfig {
|
7
7
|
/**
|
8
8
|
* Base URL for the Crosspost API
|
9
|
-
* @default 'https://
|
9
|
+
* @default 'https://api.opencrosspost.com/'
|
10
10
|
*/
|
11
11
|
baseUrl?: string | URL;
|
12
12
|
/**
|
@@ -24,6 +24,6 @@ export interface CrosspostClientConfig {
|
|
24
24
|
* Default configuration values for the CrosspostClient
|
25
25
|
*/
|
26
26
|
export const DEFAULT_CONFIG: Required<Omit<CrosspostClientConfig, 'nearAuthData'>> = {
|
27
|
-
baseUrl: new URL('https://
|
27
|
+
baseUrl: new URL('https://api.opencrosspost.com/'),
|
28
28
|
timeout: 30000,
|
29
29
|
};
|