@zap-js/client 0.1.0 → 0.1.1

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.
@@ -3,13 +3,6 @@ import { tmpdir } from "os";
3
3
  import { existsSync, readFileSync } from "fs";
4
4
  import { ProcessManager } from "./process-manager.js";
5
5
  import { IpcServer } from "./ipc-client.js";
6
- // DEPRECATION WARNING - Show in development only
7
- if (typeof process !== 'undefined' && process.env.NODE_ENV !== 'production') {
8
- console.warn('\x1b[33m[DEPRECATION]\x1b[0m Importing from @zap-js/client is deprecated.\n' +
9
- 'Use explicit imports:\n' +
10
- ' - Server/Node.js: import { Zap } from "@zap-js/client/node"\n' +
11
- ' - Browser/Client: import { router } from "@zap-js/client/browser"');
12
- }
13
6
  // Re-export type guards
14
7
  export { isInvokeHandlerMessage, isHandlerResponseMessage, isErrorMessage, isHealthCheckMessage, isHealthCheckResponseMessage, isRpcResponseMessage, isRpcErrorMessage, isAsyncIterable, } from "./types.js";
15
8
  // Re-export internal modules for dev-server usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zap-js/client",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "High-performance fullstack React framework - Client package",
5
5
  "homepage": "https://github.com/saint0x/zapjs",
6
6
  "repository": {
@@ -71,9 +71,9 @@
71
71
  "ws": "^8.16.0"
72
72
  },
73
73
  "optionalDependencies": {
74
- "@zap-js/darwin-arm64": "0.1.0",
75
- "@zap-js/darwin-x64": "0.1.0",
76
- "@zap-js/linux-x64": "0.1.0"
74
+ "@zap-js/darwin-arm64": "0.1.1",
75
+ "@zap-js/darwin-x64": "0.1.1",
76
+ "@zap-js/linux-x64": "0.1.1"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "react": "^18.0.0",