Skip to content

Commit

Permalink
move to advui (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
alextremp authored Mar 10, 2020
1 parent ce9f88c commit d045e49
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OpenAds

![npm](https://img.shields.io/npm/v/@schibstedspain/openads)
![npm](https://img.shields.io/npm/v/@adv-ui/openads)
[![Build status](https://travis-ci.org/scm-spain/OpenAds.svg?branch=master)](https://travis-ci.org/scm-spain/OpenAds) [![codecov](https://codecov.io/gh/scm-spain/OpenAds/branch/master/graph/badge.svg)](https://codecov.io/gh/scm-spain/OpenAds)

:rocket: Powerful advertising abstraction library to deliver ads in a web environment providing you a common domain for different sources.
Expand All @@ -18,10 +18,10 @@ are you using to show ads you just only need to know a simple use cases and init


# Installation
OpenAds is available as the ```@schibstedspain/OpenAds``` package on [npm](https://www.npmjs.com/)
OpenAds is available as the ```@adv-ui/OpenAds``` package on [npm](https://www.npmjs.com/)
To install the stable version:
```
npm install --save @schibstedspain/openads
npm install --save @adv-ui/openads
```

# Usage
Expand All @@ -36,8 +36,8 @@ which has to receive the **connectors** you want to use:
## OpenAds initialization

```ecmascript 6
import OpenAds from '@schibstedspain/openads'
import AppNexusConnector from '@schibstedspain/openads-appnexus'
import OpenAds from '@adv-ui/openads'
import AppNexusConnector from '@adv-ui/openads-appnexus'
// connectors initalization - sample with AppNexusConnector
const appNexusConnector = WhateverConnector.init({config: {
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@schibstedspain/openads",
"name": "@adv-ui/openads",
"version": "4.2.4",
"description": "OpenAds: Advertising library",
"main": "dist/",
Expand All @@ -26,7 +26,8 @@
"keywords": [
"ads",
"advertising",
"schibsted"
"schibsted",
"adevinta"
],
"author": "One Punch Team",
"license": "ISC",
Expand All @@ -37,7 +38,7 @@
"@babel/plugin-transform-modules-commonjs": "^7.8.0",
"@babel/register": "^7.8.0",
"@babel/runtime": "^7.8.0",
"@s-ui/lint": "^3.14.0",
"@s-ui/lint": "3",
"@s-ui/perf": "~1.4.0",
"babel-loader": "^8.0.6",
"babel-preset-sui": "^2.14.0",
Expand All @@ -47,7 +48,7 @@
"mocha": "^7.0.0",
"nyc": "^15.0.0",
"sinon": "^8.0.4",
"versiona": "^4.2.1"
"versiona": "4"
},
"pre-commit": [
"lint",
Expand All @@ -67,7 +68,7 @@
]
},
"dependencies": {
"@schibstedspain/openads-connector-api": "^2.0.1",
"@adv-ui/openads-connector-api": "3",
"loglevel": "^1.6.6"
},
"prettier": "./node_modules/@s-ui/lint/.prettierrc.js",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Logger} from '@schibstedspain/openads-connector-api'
import {Logger} from '@adv-ui/openads-connector-api'
import InterfaceChecker from '../service/InterfaceChecker'

export default class LogLevelLoggerInitializer {
Expand Down

0 comments on commit d045e49

Please sign in to comment.