veryfront 0.1.243 → 0.1.244

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/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "veryfront",
3
- "version": "0.1.243",
3
+ "version": "0.1.244",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "workspace": [
@@ -249,15 +249,15 @@ export async function resyncConversationRunAppendCursor(input) {
249
249
  runId: input.runId,
250
250
  abortSignal: input.abortSignal,
251
251
  });
252
- if (run.latestExternalEventSequence > input.previousLatestExternalEventSequence) {
252
+ if (!isAppendableConversationRunProjection(run)) {
253
253
  return {
254
- result: "advanced",
254
+ result: "non_appendable",
255
255
  run,
256
256
  };
257
257
  }
258
- if (!isAppendableConversationRunProjection(run)) {
258
+ if (run.latestExternalEventSequence > input.previousLatestExternalEventSequence) {
259
259
  return {
260
- result: "non_appendable",
260
+ result: "advanced",
261
261
  run,
262
262
  };
263
263
  }
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.243";
1
+ export declare const VERSION = "0.1.244";
2
2
  //# sourceMappingURL=version-constant.d.ts.map
@@ -1,3 +1,3 @@
1
1
  // Keep in sync with deno.json version.
2
2
  // scripts/release.ts updates this constant during releases.
3
- export const VERSION = "0.1.243";
3
+ export const VERSION = "0.1.244";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veryfront",
3
- "version": "0.1.243",
3
+ "version": "0.1.244",
4
4
  "description": "The simplest way to build AI-powered apps",
5
5
  "keywords": [
6
6
  "react",
package/src/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "veryfront",
3
- "version": "0.1.243",
3
+ "version": "0.1.244",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "workspace": [
@@ -362,16 +362,16 @@ export async function resyncConversationRunAppendCursor(input: {
362
362
  abortSignal: input.abortSignal,
363
363
  });
364
364
 
365
- if (run.latestExternalEventSequence > input.previousLatestExternalEventSequence) {
365
+ if (!isAppendableConversationRunProjection(run)) {
366
366
  return {
367
- result: "advanced",
367
+ result: "non_appendable",
368
368
  run,
369
369
  };
370
370
  }
371
371
 
372
- if (!isAppendableConversationRunProjection(run)) {
372
+ if (run.latestExternalEventSequence > input.previousLatestExternalEventSequence) {
373
373
  return {
374
- result: "non_appendable",
374
+ result: "advanced",
375
375
  run,
376
376
  };
377
377
  }
@@ -1,3 +1,3 @@
1
1
  // Keep in sync with deno.json version.
2
2
  // scripts/release.ts updates this constant during releases.
3
- export const VERSION = "0.1.243";
3
+ export const VERSION = "0.1.244";