@supabase/realtime-js 2.105.5-beta.8 → 2.105.5-beta.9
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/README.md +11 -11
- package/dist/main/lib/constants.d.ts +2 -2
- package/dist/main/lib/version.d.ts +1 -1
- package/dist/main/lib/version.js +1 -1
- package/dist/module/lib/constants.d.ts +2 -2
- package/dist/module/lib/version.d.ts +1 -1
- package/dist/module/lib/version.js +1 -1
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -14
- package/src/RealtimeClient.ts +0 -0
- package/src/index.ts +0 -0
- package/src/lib/constants.ts +0 -0
- package/src/lib/version.ts +1 -1
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -256,19 +256,19 @@ This package is part of the [Supabase JavaScript monorepo](https://github.com/su
|
|
|
256
256
|
|
|
257
257
|
```bash
|
|
258
258
|
# Complete build (from monorepo root)
|
|
259
|
-
|
|
259
|
+
npx nx build realtime-js
|
|
260
260
|
|
|
261
261
|
# Build with watch mode for development
|
|
262
|
-
|
|
262
|
+
npx nx build realtime-js --watch
|
|
263
263
|
|
|
264
264
|
# Individual build targets
|
|
265
|
-
|
|
266
|
-
|
|
265
|
+
npx nx build:main realtime-js # CommonJS build (dist/main/)
|
|
266
|
+
npx nx build:module realtime-js # ES Modules build (dist/module/)
|
|
267
267
|
|
|
268
268
|
# Other useful commands
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
269
|
+
npx nx clean realtime-js # Clean build artifacts
|
|
270
|
+
npx nx lint realtime-js # Run ESLint
|
|
271
|
+
npx nx typecheck realtime-js # TypeScript type checking
|
|
272
272
|
```
|
|
273
273
|
|
|
274
274
|
#### Build Outputs
|
|
@@ -283,7 +283,7 @@ Note: Unlike some other packages, realtime-js doesn't include a UMD build since
|
|
|
283
283
|
|
|
284
284
|
```bash
|
|
285
285
|
# Check if package exports are correctly configured
|
|
286
|
-
|
|
286
|
+
npx nx check-exports realtime-js
|
|
287
287
|
```
|
|
288
288
|
|
|
289
289
|
This command uses ["Are the types wrong?"](https://github.com/arethetypeswrong/arethetypeswrong.github.io) to verify that the package exports work correctly in different environments. Run this before publishing to ensure your package can be imported correctly by all consumers.
|
|
@@ -294,13 +294,13 @@ This command uses ["Are the types wrong?"](https://github.com/arethetypeswrong/a
|
|
|
294
294
|
|
|
295
295
|
```bash
|
|
296
296
|
# Run unit tests (from monorepo root)
|
|
297
|
-
|
|
297
|
+
npx nx test realtime-js
|
|
298
298
|
|
|
299
299
|
# Run tests with coverage report
|
|
300
|
-
|
|
300
|
+
npx nx test:coverage realtime-js
|
|
301
301
|
|
|
302
302
|
# Run tests in watch mode during development
|
|
303
|
-
|
|
303
|
+
npx nx test:watch realtime-js
|
|
304
304
|
```
|
|
305
305
|
|
|
306
306
|
#### Test Scripts Explained
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { SocketState, ChannelState, ChannelEvent as PhoenixChannelEvent, Transport, Vsn } from '../phoenix/types';
|
|
2
2
|
export type { SocketState, ChannelState, Transport };
|
|
3
|
-
export declare const DEFAULT_VERSION = "realtime-js/2.105.5-beta.
|
|
3
|
+
export declare const DEFAULT_VERSION = "realtime-js/2.105.5-beta.9";
|
|
4
4
|
export declare const VSN_1_0_0: Vsn;
|
|
5
5
|
export declare const VSN_2_0_0: Vsn;
|
|
6
6
|
export declare const DEFAULT_VSN: Vsn;
|
|
7
|
-
export declare const VERSION = "2.105.5-beta.
|
|
7
|
+
export declare const VERSION = "2.105.5-beta.9";
|
|
8
8
|
export declare const DEFAULT_TIMEOUT = 10000;
|
|
9
9
|
export declare const WS_CLOSE_NORMAL = 1000;
|
|
10
10
|
export declare const MAX_PUSH_BUFFER_SIZE = 100;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "2.105.5-beta.
|
|
1
|
+
export declare const version = "2.105.5-beta.9";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/main/lib/version.js
CHANGED
|
@@ -7,5 +7,5 @@ exports.version = void 0;
|
|
|
7
7
|
// - Debugging and support (identifying which version is running)
|
|
8
8
|
// - Telemetry and logging (version reporting in errors/analytics)
|
|
9
9
|
// - Ensuring build artifacts match the published package version
|
|
10
|
-
exports.version = '2.105.5-beta.
|
|
10
|
+
exports.version = '2.105.5-beta.9';
|
|
11
11
|
//# sourceMappingURL=version.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { SocketState, ChannelState, ChannelEvent as PhoenixChannelEvent, Transport, Vsn } from '../phoenix/types';
|
|
2
2
|
export type { SocketState, ChannelState, Transport };
|
|
3
|
-
export declare const DEFAULT_VERSION = "realtime-js/2.105.5-beta.
|
|
3
|
+
export declare const DEFAULT_VERSION = "realtime-js/2.105.5-beta.9";
|
|
4
4
|
export declare const VSN_1_0_0: Vsn;
|
|
5
5
|
export declare const VSN_2_0_0: Vsn;
|
|
6
6
|
export declare const DEFAULT_VSN: Vsn;
|
|
7
|
-
export declare const VERSION = "2.105.5-beta.
|
|
7
|
+
export declare const VERSION = "2.105.5-beta.9";
|
|
8
8
|
export declare const DEFAULT_TIMEOUT = 10000;
|
|
9
9
|
export declare const WS_CLOSE_NORMAL = 1000;
|
|
10
10
|
export declare const MAX_PUSH_BUFFER_SIZE = 100;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "2.105.5-beta.
|
|
1
|
+
export declare const version = "2.105.5-beta.9";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
// - Debugging and support (identifying which version is running)
|
|
5
5
|
// - Telemetry and logging (version reporting in errors/analytics)
|
|
6
6
|
// - Ensuring build artifacts match the published package version
|
|
7
|
-
export const version = '2.105.5-beta.
|
|
7
|
+
export const version = '2.105.5-beta.9';
|
|
8
8
|
//# sourceMappingURL=version.js.map
|