@medusajs/framework 2.1.1-snapshot-20241205183021 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -120,11 +120,11 @@ export interface PublishableKeyContext {
120
120
  key: string;
121
121
  sales_channel_ids: string[];
122
122
  }
123
- export interface AuthenticatedMedusaRequest<Body = never> extends MedusaRequest<Body> {
123
+ export interface AuthenticatedMedusaRequest<Body = unknown, QueryFields = Record<string, unknown>> extends MedusaRequest<Body, QueryFields> {
124
124
  auth_context: AuthContext;
125
125
  publishable_key_context?: PublishableKeyContext;
126
126
  }
127
- export interface MedusaStoreRequest<Body = never> extends MedusaRequest<Body> {
127
+ export interface MedusaStoreRequest<Body = unknown, QueryFields = Record<string, unknown>> extends MedusaRequest<Body, QueryFields> {
128
128
  auth_context?: AuthContext;
129
129
  publishable_key_context: PublishableKeyContext;
130
130
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/http/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAEzD,OAAO,EACL,UAAU,EACV,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAE5D;;GAEG;AACH,eAAO,MAAM,YAAY,uEAQf,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA;AACrD,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,KAAK,GAAG,SAAS,CAAA;AAEtD,KAAK,gBAAgB,GAAG,CAAC,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,cAAc,KAAK,IAAI,CAAA;AAEzE,MAAM,MA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A;AAE3D,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAA;AAE7C,MAAM,MAAM,oBAAoB,CAAC,IAAI,GAAG,OAAO,EAAE,GAAG,GAAG,OAAO,IAAI,CAChE,GAAG,EAAE,aAAa,CAAC,IAAI,CAAC,EACxB,GAAG,EAAE,cAAc,CAAC,GAAG,CAAC,EACxB,IAAI,EAAE,kBAAkB,KACrB,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/framework",
3
- "version": "2.1.1-snapshot-20241205183021",
3
+ "version": "2.1.1",
4
4
  "description": "Framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -52,7 +52,7 @@
52
52
  "test": "jest --runInBand --bail --passWithNoTests --forceExit"
53
53
  },
54
54
  "devDependencies": {
55
- "@medusajs/cli": "2.1.1-snapshot-20241205183021",
55
+ "@medusajs/cli": "^2.1.1",
56
56
  "@mikro-orm/core": "5.9.7",
57
57
  "@mikro-orm/knex": "5.9.7",
58
58
  "@mikro-orm/migrations": "5.9.7",
@@ -72,12 +72,12 @@
72
72
  },
73
73
  "dependencies": {
74
74
  "@jercle/yargonaut": "^1.1.5",
75
- "@medusajs/modules-sdk": "2.1.1-snapshot-20241205183021",
76
- "@medusajs/orchestration": "2.1.1-snapshot-20241205183021",
77
- "@medusajs/telemetry": "2.1.1-snapshot-20241205183021",
78
- "@medusajs/types": "2.1.1-snapshot-20241205183021",
79
- "@medusajs/utils": "2.1.1-snapshot-20241205183021",
80
- "@medusajs/workflows-sdk": "2.1.1-snapshot-20241205183021",
75
+ "@medusajs/modules-sdk": "^2.1.1",
76
+ "@medusajs/orchestration": "^2.1.1",
77
+ "@medusajs/telemetry": "^2.1.1",
78
+ "@medusajs/types": "^2.1.1",
79
+ "@medusajs/utils": "^2.1.1",
80
+ "@medusajs/workflows-sdk": "^2.1.1",
81
81
  "@opentelemetry/api": "^1.9.0",
82
82
  "@types/express": "^4.17.17",
83
83
  "connect-redis": "5.2.0",
@@ -91,7 +91,7 @@
91
91
  "zod": "3.22.4"
92
92
  },
93
93
  "peerDependencies": {
94
- "@medusajs/cli": "2.1.1-snapshot-20241205183021",
94
+ "@medusajs/cli": "^2.0.0",
95
95
  "@mikro-orm/cli": "5.9.7",
96
96
  "@mikro-orm/core": "5.9.7",
97
97
  "@mikro-orm/knex": "5.9.7",