Socket
Socket
Sign inDemoInstall

kinvey-html5-sdk

Package Overview
Dependencies
Maintainers
2
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kinvey-html5-sdk - npm Package Compare versions

Comparing version 3.13.0-next.27 to 3.13.0-next.28

lib/index.d.ts

14

lib/httpAdapter.js

@@ -1,2 +0,1 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -6,4 +5,7 @@ var tslib_1 = require("tslib");

var package_json_1 = require("../package.json");
// Helper function to detect the browser name and version.
function browserDetect(ua) {
// Cast arguments.
ua = ua.toLowerCase();
// User-Agent patterns.
var rChrome = /(chrome)\/([\w]+)/;

@@ -22,2 +24,3 @@ var rFirefox = /(firefox)\/([\w.]+)/;

var manufacturer = window.navigator.platform;
// Return the device information string.
var parts = ["js-" + package_json_1.name + "/" + package_json_1.version];

@@ -51,2 +54,3 @@ return parts.concat([platform, browserVersion, manufacturer]).map(function (part) {

url = request.url, method = request.method, headers = request.headers, body = request.body, timeout = request.timeout;
// Add kinvey device information headers
if (/kinvey\.com/gm.test(url)) {

@@ -59,3 +63,3 @@ headers['X-Kinvey-Device-Information'] = deviceInformation();

_a.trys.push([1, 3, , 4]);
return [4, axios_1.default({
return [4 /*yield*/, axios_1.default({
headers: headers,

@@ -69,3 +73,3 @@ method: method,

response = _a.sent();
return [3, 4];
return [3 /*break*/, 4];
case 3:

@@ -79,4 +83,4 @@ error_1 = _a.sent();

}
return [3, 4];
case 4: return [2, {
return [3 /*break*/, 4];
case 4: return [2 /*return*/, {
statusCode: response.status,

@@ -83,0 +87,0 @@ headers: response.headers,

@@ -1,7 +0,51 @@

import { KinveyConfig } from 'kinvey-js-sdk';
import { StorageProvider } from './storage';
export interface HTML5KinveyConfig extends KinveyConfig {
export interface KinveyConfig {
appKey: string;
appSecret: string;
masterSecret?: string;
appVersion?: string;
instanceId?: string;
storage?: StorageProvider;
}
export declare function init(config: HTML5KinveyConfig): HTML5KinveyConfig;
export declare function initialize(config: HTML5KinveyConfig): HTML5KinveyConfig;
export declare function init(config: KinveyConfig): {
apiHost: string;
apiHostname: string;
apiProtocol: string;
appKey: string;
appSecret: string;
masterSecret: string;
authHost: string;
authHostname: string;
authProtocol: string;
micHost: string;
micHostname: string;
micProtocol: string;
_defaultTimeout: number;
defaultTimeout: number;
encryptionKey: string;
_appVersion: string;
appVersion: string;
} & {
storage: StorageProvider;
};
export declare function initialize(config: KinveyConfig): {
apiHost: string;
apiHostname: string;
apiProtocol: string;
appKey: string;
appSecret: string;
masterSecret: string;
authHost: string;
authHostname: string;
authProtocol: string;
micHost: string;
micHostname: string;
micProtocol: string;
_defaultTimeout: number;
defaultTimeout: number;
encryptionKey: string;
_appVersion: string;
appVersion: string;
} & {
storage: StorageProvider;
};

@@ -1,2 +0,1 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -11,3 +10,3 @@ var tslib_1 = require("tslib");

function init(config) {
kinvey_js_sdk_1.init({
var kinveyConfig = kinvey_js_sdk_1.init({
kinveyConfig: config,

@@ -20,3 +19,3 @@ httpAdapter: HttpAdapter,

});
return config;
return Object.assign({}, kinveyConfig, { storage: config.storage });
}

@@ -23,0 +22,0 @@ exports.init = init;

@@ -1,2 +0,1 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -8,3 +7,3 @@ var tslib_1 = require("tslib");

var ERROR_EVENT = 'error';
var Popup = (function (_super) {
var Popup = /** @class */ (function (_super) {
tslib_1.__extends(Popup, _super);

@@ -56,3 +55,3 @@ function Popup(popupWindow) {

this.emit(CLOSED_EVENT);
return [2];
return [2 /*return*/];
});

@@ -69,3 +68,3 @@ });

}
return [2, new Popup(popupWindow)];
return [2 /*return*/, new Popup(popupWindow)];
});

@@ -72,0 +71,0 @@ });

@@ -1,2 +0,1 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -3,0 +2,0 @@ function get(key) {

@@ -1,2 +0,1 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -36,5 +35,5 @@ var tslib_1 = require("tslib");

}
throw new kinvey_js_sdk_1.KinveyError('You must override the default cache store.');
throw new kinvey_js_sdk_1.Errors.KinveyError('You must override the default cache store.');
}
exports.getStorageAdapter = getStorageAdapter;
//# sourceMappingURL=index.js.map

@@ -1,2 +0,1 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -8,3 +7,3 @@ var DB_CACHE = {};

};
var IndexedDB = (function () {
var IndexedDB = /** @class */ (function () {
function IndexedDB(dbName) {

@@ -77,2 +76,5 @@ this.dbName = dbName;

var request = this.openDB();
// If the database is opened with an higher version than its current, the
// `upgradeneeded` event is fired. Save the handle to the database, and
// create the collection.
request.onupgradeneeded = function (e) {

@@ -84,9 +86,21 @@ _this.db = e.target.result;

};
// The `success` event is fired after `upgradeneeded` terminates.
// Save the handle to the database.
request.onsuccess = function (e) {
_this.db = e.target.result;
// If a second instance of the same IndexedDB database performs an
// upgrade operation, the `versionchange` event is fired. Then, close the
// database to allow the external upgrade to proceed.
_this.db.onversionchange = function () { return _this.close(); };
// Try to obtain the collection handle by recursing. Append the handlers
// to empty the queue upon success and failure. Set the `force` flag so
// all but the current transaction remain queued.
var wrap = function (done) {
var callbackFn = function (arg) {
done(arg);
// Switch flag
_this.inTransaction = false;
// The database handle has been established, we can now safely empty
// the queue. The queue must be emptied before invoking the concurrent
// operations to avoid infinite recursion.
if (_this.queue.length > 0) {

@@ -104,3 +118,7 @@ var pending = _this.queue;

};
// The `blocked` event is not handled. In case such an event occurs, it
// will resolve itself since the `versionchange` event handler will close
// the conflicting database and enable the `blocked` event to continue.
request.onblocked = function () { };
// Handle errors
request.onerror = function (e) {

@@ -107,0 +125,0 @@ error(new Error("Unable to open the " + _this.dbName + " IndexedDB database. " + e.target.error.message + "."));

@@ -1,8 +0,12 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
function getTable(dbName, tableName) {
var tableJson = window.localStorage.getItem(dbName + "." + tableName);
if (tableJson) {
return new Map(JSON.parse(tableJson));
var docsJson = window.localStorage.getItem(dbName + "." + tableName);
if (docsJson) {
var docs = JSON.parse(docsJson);
var map_1 = new Map();
docs.forEach(function (doc) {
map_1.set(doc._id, doc);
});
return map_1;
}

@@ -12,3 +16,5 @@ return new Map();

function setTable(dbName, tableName, table) {
window.localStorage.setItem(dbName + "." + tableName, JSON.stringify(tslib_1.__spread(table)));
var docs = [];
table.forEach(function (value) { return docs.push(value); });
window.localStorage.setItem(dbName + "." + tableName, JSON.stringify(docs));
}

@@ -21,5 +27,5 @@ function find(dbName, tableName) {

if (table) {
return [2, Array.from(table.values())];
return [2 /*return*/, Array.from(table.values())];
}
return [2, []];
return [2 /*return*/, []];
});

@@ -34,6 +40,6 @@ });

switch (_a.label) {
case 0: return [4, find(dbName, tableName)];
case 0: return [4 /*yield*/, find(dbName, tableName)];
case 1:
docs = _a.sent();
return [2, docs.length];
return [2 /*return*/, docs.length];
}

@@ -49,6 +55,6 @@ });

switch (_a.label) {
case 0: return [4, find(dbName, tableName)];
case 0: return [4 /*yield*/, find(dbName, tableName)];
case 1:
docs = _a.sent();
return [2, docs.find(function (doc) { return doc._id === id; })];
return [2 /*return*/, docs.find(function (doc) { return doc._id === id; })];
}

@@ -69,3 +75,3 @@ });

setTable(dbName, tableName, table);
return [2, docs];
return [2 /*return*/, docs];
});

@@ -82,5 +88,5 @@ });

setTable(dbName, tableName, table);
return [2, 1];
return [2 /*return*/, 1];
}
return [2, 0];
return [2 /*return*/, 0];
});

@@ -94,3 +100,3 @@ });

window.localStorage.removeItem(dbName + "." + tableName);
return [2, true];
return [2 /*return*/, true];
});

@@ -110,3 +116,3 @@ });

}
return [2, true];
return [2 /*return*/, true];
});

