@auth/d1-adapter 0.2.9 → 0.2.11

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/index.d.ts CHANGED
@@ -99,8 +99,8 @@ export declare function deleteRecord(db: D1Database, SQL: string, bindings: any[
99
99
  * ```
100
100
  *
101
101
  *
102
- * You can also initialize your tables manually. Look in [init.ts](https://github.com/nextauthjs/next-auth/packages/adapter-d1/src/migrations/init.ts) for the relevant sql.
103
- * Paste and run the SQL into your D1 dashboard query tool.
102
+ * You can also initialize your tables manually. Look in [migrations.ts](https://github.com/nextauthjs/next-auth/blob/main/packages/adapter-d1/src/migrations.ts) for the relevant sql.
103
+ * Paste and execute the SQL from within your D1 database's console in the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/workers/d1).
104
104
  *
105
105
  **/
106
106
  export declare function D1Adapter(db: D1Database): Adapter;
package/index.js CHANGED
@@ -192,8 +192,8 @@ export async function deleteRecord(db, SQL, bindings) {
192
192
  * ```
193
193
  *
194
194
  *
195
- * You can also initialize your tables manually. Look in [init.ts](https://github.com/nextauthjs/next-auth/packages/adapter-d1/src/migrations/init.ts) for the relevant sql.
196
- * Paste and run the SQL into your D1 dashboard query tool.
195
+ * You can also initialize your tables manually. Look in [migrations.ts](https://github.com/nextauthjs/next-auth/blob/main/packages/adapter-d1/src/migrations.ts) for the relevant sql.
196
+ * Paste and execute the SQL from within your D1 database's console in the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/workers/d1).
197
197
  *
198
198
  **/
199
199
  export function D1Adapter(db) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auth/d1-adapter",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "description": "A Cloudflare D1 adapter for Auth.js",
5
5
  "homepage": "https://authjs.dev",
6
6
  "repository": "https://github.com/nextauthjs/next-auth",
@@ -38,7 +38,7 @@
38
38
  "access": "public"
39
39
  },
40
40
  "dependencies": {
41
- "@auth/core": "0.18.6"
41
+ "@auth/core": "0.19.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@cloudflare/workers-types": "^4.20230321.0",
package/src/index.ts CHANGED
@@ -239,8 +239,8 @@ export async function deleteRecord(
239
239
  * ```
240
240
  *
241
241
  *
242
- * You can also initialize your tables manually. Look in [init.ts](https://github.com/nextauthjs/next-auth/packages/adapter-d1/src/migrations/init.ts) for the relevant sql.
243
- * Paste and run the SQL into your D1 dashboard query tool.
242
+ * You can also initialize your tables manually. Look in [migrations.ts](https://github.com/nextauthjs/next-auth/blob/main/packages/adapter-d1/src/migrations.ts) for the relevant sql.
243
+ * Paste and execute the SQL from within your D1 database's console in the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/workers/d1).
244
244
  *
245
245
  **/
246
246
  export function D1Adapter(db: D1Database): Adapter {