@vercel/flags-core 1.10.3 → 1.11.0
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/CHANGELOG.md +6 -0
- package/README.md +12 -0
- package/dist/{chunk-2P2UTT7O.js → chunk-755SFCGD.js} +23 -5
- package/dist/chunk-755SFCGD.js.map +1 -0
- package/dist/{chunk-BEQ3MX7Z.cjs → chunk-EMMJNPVW.cjs} +23 -5
- package/dist/chunk-EMMJNPVW.cjs.map +1 -0
- package/dist/{chunk-OIOT7N7A.js → chunk-OI7WI6QP.js} +23 -5
- package/dist/chunk-OI7WI6QP.js.map +1 -0
- package/dist/{chunk-EGGUENXP.cjs → chunk-SDWWHUKB.cjs} +23 -5
- package/dist/chunk-SDWWHUKB.cjs.map +1 -0
- package/dist/index.default.cjs +2 -2
- package/dist/index.default.d.cts +6 -0
- package/dist/index.default.d.ts +6 -0
- package/dist/index.default.js +1 -1
- package/dist/index.next-js.cjs +2 -2
- package/dist/index.next-js.d.cts +6 -0
- package/dist/index.next-js.d.ts +6 -0
- package/dist/index.next-js.js +1 -1
- package/dist/openfeature.default.cjs +2 -2
- package/dist/openfeature.default.js +1 -1
- package/dist/openfeature.next-js.cjs +2 -2
- package/dist/openfeature.next-js.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2P2UTT7O.js.map +0 -1
- package/dist/chunk-BEQ3MX7Z.cjs.map +0 -1
- package/dist/chunk-EGGUENXP.cjs.map +0 -1
- package/dist/chunk-OIOT7N7A.js.map +0 -1
package/dist/index.default.cjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkEMMJNPVWcjs = require('./chunk-EMMJNPVW.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -18,5 +18,5 @@ var _chunkBEQ3MX7Zcjs = require('./chunk-BEQ3MX7Z.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
exports.Controller =
|
|
21
|
+
exports.Controller = _chunkEMMJNPVWcjs.Controller; exports.FallbackEntryNotFoundError = _chunkEMMJNPVWcjs.FallbackEntryNotFoundError; exports.FallbackNotFoundError = _chunkEMMJNPVWcjs.FallbackNotFoundError; exports.FlagNetworkDataSource = _chunkEMMJNPVWcjs.Controller; exports.Reason = _chunkEMMJNPVWcjs.ResolutionReason; exports.createClient = _chunkEMMJNPVWcjs.createClient; exports.evaluate = _chunkEMMJNPVWcjs.evaluate; exports.flagsClient = _chunkEMMJNPVWcjs.flagsClient; exports.resetDefaultFlagsClient = _chunkEMMJNPVWcjs.resetDefaultFlagsClient;
|
|
22
22
|
//# sourceMappingURL=index.default.cjs.map
|
package/dist/index.default.d.cts
CHANGED
|
@@ -330,6 +330,12 @@ declare class Controller implements ControllerInterface {
|
|
|
330
330
|
* Options for createClient
|
|
331
331
|
*/
|
|
332
332
|
type CreateClientOptions<Entity = Record<string, unknown>> = Omit<ControllerOptions, 'auth'> & {
|
|
333
|
+
/**
|
|
334
|
+
* Reads the flags of another project in the same team with this
|
|
335
|
+
* deployment's OIDC token. The other project must have connected this
|
|
336
|
+
* project first. Cannot be combined with an SDK key.
|
|
337
|
+
*/
|
|
338
|
+
projectId?: string;
|
|
333
339
|
/**
|
|
334
340
|
* Reports experiment exposures produced by evaluation calls.
|
|
335
341
|
*
|
package/dist/index.default.d.ts
CHANGED
|
@@ -330,6 +330,12 @@ declare class Controller implements ControllerInterface {
|
|
|
330
330
|
* Options for createClient
|
|
331
331
|
*/
|
|
332
332
|
type CreateClientOptions<Entity = Record<string, unknown>> = Omit<ControllerOptions, 'auth'> & {
|
|
333
|
+
/**
|
|
334
|
+
* Reads the flags of another project in the same team with this
|
|
335
|
+
* deployment's OIDC token. The other project must have connected this
|
|
336
|
+
* project first. Cannot be combined with an SDK key.
|
|
337
|
+
*/
|
|
338
|
+
projectId?: string;
|
|
333
339
|
/**
|
|
334
340
|
* Reports experiment exposures produced by evaluation calls.
|
|
335
341
|
*
|
package/dist/index.default.js
CHANGED
package/dist/index.next-js.cjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkSDWWHUKBcjs = require('./chunk-SDWWHUKB.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -18,5 +18,5 @@ var _chunkEGGUENXPcjs = require('./chunk-EGGUENXP.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
exports.Controller =
|
|
21
|
+
exports.Controller = _chunkSDWWHUKBcjs.Controller; exports.FallbackEntryNotFoundError = _chunkSDWWHUKBcjs.FallbackEntryNotFoundError; exports.FallbackNotFoundError = _chunkSDWWHUKBcjs.FallbackNotFoundError; exports.FlagNetworkDataSource = _chunkSDWWHUKBcjs.Controller; exports.Reason = _chunkSDWWHUKBcjs.ResolutionReason; exports.createClient = _chunkSDWWHUKBcjs.createClient; exports.evaluate = _chunkSDWWHUKBcjs.evaluate; exports.flagsClient = _chunkSDWWHUKBcjs.flagsClient; exports.resetDefaultFlagsClient = _chunkSDWWHUKBcjs.resetDefaultFlagsClient;
|
|
22
22
|
//# sourceMappingURL=index.next-js.cjs.map
|
package/dist/index.next-js.d.cts
CHANGED
|
@@ -330,6 +330,12 @@ declare class Controller implements ControllerInterface {
|
|
|
330
330
|
* Options for createClient
|
|
331
331
|
*/
|
|
332
332
|
type CreateClientOptions<Entity = Record<string, unknown>> = Omit<ControllerOptions, 'auth'> & {
|
|
333
|
+
/**
|
|
334
|
+
* Reads the flags of another project in the same team with this
|
|
335
|
+
* deployment's OIDC token. The other project must have connected this
|
|
336
|
+
* project first. Cannot be combined with an SDK key.
|
|
337
|
+
*/
|
|
338
|
+
projectId?: string;
|
|
333
339
|
/**
|
|
334
340
|
* Reports experiment exposures produced by evaluation calls.
|
|
335
341
|
*
|
package/dist/index.next-js.d.ts
CHANGED
|
@@ -330,6 +330,12 @@ declare class Controller implements ControllerInterface {
|
|
|
330
330
|
* Options for createClient
|
|
331
331
|
*/
|
|
332
332
|
type CreateClientOptions<Entity = Record<string, unknown>> = Omit<ControllerOptions, 'auth'> & {
|
|
333
|
+
/**
|
|
334
|
+
* Reads the flags of another project in the same team with this
|
|
335
|
+
* deployment's OIDC token. The other project must have connected this
|
|
336
|
+
* project first. Cannot be combined with an SDK key.
|
|
337
|
+
*/
|
|
338
|
+
projectId?: string;
|
|
333
339
|
/**
|
|
334
340
|
* Reports experiment exposures produced by evaluation calls.
|
|
335
341
|
*
|
package/dist/index.next-js.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); var _class;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkEMMJNPVWcjs = require('./chunk-EMMJNPVW.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(
|
|
153
|
+
var VercelProvider = make(_chunkEMMJNPVWcjs.createClient, _chunkEMMJNPVWcjs.flagsClient);
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
exports.VercelProvider = VercelProvider;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); var _class;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkSDWWHUKBcjs = require('./chunk-SDWWHUKB.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(
|
|
153
|
+
var VercelProvider = make(_chunkSDWWHUKBcjs.createClient, _chunkSDWWHUKBcjs.flagsClient);
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
exports.VercelProvider = VercelProvider;
|