Skip to content

Commit 90333fe

Browse files
committed
Comments from Eli
1 parent 9ec18a5 commit 90333fe

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

docs/tasks/includes/_js-get-resources.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
:::note
2+
That JavaScript library is being extensively revised so the APIs used here may change in the near future.
3+
:::
4+
15
The example below shows how to get resources from manifest data using the JavaScript library.
26

37
```js

docs/tasks/includes/_js-read.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
:::note
2+
That JavaScript library is being extensively revised so the APIs used here may change in the near future.
3+
:::
14

25
Use [`c2pa.read`](../../docs/js-sdk/api/c2pa.c2pa#methods) to read manifest data from an asset; if the asset has a C2PA manifest and was processed without errors, the returned [`c2paReadResult`](../../docs/js-sdk/api/c2pa.c2pareadresult) contains a [`manifestStore`](../../docs/js-sdk/api/c2pa.c2pareadresult.manifeststore) object with several useful properties:
36

docs/tasks/includes/_js-setup.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
:::note
2+
That JavaScript library is being extensively revised so the APIs used here may change in the near future.
3+
:::
4+
15
This is how to set up your code to use the JavaScript library:
26

37
```js
@@ -20,7 +24,7 @@ import { createC2pa } from 'https://cdn.jsdelivr.net/npm/c2pa@${version}/+esm';
2024
})();
2125
```
2226

23-
If you installed the package locally, for example from npm, then its simply:
27+
If you installed the package locally, for example from npm, then it's simply:
2428

2529
```js
2630
import { createC2pa } from 'c2pa';

0 commit comments

Comments
 (0)