This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
packages/js-web-sdk/packages Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 7
7
"license" : " ISC" ,
8
8
"main" : " dist/js-web-sdk.js" ,
9
9
"module" : " dist/js-web-sdk.mjs" ,
10
- "typings" : " lib/index.d.ts" ,
10
+ "typings" : " lib/src/ index.d.ts" ,
11
11
"directories" : {
12
12
"lib" : " lib" ,
13
13
"test" : " tests"
16
16
"tsc" : " rm -rf lib/ && tsc" ,
17
17
"test" : " karma start karma.conf.js --single-run" ,
18
18
"test:watch" : " karma start karma.conf.js" ,
19
- "build" : " rm -rf dist/ && node ./scripts/build.js" ,
19
+ "build" : " rm -rf dist/ && yarn tsc && node ./scripts/build.js" ,
20
20
"cover" : " nyc mocha test/**" ,
21
21
"coveralls" : " npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls" ,
22
22
"prepublishOnly" : " npm run build-browser-umd && npm test && npm run test-xbrowser"
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import * as optimizelyReactSdk from '@optimizely/react-sdk'
7
7
8
8
; ( async function ( ) {
9
9
const optimizely = optimizelySdk . createInstance ( {
10
- userId : 'user' + Date . now ( ) ,
11
10
sdkKey : 'BsSyVRsUbE3ExgGCJ9w1to' ,
12
11
} )
13
12
You can’t perform that action at this time.
0 commit comments