@authhero/kysely-adapter 0.9.6 → 0.9.7
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/dist/kysely-adapter.mjs
CHANGED
|
@@ -4063,7 +4063,7 @@ function va(n) {
|
|
|
4063
4063
|
created_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
4064
4064
|
updated_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
4065
4065
|
...t
|
|
4066
|
-
}, r = JSON.stringify(t.allowed_origins), a = JSON.stringify(t.callbacks), o = JSON.stringify(t.web_origins), c = JSON.stringify(t.allowed_logout_urls);
|
|
4066
|
+
}, r = JSON.stringify(t.allowed_origins), a = JSON.stringify(t.callbacks), o = JSON.stringify(t.web_origins), c = JSON.stringify(t.allowed_logout_urls), d = JSON.stringify(t.allowed_clients);
|
|
4067
4067
|
return await n.insertInto("applications").values({
|
|
4068
4068
|
...s,
|
|
4069
4069
|
tenant_id: e,
|
|
@@ -4072,7 +4072,8 @@ function va(n) {
|
|
|
4072
4072
|
callbacks: a,
|
|
4073
4073
|
allowed_origins: r,
|
|
4074
4074
|
web_origins: o,
|
|
4075
|
-
allowed_logout_urls: c
|
|
4075
|
+
allowed_logout_urls: c,
|
|
4076
|
+
allowed_clients: d
|
|
4076
4077
|
}).execute(), s;
|
|
4077
4078
|
};
|
|
4078
4079
|
}
|
|
@@ -4085,7 +4086,8 @@ function wa(n) {
|
|
|
4085
4086
|
callbacks: a.callbacks ? JSON.parse(a.callbacks) : [],
|
|
4086
4087
|
allowed_origins: a.allowed_origins ? JSON.parse(a.allowed_origins) : [],
|
|
4087
4088
|
web_origins: a.web_origins ? JSON.parse(a.web_origins) : [],
|
|
4088
|
-
allowed_logout_urls: a.allowed_logout_urls ? JSON.parse(a.allowed_logout_urls) : []
|
|
4089
|
+
allowed_logout_urls: a.allowed_logout_urls ? JSON.parse(a.allowed_logout_urls) : [],
|
|
4090
|
+
allowed_clients: a.allowed_logout_urls ? JSON.parse(a.allowed_logout_urls) : []
|
|
4089
4091
|
}))
|
|
4090
4092
|
});
|
|
4091
4093
|
}
|
|
@@ -4115,6 +4117,7 @@ function xa(n) {
|
|
|
4115
4117
|
callbacks: s.callbacks ? JSON.stringify(s.callbacks) : void 0,
|
|
4116
4118
|
web_origins: s.web_origins ? JSON.stringify(s.web_origins) : void 0,
|
|
4117
4119
|
allowed_logout_urls: s.allowed_logout_urls ? JSON.stringify(s.allowed_logout_urls) : void 0,
|
|
4120
|
+
allowed_clients: s.allowed_clients ? JSON.stringify(s.allowed_clients) : void 0,
|
|
4118
4121
|
addons: s.addons ? JSON.stringify(s.addons) : "{}",
|
|
4119
4122
|
disable_sign_ups: s.disable_sign_ups ? 1 : 0
|
|
4120
4123
|
};
|
|
@@ -7159,6 +7162,7 @@ function Di(n) {
|
|
|
7159
7162
|
allowed_origins: t.allowed_origins ? JSON.parse(t.allowed_origins) : [],
|
|
7160
7163
|
web_origins: t.web_origins ? JSON.parse(t.web_origins) : [],
|
|
7161
7164
|
allowed_logout_urls: t.allowed_logout_urls ? JSON.parse(t.allowed_logout_urls) : [],
|
|
7165
|
+
allowed_clients: t.allowed_clients ? JSON.parse(t.allowed_clients) : [],
|
|
7162
7166
|
tenant: R(s),
|
|
7163
7167
|
// this is really an integer in the database
|
|
7164
7168
|
disable_sign_ups: !!t.disable_sign_ups
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/markusahlstrand/authhero"
|
|
13
13
|
},
|
|
14
|
-
"version": "0.9.
|
|
14
|
+
"version": "0.9.7",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"kysely-bun-sqlite": "^0.3.2",
|
|
42
42
|
"kysely-planetscale": "^1.4.0",
|
|
43
43
|
"nanoid": "^5.0.7",
|
|
44
|
-
"@authhero/adapter-interfaces": "^0.15.
|
|
44
|
+
"@authhero/adapter-interfaces": "^0.15.6"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",
|