oasis_test_v2 2.2.103 → 2.2.104

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1122,7 +1122,7 @@ var RUNTIME_QUOTA_POLL_MS, RUNTIME_QUOTA_STALE_MS, RUNTIME_QUOTA_REFRESH_MIN_GAP
1122
1122
  var init_runtime_quota = __esm({
1123
1123
  "../contract/src/runtime-quota.ts"() {
1124
1124
  "use strict";
1125
- RUNTIME_QUOTA_POLL_MS = 5 * 6e4;
1125
+ RUNTIME_QUOTA_POLL_MS = 60 * 6e4;
1126
1126
  RUNTIME_QUOTA_STALE_MS = 2 * RUNTIME_QUOTA_POLL_MS;
1127
1127
  RUNTIME_QUOTA_REFRESH_MIN_GAP_MS = 3e4;
1128
1128
  statuses = /* @__PURE__ */ new Set(["ok", "unavailable", "unauthenticated", "unsupported", "error", "rate_limited"]);
@@ -293907,7 +293907,7 @@ var RuntimeQuotaMonitor = class _RuntimeQuotaMonitor {
293907
293907
  /**
293908
293908
  * 人点了页面上的「刷新」(服务端下发 `refresh_quotas`,ADR 0620):**现在就去问上游**。
293909
293909
  *
293910
- * 与 {@link refresh} 的唯一区别就是**不看那 5 分钟**——那条节流是背景轮询的节奏,
293910
+ * 与 {@link refresh} 的唯一区别就是**不看那 1 小时**——那条节流是背景轮询的节奏,
293911
293911
  * 对一个正盯着页面等结果的人没有任何意义。换上的是一条窄得多的闸:
293912
293912
  * {@link RUNTIME_QUOTA_REFRESH_MIN_GAP_MS}(30 秒)。连点被它挡下,且挡下时**如实说**
293913
293913
  * 「刚在 N 秒前采过」,不假装采了一次(发起人方申的定则:会静默降级的动作必须回报走了哪条路)。
@@ -297914,7 +297914,7 @@ async function waitForCommandAuthorization(base, headers, draftId, fallback) {
297914
297914
  }
297915
297915
  }
297916
297916
  }
297917
- var CLI_VERSION = "2.2.103" ? "2.2.103" : "dev";
297917
+ var CLI_VERSION = "2.2.104" ? "2.2.104" : "dev";
297918
297918
  function apiHeaders(token2, company) {
297919
297919
  const headers = {
297920
297920
  authorization: `Bearer ${token2}`,
@@ -301950,7 +301950,7 @@ function shimScript() {
301950
301950
  }
301951
301951
 
301952
301952
  // src/index.ts
301953
- var PKG_VERSION = true ? "2.2.103" : "dev";
301953
+ var PKG_VERSION = true ? "2.2.104" : "dev";
301954
301954
  var LOCAL_BIN = localBin();
301955
301955
  var NPM_PREFIX = npmPrefix();
301956
301956
  var INSTANCE = DEFAULT_INSTANCE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasis_test_v2",
3
- "version": "2.2.103",
3
+ "version": "2.2.104",
4
4
  "description": "Oasis node daemon + CLI — background daemon, auto-start, full server CLI",
5
5
  "bin": {
6
6
  "oasis": "./dist/index.js"
@@ -26,6 +26,6 @@
26
26
  "node": ">=20"
27
27
  },
28
28
  "oasisRelease": {
29
- "sourceHead": "be78091fa39438c497835a6207b5df1d519afcc9"
29
+ "sourceHead": "fedeeaeaf192842d2e7e5ba8c0b0c9ed72aaca14"
30
30
  }
31
31
  }