@moneytree/mt-link-javascript-sdk 3.0.0 → 3.1.1
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/CHANGELOG.md +17 -47
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -5
- package/dist/typings.d.ts +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,44 +1,40 @@
|
|
|
1
|
-
## [3.
|
|
1
|
+
## [3.1.1](https://github.com/moneytree/mt-link-javascript-sdk/compare/3.1.0...3.1.1) (2023-03-16)
|
|
2
2
|
|
|
3
|
-
### BREAKING CHANGES
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
* chore(country): support only jp ([08ff6c3](https://github.com/moneytree/mt-link-javascript-sdk/commit/08ff6c3f3de70e8f433b64557997224cea419593))
|
|
7
|
-
* feat(open-service): rename myaccount-settings to myaccount ([69fedb4](https://github.com/moneytree/mt-link-javascript-sdk/commit/69fedb48931e3bebfc7aaddad33ff46d5967069d))
|
|
4
|
+
### Bug Fixes
|
|
8
5
|
|
|
9
|
-
|
|
6
|
+
* **configs:** default sdk info always overwrite options values ([6d2734e](https://github.com/moneytree/mt-link-javascript-sdk/commit/6d2734e0d2748ca4ffa39c80eea3788323fbad1f))
|
|
10
7
|
|
|
11
|
-
* feat(myaccount): able to open each page ([2a92055](https://github.com/moneytree/mt-link-javascript-sdk/commit/2a920556840fc28a4b7d99d264708ab3d861e40e))
|
|
12
8
|
|
|
13
|
-
###
|
|
9
|
+
### Features
|
|
14
10
|
|
|
15
|
-
*
|
|
11
|
+
* **MyAccount:** Add support for authn_method ([b94ea4b](https://github.com/moneytree/mt-link-javascript-sdk/commit/b94ea4b186699d8af21885eb4150c2e96b605916))
|
|
12
|
+
* **MyAccount:** Add support for saml_subject_id ([de9af0f](https://github.com/moneytree/mt-link-javascript-sdk/commit/de9af0f4d20acc90c3a7fa59e1e571a656287975))
|
|
16
13
|
|
|
17
|
-
## [2.1.2](https://github.com/moneytree/mt-link-javascript-sdk/compare/2.1.1...2.1.2) (2020-12-18)
|
|
18
14
|
|
|
19
|
-
* fix add two private config value ([cd64d6a](https://github.com/moneytree/mt-link-javascript-sdk/commit/cd64d6a281fbe773dfea8bd236e2c8e74cda3563))
|
|
20
15
|
|
|
21
|
-
|
|
16
|
+
# [3.0.0](https://github.com/moneytree/mt-link-javascript-sdk/compare/2.1.2...3.0.0) (2021-06-01)
|
|
22
17
|
|
|
23
|
-
### Bug Fixes
|
|
24
|
-
* fix window.open didn't work on Safari 14 ([882c23c](https://github.com/moneytree/mt-link-javascript-sdk/commit/882c23c1abdc467a964b918ea7502f4f70e7da8d))
|
|
25
|
-
* fix forceLogout didn't work ([fa3055a](https://github.com/moneytree/mt-link-javascript-sdk/commit/fa3055a100f2bd4b7c5a4660b9dfeba45c601078))
|
|
26
|
-
|
|
27
|
-
# [2.1.0](https://github.com/moneytree/mt-link-javascript-sdk/compare/2.0.0...2.1.0) (2020-12-09)
|
|
28
18
|
|
|
29
19
|
### Bug Fixes
|
|
30
20
|
|
|
21
|
+
* add two private config value ([cd64d6a](https://github.com/moneytree/mt-link-javascript-sdk/commit/cd64d6a281fbe773dfea8bd236e2c8e74cda3563))
|
|
31
22
|
* **authorize-api:** fix for Safari 14 issue ([9fb69d0](https://github.com/moneytree/mt-link-javascript-sdk/commit/9fb69d014752698df1897527ff27d60ffd116843))
|
|
32
23
|
* update for lint error and test failed ([362f0b7](https://github.com/moneytree/mt-link-javascript-sdk/commit/362f0b749797a438ac8c0024616e7072dbc641ee))
|
|
24
|
+
* **logout:** add optional backTo parameter ([9b9da89](https://github.com/moneytree/mt-link-javascript-sdk/commit/9b9da8941ff58049ed200d6dd6324bc5918adca0))
|
|
33
25
|
|
|
34
26
|
|
|
35
27
|
### Features
|
|
36
28
|
|
|
37
29
|
* **headers:** set sdk info as additional headers parameter ([1a55579](https://github.com/moneytree/mt-link-javascript-sdk/commit/1a5557919ee9844409848154ba22ec863c4d1a58))
|
|
30
|
+
* **index:** new logout endpoint ([64156ca](https://github.com/moneytree/mt-link-javascript-sdk/commit/64156caba35f251f6a501edba60f736ab13da57c))
|
|
31
|
+
* **myaccount:** able to open each page ([72c1e71](https://github.com/moneytree/mt-link-javascript-sdk/commit/72c1e715f2028e8d9d95b8e109e763d776c87e57))
|
|
32
|
+
* **open-service:** rename myaccount-settings to myaccount ([71cdd6c](https://github.com/moneytree/mt-link-javascript-sdk/commit/71cdd6cd373d6564e47f971b95f3bd0c222715c0))
|
|
33
|
+
* **open-services:** deeplink support ([c179072](https://github.com/moneytree/mt-link-javascript-sdk/commit/c179072ba008e8f6be3f94bf4ced88e314485544))
|
|
38
34
|
* **sample-app:** add example ([89edfcf](https://github.com/moneytree/mt-link-javascript-sdk/commit/89edfcf2e6bc961842f9721345a074779e0549be))
|
|
39
35
|
* add del to storage ([c5f2bda](https://github.com/moneytree/mt-link-javascript-sdk/commit/c5f2bdaf597909f71a3ee551966daa0e47367baf))
|
|
40
36
|
* authorize & onboard accepts `pkce` & `codeChallenge` options ([bc6bfe5](https://github.com/moneytree/mt-link-javascript-sdk/commit/bc6bfe5da725493fb3046dabab57824fe09fa501))
|
|
41
|
-
* **
|
|
37
|
+
* **sample_app:** add a very basic sample app to test the SDK ([84a4d18](https://github.com/moneytree/mt-link-javascript-sdk/commit/84a4d187506960f44dffd102b62ce4732bec3301))
|
|
42
38
|
|
|
43
39
|
|
|
44
40
|
* refactor!: remove auto generate state logic ([c68d223](https://github.com/moneytree/mt-link-javascript-sdk/commit/c68d22331c1783a3c859af0b4cb3ddecfcfbf8b4))
|
|
@@ -54,35 +50,6 @@ one via the APIs' options parameter if you need one.
|
|
|
54
50
|
* change `tokenInfo` API response to standard format.
|
|
55
51
|
* `tokenInfo` API no longer accept options parameter as it provide no benefit.
|
|
56
52
|
|
|
57
|
-
# [2.0.0](https://github.com/moneytree/mt-link-javascript-sdk/compare/1.4.0...2.0.0) (2020-10-19)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### Features
|
|
61
|
-
|
|
62
|
-
- Support OAuth 2.0 Authorization Code with PKCE Flow.
|
|
63
|
-
- Enable to onboard a guest faster.
|
|
64
|
-
- Support Magic link(password-less login link).
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
# [1.4.0](https://github.com/moneytree/mt-link-javascript-sdk/compare/1.3.1...1.4.0) (2020-01-17)
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
# [1.3.1](https://github.com/moneytree/mt-link-javascript-sdk/compare/1.3.0...1.3.1) (2020-01-17)
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
### Bug Fixes
|
|
74
|
-
|
|
75
|
-
* **logout:** add optional backTo parameter ([9b9da89](https://github.com/moneytree/mt-link-javascript-sdk/commit/9b9da8941ff58049ed200d6dd6324bc5918adca0))
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
# [1.3.0](https://github.com/moneytree/mt-link-javascript-sdk/compare/1.2.3...1.3.0) (2019-12-11)
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
### Features
|
|
82
|
-
|
|
83
|
-
* **index:** new logout endpoint ([64156ca](https://github.com/moneytree/mt-link-javascript-sdk/commit/64156caba35f251f6a501edba60f736ab13da57c))
|
|
84
|
-
* **sample_app:** add a very basic sample app to test the SDK ([84a4d18](https://github.com/moneytree/mt-link-javascript-sdk/commit/84a4d187506960f44dffd102b62ce4732bec3301))
|
|
85
|
-
|
|
86
53
|
|
|
87
54
|
|
|
88
55
|
## [1.2.3](https://github.com/moneytree/mt-link-javascript-sdk/compare/1.2.2...1.2.3) (2019-05-23)
|
|
@@ -155,3 +122,6 @@ one via the APIs' options parameter if you need one.
|
|
|
155
122
|
### Features
|
|
156
123
|
|
|
157
124
|
* creating a JS SDK ([333cf8c](https://github.com/moneytree/mt-link-javascript-sdk/commit/333cf8c36f7a8299c2bccf441454b04d31e7d907))
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './typings';
|
|
|
3
3
|
export declare class MtLinkSdk {
|
|
4
4
|
storedOptions: StoredOptions;
|
|
5
5
|
init(clientId: string, options?: InitOptions): void;
|
|
6
|
+
setSamlSubjectId(value: string): void;
|
|
6
7
|
authorize(options?: AuthorizeOptions): void;
|
|
7
8
|
onboard(options?: OnboardOptions): void;
|
|
8
9
|
logout(options?: LogoutOptions): void;
|