@@ -113,0 +119,0 @@ });

@@ -0,1 +1,124 @@

// import Loki from 'lokijs';
// const memAdapter = new Loki.LokiMemoryAdapter();
// export default class MemoryStore {
// public dbName: string;
// public collectionName: string;
// constructor(dbName: string, collectionName: string) {
// this.dbName = dbName;
// this.collectionName = collectionName;
// }
// open() {
// return new Promise((resolve, reject) => {
// const db = new Loki(this.dbName, {
// adapter: memAdapter,
// autosave: false,
// autoload: true,
// autoloadCallback: (error) => {
// if (error) {
// reject(error);
// } else {
// if (this.collectionName) {
// let collection = db.getCollection(this.collectionName);
// if (!collection) {
// collection = db.addCollection(this.collectionName, {
// clone: true,
// unique: ['_id'],
// disableMeta: true
// });
// }
// }
// resolve(db);
// }
// }
// });
// });
// }
// async find() {
// const db = await this.open();
// const collection = db.getCollection(this.collectionName);
// return collection.chain().data({ removeMeta: true });
// }
// async count() {
// const docs = await this.find();
// return docs.length;
// }
// async findById(id) {
// const db = await this.open();
// const collection = db.getCollection(this.collectionName);
// const doc = collection.by('_id', id);
// if (doc) {
// delete doc.$loki;
// }
// return doc;
// }
// async save(docsToSaveOrUpdate) {
// const db = await this.open();
// const collection = db.getCollection(this.collectionName);
// let docs = docsToSaveOrUpdate;
// if (!docs) {
// return null;
// }
// docs = docs.map((doc) => {
// let savedDoc = collection.by('_id', doc._id);
// if (savedDoc) {
// savedDoc = Object.assign({ $loki: savedDoc.$loki }, doc);
// collection.update(savedDoc);
// return savedDoc;
// }
// collection.insert(doc);
// return doc;
// });
// return new Promise((resolve, reject) => {
// db.save((error) => {
// if (error) {
// return reject(error);
// }
// return resolve(docs);
// });
// });
// }
// async removeById(id) {
// const db = await this.open();
// const collection = db.getCollection(this.collectionName);
// const doc = collection.by('_id', id);
// if (doc) {
// const removedDoc = collection.remove(doc);
// if (removedDoc) {
// return new Promise((resolve, reject) => {
// db.save((error) => {
// if (error) {
// return reject(error);
// }
// return resolve(1);
// });
// });
// }
// }
// return 0;
// }
// async clear() {
// const db = await this.open();
// const collection = db.getCollection(this.collectionName);
// collection.clear();
// return new Promise((resolve, reject) => {
// db.save((error) => {
// if (error) {
// return reject(error);
// }
// return resolve(true);
// });
// });
// }
// async clearAll() {
// const db = await this.open();
// return new Promise((resolve, reject) => {
// db.deleteDatabase((error) => {
// if (error) {
// return reject(error);
// }
// return resolve(true);
// });
// });
// }
// }
//# sourceMappingURL=memory_loki.js.map

