@vercel/flags-core 1.10.2 → 1.10.3

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.
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkPOAWPAE3cjs = require('./chunk-POAWPAE3.cjs');
10
+ var _chunkBEQ3MX7Zcjs = require('./chunk-BEQ3MX7Z.cjs');
11
11
 
12
12
 
13
13
 
@@ -18,5 +18,5 @@ var _chunkPOAWPAE3cjs = require('./chunk-POAWPAE3.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.Controller = _chunkPOAWPAE3cjs.Controller; exports.FallbackEntryNotFoundError = _chunkPOAWPAE3cjs.FallbackEntryNotFoundError; exports.FallbackNotFoundError = _chunkPOAWPAE3cjs.FallbackNotFoundError; exports.FlagNetworkDataSource = _chunkPOAWPAE3cjs.Controller; exports.Reason = _chunkPOAWPAE3cjs.ResolutionReason; exports.createClient = _chunkPOAWPAE3cjs.createClient; exports.evaluate = _chunkPOAWPAE3cjs.evaluate; exports.flagsClient = _chunkPOAWPAE3cjs.flagsClient; exports.resetDefaultFlagsClient = _chunkPOAWPAE3cjs.resetDefaultFlagsClient;
21
+ exports.Controller = _chunkBEQ3MX7Zcjs.Controller; exports.FallbackEntryNotFoundError = _chunkBEQ3MX7Zcjs.FallbackEntryNotFoundError; exports.FallbackNotFoundError = _chunkBEQ3MX7Zcjs.FallbackNotFoundError; exports.FlagNetworkDataSource = _chunkBEQ3MX7Zcjs.Controller; exports.Reason = _chunkBEQ3MX7Zcjs.ResolutionReason; exports.createClient = _chunkBEQ3MX7Zcjs.createClient; exports.evaluate = _chunkBEQ3MX7Zcjs.evaluate; exports.flagsClient = _chunkBEQ3MX7Zcjs.flagsClient; exports.resetDefaultFlagsClient = _chunkBEQ3MX7Zcjs.resetDefaultFlagsClient;
22
22
  //# sourceMappingURL=index.default.cjs.map
@@ -136,11 +136,12 @@ type ControllerOptions = {
136
136
  * - Streams exclusively; a startup timeout keeps connecting in the background
137
137
  * - Retains provided/bundled data during startup; fetches if the cache remains empty
138
138
  * - Reads always serve the cache while streaming; old data is labeled stale, never refetched over HTTP
139
- * - Polling starts only once the stream gives up (retries exhausted, 401, or token failure)
139
+ * - Polling starts only once the stream exhausts its retries; an auth failure (401 or
140
+ * missing OIDC token) skips polling, which would fail the same way
140
141
  * - Without a live source (`degraded`), reads apply stale-while-revalidate over HTTP
141
142
  *
142
143
  * **Runtime — polling mode** (polling enabled, stream disabled):
143
- * - Uses polling exclusively; a 401 stops polling and reads revalidate over HTTP
144
+ * - Uses polling exclusively; a 401 or missing OIDC token stops polling and reads revalidate over HTTP
144
145
  * - Same fallback chains as streaming mode
145
146
  *
146
147
  * **Runtime — Vercel mode** (vercel enabled, with stream or polling enabled):
@@ -136,11 +136,12 @@ type ControllerOptions = {
136
136
  * - Streams exclusively; a startup timeout keeps connecting in the background
137
137
  * - Retains provided/bundled data during startup; fetches if the cache remains empty
138
138
  * - Reads always serve the cache while streaming; old data is labeled stale, never refetched over HTTP
139
- * - Polling starts only once the stream gives up (retries exhausted, 401, or token failure)
139
+ * - Polling starts only once the stream exhausts its retries; an auth failure (401 or
140
+ * missing OIDC token) skips polling, which would fail the same way
140
141
  * - Without a live source (`degraded`), reads apply stale-while-revalidate over HTTP
141
142
  *
142
143
  * **Runtime — polling mode** (polling enabled, stream disabled):
143
- * - Uses polling exclusively; a 401 stops polling and reads revalidate over HTTP
144
+ * - Uses polling exclusively; a 401 or missing OIDC token stops polling and reads revalidate over HTTP
144
145
  * - Same fallback chains as streaming mode
145
146
  *
146
147
  * **Runtime — Vercel mode** (vercel enabled, with stream or polling enabled):
@@ -7,7 +7,7 @@ import {
7
7
  evaluate,
8
8
  flagsClient,
9
9
  resetDefaultFlagsClient
10
- } from "./chunk-LGS6CVED.js";
10
+ } from "./chunk-2P2UTT7O.js";
11
11
  export {
12
12
  Controller,
13
13
  FallbackEntryNotFoundError,
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkWVS63L4Acjs = require('./chunk-WVS63L4A.cjs');
10
+ var _chunkEGGUENXPcjs = require('./chunk-EGGUENXP.cjs');
11
11
 
12
12
 
13
13
 
@@ -18,5 +18,5 @@ var _chunkWVS63L4Acjs = require('./chunk-WVS63L4A.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.Controller = _chunkWVS63L4Acjs.Controller; exports.FallbackEntryNotFoundError = _chunkWVS63L4Acjs.FallbackEntryNotFoundError; exports.FallbackNotFoundError = _chunkWVS63L4Acjs.FallbackNotFoundError; exports.FlagNetworkDataSource = _chunkWVS63L4Acjs.Controller; exports.Reason = _chunkWVS63L4Acjs.ResolutionReason; exports.createClient = _chunkWVS63L4Acjs.createClient; exports.evaluate = _chunkWVS63L4Acjs.evaluate; exports.flagsClient = _chunkWVS63L4Acjs.flagsClient; exports.resetDefaultFlagsClient = _chunkWVS63L4Acjs.resetDefaultFlagsClient;
21
+ exports.Controller = _chunkEGGUENXPcjs.Controller; exports.FallbackEntryNotFoundError = _chunkEGGUENXPcjs.FallbackEntryNotFoundError; exports.FallbackNotFoundError = _chunkEGGUENXPcjs.FallbackNotFoundError; exports.FlagNetworkDataSource = _chunkEGGUENXPcjs.Controller; exports.Reason = _chunkEGGUENXPcjs.ResolutionReason; exports.createClient = _chunkEGGUENXPcjs.createClient; exports.evaluate = _chunkEGGUENXPcjs.evaluate; exports.flagsClient = _chunkEGGUENXPcjs.flagsClient; exports.resetDefaultFlagsClient = _chunkEGGUENXPcjs.resetDefaultFlagsClient;
22
22
  //# sourceMappingURL=index.next-js.cjs.map
@@ -136,11 +136,12 @@ type ControllerOptions = {
136
136
  * - Streams exclusively; a startup timeout keeps connecting in the background
137
137
  * - Retains provided/bundled data during startup; fetches if the cache remains empty
138
138
  * - Reads always serve the cache while streaming; old data is labeled stale, never refetched over HTTP
139
- * - Polling starts only once the stream gives up (retries exhausted, 401, or token failure)
139
+ * - Polling starts only once the stream exhausts its retries; an auth failure (401 or
140
+ * missing OIDC token) skips polling, which would fail the same way
140
141
  * - Without a live source (`degraded`), reads apply stale-while-revalidate over HTTP
141
142
  *
142
143
  * **Runtime — polling mode** (polling enabled, stream disabled):
143
- * - Uses polling exclusively; a 401 stops polling and reads revalidate over HTTP
144
+ * - Uses polling exclusively; a 401 or missing OIDC token stops polling and reads revalidate over HTTP
144
145
  * - Same fallback chains as streaming mode
145
146
  *
146
147
  * **Runtime — Vercel mode** (vercel enabled, with stream or polling enabled):
@@ -136,11 +136,12 @@ type ControllerOptions = {
136
136
  * - Streams exclusively; a startup timeout keeps connecting in the background
137
137
  * - Retains provided/bundled data during startup; fetches if the cache remains empty
138
138
  * - Reads always serve the cache while streaming; old data is labeled stale, never refetched over HTTP
139
- * - Polling starts only once the stream gives up (retries exhausted, 401, or token failure)
139
+ * - Polling starts only once the stream exhausts its retries; an auth failure (401 or
140
+ * missing OIDC token) skips polling, which would fail the same way
140
141
  * - Without a live source (`degraded`), reads apply stale-while-revalidate over HTTP
141
142
  *
142
143
  * **Runtime — polling mode** (polling enabled, stream disabled):
143
- * - Uses polling exclusively; a 401 stops polling and reads revalidate over HTTP
144
+ * - Uses polling exclusively; a 401 or missing OIDC token stops polling and reads revalidate over HTTP
144
145
  * - Same fallback chains as streaming mode
145
146
  *
146
147
  * **Runtime — Vercel mode** (vercel enabled, with stream or polling enabled):
@@ -7,7 +7,7 @@ import {
7
7
  evaluate,
8
8
  flagsClient,
9
9
  resetDefaultFlagsClient
10
- } from "./chunk-7A7RG7ST.js";
10
+ } from "./chunk-OIOT7N7A.js";
11
11
  export {
12
12
  Controller,
13
13
  FallbackEntryNotFoundError,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); var _class;
2
2
 
3
3
 
4
- var _chunkPOAWPAE3cjs = require('./chunk-POAWPAE3.cjs');
4
+ var _chunkBEQ3MX7Zcjs = require('./chunk-BEQ3MX7Z.cjs');
5
5
 
6
6
  // src/openfeature.make.ts
7
7
 
@@ -150,7 +150,7 @@ function make(createClient2, defaultFlagsClient) {
150
150
  }
151
151
 
152
152
  // src/openfeature.default.ts
153
- var VercelProvider = make(_chunkPOAWPAE3cjs.createClient, _chunkPOAWPAE3cjs.flagsClient);
153
+ var VercelProvider = make(_chunkBEQ3MX7Zcjs.createClient, _chunkBEQ3MX7Zcjs.flagsClient);
154
154
 
155
155
 
156
156
  exports.VercelProvider = VercelProvider;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createClient,
3
3
  flagsClient
4
- } from "./chunk-LGS6CVED.js";
4
+ } from "./chunk-2P2UTT7O.js";
5
5
 
6
6
  // src/openfeature.make.ts
7
7
  import {
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); var _class;
2
2
 
3
3
 
4
- var _chunkWVS63L4Acjs = require('./chunk-WVS63L4A.cjs');
4
+ var _chunkEGGUENXPcjs = require('./chunk-EGGUENXP.cjs');
5
5
 
6
6
  // src/openfeature.make.ts
7
7
 
@@ -150,7 +150,7 @@ function make(createClient2, defaultFlagsClient) {
150
150
  }
151
151
 
152
152
  // src/openfeature.next-js.ts
153
- var VercelProvider = make(_chunkWVS63L4Acjs.createClient, _chunkWVS63L4Acjs.flagsClient);
153
+ var VercelProvider = make(_chunkEGGUENXPcjs.createClient, _chunkEGGUENXPcjs.flagsClient);
154
154
 
155
155
 
156
156
  exports.VercelProvider = VercelProvider;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createClient,
3
3
  flagsClient
4
- } from "./chunk-7A7RG7ST.js";
4
+ } from "./chunk-OIOT7N7A.js";
5
5
 
6
6
  // src/openfeature.make.ts
7
7
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/flags-core",
3
- "version": "1.10.2",
3
+ "version": "1.10.3",
4
4
  "description": "A server-side client for Vercel Flags",
5
5
  "keywords": [
6
6
  "vercel",
@@ -74,11 +74,11 @@
74
74
  "devDependencies": {
75
75
  "@arethetypeswrong/cli": "0.18.5",
76
76
  "@types/node": "22.14.0",
77
- "next": "16.3.8",
77
+ "next": "16.4.3",
78
78
  "tsup": "8.5.1",
79
79
  "typescript": "^5.9.3",
80
80
  "vite": "8.1.6",
81
- "vitest": "4.1.11"
81
+ "vitest": "4.1.12"
82
82
  },
83
83
  "peerDependencies": {
84
84
  "@openfeature/server-sdk": "1.18.0",