@mondaycom/apps-sdk
Advanced tools
Comparing version 2.2.0 to 2.3.0-beta.1
"use strict"; | ||
exports.__esModule = true; | ||
exports["default"] = { name: '@mondaycom/apps-sdk', version: '2.2.0' }; | ||
exports["default"] = { name: '@mondaycom/apps-sdk', version: '2.3.0-beta.1' }; | ||
//# sourceMappingURL=minimal-package.js.map |
{ | ||
"name": "@mondaycom/apps-sdk", | ||
"version": "2.2.0", | ||
"version": "2.3.0-beta.1", | ||
"description": "monday apps SDK for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
@@ -1,2 +0,2 @@ | ||
export default { name: '@mondaycom/apps-sdk', version: '2.2.0' }; | ||
export default { name: '@mondaycom/apps-sdk', version: '2.3.0-beta.1' }; | ||
//# sourceMappingURL=minimal-package.js.map |
{ | ||
"name": "@mondaycom/apps-sdk", | ||
"version": "2.2.0", | ||
"version": "2.3.0-beta.1", | ||
"description": "monday apps SDK for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
@@ -1,3 +0,3 @@ | ||
import { JsonValue } from '../types/general'; | ||
import { GetOptions, IEnvironmentVariablesManager, Options } from '../types/environment-variables-manager'; | ||
import type { JsonValue } from '../types/general'; | ||
import type { GetOptions, IEnvironmentVariablesManager, Options } from '../types/environment-variables-manager'; | ||
export declare class EnvironmentVariablesManager implements IEnvironmentVariablesManager { | ||
@@ -4,0 +4,0 @@ private cachedEnvironmentData?; |
@@ -1,4 +0,4 @@ | ||
import { GcpConnectionData } from '../types/gcp'; | ||
import { Token } from '../types/secure-storage'; | ||
import type { GcpConnectionData } from '../types/gcp'; | ||
import type { Token } from '../types/secure-storage'; | ||
export declare const getGcpIdentityToken: (identityToken?: Token) => Promise<Token>; | ||
export declare const getGcpConnectionData: () => Promise<GcpConnectionData>; |
@@ -1,2 +0,2 @@ | ||
import { IQueue } from '../types/queue'; | ||
import type { IQueue } from '../types/queue'; | ||
export declare class QueueProd implements IQueue { | ||
@@ -3,0 +3,0 @@ private pubSubClient; |
@@ -1,4 +0,3 @@ | ||
import { IQueue } from '../types/queue'; | ||
import type { IQueue } from '../types/queue'; | ||
export declare class QueueDev implements IQueue { | ||
constructor(); | ||
publishMessage(message: (Uint8Array | string), options?: { | ||
@@ -5,0 +4,0 @@ topicName: string; |
@@ -1,3 +0,3 @@ | ||
import { JsonValue } from '../types/general'; | ||
import { ISecureStorageInstance } from '../types/secure-storage'; | ||
import type { JsonValue } from '../types/general'; | ||
import type { ISecureStorageInstance } from '../types/secure-storage'; | ||
export declare class SecureStorage implements ISecureStorageInstance { | ||
@@ -4,0 +4,0 @@ private connectionData; |
@@ -1,3 +0,3 @@ | ||
import { JsonValue } from '../types/general'; | ||
import { ISecureStorageInstance } from '../types/secure-storage'; | ||
import type { JsonValue } from '../types/general'; | ||
import type { ISecureStorageInstance } from '../types/secure-storage'; | ||
export declare class LocalSecureStorage implements ISecureStorageInstance { | ||
@@ -4,0 +4,0 @@ private db; |
@@ -1,4 +0,4 @@ | ||
import { RequestOptions } from '../types/fetch'; | ||
import { Options, Token } from '../types/storage'; | ||
import { Logger } from '../utils/logger'; | ||
import type { RequestOptions } from '../types/fetch'; | ||
import type { Options, Token } from '../types/storage'; | ||
export declare abstract class BaseStorage { | ||
@@ -5,0 +5,0 @@ private readonly token; |
import { BaseStorage } from '../storage/base-storage'; | ||
import { CounterOptions, IStorageInstance, Options, Period } from '../types/storage'; | ||
import type { CounterOptions, IStorageInstance, Options, Period } from '../types/storage'; | ||
export declare class Storage extends BaseStorage implements IStorageInstance { | ||
@@ -4,0 +4,0 @@ incrementCounter(period: Period, options?: CounterOptions): Promise<{ |
@@ -1,2 +0,2 @@ | ||
import { JsonValue } from './general'; | ||
import type { JsonValue } from './general'; | ||
export type Options = { | ||
@@ -3,0 +3,0 @@ updateProcessEnv?: boolean; |
@@ -1,4 +0,4 @@ | ||
import { RequestInit } from 'node-fetch'; | ||
import type { RequestInit } from 'node-fetch'; | ||
export type RequestOptions = { | ||
body?: object; | ||
} & Omit<RequestInit, 'body'>; |
@@ -1,2 +0,2 @@ | ||
import { Token } from './secure-storage'; | ||
import type { Token } from './secure-storage'; | ||
export type SignJwtResponse = { | ||
@@ -3,0 +3,0 @@ signedJwt: Token; |
@@ -1,2 +0,2 @@ | ||
import { JsonValue } from './general'; | ||
import type { JsonValue } from './general'; | ||
export type ISecureStorageInstance = { | ||
@@ -3,0 +3,0 @@ set: <T extends JsonValue>(key: string, value: T) => Promise<boolean>; |
@@ -1,2 +0,2 @@ | ||
import { MondayCodeContext } from '../types/env'; | ||
import type { MondayCodeContext } from '../types/env'; | ||
export declare const isLocalEnvironment: () => boolean; | ||
@@ -3,0 +3,0 @@ export declare const localServerAddress: () => string; |
@@ -1,2 +0,2 @@ | ||
import { RequestInit } from 'node-fetch'; | ||
import type { RequestInit } from 'node-fetch'; | ||
export declare function fetchWrapper<TResponse>(url: string, config?: RequestInit): Promise<TResponse | undefined>; |
@@ -1,2 +0,2 @@ | ||
import { ILocalStorageInstance } from '../types/secure-storage.local'; | ||
import type { ILocalStorageInstance } from '../types/secure-storage.local'; | ||
export declare const deleteDb: (dbName?: string) => void; | ||
@@ -3,0 +3,0 @@ export declare class LocalMemoryDb implements ILocalStorageInstance { |
@@ -1,2 +0,2 @@ | ||
import { Options } from '../types/logger'; | ||
import type { Options } from '../types/logger'; | ||
export declare class Logger { | ||
@@ -3,0 +3,0 @@ private tag; |
{ | ||
"name": "@mondaycom/apps-sdk", | ||
"version": "2.2.0", | ||
"version": "2.3.0-beta.1", | ||
"description": "monday apps SDK for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
282201
3870
1