@primate/mysql 0.7.0 → 0.8.1

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.
@@ -4,12 +4,12 @@ import type { Pool } from "mysql2/promise";
4
4
  import type { ObjectType, Parsed } from "pema";
5
5
  declare const schema: ObjectType<import("pema").NormalizeSchemaObject<{
6
6
  readonly host: import("pema").DefaultType<import("pema").StringType, "localhost">;
7
- readonly port: import("pema").DefaultType<import("pema").UintType<"u32">, 3306>;
7
+ readonly port: import("pema").DefaultType<import("pema").UintType<"u32", undefined>, 3306>;
8
8
  readonly database: import("pema").StringType;
9
9
  readonly password: import("pema").OptionalType<import("pema").StringType>;
10
10
  readonly username: import("pema").OptionalType<import("pema").StringType>;
11
- readonly jsonStrings: import("pema").DefaultType<import("pema").BooleanType, true>;
12
- }>, {
11
+ readonly jsonStrings: import("pema").DefaultType<import("pema").BooleanType<undefined>, true>;
12
+ }>, undefined, {
13
13
  host: string;
14
14
  port: number;
15
15
  database: string;
@@ -1,4 +1,4 @@
1
1
  import MySQL from "#MySQL";
2
- declare const _default: (config: typeof MySQL.config) => MySQL;
3
2
  export default _default;
3
+ declare function _default(config: typeof MySQL.config): MySQL;
4
4
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primate/mysql",
3
- "version": "0.7.0",
3
+ "version": "0.8.1",
4
4
  "description": "MySQL databases for Primate",
5
5
  "homepage": "https://primate.run/docs/database/mysql",
6
6
  "bugs": "https://github.com/primate-run/primate/issues",
@@ -22,12 +22,12 @@
22
22
  "dependencies": {
23
23
  "@rcompat/assert": "^0.13.0",
24
24
  "@rcompat/is": "^0.11.0",
25
- "mysql2": "^3.22.3",
26
- "@primate/core": "^0.7.0",
27
- "pema": "0.7.0"
25
+ "mysql2": "^3.22.4",
26
+ "@primate/core": "^0.8.8",
27
+ "pema": "^0.8.3"
28
28
  },
29
29
  "peerDependencies": {
30
- "primate": "^0.38.0"
30
+ "primate": "^0.39.1"
31
31
  },
32
32
  "imports": {
33
33
  "#*": {
@@ -42,7 +42,7 @@
42
42
  }
43
43
  },
44
44
  "scripts": {
45
- "build": "npm run clean && tsc",
45
+ "build": "npm run clean && tsgo",
46
46
  "clean": "rm -rf ./lib",
47
47
  "lint": "eslint .",
48
48
  "mysql": "scripts/mysql.sh",