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

ng2-wp-api

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-wp-api - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

ng2-wp-api.d.ts

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

import 'core-js/es6/map';
import 'core-js/es7/reflect';
import 'zone.js/dist/zone';
import 'rxjs/add/operator/map';
export * from './service/collection.service';

@@ -10,1 +8,5 @@ export * from './service/model.service';

export * from './models/user.model';
/**
* Collection of wordpress services providers.
*/
export declare const WORDPRESS_PROVIDERS: any[];

@@ -5,5 +5,3 @@ "use strict";

}
require('core-js/es6/map');
require('core-js/es7/reflect');
require('zone.js/dist/zone');
require('rxjs/add/operator/map');
__export(require('./service/collection.service'));

@@ -13,2 +11,18 @@ __export(require('./service/model.service'));

__export(require('./models/post.model'));
const config_service_1 = require('./service/config.service');
/**
* Collection of wordpress services providers.
*/
exports.WORDPRESS_PROVIDERS = [
/** It's not recommended to inject WpCollection provider on bootstrap,
* because each instant of the service holds its pagination variables,
* and it will make conflict if you use in more than one component at the same time.
*
* I recommended to inject WpModel and WpCollection services in their components,
* and WpConfig in the root component or on bootstrap
*/
//WpModel,
//WpCollection,
config_service_1.WpConfig
];
//# sourceMappingURL=ng2-wp-api.js.map
{
"name": "ng2-wp-api",
"version": "1.0.0",
"version": "1.0.1",
"description": "WordPress API Service for Angular2",

@@ -5,0 +5,0 @@ "main": "./index.js",

import { Http, Response } from '@angular/http';
import { Observable } from "rxjs/Observable";
import 'rxjs/add/operator/map';
import { WpConfig } from "./config.service";

@@ -5,0 +4,0 @@ export declare class WpCollection {

@@ -13,3 +13,2 @@ "use strict";

const http_1 = require('@angular/http');
require('rxjs/add/operator/map');
const config_service_1 = require("./config.service");

@@ -16,0 +15,0 @@ const helper_service_1 = require("./helper.service");

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