veryfront 0.1.961 → 0.1.962

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.961",
3
+ "version": "0.1.962",
4
4
  "license": "Apache-2.0",
5
5
  "nodeModulesDir": "auto",
6
6
  "minimumDependencyAge": {
@@ -65,16 +65,6 @@ function defaultCostComparison(baselineSummary, candidateSummary) {
65
65
  label: "Veryfront billed cost",
66
66
  };
67
67
  }
68
- if (baselineSummary.costSource === "gateway" &&
69
- candidateSummary.costSource === "gateway" &&
70
- baselineSummary.costCredits !== undefined &&
71
- candidateSummary.costCredits !== undefined) {
72
- return {
73
- baseline: baselineSummary.costCredits,
74
- candidate: candidateSummary.costCredits,
75
- label: "Veryfront credits",
76
- };
77
- }
78
68
  if (baselineSummary.veryfrontChargeUsd !== undefined &&
79
69
  candidateSummary.veryfrontChargeUsd !== undefined) {
80
70
  return {
@@ -98,6 +88,16 @@ function defaultCostComparison(baselineSummary, candidateSummary) {
98
88
  label: "provider cost",
99
89
  };
100
90
  }
91
+ if (baselineSummary.costSource === "gateway" &&
92
+ candidateSummary.costSource === "gateway" &&
93
+ baselineSummary.costCredits !== undefined &&
94
+ candidateSummary.costCredits !== undefined) {
95
+ return {
96
+ baseline: baselineSummary.costCredits,
97
+ candidate: candidateSummary.costCredits,
98
+ label: "Veryfront credits",
99
+ };
100
+ }
101
101
  return undefined;
102
102
  }
103
103
  function metricValue(summary, metric) {
@@ -1,3 +1,3 @@
1
1
  /** Shared version value. */
2
- export declare const VERSION = "0.1.961";
2
+ export declare const VERSION = "0.1.962";
3
3
  //# sourceMappingURL=version-constant.d.ts.map
@@ -1,4 +1,4 @@
1
1
  // Keep in sync with deno.json version.
2
2
  // scripts/release.ts updates this constant during releases.
3
3
  /** Shared version value. */
4
- export const VERSION = "0.1.961";
4
+ export const VERSION = "0.1.962";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "veryfront",
3
- "version": "0.1.961",
3
+ "version": "0.1.962",
4
4
  "description": "The simplest way to build AI-powered apps",
5
5
  "keywords": [
6
6
  "react",