@ibm-aspera/sdk 0.2.29 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -13
- package/dist/commonjs/app/core.d.ts +234 -0
- package/dist/commonjs/app/core.js +812 -0
- package/dist/commonjs/app/installer.d.ts +9 -0
- package/dist/commonjs/app/installer.js +50 -0
- package/dist/commonjs/connect/core.d.ts +11 -0
- package/dist/commonjs/connect/core.js +73 -0
- package/dist/commonjs/constants/constants.d.ts +8 -0
- package/dist/commonjs/constants/constants.js +11 -0
- package/dist/commonjs/constants/messages.d.ts +38 -0
- package/dist/commonjs/constants/messages.js +41 -0
- package/dist/commonjs/helpers/client/client.d.ts +5 -0
- package/dist/commonjs/helpers/client/client.js +7 -0
- package/dist/commonjs/helpers/client/http-client.d.ts +42 -0
- package/dist/commonjs/helpers/client/http-client.js +84 -0
- package/dist/commonjs/helpers/client/safari-client.d.ts +101 -0
- package/dist/commonjs/helpers/client/safari-client.js +264 -0
- package/dist/commonjs/helpers/helpers.d.ts +109 -0
- package/dist/commonjs/helpers/helpers.js +249 -0
- package/dist/commonjs/helpers/http.d.ts +16 -0
- package/dist/commonjs/helpers/http.js +42 -0
- package/dist/commonjs/helpers/ws.d.ts +62 -0
- package/dist/commonjs/helpers/ws.js +161 -0
- package/dist/commonjs/http-gateway/core.d.ts +98 -0
- package/dist/commonjs/http-gateway/core.js +388 -0
- package/dist/commonjs/http-gateway/download.d.ts +14 -0
- package/dist/commonjs/http-gateway/download.js +187 -0
- package/dist/commonjs/http-gateway/index.d.ts +11 -0
- package/dist/commonjs/http-gateway/index.js +11 -0
- package/dist/commonjs/http-gateway/models.d.ts +16 -0
- package/dist/commonjs/http-gateway/models.js +2 -0
- package/dist/commonjs/http-gateway/upload.d.ts +14 -0
- package/dist/commonjs/http-gateway/upload.js +124 -0
- package/dist/commonjs/index.d.ts +12 -0
- package/dist/commonjs/index.js +109 -0
- package/dist/commonjs/models/aspera-sdk.model.d.ts +259 -0
- package/dist/commonjs/models/aspera-sdk.model.js +349 -0
- package/dist/commonjs/models/models.d.ts +760 -0
- package/dist/commonjs/models/models.js +2 -0
- package/dist/js/aspera-sdk.js +3 -0
- package/dist/js/aspera-sdk.js.LICENSE.txt +15 -0
- package/dist/js/aspera-sdk.js.map +1 -0
- package/package.json +8 -5
- package/.editorconfig +0 -13
- package/.github/CODEOWNERS +0 -1
- package/.github/CODE_OF_CONDUCT.md +0 -128
- package/.github/CONTRIBUTING.md +0 -147
- package/.github/dependabot.yml +0 -10
- package/.github/workflows/ci.yml +0 -39
- package/.github/workflows/documentation.yml +0 -44
- package/.github/workflows/publish.yml +0 -23
- package/.github/workflows/version.yml +0 -32
- package/.whitesource +0 -3
- package/CHANGELOG.md +0 -204
- package/docs/DEVELOPMENT.md +0 -38
- package/eslint.config.js +0 -104
- package/example/README.md +0 -7
- package/example/index.html +0 -14
- package/example/package-lock.json +0 -2989
- package/example/package.json +0 -30
- package/example/public/404.html +0 -5
- package/example/public/sdk-code.js +0 -326
- package/example/src/App/App.scss +0 -40
- package/example/src/App/index.tsx +0 -196
- package/example/src/Views/AllTogether.tsx +0 -26
- package/example/src/Views/DragDrop.tsx +0 -23
- package/example/src/Views/Home.tsx +0 -10
- package/example/src/Views/Initialize.tsx +0 -31
- package/example/src/Views/Installer.tsx +0 -154
- package/example/src/Views/MonitorTransfers.tsx +0 -88
- package/example/src/Views/Other.tsx +0 -24
- package/example/src/Views/SelectItems.tsx +0 -46
- package/example/src/Views/StartTransfer.tsx +0 -37
- package/example/src/Views/Test.tsx +0 -20
- package/example/src/Views/Views.scss +0 -111
- package/example/src/helpers/index.ts +0 -19
- package/example/src/index.scss +0 -47
- package/example/src/main.tsx +0 -17
- package/example/src/vite-env.d.ts +0 -2
- package/example/tsconfig.json +0 -30
- package/example/vite.config.ts +0 -23
- package/jest.config.js +0 -19
- package/jest.setup.js +0 -0
- package/renovate.json +0 -12
- package/src/app/core.ts +0 -765
- package/src/app/installer.ts +0 -53
- package/src/connect/core.ts +0 -83
- package/src/constants/constants.ts +0 -19
- package/src/constants/messages.ts +0 -35
- package/src/helpers/client/client.ts +0 -11
- package/src/helpers/client/http-client.ts +0 -92
- package/src/helpers/client/safari-client.ts +0 -334
- package/src/helpers/helpers.ts +0 -253
- package/src/helpers/http.ts +0 -39
- package/src/helpers/ws.ts +0 -191
- package/src/http-gateway/core.ts +0 -273
- package/src/http-gateway/download.ts +0 -217
- package/src/http-gateway/index.ts +0 -19
- package/src/http-gateway/models.ts +0 -20
- package/src/http-gateway/upload.ts +0 -148
- package/src/index.ts +0 -72
- package/src/models/aspera-sdk.model.ts +0 -446
- package/src/models/models.ts +0 -740
- package/tests/client.spec.ts +0 -52
- package/tests/core.spec.ts +0 -13
- package/tests/helpers.spec.ts +0 -127
- package/tests/http.spec.ts +0 -14
- package/tests/installer.spec.ts +0 -135
- package/tests/mocks.ts +0 -11
- package/tsconfig.json +0 -14
- package/tsconfig.module.json +0 -16
- package/typedoc.js +0 -7
- package/webpack.config.js +0 -35
package/CHANGELOG.md
DELETED
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
### [0.2.9](https://github.com/IBM/aspera-sdk-js/compare/v0.2.8...v0.2.9) (2025-09-18)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
* **#39:** init HTTP Gateway basic setup ([#97](https://github.com/IBM/aspera-sdk-js/issues/97)) ([ec5e1e3](https://github.com/IBM/aspera-sdk-js/commit/ec5e1e38be10597c8fbe92c429c28cf2697208a3)), closes [#39](https://github.com/IBM/aspera-sdk-js/issues/39)
|
|
11
|
-
* download via presign ([#119](https://github.com/IBM/aspera-sdk-js/issues/119)) ([a1a11f9](https://github.com/IBM/aspera-sdk-js/commit/a1a11f967a741c4a873e23822f754e4663b72208))
|
|
12
|
-
* drag and drop for folders and file pickers ([#101](https://github.com/IBM/aspera-sdk-js/issues/101)) ([42bb703](https://github.com/IBM/aspera-sdk-js/commit/42bb703d41e028c862635e0671e24d46e25bbb36))
|
|
13
|
-
* http-gateway download support ([#109](https://github.com/IBM/aspera-sdk-js/issues/109)) ([a507ccf](https://github.com/IBM/aspera-sdk-js/commit/a507ccf10d4ba1d0f0218f7a9de7dc089c183bbc))
|
|
14
|
-
* upload support for HTTP Gateway ([#103](https://github.com/IBM/aspera-sdk-js/issues/103)) ([d7c3e52](https://github.com/IBM/aspera-sdk-js/commit/d7c3e52ff12203703fb1646c38c2bf47f13e50ab))
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
### Bug Fixes
|
|
18
|
-
|
|
19
|
-
* **#113:** add request-id header ([#117](https://github.com/IBM/aspera-sdk-js/issues/117)) ([895711c](https://github.com/IBM/aspera-sdk-js/commit/895711cf5670b2f54ecef1261fcd113d236a75d9)), closes [#113](https://github.com/IBM/aspera-sdk-js/issues/113)
|
|
20
|
-
* **#118:** support auth headers for http gateway ([#125](https://github.com/IBM/aspera-sdk-js/issues/125)) ([4a0a958](https://github.com/IBM/aspera-sdk-js/commit/4a0a958701e55c37079782b53ad372278dfe82c8)), closes [#118](https://github.com/IBM/aspera-sdk-js/issues/118)
|
|
21
|
-
* **#39:** file picking and clean up init logic ([#99](https://github.com/IBM/aspera-sdk-js/issues/99)) ([682703c](https://github.com/IBM/aspera-sdk-js/commit/682703cfabd2e4981296cb45a996f9a8b788cf59)), closes [#39](https://github.com/IBM/aspera-sdk-js/issues/39)
|
|
22
|
-
* **#59:** remove safari callbacks ([#129](https://github.com/IBM/aspera-sdk-js/issues/129)) ([f6a181c](https://github.com/IBM/aspera-sdk-js/commit/f6a181ceab18777900f34adcd9444f35d2440dc6)), closes [#59](https://github.com/IBM/aspera-sdk-js/issues/59)
|
|
23
|
-
* add HTTP Gateway v2 SDK ([#102](https://github.com/IBM/aspera-sdk-js/issues/102)) ([fafee9d](https://github.com/IBM/aspera-sdk-js/commit/fafee9d04f4c27cd5444f157a5b17c2e9fad6382))
|
|
24
|
-
* build docs migration ([#90](https://github.com/IBM/aspera-sdk-js/issues/90)) ([a8844af](https://github.com/IBM/aspera-sdk-js/commit/a8844af7659afefff8022272c19de74a349ab6de))
|
|
25
|
-
* HTTP initial setup structure ([#96](https://github.com/IBM/aspera-sdk-js/issues/96)) ([efc0351](https://github.com/IBM/aspera-sdk-js/commit/efc0351632e549c667323487f33803df0c2d682c))
|
|
26
|
-
* if failed upload http do not reset on other changes. ([#104](https://github.com/IBM/aspera-sdk-js/issues/104)) ([6333708](https://github.com/IBM/aspera-sdk-js/commit/633370883408219895b0c7545ab4fad887ad4bbf))
|
|
27
|
-
* update deps ([#105](https://github.com/IBM/aspera-sdk-js/issues/105)) ([9f2d33a](https://github.com/IBM/aspera-sdk-js/commit/9f2d33af52ef6eefedfff390680cc62b6888f5fa))
|
|
28
|
-
* update libs and typo ([#128](https://github.com/IBM/aspera-sdk-js/issues/128)) ([90ba81a](https://github.com/IBM/aspera-sdk-js/commit/90ba81a4d359bb5b2ef881088254d5eb1a26298a))
|
|
29
|
-
* update security and migrate jest and eslint ([#87](https://github.com/IBM/aspera-sdk-js/issues/87)) ([d460133](https://github.com/IBM/aspera-sdk-js/commit/d4601337f8d4b70050a414051849608eafc783b2))
|
|
30
|
-
* v2 support for http gateway ([#110](https://github.com/IBM/aspera-sdk-js/issues/110)) ([a7f35b8](https://github.com/IBM/aspera-sdk-js/commit/a7f35b845a32959c477bbcca13777a14ad01948d))
|
|
31
|
-
|
|
32
|
-
### [0.2.8](https://github.com/IBM/aspera-sdk-js/compare/v0.2.7...v0.2.8) (2025-05-09)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
### Bug Fixes
|
|
36
|
-
|
|
37
|
-
* 404 for GH pages ([0cf7abd](https://github.com/IBM/aspera-sdk-js/commit/0cf7abdf7784ceadfcd58175effc4c6628fdd708))
|
|
38
|
-
* add vue to example for installer ([#60](https://github.com/IBM/aspera-sdk-js/issues/60)) ([6a79ad2](https://github.com/IBM/aspera-sdk-js/commit/6a79ad2c2c12a70682b8ef787c97923979e75a6e))
|
|
39
|
-
* basename for router and vite ([7d03afd](https://github.com/IBM/aspera-sdk-js/commit/7d03afd1b7749be40c49d347491c4307ade12039))
|
|
40
|
-
* clean NPM script to remove un needed files ([#66](https://github.com/IBM/aspera-sdk-js/issues/66)) ([7882879](https://github.com/IBM/aspera-sdk-js/commit/7882879f98e31854c4a38ef485ff8062b11b184f))
|
|
41
|
-
* do not fail out init if drag and drop fails ([#61](https://github.com/IBM/aspera-sdk-js/issues/61)) ([82ae64d](https://github.com/IBM/aspera-sdk-js/commit/82ae64d95d50448570d1057277284cd157f57e97))
|
|
42
|
-
* handle 404 on the nested route ([386ba5e](https://github.com/IBM/aspera-sdk-js/commit/386ba5e16905368f67f01a886870098607697285))
|
|
43
|
-
|
|
44
|
-
### [0.2.7](https://github.com/IBM/aspera-sdk-js/compare/v0.2.6...v0.2.7) (2025-04-11)
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
### Features
|
|
48
|
-
|
|
49
|
-
* **#54:** handle isAlive safari extension events ([#57](https://github.com/IBM/aspera-sdk-js/issues/57)) ([266a649](https://github.com/IBM/aspera-sdk-js/commit/266a649643ee4d07f4546054807d901c3edbe444)), closes [#54](https://github.com/IBM/aspera-sdk-js/issues/54)
|
|
50
|
-
* example app ([#58](https://github.com/IBM/aspera-sdk-js/issues/58)) ([a29728f](https://github.com/IBM/aspera-sdk-js/commit/a29728f357b374cafa0667e87e92f8bea804bdfe))
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
### Bug Fixes
|
|
54
|
-
|
|
55
|
-
* add base to build ([9c1e1ea](https://github.com/IBM/aspera-sdk-js/commit/9c1e1ea20e5b22669eb742cd35aa33ee4b797d96))
|
|
56
|
-
|
|
57
|
-
### [0.2.6](https://github.com/IBM/aspera-sdk-js/compare/v0.2.5...v0.2.6) (2024-11-27)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### Bug Fixes
|
|
61
|
-
|
|
62
|
-
* reverse multiple user number logic ([#52](https://github.com/IBM/aspera-sdk-js/issues/52)) ([24468a4](https://github.com/IBM/aspera-sdk-js/commit/24468a429a8d2fdd44b5ab0c50d6b914e5146d94))
|
|
63
|
-
|
|
64
|
-
### [0.2.5](https://github.com/IBM/aspera-sdk-js/compare/v0.2.4...v0.2.5) (2024-11-15)
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
### Bug Fixes
|
|
68
|
-
|
|
69
|
-
* URL export info ([#51](https://github.com/IBM/aspera-sdk-js/issues/51)) ([86fe712](https://github.com/IBM/aspera-sdk-js/commit/86fe712e7100bcf5fc04d0034879865198f55875))
|
|
70
|
-
|
|
71
|
-
### [0.2.4](https://github.com/IBM/aspera-sdk-js/compare/v0.2.3...v0.2.4) (2024-11-07)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
### Bug Fixes
|
|
75
|
-
|
|
76
|
-
* websocket port scan opt in only ([#50](https://github.com/IBM/aspera-sdk-js/issues/50)) ([18ab7e1](https://github.com/IBM/aspera-sdk-js/commit/18ab7e19a9ba7ec8109d44ff20daf109d7759ba5))
|
|
77
|
-
|
|
78
|
-
### [0.2.3](https://github.com/IBM/aspera-sdk-js/compare/v0.2.2...v0.2.3) (2024-10-31)
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
### Bug Fixes
|
|
82
|
-
|
|
83
|
-
* **#48:** use download site instead of cloudfront ([#49](https://github.com/IBM/aspera-sdk-js/issues/49)) ([cc44ece](https://github.com/IBM/aspera-sdk-js/commit/cc44ecec186d8ca1fdb2797ddd0704c11c6abc0d)), closes [#48](https://github.com/IBM/aspera-sdk-js/issues/48)
|
|
84
|
-
|
|
85
|
-
### [0.2.2](https://github.com/IBM/aspera-sdk-js/compare/v0.2.1...v0.2.2) (2024-10-25)
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
### Features
|
|
89
|
-
|
|
90
|
-
* rename to aspera SDK ([#47](https://github.com/IBM/aspera-sdk-js/issues/47)) ([680e891](https://github.com/IBM/aspera-sdk-js/commit/680e8914f04ad3edafeae54af7ab115c5fa63045))
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
### Bug Fixes
|
|
94
|
-
|
|
95
|
-
* ws read appid from global ([#46](https://github.com/IBM/aspera-sdk-js/issues/46)) ([576ecea](https://github.com/IBM/aspera-sdk-js/commit/576ecea5d1a050edcac188c21779267a88f335d6))
|
|
96
|
-
|
|
97
|
-
### [0.2.1](https://github.com/IBM/aspera-sdk-js/compare/v0.2.0...v0.2.1) (2024-10-25)
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
### Features
|
|
101
|
-
|
|
102
|
-
* initial multiple user session implementation ([#37](https://github.com/IBM/aspera-sdk-js/issues/37)) ([338f058](https://github.com/IBM/aspera-sdk-js/commit/338f058597b00f3121ff9a1d9f53b561818e8107))
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
### Bug Fixes
|
|
106
|
-
|
|
107
|
-
* use desktop_spec for payload ([c516649](https://github.com/IBM/aspera-sdk-js/commit/c51664904b01a4200cba6bdef665b108567123b4))
|
|
108
|
-
|
|
109
|
-
## [0.2.0](https://github.com/IBM/aspera-sdk-js/compare/v0.1.36...v0.2.0) (2024-10-23)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
### ⚠ BREAKING CHANGES
|
|
113
|
-
|
|
114
|
-
* **#38:** old desktop-sdk-js is no longer used. Move to @ibm-aspera/browser-sdk-js
|
|
115
|
-
|
|
116
|
-
* fix: undo desktop specific and URL
|
|
117
|
-
|
|
118
|
-
* fix: unit tests for installer URL change
|
|
119
|
-
|
|
120
|
-
### Features
|
|
121
|
-
|
|
122
|
-
* **#38:** migrate to aspera browser naming instead of desktop ([#40](https://github.com/IBM/aspera-sdk-js/issues/40)) ([8770121](https://github.com/IBM/aspera-sdk-js/commit/87701218e6f63c034ef334059abece2402bb6e5c)), closes [#38](https://github.com/IBM/aspera-sdk-js/issues/38) [#38](https://github.com/IBM/aspera-sdk-js/issues/38)
|
|
123
|
-
* notify last event on callback registration ([#34](https://github.com/IBM/aspera-sdk-js/issues/34)) ([08fd161](https://github.com/IBM/aspera-sdk-js/commit/08fd1612408ae6a66dd39f597b2ee340dfa88ace))
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
### Bug Fixes
|
|
127
|
-
|
|
128
|
-
* **#38:** remove JS from npm name ([#41](https://github.com/IBM/aspera-sdk-js/issues/41)) ([b18a20f](https://github.com/IBM/aspera-sdk-js/commit/b18a20f9d2610d1725b237da57e345434110ff33)), closes [#38](https://github.com/IBM/aspera-sdk-js/issues/38)
|
|
129
|
-
* dependabot alerts ([#35](https://github.com/IBM/aspera-sdk-js/issues/35)) ([126417c](https://github.com/IBM/aspera-sdk-js/commit/126417c9665d6103cc81e409a7d128d4d28aacf0))
|
|
130
|
-
* safari extension status ([#33](https://github.com/IBM/aspera-sdk-js/issues/33)) ([5d7c915](https://github.com/IBM/aspera-sdk-js/commit/5d7c9156cfaf4f6d10c0d0ac741c520c0f6d7c68))
|
|
131
|
-
|
|
132
|
-
### [0.1.36](https://github.com/IBM/aspera-sdk-js/compare/v0.1.35...v0.1.36) (2024-09-26)
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
### Bug Fixes
|
|
136
|
-
|
|
137
|
-
* use correct callbacks for safari extension notifications ([#32](https://github.com/IBM/aspera-sdk-js/issues/32)) ([74ab8d6](https://github.com/IBM/aspera-sdk-js/commit/74ab8d67ffb4ab17354d038dbd7821ffa1815c7f))
|
|
138
|
-
|
|
139
|
-
### [0.1.35](https://github.com/IBM/aspera-sdk-js/compare/v0.1.34...v0.1.35) (2024-09-25)
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
### Features
|
|
143
|
-
|
|
144
|
-
* add safari extension status callback registration ([#27](https://github.com/IBM/aspera-sdk-js/issues/27)) ([41e3bbe](https://github.com/IBM/aspera-sdk-js/commit/41e3bbe289dbd07bbb164f7daa6256207b256945))
|
|
145
|
-
|
|
146
|
-
### [0.1.34](https://github.com/IBM/aspera-sdk-js/compare/v0.1.33...v0.1.34) (2024-09-24)
|
|
147
|
-
|
|
148
|
-
### [0.1.33](https://github.com/IBM/aspera-sdk-js/compare/v0.1.32...v0.1.33) (2024-09-24)
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
### Bug Fixes
|
|
152
|
-
|
|
153
|
-
* initial is closed status ([#30](https://github.com/IBM/aspera-sdk-js/issues/30)) ([acf1cd1](https://github.com/IBM/aspera-sdk-js/commit/acf1cd101788fb076f5a31e30413262d0260338c))
|
|
154
|
-
|
|
155
|
-
### [0.1.32](https://github.com/IBM/aspera-sdk-js/compare/v0.1.31...v0.1.32) (2024-09-24)
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
### Bug Fixes
|
|
159
|
-
|
|
160
|
-
* notify last event on callback registration ([#29](https://github.com/IBM/aspera-sdk-js/issues/29)) ([0558fe8](https://github.com/IBM/aspera-sdk-js/commit/0558fe8b8ba607641cf8b79e742fe151f4b6ac54))
|
|
161
|
-
|
|
162
|
-
### [0.1.31](https://github.com/IBM/aspera-sdk-js/compare/v0.1.30...v0.1.31) (2024-09-24)
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
### Bug Fixes
|
|
166
|
-
|
|
167
|
-
* trigger status event on init chain ([#28](https://github.com/IBM/aspera-sdk-js/issues/28)) ([c519c9d](https://github.com/IBM/aspera-sdk-js/commit/c519c9dcc33e462614a3e42e861c440120916fc6))
|
|
168
|
-
|
|
169
|
-
### [0.1.30](https://github.com/IBM/aspera-sdk-js/compare/v0.1.29...v0.1.30) (2024-09-20)
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
### Bug Fixes
|
|
173
|
-
|
|
174
|
-
* **#24:** prevent ws event duplication ([#26](https://github.com/IBM/aspera-sdk-js/issues/26)) ([9959b69](https://github.com/IBM/aspera-sdk-js/commit/9959b69dcb00693f79d963bad8da73caf0932192)), closes [#24](https://github.com/IBM/aspera-sdk-js/issues/24)
|
|
175
|
-
|
|
176
|
-
### [0.1.29](https://github.com/IBM/aspera-sdk-js/compare/v0.1.28...v0.1.29) (2024-09-19)
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
### Bug Fixes
|
|
180
|
-
|
|
181
|
-
* **#23:** reject when safari extension is not enabled ([#25](https://github.com/IBM/aspera-sdk-js/issues/25)) ([6e46a99](https://github.com/IBM/aspera-sdk-js/commit/6e46a99a3e1fdfc8e39ef8a41cc7416d2e1163c5)), closes [#23](https://github.com/IBM/aspera-sdk-js/issues/23)
|
|
182
|
-
|
|
183
|
-
### [0.1.28](https://github.com/IBM/aspera-sdk-js/compare/v0.1.26...v0.1.28) (2024-07-17)
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
### Features
|
|
187
|
-
|
|
188
|
-
* **#8:** get info method ([#9](https://github.com/IBM/aspera-sdk-js/issues/9)) ([84f38c4](https://github.com/IBM/aspera-sdk-js/commit/84f38c42458d942243b7d7cb375e8c2a7287f086)), closes [#8](https://github.com/IBM/aspera-sdk-js/issues/8)
|
|
189
|
-
* safari client implementation ([#10](https://github.com/IBM/aspera-sdk-js/issues/10)) ([35170a6](https://github.com/IBM/aspera-sdk-js/commit/35170a6a00daa25d979ae8753e8ca79329baf422))
|
|
190
|
-
* safari extension state detection ([#12](https://github.com/IBM/aspera-sdk-js/issues/12)) ([94b376e](https://github.com/IBM/aspera-sdk-js/commit/94b376ec3416e0fb9e8cda5bc773a3942a09881b))
|
|
191
|
-
* support for transfer activity on safari ([#11](https://github.com/IBM/aspera-sdk-js/issues/11)) ([616c23b](https://github.com/IBM/aspera-sdk-js/commit/616c23bd9f58a3da8099468bbb66b10fe0c8582a))
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
### Bug Fixes
|
|
195
|
-
|
|
196
|
-
* main field in package.json ([#13](https://github.com/IBM/aspera-sdk-js/issues/13)) ([8d103ee](https://github.com/IBM/aspera-sdk-js/commit/8d103ee0dffa8753c0c507f38ea375b8721555db))
|
|
197
|
-
* scrub for open source ([#82](https://github.com/IBM/aspera-sdk-js/issues/82)) ([ec71567](https://github.com/IBM/aspera-sdk-js/commit/ec71567f9a1271c765c13fcbe9acb8cac517e595))
|
|
198
|
-
|
|
199
|
-
### [0.1.27](https://github.com/IBM/aspera-sdk-js/compare/v0.1.26...v0.1.27) (2024-06-10)
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
### Bug Fixes
|
|
203
|
-
|
|
204
|
-
* scrub for open source ([#82](https://github.com/IBM/aspera-sdk-js/issues/82)) ([ec71567](https://github.com/IBM/aspera-sdk-js/commit/ec71567f9a1271c765c13fcbe9acb8cac517e595))
|
package/docs/DEVELOPMENT.md
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# IBM Aspera TypeScript SDK
|
|
2
|
-
|
|
3
|
-
This JavaScript SDK enables web applications to utilize Aspera file-transfer capabilities via the IBM Aspera App for Desktop.
|
|
4
|
-
|
|
5
|
-
## Development
|
|
6
|
-
|
|
7
|
-
### Prerequisites
|
|
8
|
-
|
|
9
|
-
* Install [Node.js 18](https://nodejs.org/en/download/)
|
|
10
|
-
- If you are on macOS, we recommend installing Node.js via a package manager such as [nvm](https://github.com/nvm-sh/nvm).
|
|
11
|
-
* Git
|
|
12
|
-
|
|
13
|
-
### Build
|
|
14
|
-
|
|
15
|
-
```shell
|
|
16
|
-
$ git clone https://github.com/IBM/aspera-sdk-js.git
|
|
17
|
-
$ cd aspera-sdk-js
|
|
18
|
-
$ npm install
|
|
19
|
-
$ npm run build
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
### Testing
|
|
23
|
-
|
|
24
|
-
To run the test app:
|
|
25
|
-
```shell
|
|
26
|
-
$ npm run dev
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
To run the unit tests:
|
|
30
|
-
```shell
|
|
31
|
-
$ npm run test
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### Documentation
|
|
35
|
-
|
|
36
|
-
```shell
|
|
37
|
-
$ npm run docs
|
|
38
|
-
```
|
package/eslint.config.js
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
const { defineConfig, globalIgnores } = require('eslint/config');
|
|
2
|
-
const globals = require('globals');
|
|
3
|
-
const tsParser = require('@typescript-eslint/parser');
|
|
4
|
-
const typescriptEslint = require('@typescript-eslint/eslint-plugin');
|
|
5
|
-
|
|
6
|
-
module.exports = defineConfig([{
|
|
7
|
-
languageOptions: {
|
|
8
|
-
globals: {
|
|
9
|
-
...globals.browser,
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
parser: tsParser,
|
|
13
|
-
'sourceType': 'module',
|
|
14
|
-
|
|
15
|
-
parserOptions: {
|
|
16
|
-
'project': 'tsconfig.json',
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
plugins: {
|
|
21
|
-
'@typescript-eslint': typescriptEslint,
|
|
22
|
-
},
|
|
23
|
-
'rules': {
|
|
24
|
-
'@typescript-eslint/consistent-type-definitions': 'error',
|
|
25
|
-
'@typescript-eslint/dot-notation': 'off',
|
|
26
|
-
|
|
27
|
-
'@typescript-eslint/explicit-member-accessibility': ['off', {
|
|
28
|
-
'accessibility': 'explicit',
|
|
29
|
-
}],
|
|
30
|
-
'indent': ['error', 2],
|
|
31
|
-
'@typescript-eslint/naming-convention': 'off',
|
|
32
|
-
'@typescript-eslint/no-empty-function': 'off',
|
|
33
|
-
'@typescript-eslint/no-empty-interface': 'error',
|
|
34
|
-
'@typescript-eslint/no-inferrable-types': ['error', {
|
|
35
|
-
'ignoreParameters': true,
|
|
36
|
-
}],
|
|
37
|
-
'@typescript-eslint/no-shadow': ['error', {
|
|
38
|
-
'hoist': 'all',
|
|
39
|
-
}],
|
|
40
|
-
'semi-style': ['error', 'last'],
|
|
41
|
-
semi: [2, 'always'],
|
|
42
|
-
'no-trailing-spaces': ['error'],
|
|
43
|
-
'no-extra-semi': 'off',
|
|
44
|
-
'space-in-parens': [2, 'never'],
|
|
45
|
-
'comma-spacing': [2, {
|
|
46
|
-
before: false,
|
|
47
|
-
after: true,
|
|
48
|
-
}],
|
|
49
|
-
'@typescript-eslint/no-unused-expressions': 'error',
|
|
50
|
-
'@typescript-eslint/no-use-before-define': 'error',
|
|
51
|
-
'@typescript-eslint/prefer-function-type': 'error',
|
|
52
|
-
'quotes': ['error', 'single'],
|
|
53
|
-
'semi': ['error', 'always'],
|
|
54
|
-
'@typescript-eslint/unified-signatures': 'error',
|
|
55
|
-
'brace-style': ['error', '1tbs'],
|
|
56
|
-
'curly': 'error',
|
|
57
|
-
'eol-last': 'error',
|
|
58
|
-
'eqeqeq': ['error', 'smart'],
|
|
59
|
-
'guard-for-in': 'error',
|
|
60
|
-
'id-blacklist': 'off',
|
|
61
|
-
'id-match': 'off',
|
|
62
|
-
'no-bitwise': 'error',
|
|
63
|
-
'no-caller': 'error',
|
|
64
|
-
'no-console': ['error', {
|
|
65
|
-
'allow': [
|
|
66
|
-
'log',
|
|
67
|
-
'warn',
|
|
68
|
-
'dir',
|
|
69
|
-
'timeLog',
|
|
70
|
-
'assert',
|
|
71
|
-
'clear',
|
|
72
|
-
'count',
|
|
73
|
-
'countReset',
|
|
74
|
-
'group',
|
|
75
|
-
'groupEnd',
|
|
76
|
-
'table',
|
|
77
|
-
'dirxml',
|
|
78
|
-
'error',
|
|
79
|
-
'groupCollapsed',
|
|
80
|
-
'Console',
|
|
81
|
-
'profile',
|
|
82
|
-
'profileEnd',
|
|
83
|
-
'timeStamp',
|
|
84
|
-
'context',
|
|
85
|
-
],
|
|
86
|
-
}],
|
|
87
|
-
'no-debugger': 'error',
|
|
88
|
-
'no-empty': 'off',
|
|
89
|
-
'no-eval': 'error',
|
|
90
|
-
'no-fallthrough': 'error',
|
|
91
|
-
'no-new-wrappers': 'error',
|
|
92
|
-
'no-restricted-imports': 'error',
|
|
93
|
-
'no-throw-literal': 'error',
|
|
94
|
-
'no-trailing-spaces': 'error',
|
|
95
|
-
'no-underscore-dangle': 'off',
|
|
96
|
-
'no-unused-labels': 'error',
|
|
97
|
-
'no-var': 'error',
|
|
98
|
-
'prefer-const': 'error',
|
|
99
|
-
'radix': 'error',
|
|
100
|
-
'spaced-comment': ['error', 'always', {
|
|
101
|
-
'markers': ['/'],
|
|
102
|
-
}],
|
|
103
|
-
},
|
|
104
|
-
}, globalIgnores(['**/example'])]);
|
package/example/README.md
DELETED
package/example/index.html
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<title>IBM Aspera JavaScript SDK Test Application</title>
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
<div id="root"></div>
|
|
11
|
-
<script type="module" src="/src/main.tsx"></script>
|
|
12
|
-
<script src="sdk-code.js"></script>
|
|
13
|
-
</body>
|
|
14
|
-
</html>
|