@@ -1,2 +0,1 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -16,3 +15,3 @@ var tslib_1 = require("tslib");

table = getTable(dbName, tableName);
return [2, Array.from(table.values())];
return [2 /*return*/, Array.from(table.values())];
});

@@ -27,6 +26,6 @@ });

switch (_a.label) {
case 0: return [4, find(dbName, tableName)];
case 0: return [4 /*yield*/, find(dbName, tableName)];
case 1:
docs = _a.sent();
return [2, docs.length];
return [2 /*return*/, docs.length];
}

@@ -42,6 +41,6 @@ });

switch (_a.label) {
case 0: return [4, find(dbName, tableName)];
case 0: return [4 /*yield*/, find(dbName, tableName)];
case 1:
docs = _a.sent();
return [2, docs.find(function (doc) { return doc._id === id; })];
return [2 /*return*/, docs.find(function (doc) { return doc._id === id; })];
}

@@ -62,3 +61,3 @@ });

setTable(dbName, tableName, table);
return [2, docs];
return [2 /*return*/, docs];
});

@@ -75,5 +74,5 @@ });

setTable(dbName, tableName, table);
return [2, 1];
return [2 /*return*/, 1];
}
return [2, 0];
return [2 /*return*/, 0];
});

@@ -87,3 +86,3 @@ });

