silgi 0.7.18 → 0.7.19

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.
@@ -1,4 +1,4 @@
1
- const version = "0.7.18";
1
+ const version = "0.7.19";
2
2
  const packageJson = {
3
3
  version: version};
4
4
 
@@ -1,3 +1,3 @@
1
- const version = "0.7.18";
1
+ const version = "0.7.19";
2
2
 
3
3
  export { version };
@@ -1,3 +1,3 @@
1
- const version = "0.7.18";
1
+ const version = "0.7.19";
2
2
 
3
3
  export { version };
@@ -799,7 +799,7 @@ interface StorageKeyParams<TInput = unknown> {
799
799
  type EventHandlerResponse<T = undefined> = T extends undefined ? void : void | T | Promise<T>;
800
800
  type MethodHandlerType<T> = {
801
801
  [Action in keyof T]: T[Action] extends Record<string, any> ? {
802
- [Method in keyof T[Action]]: {
802
+ [Method in keyof T[Action]]?: {
803
803
  default?: {
804
804
  input?: StandardSchemaV1.InferInput<T[Action][Method]['input']>;
805
805
  output?: StandardSchemaV1.InferInput<T[Action][Method]['output']>;
@@ -799,7 +799,7 @@ interface StorageKeyParams<TInput = unknown> {
799
799
  type EventHandlerResponse<T = undefined> = T extends undefined ? void : void | T | Promise<T>;
800
800
  type MethodHandlerType<T> = {
801
801
  [Action in keyof T]: T[Action] extends Record<string, any> ? {
802
- [Method in keyof T[Action]]: {
802
+ [Method in keyof T[Action]]?: {
803
803
  default?: {
804
804
  input?: StandardSchemaV1.InferInput<T[Action][Method]['input']>;
805
805
  output?: StandardSchemaV1.InferInput<T[Action][Method]['output']>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.7.18",
4
+ "version": "0.7.19",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {