Socket
Socket
Sign inDemoInstall

strava-v3

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strava-v3 - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

7

lib/pushSubscriptions.js
var authenticator = require('./authenticator')
// Ref: https://developers.strava.com/docs/webhooks/
var pushSubscriptions = function (client) {
this.client = client
// Per Strava, this part of the API uses use the "api." subdomain,
// not "www." like most of the API.
// Ref: https://strava.github.io/api/v3/events/
this.baseUrl = 'https://api.strava.com/api/v3/'
}

@@ -11,0 +8,0 @@

{
"name": "strava-v3",
"version": "2.0.2",
"description": "Simple wrapper for strava v3 api",
"version": "2.0.3",
"description": "Simple wrapper for strava v3 API",
"main": "index.js",

@@ -6,0 +6,0 @@ "scripts": {

@@ -10,3 +10,3 @@ 'use strict'

before(() => {
nock('https://api.strava.com')
nock('https://www.strava.com')
.filteringPath(() => '/api/v3/push_subscriptions/')

@@ -57,3 +57,3 @@ .get(/^\/api\/v3\/push_subscriptions/)

before(() => {
nock('https://api.strava.com')
nock('https://www.strava.com')
.filteringPath(() => '/api/v3/push_subscriptions')

@@ -111,3 +111,3 @@ // The first reply just echo's the request headers so we can test them.

// We return it here because the test can't easily access the HTTP status code.
nock('https://api.strava.com')
nock('https://www.strava.com')
.filteringPath(() => '/api/v3/push_subscriptions/1/')

@@ -114,0 +114,0 @@ // The first reply just echo's the request headers so we can test them.

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