@fedify/mysql 2.3.0-dev.1069 → 2.3.0-dev.1099

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/kv.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference lib="esnext.temporal" />
1
2
  import { KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions } from "@fedify/fedify";
2
3
 
3
4
  //#region src/kv.d.ts
package/dist/kv.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Temporal } from "@js-temporal/polyfill";
1
+ /// <reference lib="esnext.temporal" />
2
2
  import { KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions } from "@fedify/fedify";
3
3
 
4
4
  //#region src/kv.d.ts
package/dist/mod.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference lib="esnext.temporal" />
1
2
  import { MysqlKvStore, MysqlKvStoreOptions } from "./kv.cjs";
2
3
  import { MysqlMessageQueue, MysqlMessageQueueOptions } from "./mq.cjs";
3
4
  export { MysqlKvStore, type MysqlKvStoreOptions, MysqlMessageQueue, type MysqlMessageQueueOptions };
package/dist/mod.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Temporal } from "@js-temporal/polyfill";
1
+ /// <reference lib="esnext.temporal" />
2
2
  import { MysqlKvStore, MysqlKvStoreOptions } from "./kv.js";
3
3
  import { MysqlMessageQueue, MysqlMessageQueueOptions } from "./mq.js";
4
4
  export { MysqlKvStore, type MysqlKvStoreOptions, MysqlMessageQueue, type MysqlMessageQueueOptions };
package/dist/mod.js CHANGED
@@ -1,4 +1,4 @@
1
- import "@js-temporal/polyfill";
1
+ import { Temporal } from "@js-temporal/polyfill";
2
2
  import { MysqlKvStore } from "./kv.js";
3
3
  import { MysqlMessageQueue } from "./mq.js";
4
4
  export { MysqlKvStore, MysqlMessageQueue };
package/dist/mq.cjs CHANGED
@@ -339,7 +339,7 @@ var MysqlMessageQueue = class {
339
339
  }
340
340
  /**
341
341
  * Initializes the message queue table if it does not already exist.
342
- * Concurrent calls are coalesced only one initialization runs at a time.
342
+ * Concurrent calls are coalesced—only one initialization runs at a time.
343
343
  *
344
344
  * @since 2.1.0
345
345
  */
package/dist/mq.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference lib="esnext.temporal" />
1
2
  import { MessageQueue, MessageQueueDepth, MessageQueueEnqueueOptions, MessageQueueListenOptions } from "@fedify/fedify";
2
3
 
3
4
  //#region src/mq.d.ts
@@ -47,7 +48,7 @@ interface MysqlMessageQueueOptions {
47
48
  * The maximum time to wait for a message handler to complete before
48
49
  * the queue moves on. This is a *soft* timeout: when a handler exceeds
49
50
  * the limit, the queue stops waiting and logs a timeout error, but it
50
- * cannot cancel the handler itself the handler's promise continues
51
+ * cannot cancel the handler itself—the handler's promise continues
51
52
  * running in the background. In the ordered-key path the advisory lock
52
53
  * is always released in a `finally` block, so a timed-out handler will
53
54
  * not permanently block the same ordering key. However, concurrent
@@ -124,7 +125,7 @@ declare class MysqlMessageQueue implements MessageQueue {
124
125
  listen(handler: (message: any) => void | Promise<void>, options?: MessageQueueListenOptions): Promise<void>;
125
126
  /**
126
127
  * Initializes the message queue table if it does not already exist.
127
- * Concurrent calls are coalesced only one initialization runs at a time.
128
+ * Concurrent calls are coalesced—only one initialization runs at a time.
128
129
  *
129
130
  * @since 2.1.0
130
131
  */
package/dist/mq.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Temporal } from "@js-temporal/polyfill";
1
+ /// <reference lib="esnext.temporal" />
2
2
  import { MessageQueue, MessageQueueDepth, MessageQueueEnqueueOptions, MessageQueueListenOptions } from "@fedify/fedify";
3
3
 
4
4
  //#region src/mq.d.ts
@@ -48,7 +48,7 @@ interface MysqlMessageQueueOptions {
48
48
  * The maximum time to wait for a message handler to complete before
49
49
  * the queue moves on. This is a *soft* timeout: when a handler exceeds
50
50
  * the limit, the queue stops waiting and logs a timeout error, but it
51
- * cannot cancel the handler itself the handler's promise continues
51
+ * cannot cancel the handler itself—the handler's promise continues
52
52
  * running in the background. In the ordered-key path the advisory lock
53
53
  * is always released in a `finally` block, so a timed-out handler will
54
54
  * not permanently block the same ordering key. However, concurrent
@@ -125,7 +125,7 @@ declare class MysqlMessageQueue implements MessageQueue {
125
125
  listen(handler: (message: any) => void | Promise<void>, options?: MessageQueueListenOptions): Promise<void>;
126
126
  /**
127
127
  * Initializes the message queue table if it does not already exist.
128
- * Concurrent calls are coalesced only one initialization runs at a time.
128
+ * Concurrent calls are coalesced—only one initialization runs at a time.
129
129
  *
130
130
  * @since 2.1.0
131
131
  */
package/dist/mq.js CHANGED
@@ -339,7 +339,7 @@ var MysqlMessageQueue = class {
339
339
  }
340
340
  /**
341
341
  * Initializes the message queue table if it does not already exist.
342
- * Concurrent calls are coalesced only one initialization runs at a time.
342
+ * Concurrent calls are coalesced—only one initialization runs at a time.
343
343
  *
344
344
  * @since 2.1.0
345
345
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/mysql",
3
- "version": "2.3.0-dev.1069+81e910ce",
3
+ "version": "2.3.0-dev.1099+fafcfa78",
4
4
  "description": "MySQL/MariaDB drivers for Fedify",
5
5
  "keywords": [
6
6
  "fedify",
@@ -70,17 +70,17 @@
70
70
  ],
71
71
  "dependencies": {
72
72
  "@js-temporal/polyfill": "^0.5.1",
73
- "@logtape/logtape": "^2.0.5",
74
- "es-toolkit": "1.43.0"
73
+ "@logtape/logtape": "^2.0.7",
74
+ "es-toolkit": "1.46.1"
75
75
  },
76
76
  "peerDependencies": {
77
- "mysql2": "^3.18.0",
78
- "@fedify/fedify": "^2.3.0-dev.1069+81e910ce"
77
+ "mysql2": "^3.22.3",
78
+ "@fedify/fedify": "^2.3.0-dev.1099+fafcfa78"
79
79
  },
80
80
  "devDependencies": {
81
- "tsdown": "^0.21.6",
82
- "typescript": "^5.9.2",
83
- "@fedify/testing": "^2.3.0-dev.1069+81e910ce",
81
+ "tsdown": "^0.22.0",
82
+ "typescript": "^6.0.0",
83
+ "@fedify/testing": "^2.3.0-dev.1099+fafcfa78",
84
84
  "@fedify/fixture": "^2.0.0"
85
85
  },
86
86
  "scripts": {