@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 CHANGED
@@ -784,7 +784,7 @@ var SystemApi = class {
784
784
 
785
785
  // src/core/config.ts
786
786
  var DEFAULT_CONFIG = {
787
- baseUrl: new URL("https://open-crosspost-proxy.deno.dev/"),
787
+ baseUrl: new URL("https://api.opencrosspost.com/"),
788
788
  timeout: 3e4
789
789
  };
790
790
 
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://open-crosspost-proxy.deno.dev'
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://open-crosspost-proxy.deno.dev'
215
+ * @default 'https://api.opencrosspost.com/'
216
216
  */
217
217
  baseUrl?: string | URL;
218
218
  /**
package/dist/index.js CHANGED
@@ -741,7 +741,7 @@ var SystemApi = class {
741
741
 
742
742
  // src/core/config.ts
743
743
  var DEFAULT_CONFIG = {
744
- baseUrl: new URL("https://open-crosspost-proxy.deno.dev/"),
744
+ baseUrl: new URL("https://api.opencrosspost.com/"),
745
745
  timeout: 3e4
746
746
  };
747
747
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crosspost/sdk",
3
- "version": "0.2.10",
3
+ "version": "0.2.12",
4
4
  "description": "SDK for interacting with the Crosspost API",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -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://open-crosspost-proxy.deno.dev'
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://open-crosspost-proxy.deno.dev/'),
27
+ baseUrl: new URL('https://api.opencrosspost.com/'),
28
28
  timeout: 30000,
29
29
  };