Skip to content
This repository was archived by the owner on Jul 19, 2022. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: podio/podio-js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: purple-technology/podio-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 19 commits
  • 10 files changed
  • 5 contributors

Commits on Nov 11, 2020

  1. Channge URIjs to urijs

    xmihal03 committed Nov 11, 2020
    Copy the full SHA
    c729924 View commit details
  2. 1.6.2

    tomzaoral committed Nov 11, 2020
    Copy the full SHA
    df76264 View commit details
  3. Remove private

    tomzaoral committed Nov 11, 2020
    Copy the full SHA
    5293671 View commit details

Commits on Jun 15, 2023

  1. Copy the full SHA
    bba3275 View commit details
  2. Merge pull request #1 from purple-technology/resolve-text

    fix: resolve to text if body is empty
    chorobin authored Jun 15, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e32bb1d View commit details

Commits on Jun 19, 2023

  1. release: 1.6.3

    chorobin committed Jun 19, 2023
    Copy the full SHA
    e448861 View commit details
  2. release: release 1.6.4

    chorobin committed Jun 19, 2023
    Copy the full SHA
    e1a7f34 View commit details
  3. Merge pull request #2 from purple-technology/release-1.6.3

    release: 1.6.3
    chorobin authored Jun 19, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    62c4105 View commit details
  4. Merge pull request #3 from purple-technology/release-1.6.4

    Release 1.6.4
    chorobin authored Jun 19, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a2e8c62 View commit details
  5. 1.6.4

    chorobin committed Jun 19, 2023
    Copy the full SHA
    fe6ef29 View commit details

Commits on Jun 23, 2023

  1. Copy the full SHA
    f879803 View commit details

Commits on Jun 26, 2023

  1. Merge pull request #4 from purple-technology/fix-pdf

    fix: upgrade superagent and allow buffering of responses for files
    chorobin authored Jun 26, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9616906 View commit details
  2. 1.6.5

    chorobin committed Jun 26, 2023
    Copy the full SHA
    61a347d View commit details

Commits on Apr 4, 2024

  1. Copy the full SHA
    5a6c8f5 View commit details
  2. Merge pull request #5 from purple-technology/lodash

    chore: upgrade lodash
    SFajfr-Purple authored Apr 4, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8c1d246 View commit details
  3. chore: upgrade urijs

    SFajfr-Purple committed Apr 4, 2024
    Copy the full SHA
    61b0cce View commit details
  4. Copy the full SHA
    92e5547 View commit details
  5. chore: bump version

    SFajfr-Purple committed Apr 4, 2024
    Copy the full SHA
    6462623 View commit details
  6. Merge pull request #6 from purple-technology/pkg-up

    chore: upgrade packages
    SFajfr-Purple authored Apr 4, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    227cc72 View commit details
Showing with 4,336 additions and 275 deletions.
  1. +0 −1 .npmrc
  2. +25 −11 README.md
  3. +183 −114 lib/auth.js
  4. +19 −10 lib/general.js
  5. +30 −27 lib/push.js
  6. +173 −102 lib/transport.js
  7. +2 −2 lib/utils.js
  8. +3,894 −0 package-lock.json
  9. +9 −6 package.json
  10. +1 −2 test/general.spec.js
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

36 changes: 25 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
### Publishing

```
To publish new version there is possible (instead npm publish) use fully-automated command (npm version) to bump version, bump git tag and publish new npm package version in one command:
npm version patch // update patch version number 1.2.X (v1.2.3 to v1.2.4)
npm version minor // update minor version number 1.X.3 (v1.2.3 to v 1.3.0)
npm version major // update major version number X.2.3 (v1.2.3 to v 2.0.0)
You can use --m "Commit message here" to customize auto-bump commit message.
More command options here: https://docs.npmjs.com/cli/version (i.e. --force)
```

[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)

# podio-js [![Build Status](https://travis-ci.org/podio/podio-js.svg?branch=master)](https://travis-ci.org/podio/podio-js) [![Dependency Status](http://img.shields.io/gemnasium/podio/podio-js.svg?style=flat-square)](https://gemnasium.com/podio/podio-js) [![Coverage](http://img.shields.io/coveralls/podio/podio-js.svg?style=flat-square)](https://coveralls.io/r/podio/podio-js)
# podio-js [![Build Status](https://travis-ci.org/podio/podio-js.svg?branch=master)](https://travis-ci.org/podio/podio-js) [![Dependency Status](http://img.shields.io/gemnasium/podio/podio-js.svg?style=flat-square)](https://gemnasium.com/podio/podio-js) [![Coverage](http://img.shields.io/coveralls/podio/podio-js.svg?style=flat-square)](https://coveralls.io/r/podio/podio-js)

> Official Podio JavaScript SDK for Node and the browser
@@ -15,12 +28,12 @@ $ npm install podio-js --save
#### Node

```js
var Podio = require('podio-js').api;
var Podio = require("podio-js").api;

var podio = new Podio({
authType: 'server',
clientId: 'id',
clientSecret: 'secret'
authType: "server",
clientId: "id",
clientSecret: "secret",
});
```

@@ -29,18 +42,20 @@ var podio = new Podio({
Simple express middleware for storing the Podio token

```js
app.use(require('podio-js').middleware({
clientId: 'id',
clientSecret: 'secret'
}));
app.use(
require("podio-js").middleware({
clientId: "id",
clientSecret: "secret",
})
);
```

#### Browser

If you are using and AMD/CommonJS compatible module loader you can require the module:

```js
var PodioJS = require('podio-js');
var PodioJS = require("podio-js");
```

If you are not using a loader, browserify `podio-js` like this:
@@ -57,7 +72,6 @@ and include `dist/podio-js.js` using a `<script>` tag.

You will find a detailed documentation at [http://podio.github.io/podio-js/](http://podio.github.io/podio-js/) and at [https://developers.podio.com/](https://developers.podio.com/)


## Tests

```sh
Loading