@based/functions 2.1.2 → 2.1.3

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/context.d.ts CHANGED
@@ -84,7 +84,7 @@ export type MinimalExternalSession = {
84
84
  };
85
85
  };
86
86
  export type Session = (WebSocketSession | HttpSession | InternalSession | MinimalExternalSession) & {
87
- origin: string;
87
+ origin?: string;
88
88
  /** Only available in Ws and Http contexts */
89
89
  authState?: AuthState;
90
90
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@based/functions",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/src/context.ts CHANGED
@@ -94,7 +94,7 @@ export type Session = (
94
94
  | InternalSession
95
95
  | MinimalExternalSession
96
96
  ) & {
97
- origin: string
97
+ origin?: string
98
98
 
99
99
  /** Only available in Ws and Http contexts */
100
100
  authState?: AuthState