Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@panora/shared

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@panora/shared - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

6

CHANGELOG.md
# @panora/shared
## 4.0.0
### Major Changes
- 3f5adb5: updated constants
## 3.0.0

@@ -4,0 +10,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"types": "index.ts",
"version": "3.0.0",
"version": "4.0.0",
"devDependencies": {

@@ -8,0 +8,0 @@ "@types/node": "^20.3.1",

@@ -32,11 +32,11 @@ export enum CrmObject {

}
// Utility function to prepend prefix to enum values
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const prependPrefixToEnumValues = (prefix: string, enumObj: any) => {
return Object.values(enumObj).map(value => `${prefix}.${value}`);
}
export const standardOjects = [
...Object.values(CrmObject),
/*...Object.values(HrisObject),
...Object.values(AtsObject),
...Object.values(AccountingObject),
...Object.values(FileStorageObject),
...Object.values(MarketingAutomationObject),
...Object.values(TicketingObject),*/
export const standardObjects = [
...prependPrefixToEnumValues('crm', CrmObject),
...prependPrefixToEnumValues('ticketing', TicketingObject),
];

@@ -1,1 +0,30 @@

export const scopes = ["crm.contact.created", "crm.contact.pulled", "connection.created"]
export const scopes = [
"crm.contact.created",
"crm.contact.pulled",
"crm.company.created",
"crm.company.pulled",
"crm.deal.created",
"crm.deal.pulled",
"crm.engagement.created",
"crm.engagement.pulled",
"crm.note.created",
"crm.note.pulled",
"crm.stage.pulled",
"crm.task.pulled",
"crm.task.created",
"crm.user.pulled",
"ticketing.ticket.created",
"ticketing.ticket.pulled",
"ticketing.comment.created",
"ticketing.comment.pulled",
"ticketing.attachment.created",
"ticketing.attachment.pulled",
"ticketing.account.pulled",
"ticketing.contact.pulled",
"ticketing.tag.pulled",
"ticketing.team.pulled",
"ticketing.user.pulled",
"connection.created"
]
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