Comparing version 9.0.63 to 9.0.64
{ | ||
"name": "zoid", | ||
"version": "9.0.63", | ||
"version": "9.0.64", | ||
"description": "Cross domain components.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
/* @flow */ | ||
import { ZalgoPromise } from 'zalgo-promise/src'; | ||
import { dotify, isDefined, extend } from 'belter/src'; | ||
import { dotify, isDefined, extend, base64encode } from 'belter/src'; | ||
@@ -127,3 +127,3 @@ import type { PropsInputType, PropsType, PropsDefinitionType, MixedPropDefinitionType } from '../component/props'; | ||
export function propsToQuery<P>(propsDef : PropsDefinitionType<P>, props : (PropsType<P>)) : ZalgoPromise<{ [string] : string }> { | ||
export function propsToQuery<P>(propsDef : PropsDefinitionType<P>, props : (PropsType<P>)) : ZalgoPromise<{ [string] : string | boolean }> { | ||
@@ -179,3 +179,3 @@ const params = {}; | ||
} else if (prop.serialization === PROP_SERIALIZATION.BASE64) { | ||
result = btoa(JSON.stringify(queryValue)); | ||
result = base64encode(JSON.stringify(queryValue)); | ||
} else if (prop.serialization === PROP_SERIALIZATION.DOTIFY || !prop.serialization) { | ||
@@ -182,0 +182,0 @@ result = dotify(queryValue, key); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
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
3100908
22413