Skip to content

Commit ead10e5

Browse files
committed
chore: correct node server SDK package name
1 parent e8f4a33 commit ead10e5

File tree

7 files changed

+52
-54
lines changed

7 files changed

+52
-54
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { BucketeerProvider } from './internal/BucketeerProvider';
22

3-
export * from 'bkt-node-server-sdk';
3+
export * from '@bucketeer/node-server-sdk';
44
export { BucketeerProvider };
55
export { SDK_VERSION } from './internal/version';

src/internal/BKTEvaluationDetailExt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { JsonValue, ResolutionDetails } from '@openfeature/server-sdk';
2-
import { BKTEvaluationDetails, BKTValue } from 'bkt-node-server-sdk';
2+
import { BKTEvaluationDetails, BKTValue } from '@bucketeer/node-server-sdk';
33

44
function toResolutionDetails<T extends BKTValue>(
55
evaluationDetails: BKTEvaluationDetails<T>,

src/internal/BucketeerProvider.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import {
2-
ErrorCode,
32
EvaluationContext,
43
Hook,
54
InvalidContextError,
@@ -11,10 +10,9 @@ import {
1110
ProviderNotReadyError,
1211
ResolutionDetails,
1312
ServerProviderEvents,
14-
StandardResolutionReasons,
1513
} from '@openfeature/server-sdk';
1614

17-
import { BKTConfig, Bucketeer, defineBKTConfig, initializeBKTClient } from 'bkt-node-server-sdk';
15+
import { BKTConfig, Bucketeer, defineBKTConfig, initializeBKTClient } from '@bucketeer/node-server-sdk';
1816

1917
import { SDK_VERSION } from './version';
2018
import { evaluationContextToBKTUser } from './EvaluationContext';

src/internal/EvaluationContext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { User } from 'bkt-node-server-sdk';
1+
import { User } from '@bucketeer/node-server-sdk';
22
import {
33
EvaluationContext,
44
EvaluationContextValue,

test/BKTEvaluationDetailExt.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
toResolutionDetails,
33
toResolutionDetailsJsonValue,
44
} from '../src/internal/BKTEvaluationDetailExt';
5-
import { BKTEvaluationDetails, BKTValue } from 'bkt-node-server-sdk';
5+
import { BKTEvaluationDetails, BKTValue } from '@bucketeer/node-server-sdk';
66
import { JsonValue, ResolutionDetails } from '@openfeature/server-sdk';
77

88
describe('toResolutionDetails', () => {

test/BucketeerProvider.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
Bucketeer,
1111
defineBKTConfig,
1212
initializeBKTClient,
13-
} from 'bkt-node-server-sdk';
13+
} from '@bucketeer/node-server-sdk';
1414
import {
1515
EvaluationContext,
1616
InvalidContextError,
@@ -21,10 +21,10 @@ import {
2121
JsonValue,
2222
} from '@openfeature/server-sdk';
2323
import { SDK_VERSION } from '../src/internal/version';
24-
import { InternalConfig } from 'bkt-node-server-sdk/lib/internalConfig';
24+
import { InternalConfig } from '@bucketeer/node-server-sdk/lib/internalConfig';
2525

26-
jest.mock('bkt-node-server-sdk', () => {
27-
const actualImpl = jest.requireActual('bkt-node-server-sdk');
26+
jest.mock('@bucketeer/node-server-sdk', () => {
27+
const actualImpl = jest.requireActual('@bucketeer/node-server-sdk');
2828
return {
2929
...actualImpl,
3030
initializeBKTClient: jest.fn(),

yarn.lock

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,10 @@
270270
resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz"
271271
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
272272

273-
"@bucketeer/[email protected].4":
274-
version "0.0.4"
275-
resolved "https://registry.npmjs.org/@bucketeer/evaluation/-/evaluation-0.0.4.tgz"
276-
integrity sha512-pFDbx/QOqbSlWIyOJ6X8mP2gIPJYrDYcWWzCYLOzpcQ6HzxYSdP7jGwIkseEhsqu+mfHaO+yxz/vwLTHv+9B4A==
273+
"@bucketeer/[email protected].5":
274+
version "0.0.5"
275+
resolved "https://registry.yarnpkg.com/@bucketeer/evaluation/-/evaluation-0.0.5.tgz#5e0a9e181cc09fe3b2ec231c0b51d91e9ba5b85a"
276+
integrity sha512-qZf/wh7hXdS3IBV0TmmXKbNBfbvg5/Clrb7hTryEAdihp5zsimEo9JYiCZ17x8sCKEKd8d7nMb4+gNl35mpTYw==
277277
dependencies:
278278
"@improbable-eng/grpc-web" "^0.15.0"
279279
"@types/fnv-plus" "^1.3.2"
@@ -284,6 +284,19 @@
284284
google-protobuf "3.14.0"
285285
murmurhash3js "^3.0.1"
286286

287+
"@bucketeer/node-server-sdk@^0.4.2":
288+
version "0.4.2"
289+
resolved "https://registry.yarnpkg.com/@bucketeer/node-server-sdk/-/node-server-sdk-0.4.2.tgz#496df17a698d7392924f4ce769fbc7e5275d8462"
290+
integrity sha512-bTtGaRRpt1Nz+a+vgXfgOjA9cjL0YV1xMLPlc1q/ps5KI5tnGXcNJWS0QJZklX2Q/1pDxpTXoro/RrO0jD09Yg==
291+
dependencies:
292+
"@bucketeer/evaluation" "0.0.5"
293+
"@improbable-eng/grpc-web" "^0.15.0"
294+
"@improbable-eng/grpc-web-node-http-transport" "^0.15.0"
295+
"@types/node" "^22.15.35"
296+
"@types/uuid" "^10.0.0"
297+
google-protobuf "^3.21.4"
298+
uuid "^11.1.0"
299+
287300
"@esbuild/[email protected]":
288301
version "0.23.1"
289302
resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.23.1.tgz#51299374de171dbd80bb7d838e1cfce9af36f353"
@@ -469,12 +482,12 @@
469482

470483
"@improbable-eng/grpc-web-node-http-transport@^0.15.0":
471484
version "0.15.0"
472-
resolved "https://registry.npmjs.org/@improbable-eng/grpc-web-node-http-transport/-/grpc-web-node-http-transport-0.15.0.tgz"
485+
resolved "https://registry.yarnpkg.com/@improbable-eng/grpc-web-node-http-transport/-/grpc-web-node-http-transport-0.15.0.tgz#5a064472ef43489cbd075a91fb831c2abeb09d68"
473486
integrity sha512-HLgJfVolGGpjc9DWPhmMmXJx8YGzkek7jcCFO1YYkSOoO81MWRZentPOd/JiKiZuU08wtc4BG+WNuGzsQB5jZA==
474487

475488
"@improbable-eng/grpc-web@^0.15.0":
476489
version "0.15.0"
477-
resolved "https://registry.npmjs.org/@improbable-eng/grpc-web/-/grpc-web-0.15.0.tgz"
490+
resolved "https://registry.yarnpkg.com/@improbable-eng/grpc-web/-/grpc-web-0.15.0.tgz#3e47e9fdd90381a74abd4b7d26e67422a2a04bef"
478491
integrity sha512-ERft9/0/8CmYalqOVnJnpdDry28q+j+nAlFFARdjyxXDJ+Mhgv9+F600QC8BR9ygOfrXRlAk6CvST2j+JCpQPg==
479492
dependencies:
480493
browser-headers "^0.4.1"
@@ -742,15 +755,15 @@
742755
"@nodelib/fs.scandir" "2.1.5"
743756
fastq "^1.6.0"
744757

745-
"@openfeature/[email protected]":
746-
version "1.9.0"
747-
resolved "https://registry.npmjs.org/@openfeature/core/-/core-1.9.0.tgz"
748-
integrity sha512-pbJM8bD9yApOzZDEF5njL0A3B1bbT+DHtyCbYVCf5NOVGR6nNWiQaWFcQwrbvfOx9pvVm770/uRfBCzdL2XAUA==
758+
"@openfeature/core@^1.9.0":
759+
version "1.9.1"
760+
resolved "https://registry.yarnpkg.com/@openfeature/core/-/core-1.9.1.tgz#9925a04ed0745e92dd7b3793b35cff1ed89d54c1"
761+
integrity sha512-YySPtH4s/rKKnHRU0xyFGrqMU8XA+OIPNWDrlEFxE6DCVWCIrxE5YpiB94YD2jMFn6SSdA0cwQ8vLkCkl8lm8A==
749762

750-
"@openfeature/[email protected]":
751-
version "1.19.0"
752-
resolved "https://registry.npmjs.org/@openfeature/server-sdk/-/server-sdk-1.19.0.tgz"
753-
integrity sha512-sxmYKkBCpWWkKX2xJt6bFK15dorfR2lH27lkeKduTFPXRMV+pO7eORUelI9gctXhxvfXbDGK94ybq5fiso3/vg==
763+
"@openfeature/server-sdk@^1.19.0":
764+
version "1.20.0"
765+
resolved "https://registry.yarnpkg.com/@openfeature/server-sdk/-/server-sdk-1.20.0.tgz#43a5d3cffd915742ff64eeef53b7132279df4823"
766+
integrity sha512-95L9CCaGVKC6+7rNCmDxjthFvUyPLOUkoYyjg9Y/Cmy0G9D63xrJBsmH6fqHtLifzAu4+E7fWAZ3TIBnnCtr7A==
754767

755768
"@pkgr/core@^0.1.0":
756769
version "0.1.1"
@@ -831,12 +844,12 @@
831844

832845
"@types/fnv-plus@^1.3.2":
833846
version "1.3.2"
834-
resolved "https://registry.npmjs.org/@types/fnv-plus/-/fnv-plus-1.3.2.tgz"
847+
resolved "https://registry.yarnpkg.com/@types/fnv-plus/-/fnv-plus-1.3.2.tgz#bd591c1031ae48a18c99eaa60f659288aea545c0"
835848
integrity sha512-Bgr5yn2dph2q8HZKDS002Pob6vaRTRfhqN9E+TOhjKsJvnfZXULPR3ihH8dL5ZjgxbNhqhTn9hijpbAMPtKZzw==
836849

837850
"@types/google-protobuf@^3.15.12":
838851
version "3.15.12"
839-
resolved "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.15.12.tgz"
852+
resolved "https://registry.yarnpkg.com/@types/google-protobuf/-/google-protobuf-3.15.12.tgz#eb2ba0eddd65712211a2b455dc6071d665ccf49b"
840853
integrity sha512-40um9QqwHjRS92qnOaDpL7RmDK15NuZYo9HihiJRbYkMQZlWnuH8AdvbMy8/o6lgLmKbDUKa+OALCltHdbOTpQ==
841854

842855
"@types/graceful-fs@^4.1.3":
@@ -880,7 +893,7 @@
880893

881894
"@types/murmurhash3js@^3.0.7":
882895
version "3.0.7"
883-
resolved "https://registry.npmjs.org/@types/murmurhash3js/-/murmurhash3js-3.0.7.tgz"
896+
resolved "https://registry.yarnpkg.com/@types/murmurhash3js/-/murmurhash3js-3.0.7.tgz#5c3589180f13aac082857932ffb353251e7f296b"
884897
integrity sha512-jN3Z37nILIW1DZyP6N/NK+aw/zjFHPVb7hjrmdw7jx7FayrhKgkNpo6ZDwAsH8HSANjebBOxoXXtA39gKwyeGw==
885898

886899
"@types/node@*":
@@ -890,16 +903,16 @@
890903
dependencies:
891904
undici-types "~6.19.2"
892905

893-
"@types/node@^22.15.3":
894-
version "22.18.1"
895-
resolved "https://registry.npmjs.org/@types/node/-/node-22.18.1.tgz"
896-
integrity sha512-rzSDyhn4cYznVG+PCzGe1lwuMYJrcBS1fc3JqSa2PvtABwWo+dZ1ij5OVok3tqfpEBCBoaR4d7upFJk73HRJDw==
906+
"@types/node@^22.15.35":
907+
version "22.19.1"
908+
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.19.1.tgz#1188f1ddc9f46b4cc3aec76749050b4e1f459b7b"
909+
integrity sha512-LCCV0HdSZZZb34qifBsyWlUmok6W7ouER+oQIGBScS8EsZsQbrtFTUrDX4hOl+CS6p7cnNC4td+qrSVGSCTUfQ==
897910
dependencies:
898911
undici-types "~6.21.0"
899912

900913
"@types/semver@^7.5.8":
901914
version "7.7.1"
902-
resolved "https://registry.npmjs.org/@types/semver/-/semver-7.7.1.tgz"
915+
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.7.1.tgz#3ce3af1a5524ef327d2da9e4fd8b6d95c8d70528"
903916
integrity sha512-FmgJfu+MOcQ370SD0ev7EI8TlCAfKYU+B4m5T3yXc1CiRN94g/SZPtsCkk506aUDtlMnFZvasDwHHUcZUEaYuA==
904917

905918
"@types/stack-utils@^2.0.0":
@@ -909,7 +922,7 @@
909922

910923
"@types/uuid@^10.0.0":
911924
version "10.0.0"
912-
resolved "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz"
925+
resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-10.0.0.tgz#e9c07fe50da0f53dc24970cca94d619ff03f6f6d"
913926
integrity sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==
914927

915928
"@types/yargs-parser@*":
@@ -1218,19 +1231,6 @@ balanced-match@^1.0.0:
12181231
resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz"
12191232
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
12201233

1221-
bkt-node-server-sdk@^0.4.1:
1222-
version "0.4.1"
1223-
resolved "https://registry.npmjs.org/bkt-node-server-sdk/-/bkt-node-server-sdk-0.4.1.tgz"
1224-
integrity sha512-IYIsGe05Is2EuzCj1Ogm7n+iRA2s0gvgOmh6gOKV6ZOC6g4kETgr+Fj5kjT5lVkyTVjsgfXRgDSTE4g5pL2tBQ==
1225-
dependencies:
1226-
"@bucketeer/evaluation" "0.0.4"
1227-
"@improbable-eng/grpc-web" "^0.15.0"
1228-
"@improbable-eng/grpc-web-node-http-transport" "^0.15.0"
1229-
"@types/node" "^22.15.3"
1230-
"@types/uuid" "^10.0.0"
1231-
google-protobuf "^3.21.4"
1232-
uuid "^11.1.0"
1233-
12341234
brace-expansion@^1.1.7:
12351235
version "1.1.11"
12361236
resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz"
@@ -1255,7 +1255,7 @@ braces@^3.0.3:
12551255

12561256
browser-headers@^0.4.1:
12571257
version "0.4.1"
1258-
resolved "https://registry.npmjs.org/browser-headers/-/browser-headers-0.4.1.tgz"
1258+
resolved "https://registry.yarnpkg.com/browser-headers/-/browser-headers-0.4.1.tgz#4308a7ad3b240f4203dbb45acedb38dc2d65dd02"
12591259
integrity sha512-CA9hsySZVo9371qEHjHZtYxV2cFtVj5Wj/ZHi8ooEsrtm4vOnl9Y9HmyYWk9q+05d7K3rdoAE0j3MVEFVvtQtg==
12601260

12611261
browserslist@^4.24.0:
@@ -1743,7 +1743,7 @@ flatted@^3.2.9:
17431743

17441744
fnv-plus@^1.3.1:
17451745
version "1.3.1"
1746-
resolved "https://registry.npmjs.org/fnv-plus/-/fnv-plus-1.3.1.tgz"
1746+
resolved "https://registry.yarnpkg.com/fnv-plus/-/fnv-plus-1.3.1.tgz#c34cb4572565434acb08ba257e4044ce2b006d67"
17471747
integrity sha512-Gz1EvfOneuFfk4yG458dJ3TLJ7gV19q3OM/vVvvHf7eT02Hm1DleB4edsia6ahbKgAYxO9gvyQ1ioWZR+a00Yw==
17481748

17491749
fs.realpath@^1.0.0:
@@ -1821,12 +1821,12 @@ globals@^14.0.0:
18211821

18221822
18231823
version "3.14.0"
1824-
resolved "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.14.0.tgz"
1824+
resolved "https://registry.yarnpkg.com/google-protobuf/-/google-protobuf-3.14.0.tgz#20373d22046e63831a5110e11a84f713cc43651e"
18251825
integrity sha512-bwa8dBuMpOxg7COyqkW6muQuvNnWgVN8TX/epDRGW5m0jcrmq2QJyCyiV8ZE2/6LaIIqJtiv9bYokFhfpy/o6w==
18261826

18271827
google-protobuf@^3.21.4:
18281828
version "3.21.4"
1829-
resolved "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.21.4.tgz"
1829+
resolved "https://registry.yarnpkg.com/google-protobuf/-/google-protobuf-3.21.4.tgz#2f933e8b6e5e9f8edde66b7be0024b68f77da6c9"
18301830
integrity sha512-MnG7N936zcKTco4Jd2PX2U96Kf9PxygAPKBug+74LHzmHXmceN16MmRcdgZv+DGef/S9YvQAfRsNCn4cjf9yyQ==
18311831

18321832
graceful-fs@^4.2.9:
@@ -2556,7 +2556,7 @@ ms@^2.1.3:
25562556

25572557
murmurhash3js@^3.0.1:
25582558
version "3.0.1"
2559-
resolved "https://registry.npmjs.org/murmurhash3js/-/murmurhash3js-3.0.1.tgz"
2559+
resolved "https://registry.yarnpkg.com/murmurhash3js/-/murmurhash3js-3.0.1.tgz#3e983e5b47c2a06f43a713174e7e435ca044b998"
25602560
integrity sha512-KL8QYUaxq7kUbcl0Yto51rMcYt7E/4N4BG3/c96Iqw1PQrTRspu8Cpx4TZ4Nunib1d4bEkIH3gjCYlP2RLBdow==
25612561

25622562
natural-compare@^1.4.0:
@@ -3058,7 +3058,7 @@ undici-types@~6.19.2:
30583058

30593059
undici-types@~6.21.0:
30603060
version "6.21.0"
3061-
resolved "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz"
3061+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb"
30623062
integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==
30633063

30643064
update-browserslist-db@^1.1.3:
@@ -3078,7 +3078,7 @@ uri-js@^4.2.2:
30783078

30793079
uuid@^11.1.0:
30803080
version "11.1.0"
3081-
resolved "https://registry.npmjs.org/uuid/-/uuid-11.1.0.tgz"
3081+
resolved "https://registry.yarnpkg.com/uuid/-/uuid-11.1.0.tgz#9549028be1753bb934fc96e2bca09bb4105ae912"
30823082
integrity sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==
30833083

30843084
v8-to-istanbul@^9.0.1:

0 commit comments

Comments
 (0)