Skip to content

basil.reset() Doesn't clean cookies set with basel when invoked #51

@iliyanz

Description

@iliyanz

I set basil with options:

var options = {
namespace: 'userData',
storages: [ 'sessionStorage' ,'cookie'],
storage: 'sessionStorage',
expireDays: 1
};

After I invoke one of these , basil doesn't clean the cookies that created and basil.keys() keeps keys of the data that was set:
basil.reset({'namespace': 'userData'});
basil.reset({'namespace': 'userData' , 'storages': [ 'sessionStorage' ,'cookie']});
basil.reset();

PS
Thank you for this library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions