@panora/shared
Advanced tools
Comparing version 1.1.2 to 1.2.1
RELEASE 1.0.0 | ||
## 1.2.1 | ||
### Patch Changes | ||
- a416cc4: updated scopes | ||
## 1.2.0 | ||
### Minor Changes | ||
- 9d9cb33: Updated scopes for 3rd parties | ||
## 1.1.2 | ||
@@ -4,0 +16,0 @@ |
@@ -72,4 +72,3 @@ "use strict"; | ||
let params = `client_id=${encodeURIComponent(clientId)}&redirect_uri=${encodedRedirectUrl}&state=${state}`; | ||
const providersWithoutScopes = ['pipedrive', 'clickup', 'aha', 'freeagent', 'teamwork', 'attio', 'close', 'teamleader', 'getresponse']; | ||
if (!providersWithoutScopes.includes(providerName)) { | ||
if (scopes) { | ||
params += `&scope=${encodeURIComponent(scopes)}`; | ||
@@ -76,0 +75,0 @@ } |
@@ -14,3 +14,3 @@ import { AuthStrategy, SoftwareMode } from './utils'; | ||
CLIENT_SECRET: string; | ||
SCOPE: string; | ||
SCOPE?: string; | ||
SUBDOMAIN?: string; | ||
@@ -17,0 +17,0 @@ }; |
@@ -10,3 +10,3 @@ export declare enum AuthStrategy { | ||
export type ProviderConfig = { | ||
scopes: string; | ||
scopes?: string; | ||
logoPath: string; | ||
@@ -39,3 +39,3 @@ description: string; | ||
}; | ||
scopes: string; | ||
scopes?: string; | ||
logoPath: string; | ||
@@ -42,0 +42,0 @@ description?: string; |
{ | ||
"name": "@panora/shared", | ||
"version": "1.1.2", | ||
"version": "1.2.1", | ||
"description": "Shared Package of Panora", | ||
@@ -5,0 +5,0 @@ "author": "Panora", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
120793
2666