create-authhero 0.47.2 → 0.47.3
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,7 +1,7 @@
|
|
|
1
1
|
import { handle } from "hono/aws-lambda";
|
|
2
2
|
import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
|
|
3
3
|
import { DynamoDBDocumentClient } from "@aws-sdk/lib-dynamodb";
|
|
4
|
-
import createAdapters from "@authhero/aws";
|
|
4
|
+
import createAdapters from "@authhero/aws-adapter";
|
|
5
5
|
import {
|
|
6
6
|
DataAdapters,
|
|
7
7
|
createEncryptedDataAdapter,
|
package/dist/create-authhero.js
CHANGED
|
@@ -267,7 +267,7 @@ var c = new e(), l = {
|
|
|
267
267
|
decrypt: "node --env-file=.env scripts/decrypt-field.mjs"
|
|
268
268
|
},
|
|
269
269
|
dependencies: {
|
|
270
|
-
"@authhero/aws": a,
|
|
270
|
+
"@authhero/aws-adapter": a,
|
|
271
271
|
...i && { "@authhero/admin": a },
|
|
272
272
|
"@authhero/widget": a,
|
|
273
273
|
"@aws-sdk/client-dynamodb": "^3.0.0",
|
|
@@ -837,7 +837,7 @@ function h(e) {
|
|
|
837
837
|
function g(e) {
|
|
838
838
|
return `import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
|
|
839
839
|
import { DynamoDBDocumentClient } from "@aws-sdk/lib-dynamodb";
|
|
840
|
-
import createAdapters from "@authhero/aws";
|
|
840
|
+
import createAdapters from "@authhero/aws-adapter";
|
|
841
841
|
import { seed, createEncryptedDataAdapter, loadEncryptionKey } from "authhero";
|
|
842
842
|
|
|
843
843
|
async function main() {
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/markusahlstrand/authhero"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.47.
|
|
8
|
+
"version": "0.47.3",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"main": "dist/create-authhero.js",
|
|
11
11
|
"bin": {
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"@types/node": "^20.19.41",
|
|
23
23
|
"tsx": "^4.22.3",
|
|
24
24
|
"typescript": "^5.5.2",
|
|
25
|
-
"vite": "^8.0.14"
|
|
25
|
+
"vite": "^8.0.14",
|
|
26
|
+
"vitest": "^4.1.7"
|
|
26
27
|
},
|
|
27
28
|
"dependencies": {
|
|
28
29
|
"commander": "^12.1.0",
|
|
@@ -31,6 +32,8 @@
|
|
|
31
32
|
"scripts": {
|
|
32
33
|
"build": "tsc && vite build",
|
|
33
34
|
"dev": "pnpm build && rm -rf auth-server && node dist/create-authhero.js auth-server --workspace --skip-install --skip-start && pnpm -w install --force --filter auth-server... && pnpm --filter auth-server migrate && pnpm --filter auth-server dev",
|
|
34
|
-
"start": "pnpm build && node dist/create-authhero.js"
|
|
35
|
+
"start": "pnpm build && node dist/create-authhero.js",
|
|
36
|
+
"test": "vitest run",
|
|
37
|
+
"test:watch": "vitest"
|
|
35
38
|
}
|
|
36
39
|
}
|