@ubiquity-os/plugin-sdk 3.4.2 → 3.4.4

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/index.d.mts CHANGED
@@ -3,7 +3,7 @@ import * as _ubiquity_os_ubiquity_os_logger from '@ubiquity-os/ubiquity-os-logge
3
3
  import { LogReturn, Metadata, Logs, LogLevel } from '@ubiquity-os/ubiquity-os-logger';
4
4
  import { RestEndpointMethodTypes } from '@octokit/plugin-rest-endpoint-methods';
5
5
  import { customOctokit } from './octokit.mjs';
6
- import { TAnySchema } from '@sinclair/typebox';
6
+ import { TSchema, TAnySchema } from '@sinclair/typebox';
7
7
  import * as hono_types from 'hono/types';
8
8
  import { Hono } from 'hono';
9
9
  import { Manifest } from './manifest.mjs';
@@ -116,13 +116,13 @@ interface Context<TConfig = unknown, TEnv = unknown, TCommand = unknown, TSuppor
116
116
  type Return = Record<string, unknown> | undefined | void;
117
117
  type HandlerReturn = Promise<Return> | Return;
118
118
 
119
- interface Options$1 {
119
+ interface Options$1<TEnvSchema extends TSchema = TAnySchema, TCommandSchema extends TSchema = TAnySchema> {
120
120
  kernelPublicKey?: string;
121
121
  logLevel?: LogLevel;
122
122
  postCommentOnError?: boolean;
123
123
  settingsSchema?: TAnySchema;
124
- envSchema?: TAnySchema;
125
- commandSchema?: TAnySchema;
124
+ envSchema?: TEnvSchema;
125
+ commandSchema?: TCommandSchema;
126
126
  /**
127
127
  * @deprecated This disables signature verification - only for local development
128
128
  */
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import * as _ubiquity_os_ubiquity_os_logger from '@ubiquity-os/ubiquity-os-logge
3
3
  import { LogReturn, Metadata, Logs, LogLevel } from '@ubiquity-os/ubiquity-os-logger';
4
4
  import { RestEndpointMethodTypes } from '@octokit/plugin-rest-endpoint-methods';
5
5
  import { customOctokit } from './octokit.js';
6
- import { TAnySchema } from '@sinclair/typebox';
6
+ import { TSchema, TAnySchema } from '@sinclair/typebox';
7
7
  import * as hono_types from 'hono/types';
8
8
  import { Hono } from 'hono';
9
9
  import { Manifest } from './manifest.js';
@@ -116,13 +116,13 @@ interface Context<TConfig = unknown, TEnv = unknown, TCommand = unknown, TSuppor
116
116
  type Return = Record<string, unknown> | undefined | void;
117
117
  type HandlerReturn = Promise<Return> | Return;
118
118
 
119
- interface Options$1 {
119
+ interface Options$1<TEnvSchema extends TSchema = TAnySchema, TCommandSchema extends TSchema = TAnySchema> {
120
120
  kernelPublicKey?: string;
121
121
  logLevel?: LogLevel;
122
122
  postCommentOnError?: boolean;
123
123
  settingsSchema?: TAnySchema;
124
- envSchema?: TAnySchema;
125
- commandSchema?: TAnySchema;
124
+ envSchema?: TEnvSchema;
125
+ commandSchema?: TCommandSchema;
126
126
  /**
127
127
  * @deprecated This disables signature verification - only for local development
128
128
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ubiquity-os/plugin-sdk",
3
- "version": "3.4.2",
3
+ "version": "3.4.4",
4
4
  "description": "SDK for plugin support.",
5
5
  "author": "Ubiquity DAO",
6
6
  "license": "MIT",
@@ -107,7 +107,7 @@
107
107
  "hono": "^4.10.6"
108
108
  },
109
109
  "peerDependencies": {
110
- "@sinclair/typebox": "^0.34.30"
110
+ "@sinclair/typebox": "^0.34.41"
111
111
  },
112
112
  "devDependencies": {
113
113
  "@commitlint/cli": "^18.6.1",
@@ -116,8 +116,8 @@
116
116
  "@cspell/dict-software-terms": "^3.4.10",
117
117
  "@cspell/dict-typescript": "^3.2.3",
118
118
  "@eslint/js": "^9.39.1",
119
- "@jest/globals": "^29.7.0",
120
- "@mswjs/data": "0.16.1",
119
+ "@jest/globals": "^30.2.0",
120
+ "@mswjs/data": "0.15.0",
121
121
  "@mswjs/http-middleware": "^0.10.3",
122
122
  "@swc/jest": "^0.2.39",
123
123
  "@types/node": "^20.19.25",
@@ -130,7 +130,7 @@
130
130
  "eslint-plugin-prettier": "^5.5.4",
131
131
  "eslint-plugin-sonarjs": "^3.0.5",
132
132
  "husky": "^9.1.7",
133
- "jest": "^29.7.0",
133
+ "jest": "^30.2.0",
134
134
  "jest-junit": "^16.0.0",
135
135
  "jest-md-dashboard": "^0.8.1",
136
136
  "knip": "^5.69.1",