Fanfou-sdk

Latest version: v0.0.3

Safety actively analyzes 629855 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

4.0.2

Bug Fix

- 70005aab860f5b3dde0e0bf8ce61abdf481416e1 Fix status parser.

4.0.1

Bug Fix

- 9777e8a70bcc3f175cad223e409830549d9da382 Fix source-name in Status.

4.0

Here are the changes of fanfou-sdk 4:

- Remove `fakeHttps` option
- Drop support for Node.js 4
- Remove built-in sign name module
- Use [got](https://github.com/sindresorhus/got) instead of [request](https://github.com/request/request)
- Use [oauth-1.0a](https://github.com/ddo/oauth-1.0a) instead of [oauth](https://github.com/ciaranj/node-oauth)
- Completely async/await
- Throw error on non-200 HTTP status code cases
- Merge `ff.upload()` to `ff.post()`
- Update tests

4.0.0

3.2.0

New Feature

- 4bd3ddbbca15854e00839a3d9bff01f0b1d1c398 Add support for OAuth baseString hooks.

**Use `baseString` hook**

javascript
const ff = new Fanfou({
consumerKey: '',
consumerSecret: '',
oauthToken: '',
oauthTokenSecret: '',
apiDomain: 'api.example.com',
oauthDomain: 'example.com',
hooks: {
baseString: str => {
return str.replace('example.com', 'fanfou.com');
}
}
});

3.1.0

TypeScript

- Add support for TypeScript.

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.