kinvey-node-sdk
Advanced tools
Comparing version 5.1.1 to 6.0.0
@@ -6,2 +6,9 @@ # Change Log | ||
## [5.1.1](https://github.com/Kinvey/js-sdk/compare/kinvey-node-sdk@5.1.0...kinvey-node-sdk@5.1.1) (2021-04-12) | ||
**Note:** Version bump only for package kinvey-js-sdk | ||
## [5.1.0](https://github.com/Kinvey/js-sdk/compare/kinvey-node-sdk@5.0.1...kinvey-node-sdk@5.1.0) (2021-04-08) | ||
@@ -14,2 +21,6 @@ | ||
## [5.0.1](https://github.com/Kinvey/js-sdk/compare/kinvey-node-sdk@5.0.0...kinvey-node-sdk@5.0.1) (2020-07-22) | ||
@@ -16,0 +27,0 @@ |
@@ -1,4 +0,4 @@ | ||
import { getAppVersion, setAppVersion, logger, ping, Acl, Aggregation, CustomEndpoint, DataStore, DataStoreType, Errors, Files, Kmd, Query, User, AuthorizationGrant } from 'kinvey-js-sdk'; | ||
import { getAppVersion, setAppVersion, logger, ping, Acl, Aggregation, CustomEndpoint, DataStore, DataStoreType, Errors, Files, Kmd, Query, User, AuthorizationGrant, MFA } from 'kinvey-js-sdk'; | ||
import { init, initialize } from './init'; | ||
import { StorageProvider } from './storage'; | ||
export { init, initialize, StorageProvider, getAppVersion, setAppVersion, logger, ping, Acl, Aggregation, CustomEndpoint, DataStore, DataStoreType, Errors, Files, Kmd, Kmd as Metadata, Query, User, AuthorizationGrant }; | ||
export { init, initialize, StorageProvider, getAppVersion, setAppVersion, logger, ping, Acl, Aggregation, CustomEndpoint, DataStore, DataStoreType, Errors, Files, Kmd, Kmd as Metadata, Query, User, AuthorizationGrant, MFA }; |
@@ -19,2 +19,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AuthorizationGrant = kinvey_js_sdk_1.AuthorizationGrant; | ||
exports.MFA = kinvey_js_sdk_1.MFA; | ||
var init_1 = require("./init"); | ||
@@ -21,0 +22,0 @@ exports.init = init_1.init; |
@@ -1,3 +0,3 @@ | ||
export declare function get(key: string): any; | ||
export declare function set(key: string, session: string): boolean; | ||
export declare function remove(key: string): boolean; | ||
export declare function get(key: string): Promise<string>; | ||
export declare function set(key: string, session: string): Promise<boolean>; | ||
export declare function remove(key: string): Promise<boolean>; |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var store = new Map(); | ||
function get(key) { | ||
return store.get(key); | ||
return tslib_1.__awaiter(this, void 0, void 0, function () { | ||
return tslib_1.__generator(this, function (_a) { | ||
return [2 /*return*/, store.get(key)]; | ||
}); | ||
}); | ||
} | ||
exports.get = get; | ||
function set(key, session) { | ||
store.set(key, session); | ||
return true; | ||
return tslib_1.__awaiter(this, void 0, void 0, function () { | ||
return tslib_1.__generator(this, function (_a) { | ||
store.set(key, session); | ||
return [2 /*return*/, true]; | ||
}); | ||
}); | ||
} | ||
exports.set = set; | ||
function remove(key) { | ||
return store.delete(key); | ||
return tslib_1.__awaiter(this, void 0, void 0, function () { | ||
return tslib_1.__generator(this, function (_a) { | ||
return [2 /*return*/, store.delete(key)]; | ||
}); | ||
}); | ||
} | ||
exports.remove = remove; | ||
//# sourceMappingURL=sessionStore.js.map |
{ | ||
"name": "kinvey-node-sdk", | ||
"description": "Kinvey JavaScript SDK for NodeJS applications.", | ||
"version": "5.1.1", | ||
"version": "6.0.0", | ||
"license": "Apache-2.0", | ||
@@ -32,3 +32,3 @@ "homepage": "https://github.com/Kinvey/js-sdk/tree/master/packages/node-sdk", | ||
"events": "3.0.0", | ||
"kinvey-js-sdk": "^5.1.1", | ||
"kinvey-js-sdk": "6.0.0", | ||
"lodash": "4.17.15", | ||
@@ -35,0 +35,0 @@ "pubnub": "4.25.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35502
383
+ Addedkinvey-js-sdk@6.0.0(transitive)
- Removedkinvey-js-sdk@5.1.5(transitive)
Updatedkinvey-js-sdk@6.0.0