kinvey-nativescript-sdk
Advanced tools
Comparing version 3.6.0-ns.4 to 3.6.0-ns.5
{ | ||
"name": "kinvey-nativescript-sdk", | ||
"version": "3.6.0-ns.4", | ||
"version": "3.6.0-ns.5", | ||
"description": "Kinvey JavaScript SDK for NativeScript applications.", | ||
@@ -29,3 +29,2 @@ "homepage": "http://www.kinvey.com", | ||
"kinvey-js-sdk": "3.6.0-ns.3", | ||
"nativescript-push-notifications": "0.1.3", | ||
"nativescript-sqlite": "1.1.7" | ||
@@ -39,2 +38,3 @@ }, | ||
}, | ||
"typings": "./src/kinvey.d.ts", | ||
"nativescript": { | ||
@@ -41,0 +41,0 @@ "platforms": { |
@@ -7,7 +7,12 @@ # Overview | ||
## Installation | ||
## How to use | ||
#### Using npm | ||
Install and save the Kinvey NativeScript SDK: | ||
#### Install the NativeScript plugin | ||
``` | ||
tns plugin add kinvey-nativescript-sdk | ||
``` | ||
#### Install via npm | ||
```javascript | ||
@@ -20,3 +25,3 @@ npm install --save kinvey-nativescript-sdk | ||
```javascript | ||
import Kinvey from 'kinvey-nativescript-sdk'; | ||
import { Kinvey } from 'kinvey-nativescript-sdk'; | ||
``` | ||
@@ -26,27 +31,6 @@ | ||
#### Using the Kinvey CDN | ||
```html | ||
<script src="https://download.kinvey.com/js/kinvey-nativescript-sdk-3.5.0.min.js"></script> | ||
``` | ||
A [TypeScript](https://www.typescriptlang.org/) type definition file is available at | ||
```html | ||
https://download.kinvey.com/js/kinvey-nativescript-sdk-3.5.0.d.ts | ||
``` | ||
You will then be able to access Kinvey NativeScript SDK via `window.Kinvey`. | ||
## Documentation | ||
We're working on adding Nativescript docs to our [Devcenter](http://devcenter.kinvey.com)! For documentation on our core Javascript APIs, see http://devcenter.kinvey.com/html5 | ||
For detailed documentation on using the SDK, see http://devcenter.kinvey.com/nativescript | ||
## Known Limitations | ||
Currently, this SDK supports basic Kinvey auth and data functions, as well as offline behaviors and data synchronization. We're still working on supporting the following features - | ||
* Encryption on the local storage. | ||
* Nativescript docs. | ||
## License | ||
@@ -53,0 +37,0 @@ See [LICENSE](LICENSE) for details. |
@@ -38,10 +38,11 @@ "use strict"; | ||
headers['X-Kinvey-Device-Information'] = deviceInformation(); | ||
return http_1.request({ | ||
var options = { | ||
method: method, | ||
headers: headers, | ||
url: url, | ||
url: encodeURI(url), | ||
content: body, | ||
timeout: timeout, | ||
dontFollowRedirects: followRedirect | ||
}) | ||
}; | ||
return http_1.request(options) | ||
.then(function (response) { | ||
@@ -48,0 +49,0 @@ return { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
80437
4
27
1365
1
38
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedglob@6.0.4(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removednativescript-hook@0.2.1(transitive)
- Removednativescript-push-notifications@0.1.3(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedwrappy@1.0.2(transitive)