store.delete(dbName + "." + tableName);
return [2, true];
return [2 /*return*/, true];
});

@@ -97,3 +96,3 @@ });

store.clear();
return [2, true];
return [2 /*return*/, true];
});

@@ -100,0 +99,0 @@ });

@@ -1,3 +0,3 @@

export declare function find(dbName: string, tableName: string): Promise<any>;
export declare function count(dbName: string, tableName: string): Promise<any>;
export declare function find(dbName: string, tableName: string): Promise<any[]>;
export declare function count(dbName: string, tableName: string): Promise<number>;
export declare function findById(dbName: string, tableName: string, id: string): Promise<any>;

@@ -4,0 +4,0 @@ export declare function save(dbName: string, tableName: string, docs?: any): Promise<any>;

@@ -1,13 +0,29 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
function getTable(dbName, tableName) {
var docsJson = window.sessionStorage.getItem(dbName + "." + tableName);
if (docsJson) {
var docs = JSON.parse(docsJson);
var map_1 = new Map();
docs.forEach(function (doc) {
map_1.set(doc._id, doc);
});
return map_1;
}
return new Map();
}
function setTable(dbName, tableName, table) {
var docs = [];
table.forEach(function (value) { return docs.push(value); });
window.sessionStorage.setItem(dbName + "." + tableName, JSON.stringify(docs));
}
function find(dbName, tableName) {
return tslib_1.__awaiter(this, void 0, void 0, function () {
var data;
var table;
return tslib_1.__generator(this, function (_a) {
data = window.sessionStorage.getItem(dbName + "." + tableName);
if (data) {
return [2, JSON.parse(data)];
table = getTable(dbName, tableName);
if (table) {
return [2 /*return*/, Array.from(table.values())];
}
return [2, []];
return [2 /*return*/, []];
});

@@ -22,6 +38,6 @@ });

switch (_a.label) {
case 0: return [4, find(dbName, tableName)];
case 0: return [4 /*yield*/, find(dbName, tableName)];
case 1:
docs = _a.sent();
return [2, docs.length];
return [2 /*return*/, docs.length];
}

@@ -37,6 +53,6 @@ });

switch (_a.label) {
case 0: return [4, find(dbName, tableName)];
case 0: return [4 /*yield*/, find(dbName, tableName)];
case 1:
docs = _a.sent();
return [2, docs.find(function (doc) { return doc._id === id; })];
return [2 /*return*/, docs.find(function (doc) { return doc._id === id; })];
}

@@ -50,12 +66,10 @@ });

return tslib_1.__awaiter(this, void 0, void 0, function () {
var existingDocs, savedDocs;
var table;
return tslib_1.__generator(this, function (_a) {
switch (_a.label) {
case 0: return [4, find(dbName, tableName)];
case 1:
existingDocs = _a.sent();
savedDocs = docs.concat(existingDocs.filter(function (existingDoc) { return docs.findIndex(function (doc) { return doc._id === existingDoc._id; }) < 0; }));
window.sessionStorage.setItem(dbName + "." + tableName, JSON.stringify(savedDocs));
return [2, docs];
}
table = getTable(dbName, tableName);
docs.forEach(function (doc) {
table.set(doc._id, doc);
});
setTable(dbName, tableName, table);
return [2 /*return*/, docs];
});

@@ -67,16 +81,10 @@ });

