skapi-js 1.0.60 → 1.0.61

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.
@@ -39,7 +39,6 @@ export default class Skapi {
39
39
  private registerTicket;
40
40
  private unregisterTicket;
41
41
  private hostFiles;
42
- normalizeRecord: any;
43
42
  connectRealtime(cb: (rt: {
44
43
  status: 'message' | 'error' | 'success' | 'close' | 'notice';
45
44
  message: any;
package/js/main/skapi.js CHANGED
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import SkapiError from './error';
8
8
  import validator from '../utils/validator';
9
- import { getRecords, postRecord, deleteRecords, getTables, getIndexes, getTags, getFile, grantPrivateRecordAccess, removePrivateRecordAccess, listPrivateRecordAccess, requestPrivateRecordAccessKey, deleteFiles, normalizeRecord } from '../methods/database';
9
+ import { getRecords, postRecord, deleteRecords, getTables, getIndexes, getTags, getFile, grantPrivateRecordAccess, removePrivateRecordAccess, listPrivateRecordAccess, requestPrivateRecordAccessKey, deleteFiles } from '../methods/database';
10
10
  import { connectRealtime, joinRealtime, postRealtime, closeRealtime, getRealtimeUsers, getRealtimeGroups } from '../methods/realtime';
11
11
  import { secureRequest, mock, clientSecretRequest } from '../methods/request';
12
12
  import { request, getFormResponse, formHandler, uploadFiles, hostFiles, } from '../utils/network';
@@ -24,7 +24,7 @@ export default class Skapi {
24
24
  set user(value) {
25
25
  }
26
26
  constructor(service, owner, options, __etc) {
27
- this.version = '1.0.60';
27
+ this.version = '1.0.61';
28
28
  this.session = null;
29
29
  this.connection = null;
30
30
  this.host = 'skapi';
@@ -89,7 +89,6 @@ export default class Skapi {
89
89
  this.registerTicket = registerTicket.bind(this);
90
90
  this.unregisterTicket = unregisterTicket.bind(this);
91
91
  this.hostFiles = hostFiles.bind(this);
92
- this.normalizeRecord = normalizeRecord.bind(this);
93
92
  if (typeof service !== 'string' || typeof owner !== 'string') {
94
93
  throw new SkapiError('"service" and "owner" should be type <string>.', { code: 'INVALID_PARAMETER' });
95
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skapi-js",
3
- "version": "1.0.60",
3
+ "version": "1.0.61",
4
4
  "description": "Skapi: Backend API Library for HTML frontend.",
5
5
  "main": "./dist/skapi.module.js",
6
6
  "types": "./js/Main.d.ts",