Skip to content

Commit

Permalink
v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed Nov 25, 2023
1 parent b5faa38 commit ccb31b4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/browser-store.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ declare function BrowserStore(this: any, options: any): {
declare namespace BrowserStore {
var defaults: {
apimsg: {
req: string;
aim: string;
on: string;
debounce$: boolean;
q: (msg: any, ctx: any) => any;
Expand Down
2 changes: 1 addition & 1 deletion dist/browser-store.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seneca/browser-store",
"version": "0.0.1",
"version": "0.0.2",
"description": "Seneca in-memory data storage plugin.",
"main": "dist/browser-store.js",
"type": "commonjs",
Expand Down
2 changes: 1 addition & 1 deletion src/browser-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function BrowserStore(this: any, options: any) {

BrowserStore.defaults = {
apimsg: {
req: 'web',
aim: 'req',
on: 'entity',
debounce$: true,
q: (msg: any, ctx: any) => msg.q,
Expand Down
2 changes: 1 addition & 1 deletion test/browser-store.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('browser-store tests', function () {
let seneca = this

seneca
.fix('req:web,on:entity')
.fix('aim:req,on:entity')
.message('cmd:save', async function save(msg) {
return {
ok: true,
Expand Down
2 changes: 1 addition & 1 deletion test/quick.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async function run() {
let seneca = this

seneca
.fix('req:web,on:entity')
.fix('aim:req,on:entity')
.message('cmd:save', async function save(msg) {
return {
ok: true,
Expand Down

0 comments on commit ccb31b4

Please sign in to comment.