Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit 004c2fc

Browse files
3.3.7
1 parent 9e1efba commit 004c2fc

File tree

7 files changed

+23
-17
lines changed

7 files changed

+23
-17
lines changed

Api Reference.url

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[InternetShortcut]
2-
URL=https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/?ver=3.3.6
2+
URL=https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/?ver=3.3.7

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
3838
- jsDelivr
3939

4040
```html
41-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer/dist/dce.js"></script>
41+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer@3/dist/dce.js"></script>
4242
```
4343

4444
- UNPKG
4545

4646
```html
47-
<script src="https://unpkg.com/dynamsoft-camera-enhancer/dist/dce.js"></script>
47+
<script src="https://unpkg.com/dynamsoft-camera-enhancer@3/dist/dce.js"></script>
4848
```
4949

50-
> In some rare cases, you might not be able to access the CDN. If this happens, you can use [https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.6/dist/dce.js](https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.6/dist/dce.js)
50+
> In some rare cases, you might not be able to access the CDN. If this happens, you can use [https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.7/dist/dce.js](https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.7/dist/dce.js)
5151
5252
#### Host the SDK yourself
5353

@@ -62,19 +62,19 @@ The following shows a few ways to download the SDK.
6262
- yarn
6363

6464
```cmd
65-
yarn add dynamsoft-camera-enhancer
65+
yarn add dynamsoft-camera-enhancer@3
6666
```
6767

6868
- npm
6969

7070
```cmd
71-
npm install dynamsoft-camera-enhancer --save
71+
npm install dynamsoft-camera-enhancer@3 --save
7272
```
7373

7474
Depending on how you downloaded the SDK and where you put it. You can typically include it like this:
7575

7676
```html
77-
<script src="/dynamsoft-camera-enhancer-js-3.3.6/dist/dce.js"></script>
77+
<script src="/dynamsoft-camera-enhancer-js-3.3.7/dist/dce.js"></script>
7878
```
7979

8080
or

dist/dce.esm.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dce.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dce.mjs

+2-2
Large diffs are not rendered by default.

package.json

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dynamsoft-camera-enhancer",
3-
"version": "3.3.6",
3+
"version": "3.3.7",
44
"description": "Allow your website to easily control cameras on desktop and mobile devices.",
55
"private": false,
66
"homepage": "https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/?ver=latest",
@@ -19,7 +19,8 @@
1919
"sideEffects": false,
2020
"types": "./dist/types/index.d.ts",
2121
"publishConfig": {
22-
"registry": "https://registry.npmjs.org/"
22+
"registry": "https://registry.npmjs.org/",
23+
"tag": "v3-latest"
2324
},
2425
"author": {
2526
"name": "Dynamsoft",
@@ -47,7 +48,11 @@
4748
"build-dev": "python ./build-dev.py",
4849
"build": "python ./build.py",
4950
"build:doc": "typedoc",
50-
"update:readme": "node ./updateReadme.js"
51+
"update:readme": "updateReadme --package=dynamsoft-camera-enhancer --version=auto",
52+
"update:prod": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=production --tag=v3-latest",
53+
"update:beta": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=beta --tag=beta",
54+
"update:iv": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=internalVersion --tag=iv",
55+
"update:dev": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=development --tag=latest"
5156
},
5257
"license": "SEE LICENSE IN LICENSE",
5358
"repository": {
@@ -67,6 +72,7 @@
6772
"devDependencies": {
6873
"@babel/core": "7.15.8",
6974
"@babel/preset-env": "7.15.8",
75+
"@dynamsoft/rd2-scripts": "^0.0.32",
7076
"@rollup/plugin-babel": "5.3.0",
7177
"@rollup/plugin-node-resolve": "^13.3.0",
7278
"@rollup/plugin-replace": "3.0.0",

samples.url

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[InternetShortcut]
2-
URL=https://github.com/Dynamsoft/camera-enhancer-javascript-samples/tree/v3.3.6
2+
URL=https://github.com/Dynamsoft/camera-enhancer-javascript-samples/tree/v3.3.7

0 commit comments

Comments
 (0)