chore: Update modules deps (#9286)

This commit is contained in:
Adrien de Peretti
2024-09-26 07:44:35 +02:00
committed by GitHub
parent 11d8264062
commit e096feb7d5
518 changed files with 1115 additions and 957 deletions

View File

@@ -1,4 +1,4 @@
import { generateJwtToken, MedusaError } from "@medusajs/utils"
import { generateJwtToken, MedusaError } from "@medusajs/framework/utils"
import { GoogleAuthService } from "../../src/services/google"
import { http, HttpResponse } from "msw"
import { setupServer } from "msw/node"

View File

@@ -26,7 +26,7 @@
"watch": "tsc --watch"
},
"devDependencies": {
"@medusajs/types": "^1.11.16",
"@medusajs/framework": "^0.0.1",
"@types/simple-oauth2": "^5.0.7",
"cross-env": "^5.2.1",
"jest": "^29.7.0",
@@ -35,9 +35,11 @@
"typescript": "^5.6.2"
},
"dependencies": {
"@medusajs/utils": "^1.11.9",
"jsonwebtoken": "^9.0.2"
},
"peerDependencies": {
"@medusajs/framework": "^0.0.1"
},
"keywords": [
"medusa-provider",
"medusa-provider-auth-google"

View File

@@ -1,4 +1,4 @@
import { ModuleProviderExports } from "@medusajs/types"
import { ModuleProviderExports } from "@medusajs/framework/types"
import { GoogleAuthService } from "./services/google"
const services = [GoogleAuthService]

View File

@@ -4,8 +4,11 @@ import {
AuthIdentityProviderService,
GoogleAuthProviderOptions,
Logger,
} from "@medusajs/types"
import { AbstractAuthModuleProvider, MedusaError } from "@medusajs/utils"
} from "@medusajs/framework/types"
import {
AbstractAuthModuleProvider,
MedusaError,
} from "@medusajs/framework/utils"
import jwt, { JwtPayload } from "jsonwebtoken"
type InjectedDependencies = {