@spawnco/sdk-types 0.0.45 → 0.0.46

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.mts CHANGED
@@ -101,6 +101,10 @@ interface SpawnClientSDK__V1<TConfig = any> {
101
101
  query?: Record<string, string>;
102
102
  headers?: Record<string, string>;
103
103
  }): Promise<Room<ClientSentMessages, ServerSentMessages>>;
104
+ getConnectionUrl(options: {
105
+ roomId: string;
106
+ query?: Record<string, string>;
107
+ }): Promise<string>;
104
108
  };
105
109
  config: {
106
110
  get(): Promise<TConfig>;
package/dist/index.d.ts CHANGED
@@ -101,6 +101,10 @@ interface SpawnClientSDK__V1<TConfig = any> {
101
101
  query?: Record<string, string>;
102
102
  headers?: Record<string, string>;
103
103
  }): Promise<Room<ClientSentMessages, ServerSentMessages>>;
104
+ getConnectionUrl(options: {
105
+ roomId: string;
106
+ query?: Record<string, string>;
107
+ }): Promise<string>;
104
108
  };
105
109
  config: {
106
110
  get(): Promise<TConfig>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spawnco/sdk-types",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "description": "TypeScript type definitions for Spawn SDK",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
package/src/v1.ts CHANGED
@@ -116,6 +116,7 @@ export interface SpawnClientSDK__V1<TConfig = any> {
116
116
  query?: Record<string, string>;
117
117
  headers?: Record<string, string>;
118
118
  }): Promise<Room<ClientSentMessages, ServerSentMessages>>;
119
+ getConnectionUrl(options: { roomId: string; query?: Record<string, string> }): Promise<string>;
119
120
  };
120
121
 
121
122
  config: {