@orpc/openapi 0.41.0 → 0.41.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -335,10 +335,10 @@ var NON_LOGIC_KEYWORDS = [
335
335
  // src/schema-utils.ts
336
336
  var SchemaUtils = class {
337
337
  isFileSchema(schema) {
338
- return typeof schema === "object" && schema.type === "string" && typeof schema.contentMediaType === "string";
338
+ return isObject2(schema) && schema.type === "string" && typeof schema.contentMediaType === "string";
339
339
  }
340
340
  isObjectSchema(schema) {
341
- return typeof schema === "object" && schema.type === "object";
341
+ return isObject2(schema) && schema.type === "object";
342
342
  }
343
343
  isAnySchema(schema) {
344
344
  return schema === true || Object.keys(schema).filter((key) => !NON_LOGIC_KEYWORDS.includes(key)).length === 0;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/openapi",
3
3
  "type": "module",
4
- "version": "0.41.0",
4
+ "version": "0.41.1",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.unnoq.com",
7
7
  "repository": {
@@ -60,10 +60,10 @@
60
60
  "json-schema-typed": "^8.0.1",
61
61
  "openapi3-ts": "^4.4.0",
62
62
  "rou3": "^0.5.1",
63
- "@orpc/client": "0.41.0",
64
- "@orpc/server": "0.41.0",
65
- "@orpc/shared": "0.41.0",
66
- "@orpc/contract": "0.41.0"
63
+ "@orpc/client": "0.41.1",
64
+ "@orpc/contract": "0.41.1",
65
+ "@orpc/server": "0.41.1",
66
+ "@orpc/shared": "0.41.1"
67
67
  },
68
68
  "devDependencies": {
69
69
  "zod": "^3.24.1"