Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-urban-airship

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-urban-airship - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

com.urbanairship.d.ts

10

package.json
{
"name": "nativescript-urban-airship",
"version": "1.2.1",
"version": "1.3.0",
"description": "Urban Airship plugin for NativeScript.",

@@ -53,9 +53,7 @@ "main": "urbanairship",

"conventional-changelog-cli": "^1.2.0",
"prompt": "^1.0.0",
"rimraf": "^2.5.0",
"tns-core-modules": "^2.3.0",
"tns-platform-declarations": "^2.3.0",
"typescript": "~2.0.7"
"tns-core-modules": "~2.5.1",
"tns-platform-declarations": "~2.5.0",
"typescript": "~2.1.0"
},
"dependencies": {}
}

1

README.md

@@ -162,2 +162,3 @@ # NativeScript Urban Airship plugin

resetBadgeCount(): void;
getRegistrationToken(): string;
}

@@ -164,0 +165,0 @@ ```

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

/// <reference path="./node_modules/tns-core-modules/tns-core-modules.d.ts" />
/// <reference path="./node_modules/typescript/lib/lib.d.ts" />
/// <reference path="./node_modules/tns-core-modules/tns-core-modules.es2016.d.ts" />
/// <reference path="./node_modules/tns-platform-declarations/ios.d.ts" />
/// <reference path="./node_modules/tns-platform-declarations/android.d.ts" />
/// <reference path="./objc!AirshipKit.d.ts" />
/// <reference path="./com.urbanairship.d.ts" />

@@ -11,3 +11,3 @@ {

"lib": [
"dom"
"es2016"
],

@@ -36,2 +36,2 @@ "sourceMap": true,

"compileOnSave": false
}
}

@@ -14,3 +14,4 @@ import { UrbanAirshipSettings, CommonUrbanAirship } from './urbanairship.common';

getChannelID(): string;
getRegistrationToken(): string;
resetBadgeCount(): void;
}

@@ -49,7 +49,10 @@ "use strict";

};
NsUrbanairship.prototype.getRegistrationToken = function () {
return com.urbanairship.UAirship.shared().getPushManager().getRegistrationToken();
};
NsUrbanairship.prototype.resetBadgeCount = function () { };
NsUrbanairship.instance = new NsUrbanairship();
return NsUrbanairship;
}());
NsUrbanairship.instance = new NsUrbanairship();
exports.NsUrbanairship = NsUrbanairship;
//# sourceMappingURL=urbanairship.android.js.map

@@ -19,2 +19,3 @@ export interface UrbanAirshipSettings {

resetBadgeCount(): void;
getRegistrationToken(): string;
}

@@ -14,3 +14,4 @@ import { UrbanAirshipSettings, CommonUrbanAirship } from './urbanairship.common';

getChannelID(): string;
getRegistrationToken(): string;
resetBadgeCount(): void;
}

@@ -48,9 +48,12 @@ "use strict";

};
NsUrbanairship.prototype.getRegistrationToken = function () {
return "";
};
NsUrbanairship.prototype.resetBadgeCount = function () {
UAirship.push().resetBadge();
};
NsUrbanairship.instance = new NsUrbanairship();
return NsUrbanairship;
}());
NsUrbanairship.instance = new NsUrbanairship();
exports.NsUrbanairship = NsUrbanairship;
//# sourceMappingURL=urbanairship.ios.js.map

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