Socket
Socket
Sign inDemoInstall

kinvey-nativescript-sdk

Package Overview
Dependencies
Maintainers
2
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kinvey-nativescript-sdk - npm Package Compare versions

Comparing version 3.6.0-ns.4 to 3.6.0-ns.5

dist/index.js

4

package.json
{
"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 {

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