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

@vivocha/public-wrappers

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vivocha/public-wrappers - npm Package Compare versions

Comparing version 1.1.0-gaia.4 to 1.1.0-gaia.5

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [1.1.0-gaia.5](https://github.com/vivocha/vivocha/compare/@vivocha/public-wrappers@1.1.0-gaia.4...@vivocha/public-wrappers@1.1.0-gaia.5) (2024-08-09)
### Bug Fixes
* **public-wrappers:** add param to return empty string w/o constant ([a137ac7](https://github.com/vivocha/vivocha/commit/a137ac7eb5525de043ed503ef2893917841f62c5))
# [1.1.0-gaia.4](https://github.com/vivocha/vivocha/compare/@vivocha/public-wrappers@1.1.0-gaia.3...@vivocha/public-wrappers@1.1.0-gaia.4) (2024-07-25)

@@ -8,0 +19,0 @@

3

dist/data_collection.d.ts

@@ -10,5 +10,6 @@ import { ContactDataCollection, ContactDataCollectionForm } from '@vivocha/public-types';

* @param def Data collection definition from database
* @param defEmptyString If true, will return empty string for fields not configured as constant
* @returns only value in variables configured as constant
*/
export declare function dataCollectionDefaultConstantToObject(def: any): {};
export declare function dataCollectionDefaultConstantToObject(def: any, defEmptyString?: boolean): any;
export declare function dataCollectionToObject(form: ContactDataCollectionForm): any;

@@ -15,0 +16,0 @@ export declare function findInDataCollection(forms: ContactDataCollection, type: string): any[];

@@ -119,5 +119,6 @@ "use strict";

* @param def Data collection definition from database
* @param defEmptyString If true, will return empty string for fields not configured as constant
* @returns only value in variables configured as constant
*/
function dataCollectionDefaultConstantToObject(def) {
function dataCollectionDefaultConstantToObject(def, defEmptyString) {
let tmp = {};

@@ -129,2 +130,5 @@ if (def.fields && def.fields.length > 0) {

}
else if (defEmptyString) {
tmp[f.id] = '';
}
}

@@ -131,0 +135,0 @@ }

{
"name": "@vivocha/public-wrappers",
"version": "1.1.0-gaia.4",
"version": "1.1.0-gaia.5",
"description": "Vivocha public wrappers",

@@ -30,3 +30,3 @@ "main": "dist/index.js",

"dependencies": {
"@vivocha/public-types": "1.3.0-gaia.3",
"@vivocha/public-types": "1.3.0-gaia.4",
"eredita": "^1.1.4"

@@ -42,3 +42,3 @@ },

},
"gitHead": "e57f7c3da95bd9d11ab6eb333f2683a14606e39a"
"gitHead": "37b27585578135af366a54e30a10fc5512778dda"
}
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