@launchdarkly/node-server-sdk
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -5,2 +5,13 @@ # Changelog | ||
## [0.3.0](https://github.com/launchdarkly/js-core/compare/node-server-sdk-v0.2.0...node-server-sdk-v0.3.0) (2023-03-16) | ||
### ⚠ BREAKING CHANGES | ||
* Make options optional in init method for @launchdarkly/node-server-sdk. ([#64](https://github.com/launchdarkly/js-core/issues/64)) | ||
### Bug Fixes | ||
* Make options optional in init method for @launchdarkly/node-server-sdk. ([#64](https://github.com/launchdarkly/js-core/issues/64)) ([291804e](https://github.com/launchdarkly/js-core/commit/291804e75119f42575615569c974c0813453d737)) | ||
## [0.2.0](https://github.com/launchdarkly/js-core/compare/node-server-sdk-v0.1.0...node-server-sdk-v0.2.0) (2023-03-16) | ||
@@ -7,0 +18,0 @@ |
{ | ||
"name": "@launchdarkly/node-server-sdk", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "LaunchDarkly Server-Side SDK for Node.js", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
@@ -35,3 +35,3 @@ /// <reference types="node" /> | ||
*/ | ||
export declare function init(sdkKey: string, options: LDOptions): LDClient & EventEmitter; | ||
export declare function init(sdkKey: string, options?: LDOptions): LDClient & EventEmitter; | ||
/** | ||
@@ -38,0 +38,0 @@ * Provides a simple {@link LDLogger} implementation. |
@@ -50,3 +50,3 @@ "use strict"; | ||
*/ | ||
function init(sdkKey, options) { | ||
function init(sdkKey, options = {}) { | ||
return new LDClientNode_1.default(sdkKey, options); | ||
@@ -53,0 +53,0 @@ } |
{ | ||
"name": "@launchdarkly/node-server-sdk", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "LaunchDarkly Server-Side SDK for Node.js", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
64110
3