Skip to content

Commit

Permalink
Fixed local build import to package name import
Browse files Browse the repository at this point in the history
  • Loading branch information
blazsmaster committed Mar 30, 2024
1 parent 82433b7 commit 5fbc878
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ $ npm run build

```javascript
// Import the module (CommonJS)
const { IdpApiV1, MobileApiV3 } = require('./dist');
const { IdpApiV1, MobileApiV3 } = require('kreta.js');
```

```javascript
// Import the module (ES6)
import { IdpApiV1, MobileApiV3 } from './dist';
import { IdpApiV1, MobileApiV3 } from 'kreta.js';

// Login with personal credentials
const idp = new IdpApiV1({
Expand Down

0 comments on commit 5fbc878

Please sign in to comment.