Skip to content

Commit

Permalink
use new domain name
Browse files Browse the repository at this point in the history
cosmos-explorer committed May 4, 2022
1 parent 91b9d1b commit b0826cc
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@


## Introduction
This is the JavaScript client side SDK for the feature management platform [feature-flags.co](feature-flags.co). We will document all the methods available in this SDK, and detail how they work.
This is the JavaScript client side SDK for the feature management platform [feature-flags.co](https://www.featureflag.co). We will document all the methods available in this SDK, and detail how they work.

Be aware, this is a client side SDK, it is intended for use in a single-user context, which can be mobile, desktop or embeded applications. This SDK can only be ran in a browser environment, it is not suitable for NodeJs applications, server side SDKs are available in our other repos.

@@ -35,12 +35,12 @@ yarn
yarn add ffc-js-client-side-sdk
```

browser (you can also self host the SDK alongside your other JavaScript code in production environment)
<!-- browser (you can also self host the SDK alongside your other JavaScript code in production environment)
```
<script src="https://assets.feature-flags.co/sdks/ffc-sdk.js" ></script>
// or
<script src="https://assets.feature-flags.co/sdks/ffc-sdk-[versionnumber].js" ></script>
```
``` -->

To import the SDK:
```javascript
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ffc-js-client-side-sdk",
"version": "1.0.26",
"version": "1.0.27",
"description": "https://github.com/feature-flags-co/ffc-js-client-sdk",
"main": "esm/ffc.js",
"scripts": {
5 changes: 2 additions & 3 deletions src/ffc.ts
Original file line number Diff line number Diff line change
@@ -45,11 +45,10 @@ export class Ffc {
private _featureFlagEvaluationBuffer: Queue<IFeatureFlagVariationBuffer> = new Queue<IFeatureFlagVariationBuffer>();
private _option: IOption = {
secret: '',
api: 'https://api.feature-flags.co',
api: 'https://api.featureflag.co',
devModePassword: '',
enableDataSync: true,
appType: 'javascript',
//streamEndpoint: IS_PROD ? '' : 'wss://localhost:5000/streaming',
appType: 'javascript'
};

constructor() {

0 comments on commit b0826cc

Please sign in to comment.