@replohq/sdk 1.17.0 → 1.18.0
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/lib/buildMetadata.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const BUILD_METADATA = {
|
|
2
2
|
"packageName": "@replohq/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"branch": "HEAD",
|
|
5
|
-
"commit": "
|
|
6
|
-
"builtAt": "2026-10-
|
|
5
|
+
"commit": "038932591fc729ca2f66cb29af15af8573ff9fd0",
|
|
6
|
+
"builtAt": "2026-10-14T19:30:38.623Z"
|
|
7
7
|
};
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* entry once the underlying data disappears (e.g. a product goes draft).
|
|
13
13
|
*
|
|
14
14
|
* @param revalidateSeconds - How long (in seconds) the cached result is
|
|
15
|
-
* considered fresh. Defaults to 60. Set to `false` to cache
|
|
16
|
-
*
|
|
15
|
+
* considered fresh. Defaults to 60. Set to `false` to cache until the next
|
|
16
|
+
* publish.
|
|
17
17
|
*/
|
|
18
18
|
export declare function invokeLoaderServer({ loaderKey, args, revalidateSeconds, }: {
|
|
19
19
|
loaderKey: string;
|
|
@@ -58,10 +58,7 @@ async function invokeLoaderServer({
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
cacheKeyParts,
|
|
61
|
-
{
|
|
62
|
-
revalidate: revalidateSeconds,
|
|
63
|
-
tags: [`loader:${loaderKey}`, ...cacheKeyParts]
|
|
64
|
-
}
|
|
61
|
+
{ revalidate: revalidateSeconds }
|
|
65
62
|
)();
|
|
66
63
|
if (cachedInvocation.kind === "notFound") {
|
|
67
64
|
throw new LoaderDataNotFoundError({ loaderKey });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type PrefetchLoaderConfig = {
|
|
2
2
|
loaderKey: string;
|
|
3
3
|
args: Record<string, unknown>;
|
|
4
|
-
/** How long the server-side cache entry is fresh. Defaults to 60s. Use `false`
|
|
4
|
+
/** How long the server-side cache entry is fresh. Defaults to 60s. Use `false` to cache until the next publish. */
|
|
5
5
|
revalidateSeconds?: number | false;
|
|
6
6
|
};
|
|
7
7
|
/**
|
package/next/open-next.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
export default
|
|
1
|
+
declare const openNextConfig: import("@opennextjs/cloudflare").OpenNextConfig;
|
|
2
|
+
export default openNextConfig;
|
package/next/open-next.js
CHANGED
|
@@ -14,11 +14,11 @@ const backgroundDurableQueue = {
|
|
|
14
14
|
getCloudflareContext().ctx.waitUntil(durableQueue.send(message));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
const openNextConfig = defineCloudflareConfig({
|
|
18
18
|
incrementalCache: withRegionalCache(r2IncrementalCache, {
|
|
19
19
|
mode: "short-lived"
|
|
20
20
|
}),
|
|
21
|
-
enableCacheInterception:
|
|
21
|
+
enableCacheInterception: true,
|
|
22
22
|
queue: backgroundDurableQueue,
|
|
23
23
|
tagCache: doShardedTagCache({
|
|
24
24
|
baseShardSize: 12,
|
|
@@ -31,6 +31,11 @@ var open_next_default = defineCloudflareConfig({
|
|
|
31
31
|
}
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
|
+
openNextConfig.dangerous = {
|
|
35
|
+
...openNextConfig.dangerous,
|
|
36
|
+
disableTagCache: true
|
|
37
|
+
};
|
|
38
|
+
var open_next_default = openNextConfig;
|
|
34
39
|
export {
|
|
35
40
|
open_next_default as default
|
|
36
41
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@replohq/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"reploBuild": {
|
|
5
5
|
"packageName": "@replohq/sdk",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.18.0",
|
|
7
7
|
"branch": "HEAD",
|
|
8
|
-
"commit": "
|
|
9
|
-
"builtAt": "2026-10-
|
|
8
|
+
"commit": "038932591fc729ca2f66cb29af15af8573ff9fd0",
|
|
9
|
+
"builtAt": "2026-10-14T19:30:38.623Z"
|
|
10
10
|
},
|
|
11
11
|
"description": "Replo SDK — cart, analytics, and data loaders for agent-built Next.js sites.",
|
|
12
12
|
"license": "SEE LICENSE IN LICENSE",
|