return tslib_1.__awaiter(this, void 0, void 0, function () {
var existingDocs, index;
var table;
return tslib_1.__generator(this, function (_a) {
switch (_a.label) {
case 0: return [4, find(dbName, tableName)];
case 1:
existingDocs = _a.sent();
index = existingDocs.findIndex(function (doc) { return doc._id === id; });
if (index > 0) {
existingDocs.splice(index, 1);
window.sessionStorage.setItem(dbName + "." + tableName, JSON.stringify(existingDocs));
return [2, 1];
}
return [2, 0];
table = getTable(dbName, tableName);
if (table.delete(id)) {
setTable(dbName, tableName, table);
return [2 /*return*/, 1];
}
return [2 /*return*/, 0];
});

@@ -90,3 +98,3 @@ });

window.sessionStorage.removeItem(dbName + "." + tableName);
return [2, true];
return [2 /*return*/, true];
});

@@ -106,3 +114,3 @@ });

}
return [2, true];
return [2 /*return*/, true];
});

@@ -109,0 +117,0 @@ });

@@ -1,2 +0,1 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -7,3 +6,3 @@ var tslib_1 = require("tslib");

var MASTER_TABLE_NAME = 'sqlite_master';
var SIZE = 2 * 1024 * 1024;
var SIZE = 2 * 1024 * 1024; // Database size in bytes
function execute(dbName, tableName, sqlQueries, write) {

@@ -78,3 +77,3 @@ if (write === void 0) { write = false; }

}
return reject(new kinvey_js_sdk_1.KinveyError("Unable to open a transaction for the " + tableName + " collection on the " + dbName + " WebSQL database."));
return reject(new kinvey_js_sdk_1.Errors.KinveyError("Unable to open a transaction for the " + tableName + " collection on the " + dbName + " WebSQL database."));
})

@@ -95,6 +94,6 @@ .catch(reject);

switch (_a.label) {
case 0: return [4, execute(dbName, tableName, [['SELECT value FROM #{table}']])];
case 0: return [4 /*yield*/, execute(dbName, tableName, [['SELECT value FROM #{table}']])];
case 1:
response = _a.sent();
return [2, response.result];
return [2 /*return*/, response.result];
}

@@ -110,6 +109,6 @@ });

switch (_a.label) {
case 0: return [4, execute(dbName, tableName, [['SELECT COUNT(DISTINCT key) AS value FROM #{table}']])];
case 0: return [4 /*yield*/, execute(dbName, tableName, [['SELECT COUNT(DISTINCT key) AS value FROM #{table}']])];
case 1:
response = _a.sent();
return [2, response.result.shift() || 0];
return [2 /*return*/, response.result.shift() || 0];
}

@@ -125,6 +124,6 @@ });

switch (_a.label) {
case 0: return [4, execute(dbName, tableName, [['SELECT value FROM #{table} WHERE key = ?', [id]]])];
case 0: return [4 /*yield*/, execute(dbName, tableName, [['SELECT value FROM #{table} WHERE key = ?', [id]]])];
case 1:
response = _a.sent();
return [2, response.result.shift()];
return [2 /*return*/, response.result.shift()];
}

@@ -143,6 +142,6 @@ });

sqlQueries = docs.map(function (doc) { return ['REPLACE INTO #{table} (key, value) VALUES (?, ?)', [doc._id, JSON.stringify(doc)]]; });
return [4, execute(dbName, tableName, sqlQueries, true)];
return [4 /*yield*/, execute(dbName, tableName, sqlQueries, true)];
case 1:
_a.sent();
return [2, docs];
return [2 /*return*/, docs];
}

@@ -158,6 +157,6 @@ });

switch (_a.label) {
case 0: return [4, execute(dbName, tableName, [['DELETE FROM #{table} WHERE key = ?', [id]]], true)];
case 0: return [4 /*yield*/, execute(dbName, tableName, [['DELETE FROM #{table} WHERE key = ?', [id]]], true)];
case 1:
response = _a.sent();
return [2, response.rowCount];
return [2 /*return*/, response.rowCount];
}

@@ -172,6 +171,6 @@ });

switch (_a.label) {
case 0: return [4, execute(dbName, tableName, [['DROP TABLE IF EXISTS #{table}']], true)];
case 0: return [4 /*yield*/, execute(dbName, tableName, [['DROP TABLE IF EXISTS #{table}']], true)];
case 1:
_a.sent();
return [2, true];
return [2 /*return*/, true];
}

@@ -187,12 +186,12 @@ });

