Socket
Socket
Sign inDemoInstall

@oneblink/sdk-core

Package Overview
Dependencies
Maintainers
6
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oneblink/sdk-core - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0-beta.1

1

dist/typeCastService.d.ts

@@ -16,2 +16,3 @@ import { FormTypes, SubmissionEventTypes } from '@oneblink/types';

toStorageElement: (e: FormTypes.FormElement) => FormTypes.StorageElement | undefined;
toAutoLookupElement: (e: FormTypes.FormElement) => FormTypes.LocationElement | FormTypes.FilesElement | FormTypes.GeoscapeAddressElement | FormTypes.PointAddressElement | FormTypes.BooleanElement | FormTypes.CivicaStreetNameElement | FormTypes.RadioButtonElement | FormTypes.AutoCompleteElement | FormTypes.ComplianceElement | undefined;
};

@@ -18,0 +19,0 @@ declare const submissionEvents: {

@@ -152,2 +152,20 @@ "use strict";

};
const toAutoLookupElement = (e) => {
switch (e.type) {
case 'radio':
case 'boolean':
case 'files':
case 'location':
case 'geoscapeAddress':
case 'pointAddress':
case 'compliance':
case 'civicaStreetName':
case 'autocomplete': {
return e;
}
default: {
return;
}
}
};
const formElements = {

@@ -165,2 +183,3 @@ toOptionsElement,

toStorageElement,
toAutoLookupElement,
};

@@ -167,0 +186,0 @@ exports.formElements = formElements;

2

package.json
{
"name": "@oneblink/sdk-core",
"description": "OneBlink SDK for JavaScript (works in Browsers and NodeJS)",
"version": "3.1.0",
"version": "3.2.0-beta.1",
"author": "OneBlink <developers@oneblink.io> (https://oneblink.io)",

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

Sorry, the diff of this file is not supported yet

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