flagfish-client-node 0.0.1 → 0.0.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.
package/dist/FlagFishClient.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
interface FlagOptions {
|
|
1
|
+
export interface FlagOptions {
|
|
2
2
|
property: string;
|
|
3
3
|
value: string;
|
|
4
4
|
}
|
|
5
|
-
interface FlagResponse {
|
|
5
|
+
export interface FlagResponse {
|
|
6
6
|
flag_name: string;
|
|
7
7
|
status: boolean;
|
|
8
8
|
}
|
|
@@ -12,4 +12,3 @@ export declare class FlagFishClient {
|
|
|
12
12
|
constructor(apiKey: string, baseUrl: string);
|
|
13
13
|
getFeatureFlagByKey(name: string, options?: FlagOptions): Promise<FlagResponse>;
|
|
14
14
|
}
|
|
15
|
-
export {};
|
package/dist/FlagFishClient.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flagfish-client-node",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Node.js client for FlagFish feature flag API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/FlagFishClient.js",
|
|
@@ -10,7 +10,13 @@
|
|
|
10
10
|
"test": "jest",
|
|
11
11
|
"test:cov": "node --experimental-vm-modules node_modules/.bin/jest --coverage"
|
|
12
12
|
},
|
|
13
|
-
"keywords": [
|
|
13
|
+
"keywords": [
|
|
14
|
+
"feature-flag",
|
|
15
|
+
"client",
|
|
16
|
+
"flagfish",
|
|
17
|
+
"typescript",
|
|
18
|
+
"nodejs"
|
|
19
|
+
],
|
|
14
20
|
"author": "flagfishdotco",
|
|
15
21
|
"license": "MIT",
|
|
16
22
|
"devDependencies": {
|
|
@@ -19,8 +25,5 @@
|
|
|
19
25
|
"jest": "^29.7.0",
|
|
20
26
|
"ts-jest": "^29.3.4",
|
|
21
27
|
"typescript": "^5.8.3"
|
|
22
|
-
},
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"node-fetch": "^3.3.2"
|
|
25
28
|
}
|
|
26
29
|
}
|