skapi-js 1.0.16-alpha → 1.0.16

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/js/main/skapi.js CHANGED
@@ -22,12 +22,12 @@ export default class Skapi {
22
22
  set user(value) {
23
23
  }
24
24
  constructor(service, owner, options) {
25
- this.version = '1.0.16-alpha';
25
+ this.version = '1.0.16';
26
26
  this.session = null;
27
27
  this.connection = null;
28
28
  this.host = 'skapi';
29
- this.hostDomain = 'skapi.app';
30
- this.target_cdn = 'd1wrj5ymxrt2ir';
29
+ this.hostDomain = 'skapi.com';
30
+ this.target_cdn = 'd3e9syvbtso631';
31
31
  this.__disabledAccount = null;
32
32
  this.__cached_requests = {};
33
33
  this.__startKeyHistory = {};
@@ -165,6 +165,7 @@ export function authentication() {
165
165
  rej(new SkapiError('Invalid session.', { code: 'INVALID_REQUEST' }));
166
166
  return;
167
167
  }
168
+ this.session = session;
168
169
  normalizeUserAttributes(idToken);
169
170
  res(session);
170
171
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skapi-js",
3
- "version": "1.0.16-alpha",
3
+ "version": "1.0.16",
4
4
  "description": "Javascript library for Skapi: Complete JAM Stack, front-end driven serverless backend API service.",
5
5
  "main": "./dist/skapi.module.js",
6
6
  "types": "./js/Main.d.ts",