-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
798 additions
and
670 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ To use it in a browser environment simply add the following code to your HTML fi | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/axios.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/oidc-client@1/dist/oidc-client.min.js"></script> <!-- Only required if you'd like to enable authentication via OpenID Connect --> | ||
<script src="https://cdn.jsdelivr.net/npm/multihashes@3/src/index.min.js"></script> <!-- Only required if you have checksums in the STAC metadata --> | ||
<script src="https://cdn.jsdelivr.net/npm/@openeo/js-client@2/openeo.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@openeo/js-client@3/client.min.js"></script> | ||
``` | ||
|
||
### NodeJS | ||
|
@@ -30,7 +30,7 @@ To install it in a NodeJS environment run: | |
`npm install @openeo/js-client` | ||
|
||
Afterwards, you can import the package: | ||
`const { OpenEO } = require('@openeo/js-client');` | ||
`const { Client } = require('@openeo/js-client');` | ||
|
||
### TypeScript | ||
|
||
|
@@ -40,7 +40,7 @@ To install it in a TypeScript environment run: | |
`npm install @openeo/js-client` | ||
|
||
Afterwards, you can import the package: | ||
`import { OpenEO } from '@openeo/js-client';` | ||
`import { Client } from '@openeo/js-client';` | ||
|
||
### Examples | ||
|
||
|
@@ -63,7 +63,7 @@ More information can be found in the [documentation](https://open-eo.github.io/o | |
Always make sure to adapt changes in the *.js files to the openeo.d.ts file. | ||
If changes are larger you may want to run `npm run tsd` and regenerate the declaration file and cherry-pick your changes from there. | ||
|
||
Generate a build: `npm run build` (generates `openeo.js` and `openeo.min.js`) | ||
Generate a build: `npm run build` (generates `client.js` and `client.min.js`) | ||
|
||
Generate the documentation to the `docs/` folder: `npm run docs` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.