@orpc/experimental-durable-iterator 0.0.0-next.c5401b5 → 0.0.0-next.e7bc0b8
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.
|
@@ -106,7 +106,7 @@ interface EventResumeStorageOptions extends StandardRPCJsonSerializerOptions {
|
|
|
106
106
|
*
|
|
107
107
|
* @default 'orpc:durable-iterator:resume:'
|
|
108
108
|
*/
|
|
109
|
-
|
|
109
|
+
resumeSchemaPrefix?: string;
|
|
110
110
|
}
|
|
111
111
|
interface ResumeEventFilter {
|
|
112
112
|
/** Only websockets with these tags will receive the event */
|
|
@@ -106,7 +106,7 @@ interface EventResumeStorageOptions extends StandardRPCJsonSerializerOptions {
|
|
|
106
106
|
*
|
|
107
107
|
* @default 'orpc:durable-iterator:resume:'
|
|
108
108
|
*/
|
|
109
|
-
|
|
109
|
+
resumeSchemaPrefix?: string;
|
|
110
110
|
}
|
|
111
111
|
interface ResumeEventFilter {
|
|
112
112
|
/** Only websockets with these tags will receive the event */
|
|
@@ -134,7 +134,7 @@ class EventResumeStorage {
|
|
|
134
134
|
constructor(durableState, options = {}) {
|
|
135
135
|
this.durableState = durableState;
|
|
136
136
|
this.retentionSeconds = fallback(options.resumeRetentionSeconds, Number.NaN);
|
|
137
|
-
this.schemaPrefix = fallback(options.
|
|
137
|
+
this.schemaPrefix = fallback(options.resumeSchemaPrefix, "orpc:durable-iterator:resume:");
|
|
138
138
|
this.serializer = new StandardRPCJsonSerializer(options);
|
|
139
139
|
if (this.isEnabled) {
|
|
140
140
|
this.initSchema();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orpc/experimental-durable-iterator",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.0-next.
|
|
4
|
+
"version": "0.0.0-next.e7bc0b8",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://orpc.unnoq.com",
|
|
7
7
|
"repository": {
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"partysocket": "^1.1.5",
|
|
38
38
|
"valibot": "^1.1.0",
|
|
39
|
-
"@orpc/
|
|
40
|
-
"@orpc/
|
|
41
|
-
"@orpc/
|
|
42
|
-
"@orpc/shared": "0.0.0-next.
|
|
39
|
+
"@orpc/client": "0.0.0-next.e7bc0b8",
|
|
40
|
+
"@orpc/contract": "0.0.0-next.e7bc0b8",
|
|
41
|
+
"@orpc/server": "0.0.0-next.e7bc0b8",
|
|
42
|
+
"@orpc/shared": "0.0.0-next.e7bc0b8"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@cloudflare/workers-types": "^4.
|
|
45
|
+
"@cloudflare/workers-types": "^4.20250923.0",
|
|
46
46
|
"@types/node": "^22.15.30",
|
|
47
|
-
"@orpc/standard-server-peer": "0.0.0-next.
|
|
47
|
+
"@orpc/standard-server-peer": "0.0.0-next.e7bc0b8"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "unbuild",
|