atomicassets
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -12,3 +12,11 @@ "use strict"; | ||
for (const key of dataKeys) { | ||
dataFields['data.' + key] = data[key]; | ||
if (typeof data[key] === 'number') { | ||
dataFields['data:number.' + key] = data[key]; | ||
} | ||
else if (typeof data[key] === 'boolean') { | ||
dataFields['data:bool.' + key] = data[key]; | ||
} | ||
else { | ||
dataFields['data.' + key] = data[key]; | ||
} | ||
} | ||
@@ -15,0 +23,0 @@ return Object.assign({}, options, dataFields); |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"main": "build/index.js", | ||
@@ -15,0 +15,0 @@ "types": "build/index.d.ts", |
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
144715
3236