fix(core): update
This commit is contained in:
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartjson',
|
||||
version: '5.0.3',
|
||||
version: '5.0.4',
|
||||
description: 'typed json handlers'
|
||||
}
|
||||
|
@ -24,14 +24,14 @@ export const stringify = (
|
||||
export const stringifyBase64 = (...args: Parameters<typeof stringify>): string => {
|
||||
const stringifiedResult = stringify(...args);
|
||||
return plugins.smartstring.base64.encodeUri(stringifiedResult);
|
||||
}
|
||||
};
|
||||
|
||||
export const parseBase64 = (base64JsonStringArg: string) => {
|
||||
const simpleStringified = plugins.smartstring.base64.decode(base64JsonStringArg);
|
||||
return parse(simpleStringified);
|
||||
}
|
||||
};
|
||||
|
||||
parse
|
||||
parse;
|
||||
|
||||
export class Smartjson {
|
||||
/**
|
||||
|
@ -1,9 +1,7 @@
|
||||
// @pushrocks scope
|
||||
import * as smartstring from '@pushrocks/smartstring';
|
||||
|
||||
export {
|
||||
smartstring
|
||||
}
|
||||
export { smartstring };
|
||||
|
||||
// third party scope
|
||||
import lodashCloneDeep from 'lodash.clonedeep';
|
||||
|
Reference in New Issue
Block a user