veryfront 0.1.311 → 0.1.312

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.311",
3
+ "version": "0.1.312",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "workspace": [
@@ -1 +1 @@
1
- {"version":3,"file":"hosted-child-stream-watchdog.d.ts","sourceRoot":"","sources":["../../../src/src/agent/hosted-child-stream-watchdog.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,8BAA8B,GAAG,cAAc,GAAG,gBAAgB,GAAG,cAAc,CAAC;AAEhG,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,8BAA8B,CAAC;IACtC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,iCAAkC,SAAQ,KAAK;IAC1D,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,8BAA8B,CAAC;gBAEnC,KAAK,EAAE,8BAA8B;CAUlD;AAED,eAAO,MAAM,iCAAiC,eAAwC,CAAC;AAEvF,wBAAgB,qCAAqC,CAAC,KAAK,EAAE;IAC3D,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;CAC/B,GAAG,8BAA8B,CAmBjC;AAED,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC,GACtC,WAAW,GAAG,SAAS,CASzB;AAED,wBAAuB,gCAAgC,CAAC,CAAC,EAAE,KAAK,EAAE;IAChE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IACzB,gBAAgB,EAAE,MAAM,8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BAAuB,gCAAgC,CAAC,CAAC,EAAE,KAAK,EAAE;IAChE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IACzB,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;IACvD,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,aAAa,CAAC,EAAE,CACd,KAAK,EAAE,8BAA8B,KAClC,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC,SAAS,GAAG,UAAU,CAAC,CAAC;CAC/D,GAAG,cAAc,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CA+ChC;AAED,wBAAsB,oCAAoC,CAAC,CAAC,EAC1D,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,EACvB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,CAAC,GAAG,OAAO,iCAAiC,CAAC,CAkBvD"}
@@ -53,7 +53,7 @@ export async function* withHostedChildStreamIdleTimeout(input) {
53
53
  const result = await Promise.race([
54
54
  pendingNext,
55
55
  new Promise((resolve) => {
56
- timeoutId = dntShim.setTimeout(() => {
56
+ timeoutId = dntShim.dntGlobalThis.setTimeout(() => {
57
57
  resolve(HOSTED_CHILD_STREAM_TIMEOUT_TOKEN);
58
58
  }, watchdogState.timeoutMs);
59
59
  }),
@@ -73,7 +73,7 @@ export async function* withHostedChildStreamIdleTimeout(input) {
73
73
  }
74
74
  finally {
75
75
  if (timeoutId) {
76
- clearTimeout(timeoutId);
76
+ globalThis.clearTimeout(timeoutId);
77
77
  }
78
78
  }
79
79
  }
@@ -84,13 +84,13 @@ export async function resolveHostedChildPromiseWithTimeout(promise, timeoutMs) {
84
84
  return await Promise.race([
85
85
  Promise.resolve(promise),
86
86
  new Promise((resolve) => {
87
- timeoutId = dntShim.setTimeout(() => resolve(HOSTED_CHILD_STREAM_TIMEOUT_TOKEN), timeoutMs);
87
+ timeoutId = dntShim.dntGlobalThis.setTimeout(() => resolve(HOSTED_CHILD_STREAM_TIMEOUT_TOKEN), timeoutMs);
88
88
  }),
89
89
  ]);
90
90
  }
91
91
  finally {
92
92
  if (timeoutId) {
93
- clearTimeout(timeoutId);
93
+ globalThis.clearTimeout(timeoutId);
94
94
  }
95
95
  }
96
96
  }
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.311";
1
+ export declare const VERSION = "0.1.312";
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.311";
3
+ export const VERSION = "0.1.312";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veryfront",
3
- "version": "0.1.311",
3
+ "version": "0.1.312",
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.311",
3
+ "version": "0.1.312",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "workspace": [
@@ -92,7 +92,7 @@ export async function* withHostedChildStreamIdleTimeout<T>(input: {
92
92
  >([
93
93
  pendingNext,
94
94
  new Promise<typeof HOSTED_CHILD_STREAM_TIMEOUT_TOKEN>((resolve) => {
95
- timeoutId = dntShim.setTimeout(() => {
95
+ timeoutId = dntShim.dntGlobalThis.setTimeout(() => {
96
96
  resolve(HOSTED_CHILD_STREAM_TIMEOUT_TOKEN);
97
97
  }, watchdogState.timeoutMs);
98
98
  }),
@@ -116,7 +116,7 @@ export async function* withHostedChildStreamIdleTimeout<T>(input: {
116
116
  yield result.value;
117
117
  } finally {
118
118
  if (timeoutId) {
119
- clearTimeout(timeoutId);
119
+ globalThis.clearTimeout(timeoutId);
120
120
  }
121
121
  }
122
122
  }
@@ -132,12 +132,15 @@ export async function resolveHostedChildPromiseWithTimeout<T>(
132
132
  return await Promise.race([
133
133
  Promise.resolve(promise),
134
134
  new Promise<typeof HOSTED_CHILD_STREAM_TIMEOUT_TOKEN>((resolve) => {
135
- timeoutId = dntShim.setTimeout(() => resolve(HOSTED_CHILD_STREAM_TIMEOUT_TOKEN), timeoutMs);
135
+ timeoutId = dntShim.dntGlobalThis.setTimeout(
136
+ () => resolve(HOSTED_CHILD_STREAM_TIMEOUT_TOKEN),
137
+ timeoutMs,
138
+ );
136
139
  }),
137
140
  ]);
138
141
  } finally {
139
142
  if (timeoutId) {
140
- clearTimeout(timeoutId);
143
+ globalThis.clearTimeout(timeoutId);
141
144
  }
142
145
  }
143
146
  }
@@ -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.311";
3
+ export const VERSION = "0.1.312";