switch (_a.label) {
case 0: return [4, execute(dbName, MASTER_TABLE_NAME, [['SELECT name AS value FROM #{table} WHERE type = ? AND value NOT LIKE ?', ['table', '__Webkit%']]])];
case 0: return [4 /*yield*/, execute(dbName, MASTER_TABLE_NAME, [['SELECT name AS value FROM #{table} WHERE type = ? AND value NOT LIKE ?', ['table', '__Webkit%']]])];
case 1:
response = _a.sent();
tables = response.result;
if (!(tables.length > 0)) return [3, 3];
return [4, Promise.all(tables.map(function (tableName) { return execute(dbName, tableName, [['DROP TABLE IF EXISTS #{table}']], true); }))];
if (!(tables.length > 0)) return [3 /*break*/, 3];
return [4 /*yield*/, Promise.all(tables.map(function (tableName) { return execute(dbName, tableName, [['DROP TABLE IF EXISTS #{table}']], true); }))];
case 2:
_a.sent();
_a.label = 3;
case 3: return [2, true];
case 3: return [2 /*return*/, true];
}

@@ -199,0 +198,0 @@ });

{
"name": "kinvey-html5-sdk",
"description": "Kinvey JavaScript SDK for HTML5 applications.",
"version": "3.13.0-next.27",
"version": "3.13.0-next.28",
"license": "Apache-2.0",

@@ -23,6 +23,6 @@ "homepage": "https://github.com/Kinvey/js-sdk/tree/master/packages/html5-sdk",

],
"main": "lib/publicApi.js",
"main": "lib/index.js",
"scripts": {
"prebuild": "del lib",
"build": "tsc",
"build": "tsc -p tsconfig.json",
"postbuild": "node scripts/postbuild.js",

@@ -33,32 +33,14 @@ "prebundle": "npm run build",

"dependencies": {
"kinvey-js-sdk": "^3.13.0-next.27"
"axios": "0.18.0",
"kinvey-js-sdk": "3.13.0-next.28",
"lodash": "4.17.11",
"pubnub": "4.23.0",
"tslib": "1.9.3"
},
"peerDependencies": {
"axios": "~0.18.0",
"events": "~3.0.0",
"lodash": "~4.17.11",
"pubnub": "~4.23.0",
"tslib": "~1.9.3"
},
"devDependencies": {
"@types/events": "~3.0.0",
"@types/events": "^3.0.0",
"@types/lodash": "~4.14.123",
"@types/node": "~11.11.6",
"axios": "~0.18.0",
"clean-webpack-plugin": "~2.0.1",
"del-cli": "~1.1.0",
"events": "~3.0.0",
"fs-extra": "~7.0.1",
"js-base64": "~2.5.1",
"lodash": "~4.17.11",
"loglevel": "~1.6.1",
"loglevel-plugin-prefix": "~0.8.4",
"p-queue": "~4.0.0",
"pubnub": "git+https://github.com/thomasconner/javascript.git#develop",
"rxjs": "~6.4.0",
"sift": "~7.0.1",
"tslib": "~1.9.3",
"typescript": "~3.3.3",
"url": "~0.11.0",
"url-join": "~4.0.0",
"typescript": "~3.4.4",
"webpack": "~4.29.6",

@@ -68,4 +50,4 @@ "webpack-cli": "^3.3.0"

"files": [
"/lib"
"lib/**/*"
]
}

@@ -8,6 +8,6 @@ # Kinvey HTML5 SDK

```bash
npm i kinvey-html5-sdk@next axios@0.18.0 events@3.0.0 js-base64@2.5.1 lodash@4.17.11 loglevel@1.6.1 loglevel-plugin-prefix@0.8.4 p-queue@4.0.0 pubnub@4.23.0 rxjs@6.4.0 sift@7.0.1 tslib@1.9.3 url@0.11.0 url-join@4.0.0
npm i kinvey-html5-sdk@next
```
or if you would prefer you can just download the bundle and include it in your application.
or if you would prefer you can just [download the latest bundle](https://download.kinvey.com/js/kinvey-html5-sdk-3.13.0-next.27.js) and include it in your application.

@@ -22,3 +22,3 @@ ## Usage

```js
var Kinvey = require('kinvey-nativescript-sdk');
import * as Kinvey from 'kinvey-html5-sdk';

@@ -25,0 +25,0 @@ Kinvey.init({

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc