Skip to content

Commit 8e09b57

Browse files
committed
[IDE-606] Attempt fix
1 parent 0d88a25 commit 8e09b57

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

samples/javascript/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var LaunchDarklyApi = require('launchdarkly-api');
1+
import LaunchDarklyApi from 'launchdarkly-api';
22

33
var defaultClient = LaunchDarklyApi.ApiClient.instance;
44

samples/javascript/package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "launchdarkly-api-javascript",
3+
"version": "1.0.0",
4+
"description": "LaunchDarkly REST API JavaScript client",
5+
"type": "module",
6+
"main": "dist/index.js",
7+
"scripts": {
8+
"test": "echo \"Error: no test specified\" && exit 1"
9+
},
10+
"keywords": [
11+
"launchdarkly",
12+
"api",
13+
"client"
14+
],
15+
"license": "Apache-2.0"
16+
}

0 commit comments

Comments
 (0)