@schibsted/account-sdk-browser 4.7.0 → 4.7.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schibsted/account-sdk-browser",
3
- "version": "4.7.0",
3
+ "version": "4.7.3",
4
4
  "description": "Schibsted account SDK for browsers",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/cache.js CHANGED
@@ -93,9 +93,17 @@ export default class Cache {
93
93
  * @returns {*} - The value if it exists, otherwise null
94
94
  */
95
95
  get(key) {
96
+ function getObj(raw) {
97
+ try {
98
+ return JSON.parse(raw);
99
+ } catch (e) {
100
+ return null;
101
+ }
102
+ }
103
+
96
104
  try {
97
105
  const raw = this.cache.get(key);
98
- const obj = raw ? JSON.parse(raw) : null;
106
+ let obj = getObj(raw);
99
107
  if (obj && Number.isInteger(obj.expiresOn) && obj.expiresOn > Date.now()) {
100
108
  return obj.value;
101
109
  }
package/src/identity.js CHANGED
@@ -781,7 +781,7 @@ export class Identity extends EventEmitter {
781
781
  teaser = arguments[6] || teaser;
782
782
  maxAge = isNaN(arguments[7]) ? maxAge : arguments[7];
783
783
  }
784
- const isValidAcrValue = (acrValue) => isStrIn(acrValue, ['password', 'otp', 'sms', 'eid-no', 'eid-se', 'eid'], true);
784
+ const isValidAcrValue = (acrValue) => isStrIn(acrValue, ['password', 'otp', 'sms', 'eid-no', 'eid-se', 'eid-fi', 'eid'], true);
785
785
  assert(!acrValues || isStrIn(acrValues, ['', 'otp-email'], true) || acrValues.split(' ').every(isValidAcrValue),
786
786
  `The acrValues parameter is not acceptable: ${acrValues}`);
787
787
  assert(isUrl(redirectUri),
@@ -822,7 +822,7 @@ export class Identity extends EventEmitter {
822
822
  * @return {string}
823
823
  */
824
824
  accountUrl(redirectUri = this.redirectUri) {
825
- return this._spid.makeUrl('account/summary', {
825
+ return this._spid.makeUrl('profile-pages', {
826
826
  response_type: 'code',
827
827
  redirect_uri: redirectUri
828
828
  });
@@ -834,7 +834,7 @@ export class Identity extends EventEmitter {
834
834
  * @return {string}
835
835
  */
836
836
  phonesUrl(redirectUri = this.redirectUri) {
837
- return this._spid.makeUrl('account/phones', {
837
+ return this._spid.makeUrl('profile-pages/about-you/phone', {
838
838
  response_type: 'code',
839
839
  redirect_uri: redirectUri
840
840
  });
package/CHANGELOG.md DELETED
@@ -1,532 +0,0 @@
1
- # Changelog
2
-
3
- ## v4.7.0 (2022-10-27)
4
- * Add locale support in the Simplified Login widget
5
-
6
- ## v4.6.0 (2022-02-23)
7
-
8
- ## New features
9
- * Add `eid`, `eid-no` and `eid-se` to valid acrValues
10
-
11
- ## v4.5.3 (2021-11-26)
12
-
13
- ## Fixes
14
- * Fix SimplifiedLoginWidgetLoginOptions typo
15
-
16
- ## v4.5.2 (2021-11-26)
17
-
18
- ## Fixes
19
- * Fix SimplifiedLoginWidgetLoginOptions
20
-
21
- ## v4.5.1 (2021-11-19)
22
-
23
- ## Fixes
24
- * .d.ts files publishing
25
-
26
- ## v4.5.0 (2021-09-29)
27
-
28
- ## New features
29
- * Add Danish env
30
-
31
- ## Fixes
32
- * `options` param in `showSimplifiedLoginWidget` function is optional in Typescript now
33
-
34
- ## v4.4.0 (2021-06-24)
35
-
36
- ## New features
37
- * Added optional `options` param to `showSimplifiedLoginWidget` function, allowing to specify widget `encoding`
38
-
39
- ## v4.3.0 (2020-12-16)
40
-
41
- ## New features
42
- * Add `not you?` button to simplified login widget
43
-
44
-
45
- ## v4.2.1 (2020-18-11)
46
-
47
- ## Fixes
48
- * Fix TS issues
49
-
50
- ## v4.2.0 (2020-11-09)
51
-
52
- ## New features
53
- * Add Finnish env
54
-
55
- ## v4.1.0 (2020-11-03)
56
-
57
- ## New features
58
- * Add .d.ts files
59
-
60
- ## v4.0.0 (2020-09-03)
61
-
62
- ## Breaking changes
63
- * `sessionDomain` is required
64
- * Removed `siteSpecificLogout` param- there is no option to disable site specific logout
65
- * `hasSession` does not accept `autologin` param anymore
66
- * Drop `hasProduct` and `hasSubscription` functions- replaced by `hasAccess`
67
-
68
- ## New features
69
- * Add 2FA Support- new `acrValues`: `sms`, `otp`, `password`
70
- * `logSettings` function
71
-
72
- ## Changes
73
- * babel has been updated to `^7.11`
74
-
75
- ## v3.4.0 (2020-04-28)
76
-
77
- ## Changes
78
- * showSimplifiedLoginWidget accepts async function as state param - will be called only if user click log in
79
- * Support for pulse providerId in simplified login widget
80
-
81
- ## New features
82
- * Added `clearCachedAccessResult` and `clearCachedUserSession` methods
83
-
84
-
85
- ## v3.3.0 (2020-04-07)
86
-
87
- ## New features
88
- * hasAccess - function that check if you have access to productsIds
89
-
90
- ## v3.2.0 (2020-03-19)
91
-
92
- ## Fixes
93
- * Cache 400 http responses from session service
94
-
95
- ## New features
96
- * showSimplifiedLoginWidget - function that loads and displays simplified login widget
97
-
98
- ## v3.1.1 (2020-02-20)
99
-
100
- ## Changes
101
- * Use sessionStorage as identity cache instead of localStorage
102
-
103
- ## v3.1.0 (2020-02-06)
104
-
105
- ## Changes
106
- * Enable siteSpecificLogout by default
107
-
108
- ## v3.0.7 (2019-11-12)
109
-
110
- ### Fixes
111
- * Refactor hasSession to fix ie11 bug
112
-
113
- ## v3.1.0-rc (2019-10-02)
114
-
115
- ### Semi-breaking ish changes
116
- * Enable site specific logout by default- it is experimental feature for now
117
-
118
- ### Fixes
119
- * Update PublicUserData type description
120
-
121
- ## v3.0.6 (2019-09-18)
122
-
123
- ### New features
124
- * New method getUserContextData
125
- * siteSpecificLogout flag (default false). When enabled, logout will logout user from local session-service, but not from Schibsted Account
126
-
127
- ## v3.0.5 (2019-05-23)
128
-
129
- ### Fixes
130
-
131
- * Do not display ITP dialog when session service is enabled
132
- * Mark purchasePaylinkUrl as depracated
133
-
134
- ## v3.0.4 (2019-03-14)
135
-
136
- ### Fixes
137
-
138
- * Use `reject` in hasSession `promiseFn`
139
-
140
- ## v3.0.3 (2019-01-28)
141
-
142
- ## Changes
143
-
144
- * Add `oneStepLogin` option to `login` function. If set to `true` username and password will be display on one page
145
- * Introduce `purchasePromoCodeProductFlowUrl`- function returns url for zuora subscription flow
146
-
147
- ## v3.0.2 (2018-12-11)
148
-
149
- ## Changes
150
-
151
- * Add possibility to set SP_ID cookie domain with enableVarnishCookie function param
152
-
153
- ## v3.0.1 (2018-11-06)
154
-
155
- ## Fixes
156
-
157
- * Fix LOCAL SDRN namespace
158
- * Silent error on Object.assign in SDKError for ios 9
159
- * Update jest
160
-
161
- ## v3.0.0 (2018-10-15)
162
-
163
- ## Fixes
164
-
165
- * Fix LOCAL SDRN namespace
166
-
167
- ## v3.0.0 (2018-10-15)
168
-
169
- ## Removed rc
170
-
171
- ## Fixes
172
-
173
- * fix typeof in clearVarnishCookie
174
-
175
- ## v3.0.0-rc.21 (2018-10-10)
176
-
177
- ## Semi-breaking ish changes
178
-
179
- * Monetization functions `hasProduct` and `hasSubscription` didn't list `@throws` in the docs, even
180
- though there was always a chance of those functions throwing SDKError if anything went wrong
181
- during a network call. Also, the `spId` parameter is back to being a required parameter, since
182
- it's used when caching results (and without it, cache data could in theory span different users)
183
-
184
- ## Fixes
185
-
186
- * Monetization functions `hasProduct` and `hasSubscription` now fall back to calling the Schibsted
187
- account backend if a call to the session-service fails with a 400 error (meaning a session-cookie
188
- is not present).
189
-
190
- ## Changes
191
-
192
- * Monetization functions `hasProducts` and `hasSubscription` now caches both failures (for 10
193
- seconds) and successes (for 1 hour)
194
-
195
- ## v3.0.0-rc.20 (2018-10-09)
196
-
197
- ### Fixes
198
-
199
- * Setting a Varnish cookie (the `SP_ID` cookie) will now be done with a top-level domain as the
200
- domain value. So if done from some.sub.site.example, we will use `domain=site.example`. Thanks to
201
- @olekenneth for fixing it
202
-
203
- ## v3.0.0-rc.19 (2018-09-28)
204
-
205
- ### Breaking changes
206
-
207
- * If you are using the session-service, calls to `Identity.hasSession` will not return the obsolete
208
- `userStatus` or `id` fields (the numeric `userId` and the `uuid` fields are still returned).
209
- * Calling `Identity.hasSession` multiple times will now cause only one network call. While this call
210
- is running, other calls to `Identity.hasSession` will simply wait for that call to complete, and
211
- then they will all resolve to the same result
212
-
213
- ### New features
214
-
215
- * We can communicate with the session-service instead of Schibsted account in `Identity.hasSession`,
216
- `Monetization.hasProduct` and `Monetization.hasSubscription` (quick howto; to opt into this, add a
217
- param `sessionDomain: 'https://id.site.example'` to the constructor for Identity and Monetization)
218
-
219
- ## v3.0.0-rc.18 (2018-09-18 — second one today, yay 🎉)
220
-
221
- ### Breaking changes
222
-
223
- * The `Identity.logout()` function is no longer an `async` function, and now does a full-page
224
- redirect to the Schibsted account domain to log the user out. This is because we can't trust that
225
- the XHR way of logging people out will work for Safari 12 users. Sorry for the breaking change,
226
- but at least it works in a consistent way. It now also takes a parameter `redirectUri` that
227
- defaults to the `redirectUri` from the `Identity` constructor. The browser will be redirected
228
- there after Schibsted account has logged the user out
229
-
230
- ## v3.0.0-rc.17 (2018-09-18)
231
-
232
- ### Fixes
233
-
234
- * Varnish cookie fixes: 1) The localstorage item was wrongly cleared when calling
235
- `Identity.enableVarnishCookie()`, and 2) The varnish cookie was not removed correctly when calling
236
- `Identity.logout()`.
237
-
238
- ## v3.0.0-rc.16 (2018-09-14)
239
-
240
- ### Fixes
241
-
242
- * ITP: Set the z-index of the ITP dialog to a "zooper high value" to 🤞🏼 ensure 🤞🏼 that it hovers
243
- above the main site content
244
-
245
- ## v3.0.0-rc.15 (2018-09-06)
246
-
247
- ### New features
248
-
249
- * Support for new `Identity.login` parameters: `tag`, `teaser` and `maxAge`
250
- * ITP: There are explicit methods in Identity for users that don't use the `login` method. See the
251
- docs for
252
- [showItpModalUponReturning](https://schibsted.github.io/account-sdk-browser/Identity.html#showItpModalUponReturning)
253
- and
254
- [suppressItpModal](https://schibsted.github.io/account-sdk-browser/Identity.html#suppressItpModal)
255
- if you're interested
256
-
257
- ### Breaking changes (ish)
258
-
259
- * The `Identity.loginUrl` method used to take a lot of arguments, and with this release it was about
260
- to become even more (with the added `tag`, `teaser` and `maxAge` params mentioned above). This
261
- release changes the signature to have a single `options` object instead of the argument list. In
262
- this case we made it backwards-compatible, so it won't break (YET!) if you continue using an
263
- argument list. Beware though, that passing a list of arguments is considered DEPRECATED as of now
264
- * The es5 folder now contains both minified and unminified code. The minified ones have the
265
- `.min.js` suffix. Before, only minified files were published, so if you're using those, you might
266
- suddenly have bigger files than you did before. Sorry.. 🤷🏼‍
267
-
268
- ### Fixes
269
-
270
- * [#76](https://github.com/schibsted/account-sdk-browser/issues/76) — Login on Chrome/iOS should now
271
- work once again
272
-
273
- ## v3.0.0-rc.14 (2018-09-03)
274
-
275
- ### Changes
276
-
277
- * The only change is adding a typings file to the `es5` folder. There are no functional changes from
278
- rc.13
279
-
280
- ## v3.0.0-rc.13 (2018-08-31)
281
-
282
- ### Fixes
283
-
284
- * The "Safari 12 ITP2 workaround" from v3.0.0-rc.11 had a bug where we passed the wrong query
285
- parameter to the ITP dialog, so the dialog then failed to post a message back to the parent page.
286
- In conclusion; calls to `Identity.hasSession` would still fail 😭.
287
-
288
- ## v3.0.0-rc.12 (2018-08-30)
289
-
290
- This release is identical to rc.11 but includes index.d.ts in the npm package.
291
-
292
- ## v3.0.0-rc.11 (2018-08-30)
293
-
294
- ### New features
295
-
296
- * Initial support for Safari 12. For users of this browser, there could be issues related to
297
- Intelligent Tracking Prevention (ITP) v2. For the people who experience it, it would be impossible
298
- to detect whether you're logged in or not from a given site (because cookies to Schibsted account
299
- would be blocked because it's a third party). The Apple way to solve this, is to call
300
- `requestStorageAccess` from an iframe, and let the user choose "Allow" in a scary Safari dialog.
301
- Then cookies will once more be allowed to go to that third party. This SDK will now work around
302
- this by showing a friendlier dialog before calling `requestStorageAccess` so people are hopefully
303
- more inclined to click "Allow".
304
-
305
- ## v3.0.0-rc.10 (2018-08-10)
306
-
307
- ### Fixes
308
-
309
- * [#68](https://github.com/schibsted/account-sdk-browser/issues/68) — Cache was not cleared after
310
- calling `Identity.logout()` or `Identity.enableVarnishCache`
311
-
312
- ## v3.0.0-rc.9 (2018-08-08)
313
-
314
- ### Fixes
315
-
316
- * Upgraded regenerator-runtime to fix [this CSP
317
- issue](https://github.com/facebook/regenerator/issues/336) (courtesy of @henninga)
318
- * [#64](https://github.com/schibsted/account-sdk-browser/issues/64) — This issue was fixed in two
319
- ways. First, by changing the implementation so we set the Varnish cookie on every call to
320
- `hasSession` (before we didn't do so when a `hasSession` returned cached data). Second, we
321
- introduced an optional parameter `expiresIn` on the `Identity.enableVarnishCookie` where you can
322
- override the default expiry of the Varnish cookie.
323
- * [#54](https://github.com/schibsted/account-sdk-browser/issues/54) — Ensure that we clear the
324
- Varnish cookie when a user logs out.
325
-
326
- ## v3.0.0-rc.8 (2018-07-17)
327
-
328
- ### Fixes
329
-
330
- * Remove not logged in user cache on login call https://github.com/schibsted/account-sdk-browser/issues/62
331
-
332
- ## v3.0.0-rc.7 (2018-07-11)
333
-
334
- ### Fixes
335
-
336
- * There was a caching issue that caused a flood of requests to the Schibsted account hasSession
337
- endpoint. This is fixed in this release. Please update ASAP!
338
- * The `Payment.purchaseCampaignFlowUrl` function used to have `null` as a default parameter for some
339
- parameters that were required. This signature has been updated to match the documentation
340
-
341
- ### Other changes
342
-
343
- * Documentation updates
344
-
345
- ## v3.0.0-rc.6 (2018-06-25)
346
-
347
- ### Breaking changes
348
-
349
- * The `Identity.agreementUrl` has been removed. This function called an endpoint on the Schibsted
350
- account backend that will be removed due to GDPR, and so it makes no sense to keep it in the SDK.
351
-
352
- ### Other fixes
353
-
354
- * Some (mostly trivial) documentation polish here and there
355
-
356
- ## v3.0.0-rc.5 (2018-06-21)
357
-
358
- ### Breaking changes
359
-
360
- * The 'visitor' concept is being removed both from the Schibsted account backend and thus also from
361
- the SDKs. This means that `Identity.getVisitorId` and all references to `visitor` including the
362
- emitting of the `visitor` event is removed in this version. If you depend on it, now's the time to
363
- stop doing that.
364
-
365
- ### Fixes
366
-
367
- * The ES5 global file should now work correctly. Yeah — before, I once again failed to fix it, by
368
- not making sure that the symbol `regeneratorRuntime` was bound to the `window` globally **before**
369
- loading `Identity`, `Monetization` and `Payment`. Third time's the charm, though 🤞🏼
370
- * Both `Identity.getUserId` and `Identity.getUserUuid` now behave according to their documentation,
371
- which is to say that they reject the returned Promise if the user is logged in, but not connected
372
- to this merchant.
373
- * Two functions, `Identity.accountUrl` and `Identity.phonesUrl` did not take a `redirectUri`
374
- parameter, causing the Schibsted account backend to render a default `Back to [Site]` link on that
375
- web page. Now you should be able to pick any valid redirect uri here.
376
-
377
- ## v3.0.0-rc.4 (2018-05-29)
378
-
379
- ### Fixes
380
-
381
- * [#37](https://github.com/schibsted/account-sdk-browser/issues/37) — The files in the `es5`
382
- directory have been rewritten to CommonJS syntax (yes, like in the good 'ol days). I still don't
383
- fully understand what was happening here, but at least now it seems like it works for people
384
- * [#40](https://github.com/schibsted/account-sdk-browser/issues/40) — Events are now emitted from
385
- Identity when a call to `hasSession()` used a cached value
386
- * [#41](https://github.com/schibsted/account-sdk-browser/issues/41) — References to the global
387
- `window` have all been wrapped in functions, so that it can be loaded in Server-side rendering
388
- contexts
389
- * The caching could fail if the cache time in milliseconds were greater than `2^31 - 1` (just under
390
- 25 days). This has been fixed by capping the cache time to that maximum value
391
-
392
- ### Changes
393
-
394
- * Documentation for the `Identity` class has been updated
395
-
396
- ## v3.0.0-rc.3 (2018-05-14)
397
-
398
- ### Fixes
399
-
400
- * [#38](https://github.com/schibsted/account-sdk-browser/issues/38) — Source maps are now included
401
- for generated ES5 files
402
- * [#22](https://github.com/schibsted/account-sdk-browser/issues/22) — Documented that varnish
403
- cookies need an Origin that is `!== localhost` for the logic to work in most (all?) browsers
404
- * [#21](https://github.com/schibsted/account-sdk-browser/issues/21) — Fix documentation issue on
405
- `Monetization.hasProduct` and `Monetization.hasSubscription`
406
-
407
- ### Changes
408
-
409
- * Documentation (the main README.md file) has been updated to point to the SDK Example project in
410
- case people might want to go look at it
411
- * Be more explicit about the browsers supported in our ES5 generated files. In package.json for
412
- those who are curious
413
-
414
- ## v3.0.0-rc.2 (2018-04-30)
415
-
416
- ### Fixes
417
-
418
- * [#31](https://github.com/schibsted/account-sdk-browser/issues/31) — Our internal helper function
419
- `urlMapper` now doesn't perform calls like `new URL('PRE')` without first checking if `'PRE'` is a
420
- key in our url map object. This should ensure that outdated browsers like IE11 (that require a
421
- polyfill for WHATWG `URL`) don't get flustered in this scenario.
422
-
423
- ## v3.0.0-rc.1 (2018-04-24)
424
-
425
- ### Breaking changes
426
-
427
- * [#24](https://github.com/schibsted/account-sdk-browser/issues/24) — Change from CommonJS to ES
428
- Modules syntax (that is — change from require/module.exports to using import/export syntax). Yeah,
429
- this is a change that touched basically all the files in the whole project, but shouldn't really
430
- change the usage much. It **is** a breaking change for some people using the CommonJS format. If
431
- you find yourself in this group, your change should be:
432
-
433
- // from when you were using rc.0 or older:
434
- const Identity = require('@schibsted/account-sdk-browser/identity')
435
-
436
- // to now, using rc.1:
437
- const { Identity } = require('@schibsted/account-sdk-browser/identity')
438
-
439
- If you already used the syntax `const { Identity } = require('@schibsted/account-sdk-browser')`
440
- (that is — not the bundle-optimized version), then no change should be necessary
441
-
442
- ### Fixes
443
-
444
- * [#23](https://github.com/schibsted/account-sdk-browser/issues/23) — The `Identity.logout()` docs
445
- should now be up to date
446
- * An internal usage of fetch was failing and has been fixed. It could cause the `Identity.logout()`
447
- function to not clear all of its cookies. In the worst case, this could in turn cause the browser
448
- to be confused about whether a user was logged in or not
449
-
450
- ### Changes
451
-
452
- * The documentation has been updated to have more details about how `redirectUri` is different
453
- between the old 2.x versions of the SDK and this 3.x version. Also, a section on the OpenID
454
- Connect parameter `state` has been added
455
-
456
- ## v3.0.0-rc.0 (2018-04-10)
457
-
458
- ### Breaking changes
459
-
460
- * The function `Identity.getUserUuidId` is renamed to `Identity.getUserUuid`. This was a typo in the
461
- previous function name that was not detected until now :-/
462
- * The function `Identity.getSpId` now returns `string|null` instead of `string|undefined`.
463
-
464
- ### Fixes
465
-
466
- * The Identity class now clears its internal cache if `enableVarnishCookie()` is called. Previously,
467
- calling `hasSession` after calling `enableVarnishCookie` would re-use any cached value and thus
468
- skip setting the varnish cookie.
469
-
470
- ### Changes
471
-
472
- * The function `Identity.getVisitorId` is now marked `async` in the codebase. It always returned a
473
- Promise, so functionally it does the same as before. Syntax has just been modernised.
474
-
475
- ## v3.0.0-beta.7 (2018-04-03)
476
-
477
- ### Fixes
478
-
479
- * Webpack options needed tweaking, so -beta.6 didn't work at all. The code in this version is
480
- otherwise identical to -beta.6, so the `build.sh` script has the only change.
481
-
482
- ## v3.0.0-beta.6 (2018-04-03) — removed from npm, didn't work
483
-
484
- ### New features
485
-
486
- * ES5 generation has been added. This is an opt-in feature, so a user can do:
487
-
488
- // Either 1)
489
- const Account = require('@schibsted/account-sdk-browser');
490
- // ... or 2)
491
- const Account = require('@schibsted/account-sdk-browser/es5');
492
-
493
- // The shortcuts work as well (if you only want Identity stuff, for instance):
494
- const Identity = require('@schibsted/account-sdk-browser/es5/identity');
495
-
496
- ### Changes
497
-
498
- * Removed `parcel-bundler` and started using `webpack` instead. This was done to ease the production
499
- of ES5 code
500
-
501
- ## v3.0.0-beta.5 (2018-03-21)
502
-
503
- ### Fixes
504
-
505
- * An issue where `Identity.hasSession` would call the backend server(s) with a wrong autologin
506
- parameter has been fixed. This could potentially cause the user to not be auto-logged-in when they
507
- were supposed to be
508
-
509
- ## v3.0.0-beta.4 (2018-03-19)
510
-
511
- ### New features
512
-
513
- * There is only one change in this release, and that is the addition of a `loginHint` parameter on
514
- the `Indentity.login()` and `Identity.loginUrl()` functions. This enables the caller to pre-fill
515
- the user identifier (email or phone number)
516
-
517
- ## v3.0.0-beta.3 (2018-03-16)
518
-
519
- ### Fixes
520
-
521
- * Issue #8 is fixed by not relying on URLSearchParams to create query strings.
522
-
523
- ## v3.0.0-beta.2 (2018-03-09)
524
-
525
- This release has only one notable change, and it is the fix from [this
526
- PR](https://github.com/schibsted/account-sdk-browser/pull/7) so we correctly fall back to calling
527
- SPiD when a call to the hasSession service fails with a LoginException. Thanks to Terje Andersen who
528
- found and helped to identify this issue.
529
-
530
- ## v3.0.0-beta.1 (2018-03-06)
531
-
532
- This is the initial public release. Hello, world!
package/NOTICE DELETED
@@ -1,19 +0,0 @@
1
- #########################################################
2
- # #
3
- # Schibsted account SDK for browsers #
4
- # Copyright (c) 2018 Schibsted Products & Technology AS #
5
- # #
6
- #########################################################
7
-
8
- This SDK depends on the following projects (each of which have zero dependencies of their own):
9
-
10
- # SCHIBSTED ACCOUNT SDK DEPENDENCIES
11
-
12
- fetch-jsonp
13
- LICENSE: MIT,
14
- https://github.com/camsong/fetch-jsonp/blob/master/README.md#license
15
-
16
- tiny-emitter
17
- LICENSE: MIT,
18
- https://github.com/scottcorgan/tiny-emitter/blob/master/LICENSE
19
-