@orpc/experimental-durable-iterator 0.0.0-next.01f0b7a → 0.0.0-next.02ed8de
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/client/index.mjs +3 -3
- package/dist/durable-object/index.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +3 -3
- package/dist/shared/{experimental-durable-iterator.DZOLL3sf.mjs → experimental-durable-iterator.C144gAzf.mjs} +1 -1
- package/dist/shared/{experimental-durable-iterator.B3M42lLK.mjs → experimental-durable-iterator.sCul6zQj.mjs} +1 -1
- package/package.json +8 -8
package/dist/client/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { c as createClientDurableIterator } from '../shared/experimental-durable-iterator.
|
|
2
|
-
export { g as getClientDurableIteratorToken } from '../shared/experimental-durable-iterator.
|
|
1
|
+
import { c as createClientDurableIterator } from '../shared/experimental-durable-iterator.sCul6zQj.mjs';
|
|
2
|
+
export { g as getClientDurableIteratorToken } from '../shared/experimental-durable-iterator.sCul6zQj.mjs';
|
|
3
3
|
import { createORPCClient } from '@orpc/client';
|
|
4
4
|
import { ClientRetryPlugin } from '@orpc/client/plugins';
|
|
5
5
|
import { RPCLink } from '@orpc/client/websocket';
|
|
6
6
|
import { fallback, value, toArray, AsyncIteratorClass, retry, stringifyJSON } from '@orpc/shared';
|
|
7
7
|
import { WebSocket } from 'partysocket';
|
|
8
|
-
import { d as DURABLE_ITERATOR_ID_PARAM, c as DURABLE_ITERATOR_TOKEN_PARAM, D as DurableIteratorError, b as DURABLE_ITERATOR_PLUGIN_HEADER_KEY, a as DURABLE_ITERATOR_PLUGIN_HEADER_VALUE, p as parseDurableIteratorToken } from '../shared/experimental-durable-iterator.
|
|
8
|
+
import { d as DURABLE_ITERATOR_ID_PARAM, c as DURABLE_ITERATOR_TOKEN_PARAM, D as DurableIteratorError, b as DURABLE_ITERATOR_PLUGIN_HEADER_KEY, a as DURABLE_ITERATOR_PLUGIN_HEADER_VALUE, p as parseDurableIteratorToken } from '../shared/experimental-durable-iterator.C144gAzf.mjs';
|
|
9
9
|
import '@orpc/server/helpers';
|
|
10
10
|
import 'valibot';
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@ export { withEventMeta } from '@orpc/server';
|
|
|
3
3
|
import { HibernationEventIterator, encodeHibernationRPCEvent, HibernationPlugin } from '@orpc/server/hibernation';
|
|
4
4
|
import { RPCHandler } from '@orpc/server/websocket';
|
|
5
5
|
import { fallback, parseEmptyableJSON, stringifyJSON, get, toArray, intercept } from '@orpc/shared';
|
|
6
|
-
import { D as DurableIteratorError, v as verifyDurableIteratorToken, c as DURABLE_ITERATOR_TOKEN_PARAM, d as DURABLE_ITERATOR_ID_PARAM } from '../shared/experimental-durable-iterator.
|
|
6
|
+
import { D as DurableIteratorError, v as verifyDurableIteratorToken, c as DURABLE_ITERATOR_TOKEN_PARAM, d as DURABLE_ITERATOR_ID_PARAM } from '../shared/experimental-durable-iterator.C144gAzf.mjs';
|
|
7
7
|
import { d as durableIteratorContract } from '../shared/experimental-durable-iterator.BRB0hiXN.mjs';
|
|
8
8
|
import { StandardRPCJsonSerializer } from '@orpc/client/standard';
|
|
9
9
|
import { DurableObject } from 'cloudflare:workers';
|
package/dist/index.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ import '@orpc/client/plugins';
|
|
|
11
11
|
|
|
12
12
|
declare const DURABLE_ITERATOR_TOKEN_PARAM: "token";
|
|
13
13
|
declare const DURABLE_ITERATOR_ID_PARAM: "id";
|
|
14
|
-
declare const DURABLE_ITERATOR_PLUGIN_HEADER_KEY: "x-orpc-
|
|
14
|
+
declare const DURABLE_ITERATOR_PLUGIN_HEADER_KEY: "x-orpc-durable-iterator";
|
|
15
15
|
declare const DURABLE_ITERATOR_PLUGIN_HEADER_VALUE: "1";
|
|
16
16
|
|
|
17
17
|
declare const durableIteratorContract: {
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import '@orpc/client/plugins';
|
|
|
11
11
|
|
|
12
12
|
declare const DURABLE_ITERATOR_TOKEN_PARAM: "token";
|
|
13
13
|
declare const DURABLE_ITERATOR_ID_PARAM: "id";
|
|
14
|
-
declare const DURABLE_ITERATOR_PLUGIN_HEADER_KEY: "x-orpc-
|
|
14
|
+
declare const DURABLE_ITERATOR_PLUGIN_HEADER_KEY: "x-orpc-durable-iterator";
|
|
15
15
|
declare const DURABLE_ITERATOR_PLUGIN_HEADER_VALUE: "1";
|
|
16
16
|
|
|
17
17
|
declare const durableIteratorContract: {
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as signDurableIteratorToken, D as DurableIteratorError, a as DURABLE_ITERATOR_PLUGIN_HEADER_VALUE, b as DURABLE_ITERATOR_PLUGIN_HEADER_KEY } from './shared/experimental-durable-iterator.
|
|
2
|
-
export { d as DURABLE_ITERATOR_ID_PARAM, c as DURABLE_ITERATOR_TOKEN_PARAM, p as parseDurableIteratorToken, v as verifyDurableIteratorToken } from './shared/experimental-durable-iterator.
|
|
1
|
+
import { s as signDurableIteratorToken, D as DurableIteratorError, a as DURABLE_ITERATOR_PLUGIN_HEADER_VALUE, b as DURABLE_ITERATOR_PLUGIN_HEADER_KEY } from './shared/experimental-durable-iterator.C144gAzf.mjs';
|
|
2
|
+
export { d as DURABLE_ITERATOR_ID_PARAM, c as DURABLE_ITERATOR_TOKEN_PARAM, p as parseDurableIteratorToken, v as verifyDurableIteratorToken } from './shared/experimental-durable-iterator.C144gAzf.mjs';
|
|
3
3
|
export { d as durableIteratorContract } from './shared/experimental-durable-iterator.BRB0hiXN.mjs';
|
|
4
4
|
import { AsyncIteratorClass } from '@orpc/shared';
|
|
5
|
-
import { c as createClientDurableIterator, g as getClientDurableIteratorToken } from './shared/experimental-durable-iterator.
|
|
5
|
+
import { c as createClientDurableIterator, g as getClientDurableIteratorToken } from './shared/experimental-durable-iterator.sCul6zQj.mjs';
|
|
6
6
|
import '@orpc/client';
|
|
7
7
|
import '@orpc/client/plugins';
|
|
8
8
|
import '@orpc/client/websocket';
|
|
@@ -4,7 +4,7 @@ import * as v from 'valibot';
|
|
|
4
4
|
|
|
5
5
|
const DURABLE_ITERATOR_TOKEN_PARAM = "token";
|
|
6
6
|
const DURABLE_ITERATOR_ID_PARAM = "id";
|
|
7
|
-
const DURABLE_ITERATOR_PLUGIN_HEADER_KEY = "x-orpc-
|
|
7
|
+
const DURABLE_ITERATOR_PLUGIN_HEADER_KEY = "x-orpc-durable-iterator";
|
|
8
8
|
const DURABLE_ITERATOR_PLUGIN_HEADER_VALUE = "1";
|
|
9
9
|
|
|
10
10
|
class DurableIteratorError extends Error {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createORPCClient } from '@orpc/client';
|
|
2
2
|
import { isAsyncIteratorObject } from '@orpc/shared';
|
|
3
|
-
import { p as parseDurableIteratorToken } from './experimental-durable-iterator.
|
|
3
|
+
import { p as parseDurableIteratorToken } from './experimental-durable-iterator.C144gAzf.mjs';
|
|
4
4
|
|
|
5
5
|
const CLIENT_DURABLE_ITERATOR_TOKEN_SYMBOL = Symbol("ORPC_CLIENT_DURABLE_ITERATOR_TOKEN");
|
|
6
6
|
function createClientDurableIterator(iterator, link, options) {
|
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.02ed8de",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://orpc.unnoq.com",
|
|
7
7
|
"repository": {
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"dist"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"partysocket": "^1.1.
|
|
37
|
+
"partysocket": "^1.1.6",
|
|
38
38
|
"valibot": "^1.1.0",
|
|
39
|
-
"@orpc/client": "0.0.0-next.
|
|
40
|
-
"@orpc/contract": "0.0.0-next.
|
|
41
|
-
"@orpc/
|
|
42
|
-
"@orpc/
|
|
39
|
+
"@orpc/client": "0.0.0-next.02ed8de",
|
|
40
|
+
"@orpc/contract": "0.0.0-next.02ed8de",
|
|
41
|
+
"@orpc/shared": "0.0.0-next.02ed8de",
|
|
42
|
+
"@orpc/server": "0.0.0-next.02ed8de"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@cloudflare/workers-types": "^4.
|
|
45
|
+
"@cloudflare/workers-types": "^4.20250927.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.02ed8de"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "unbuild",
|