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.
- package/dist/skapi.js +1 -1
- package/dist/skapi.js.map +1 -1
- package/dist/skapi.module.js +1 -1
- package/dist/skapi.module.js.map +1 -1
- package/js/main/skapi.d.ts +0 -1
- package/js/main/skapi.js +2 -3
- package/package.json +1 -1
package/js/main/skapi.d.ts
CHANGED
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
|
|
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.
|
|
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
|
}
|