@supabase/realtime-js 2.105.5-beta.5 → 2.105.5-beta.8

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 Supabase
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
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
- npx nx build realtime-js
259
+ pnpm nx build realtime-js
260
260
 
261
261
  # Build with watch mode for development
262
- npx nx build realtime-js --watch
262
+ pnpm nx build realtime-js --watch
263
263
 
264
264
  # Individual build targets
265
- npx nx build:main realtime-js # CommonJS build (dist/main/)
266
- npx nx build:module realtime-js # ES Modules build (dist/module/)
265
+ pnpm nx build:main realtime-js # CommonJS build (dist/main/)
266
+ pnpm nx build:module realtime-js # ES Modules build (dist/module/)
267
267
 
268
268
  # Other useful commands
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
269
+ pnpm nx clean realtime-js # Clean build artifacts
270
+ pnpm nx lint realtime-js # Run ESLint
271
+ pnpm 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
- npx nx check-exports realtime-js
286
+ pnpm 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
- npx nx test realtime-js
297
+ pnpm nx test realtime-js
298
298
 
299
299
  # Run tests with coverage report
300
- npx nx test:coverage realtime-js
300
+ pnpm nx test:coverage realtime-js
301
301
 
302
302
  # Run tests in watch mode during development
303
- npx nx test:watch realtime-js
303
+ pnpm 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.5";
3
+ export declare const DEFAULT_VERSION = "realtime-js/2.105.5-beta.8";
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.5";
7
+ export declare const VERSION = "2.105.5-beta.8";
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.5";
1
+ export declare const version = "2.105.5-beta.8";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -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.5';
10
+ exports.version = '2.105.5-beta.8';
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.5";
3
+ export declare const DEFAULT_VERSION = "realtime-js/2.105.5-beta.8";
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.5";
7
+ export declare const VERSION = "2.105.5-beta.8";
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.5";
1
+ export declare const version = "2.105.5-beta.8";
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.5';
7
+ export const version = '2.105.5-beta.8';
8
8
  //# sourceMappingURL=version.js.map