@ibm-aspera/sdk 0.2.6 → 0.2.8
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 +3 -0
- package/dist/commonjs/app/core.d.ts +2 -1
- package/dist/commonjs/app/core.js +10 -3
- package/dist/commonjs/constants/messages.d.ts +1 -0
- package/dist/commonjs/constants/messages.js +1 -0
- package/dist/commonjs/helpers/client/safari-client.d.ts +4 -2
- package/dist/commonjs/helpers/client/safari-client.js +22 -10
- package/dist/commonjs/index.d.ts +2 -2
- package/dist/commonjs/index.js +2 -1
- package/dist/commonjs/models/aspera-sdk.model.d.ts +16 -1
- package/dist/commonjs/models/aspera-sdk.model.js +32 -2
- package/dist/js/aspera-sdk.js +1 -1
- package/dist/js/aspera-sdk.js.LICENSE.txt +2 -2
- package/dist/js/aspera-sdk.js.map +1 -1
- package/package.json +4 -3
- package/.editorconfig +0 -13
- package/.eslintrc.js +0 -128
- package/.github/CODE_OF_CONDUCT.md +0 -128
- package/.github/CONTRIBUTING.md +0 -147
- package/.github/workflows/ci.yml +0 -36
- package/.github/workflows/documentation.yml +0 -43
- package/.github/workflows/npm_upload.yml +0 -30
- package/.husky/pre-commit +0 -4
- package/CHANGELOG.md +0 -152
- package/docs/DEVELOPMENT.md +0 -38
- package/jest.config.js +0 -15
- package/jest.setup.js +0 -0
- package/src/app/core.ts +0 -611
- package/src/app/installer.ts +0 -53
- package/src/constants/constants.ts +0 -19
- package/src/constants/messages.ts +0 -29
- 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 -318
- package/src/helpers/helpers.ts +0 -214
- package/src/helpers/http.ts +0 -39
- package/src/helpers/ws.ts +0 -215
- package/src/index.html +0 -404
- package/src/index.ts +0 -77
- package/src/models/aspera-sdk.model.ts +0 -364
- package/src/models/models.ts +0 -676
- package/tests/client.spec.ts +0 -52
- package/tests/core.spec.ts +0 -13
- package/tests/helpers.spec.ts +0 -124
- package/tests/http.spec.ts +0 -14
- package/tests/installer.spec.ts +0 -135
- package/tests/mocks.ts +0 -11
- package/tsconfig.json +0 -10
- package/tsconfig.module.json +0 -15
- package/typedoc.js +0 -17
- package/webpack.config.js +0 -53
package/CHANGELOG.md
DELETED
|
@@ -1,152 +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.6](https://github.com/IBM/aspera-sdk-js/compare/v0.2.5...v0.2.6) (2024-11-27)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Bug Fixes
|
|
9
|
-
|
|
10
|
-
* 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))
|
|
11
|
-
|
|
12
|
-
### [0.2.5](https://github.com/IBM/aspera-sdk-js/compare/v0.2.4...v0.2.5) (2024-11-15)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
### Bug Fixes
|
|
16
|
-
|
|
17
|
-
* URL export info ([#51](https://github.com/IBM/aspera-sdk-js/issues/51)) ([86fe712](https://github.com/IBM/aspera-sdk-js/commit/86fe712e7100bcf5fc04d0034879865198f55875))
|
|
18
|
-
|
|
19
|
-
### [0.2.4](https://github.com/IBM/aspera-sdk-js/compare/v0.2.3...v0.2.4) (2024-11-07)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
### Bug Fixes
|
|
23
|
-
|
|
24
|
-
* 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))
|
|
25
|
-
|
|
26
|
-
### [0.2.3](https://github.com/IBM/aspera-sdk-js/compare/v0.2.2...v0.2.3) (2024-10-31)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
### Bug Fixes
|
|
30
|
-
|
|
31
|
-
* **#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)
|
|
32
|
-
|
|
33
|
-
### [0.2.2](https://github.com/IBM/aspera-sdk-js/compare/v0.2.1...v0.2.2) (2024-10-25)
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
### Features
|
|
37
|
-
|
|
38
|
-
* rename to aspera SDK ([#47](https://github.com/IBM/aspera-sdk-js/issues/47)) ([680e891](https://github.com/IBM/aspera-sdk-js/commit/680e8914f04ad3edafeae54af7ab115c5fa63045))
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
### Bug Fixes
|
|
42
|
-
|
|
43
|
-
* 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))
|
|
44
|
-
|
|
45
|
-
### [0.2.1](https://github.com/IBM/aspera-sdk-js/compare/v0.2.0...v0.2.1) (2024-10-25)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
### Features
|
|
49
|
-
|
|
50
|
-
* 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))
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
### Bug Fixes
|
|
54
|
-
|
|
55
|
-
* use desktop_spec for payload ([c516649](https://github.com/IBM/aspera-sdk-js/commit/c51664904b01a4200cba6bdef665b108567123b4))
|
|
56
|
-
|
|
57
|
-
## [0.2.0](https://github.com/IBM/aspera-sdk-js/compare/v0.1.36...v0.2.0) (2024-10-23)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### ⚠ BREAKING CHANGES
|
|
61
|
-
|
|
62
|
-
* **#38:** old desktop-sdk-js is no longer used. Move to @ibm-aspera/browser-sdk-js
|
|
63
|
-
|
|
64
|
-
* fix: undo desktop specific and URL
|
|
65
|
-
|
|
66
|
-
* fix: unit tests for installer URL change
|
|
67
|
-
|
|
68
|
-
### Features
|
|
69
|
-
|
|
70
|
-
* **#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)
|
|
71
|
-
* 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))
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
### Bug Fixes
|
|
75
|
-
|
|
76
|
-
* **#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)
|
|
77
|
-
* dependabot alerts ([#35](https://github.com/IBM/aspera-sdk-js/issues/35)) ([126417c](https://github.com/IBM/aspera-sdk-js/commit/126417c9665d6103cc81e409a7d128d4d28aacf0))
|
|
78
|
-
* safari extension status ([#33](https://github.com/IBM/aspera-sdk-js/issues/33)) ([5d7c915](https://github.com/IBM/aspera-sdk-js/commit/5d7c9156cfaf4f6d10c0d0ac741c520c0f6d7c68))
|
|
79
|
-
|
|
80
|
-
### [0.1.36](https://github.com/IBM/aspera-sdk-js/compare/v0.1.35...v0.1.36) (2024-09-26)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
### Bug Fixes
|
|
84
|
-
|
|
85
|
-
* 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))
|
|
86
|
-
|
|
87
|
-
### [0.1.35](https://github.com/IBM/aspera-sdk-js/compare/v0.1.34...v0.1.35) (2024-09-25)
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
### Features
|
|
91
|
-
|
|
92
|
-
* 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))
|
|
93
|
-
|
|
94
|
-
### [0.1.34](https://github.com/IBM/aspera-sdk-js/compare/v0.1.33...v0.1.34) (2024-09-24)
|
|
95
|
-
|
|
96
|
-
### [0.1.33](https://github.com/IBM/aspera-sdk-js/compare/v0.1.32...v0.1.33) (2024-09-24)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
### Bug Fixes
|
|
100
|
-
|
|
101
|
-
* initial is closed status ([#30](https://github.com/IBM/aspera-sdk-js/issues/30)) ([acf1cd1](https://github.com/IBM/aspera-sdk-js/commit/acf1cd101788fb076f5a31e30413262d0260338c))
|
|
102
|
-
|
|
103
|
-
### [0.1.32](https://github.com/IBM/aspera-sdk-js/compare/v0.1.31...v0.1.32) (2024-09-24)
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
### Bug Fixes
|
|
107
|
-
|
|
108
|
-
* 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))
|
|
109
|
-
|
|
110
|
-
### [0.1.31](https://github.com/IBM/aspera-sdk-js/compare/v0.1.30...v0.1.31) (2024-09-24)
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
### Bug Fixes
|
|
114
|
-
|
|
115
|
-
* 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))
|
|
116
|
-
|
|
117
|
-
### [0.1.30](https://github.com/IBM/aspera-sdk-js/compare/v0.1.29...v0.1.30) (2024-09-20)
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
### Bug Fixes
|
|
121
|
-
|
|
122
|
-
* **#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)
|
|
123
|
-
|
|
124
|
-
### [0.1.29](https://github.com/IBM/aspera-sdk-js/compare/v0.1.28...v0.1.29) (2024-09-19)
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
### Bug Fixes
|
|
128
|
-
|
|
129
|
-
* **#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)
|
|
130
|
-
|
|
131
|
-
### [0.1.28](https://github.com/IBM/aspera-sdk-js/compare/v0.1.26...v0.1.28) (2024-07-17)
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
### Features
|
|
135
|
-
|
|
136
|
-
* **#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)
|
|
137
|
-
* safari client implementation ([#10](https://github.com/IBM/aspera-sdk-js/issues/10)) ([35170a6](https://github.com/IBM/aspera-sdk-js/commit/35170a6a00daa25d979ae8753e8ca79329baf422))
|
|
138
|
-
* safari extension state detection ([#12](https://github.com/IBM/aspera-sdk-js/issues/12)) ([94b376e](https://github.com/IBM/aspera-sdk-js/commit/94b376ec3416e0fb9e8cda5bc773a3942a09881b))
|
|
139
|
-
* 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))
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
### Bug Fixes
|
|
143
|
-
|
|
144
|
-
* 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))
|
|
145
|
-
* scrub for open source ([#82](https://github.com/IBM/aspera-sdk-js/issues/82)) ([ec71567](https://github.com/IBM/aspera-sdk-js/commit/ec71567f9a1271c765c13fcbe9acb8cac517e595))
|
|
146
|
-
|
|
147
|
-
### [0.1.27](https://github.com/IBM/aspera-sdk-js/compare/v0.1.26...v0.1.27) (2024-06-10)
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
### Bug Fixes
|
|
151
|
-
|
|
152
|
-
* 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/jest.config.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
'automock': false,
|
|
3
|
-
'setupFiles': [
|
|
4
|
-
'./jest.setup.js'
|
|
5
|
-
],
|
|
6
|
-
'moduleFileExtensions': [
|
|
7
|
-
'ts',
|
|
8
|
-
'js'
|
|
9
|
-
],
|
|
10
|
-
'testEnvironment': 'jsdom',
|
|
11
|
-
'transform': {
|
|
12
|
-
'^.+\\.tsx?$': 'ts-jest'
|
|
13
|
-
},
|
|
14
|
-
'testRegex': '/tests/.*\\.spec\\.ts$'
|
|
15
|
-
}
|
package/jest.setup.js
DELETED
|
File without changes
|